SILICON
Loading...
Searching...
No Matches
CircuitConnection Struct Reference

Directed logical connection between one component output bus and one input bus. More...

#include <circuit.hpp>

Collaboration diagram for CircuitConnection:

Public Attributes

Component_ptr source
 Component that owns the output bus.
Component_ptr target
 Component that owns the input bus.
unsigned int sourceBusIndex = 0
 Output bus index on source.
unsigned int targetBusIndex = 0
 Input bus index on target.
Bus bus
 Logical bus carried by this connection.

Detailed Description

Directed logical connection between one component output bus and one input bus.

This is more concrete than a graph edge for visual consumers: a single output bus may fan out to several input buses, and each target input needs its own routed connection even when all routes share the same logical bus.

Definition at line 64 of file circuit.hpp.

Member Data Documentation

◆ bus

Bus bus

Logical bus carried by this connection.

Definition at line 78 of file circuit.hpp.

◆ source

Component_ptr source

Component that owns the output bus.

Definition at line 66 of file circuit.hpp.

◆ sourceBusIndex

unsigned int sourceBusIndex = 0

Output bus index on source.

Definition at line 72 of file circuit.hpp.

◆ target

Component_ptr target

Component that owns the input bus.

Definition at line 69 of file circuit.hpp.

◆ targetBusIndex

unsigned int targetBusIndex = 0

Input bus index on target.

Definition at line 75 of file circuit.hpp.


The documentation for this struct was generated from the following file: