CIRCT 22.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
aig.Instance Class Reference
Collaboration diagram for aig.Instance:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, hw.InstanceOp instance)
 
str instance_name (self)
 
str module_name (self)
 

Protected Attributes

 _instance
 

Static Protected Attributes

hw _instance .InstanceOp
 

Detailed Description

  Represents a single element in a hierarchical instance path.
  In hardware design, modules are instantiated hierarchically. This class
  represents one level in that hierarchy, containing both the module type
  and the specific instance name.
  Attributes:
      instance_name: The name of this specific instance
      module_name: The type/name of the module being instantiated

Definition at line 18 of file aig.py.

Constructor & Destructor Documentation

◆ __init__()

aig.Instance.__init__ (   self,
hw.InstanceOp  instance 
)

Definition at line 30 of file aig.py.

Referenced by aig.LongestPathCollection.merge().

Member Function Documentation

◆ instance_name()

str aig.Instance.instance_name (   self)

Definition at line 34 of file aig.py.

References aig.Instance._instance.

◆ module_name()

str aig.Instance.module_name (   self)

Definition at line 38 of file aig.py.

References aig.Instance._instance.

Member Data Documentation

◆ _instance [1/2]

hw aig.Instance._instance .InstanceOp
staticprotected

Definition at line 28 of file aig.py.

Referenced by aig.Instance.instance_name(), and aig.Instance.module_name().

◆ _instance [2/2]

aig.Instance._instance
protected

Definition at line 31 of file aig.py.

Referenced by aig.Instance.instance_name(), and aig.Instance.module_name().


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