CIRCT  19.0.0git
Public Member Functions | List of all members
hw.HWModuleExternOp Class Reference
Inheritance diagram for hw.HWModuleExternOp:
Inheritance graph
[legend]
Collaboration diagram for hw.HWModuleExternOp:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, name, input_ports=[], output_ports=[], *parameters=[], attributes={}, body_builder=None, loc=None, ip=None)
 
- Public Member Functions inherited from hw.ModuleLike
def type (self)
 
def name (self)
 
def is_external (self)
 
list[ParamDeclAttr] parameters (self)
 
def instantiate (self, str name, Dict[str, object] parameters={}, results=None, sym_name=None, loc=None, ip=None, **kwargs)
 

Detailed Description

Specialization for the HW module op class.

Definition at line 362 of file hw.py.

Constructor & Destructor Documentation

◆ __init__()

def hw.HWModuleExternOp.__init__ (   self,
  name,
  input_ports = [],
  output_ports = [],
parameters = [],
  attributes = {},
  body_builder = None,
  loc = None,
  ip = None 
)
Create a module-like with the provided `name`, `input_ports`, and
`output_ports`.
- `name` is a string representing the module name.
- `input_ports` is a list of pairs of string names and mlir.ir types.
- `output_ports` is a list of pairs of string names and mlir.ir types.
- `body_builder` is an optional callback, when provided a new entry block
  is created and the callback is invoked with the new op as argument within
  an InsertionPoint context already set for the block. The callback is
  expected to insert a terminator in the block.

Reimplemented from hw.ModuleLike.

Definition at line 365 of file hw.py.


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