|
CIRCT 22.0.0git
|
Static Public Member Functions | |
| init (op, name, input_ports=[], output_ports=[], *parameters=[], attributes={}, body_builder=None, loc=None, ip=None) | |
| type (op) | |
| name (op) | |
| is_external (op) | |
| list[ParamDeclAttr] | parameters (op) |
| instantiate (op, str name, Dict[str, object] parameters={}, results=None, sym_name=None, loc=None, ip=None, **kwargs) | |
|
static |
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.
Definition at line 117 of file hw.py.
References hw._create_output_op().
Referenced by sv.SVVerbatimModuleOp.__init__().
|
static |
Definition at line 208 of file hw.py.
Referenced by sv.SVVerbatimModuleOp.instantiate().
|
static |
Definition at line 200 of file hw.py.
Referenced by hw.HWModuleOp.add_entry_block().
|
static |
Definition at line 196 of file hw.py.
Referenced by sv.SVVerbatimModuleOp.name().
|
static |
Definition at line 204 of file hw.py.
Referenced by sv.SVVerbatimModuleOp.parameters().
|
static |
Definition at line 192 of file hw.py.
Referenced by esiaccel.types.WritePort.__serialize_msg(), hw.HWModuleOp.add_entry_block(), esiaccel.types.Port.connect(), hw.HWModuleOp.input_indices(), fsm.MachineOp.instantiate(), hw.HWModuleOp.outputs(), esiaccel.types.ReadPort.read(), and sv.SVVerbatimModuleOp.type().