CIRCT 22.0.0git
|
Public Member Functions | |
str | __str__ (self) |
str | __repr__ (self) |
List[Instance] | instance_path (self) |
str | name (self) |
int | bit_pos (self) |
Public Attributes | |
instance_path | |
Static Protected Attributes | |
_LongestPathObject | _object |
Represents a signal or port object in the dataflow graph. This class encapsulates a specific signal within the hardware hierarchy, including its location in the instance hierarchy, signal name, and bit position for multi-bit signals. Attributes: instance_path: Hierarchical path to the module containing this object name: The signal/port name within the module bit_pos: Bit position for multi-bit signals (0 for single-bit)
str aig.Object.__str__ | ( | self | ) |
int aig.Object.bit_pos | ( | self | ) |
Get the bit position for multi-bit signals.
Definition at line 84 of file aig.py.
References aig.Object._object.
List[Instance] aig.Object.instance_path | ( | self | ) |
Get the hierarchical instance path to this object.
Definition at line 72 of file aig.py.
References aig.Object._object.
str aig.Object.name | ( | self | ) |
Get the name of this signal/port.
Definition at line 79 of file aig.py.
References aig.Object._object.
|
staticprotected |
Definition at line 55 of file aig.py.
Referenced by aig.Object.bit_pos(), aig.Object.instance_path(), and aig.Object.name().