|
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 synth.Object.__str__ | ( | self | ) |
| int synth.Object.bit_pos | ( | self | ) |
Get the bit position for multi-bit signals.
Definition at line 84 of file synth.py.
References synth.Object._object.
| List[Instance] synth.Object.instance_path | ( | self | ) |
Get the hierarchical instance path to this object.
Definition at line 72 of file synth.py.
References synth.Object._object.
| str synth.Object.name | ( | self | ) |
Get the name of this signal/port.
Definition at line 79 of file synth.py.
References synth.Object._object.
|
staticprotected |
Definition at line 55 of file synth.py.
Referenced by synth.Object.bit_pos(), synth.Object.instance_path(), and synth.Object.name().