Macrocell is a module made of a set of components plus the internal netlist. This makes an hierarchical netlist.
Macrocell inherits dsx.ware.Ware.
Creates a new Macrocell.
Parameters: |
|
---|
The abstraction level.
Create a new module inside this macrocell.
Parameters: |
|
---|---|
Returns: | a soclib.component.Component object. |
Create a new signal inside this macrocell.
Parameters: |
|
---|---|
Returns: | a soclib.component.Signal object. |
Accessor for default arguments passed at macrocell instantiation.
Parameters: | name (str) – Name of the queried argument |
---|---|
Raises : | KeyError if not found |
Retrieves a component, signal, or other environment object inside the macrocell.
Parameters: | name (str) – Component name |
---|---|
Raises : | KeyError if not found |
Adds an object in the macrocell’s environment.
Parameters: |
---|
Retrieves the complete environment.
Returns: | A (key, value) couple iterator. |
---|
Generates a sd_parser.module.Module corresponding to this macrocell.
Parameters: | |
---|---|
Returns: | a sd_parser.module.Module object. Note Use repr() on the return value to get a .sd file format blob. |
Creates the SystemC netlist corresponding to the macrocell.
Parameters: | module_name (str) – Name of module to create |
---|---|
Returns: | a dsx.systemc.systemc.SystemC object. |
Adds parameters to the macrocell itself. This can help create a parametric macrocell netlist.
Parameters: | parameters (iterable of soclib_desc.parameter.Base subinstances.) – list of parameters to add. |
---|
Adds instance parameters to the macrocell itself. This can help create a parametric macrocell netlist.
Parameters: | parameters (iterable of soclib_desc.parameter.Base subinstances.) – list of parameters to add. |
---|
Adds template parameters to the macrocell itself. This can help create a parametric macrocell netlist.
Parameters: | parameters (iterable of soclib_desc.parameter.Base subinstances.) – list of parameters to add. |
---|
Creates the Hardware corresponding to this macrocell.
Returns: | a dsx.hard.hard.Hardware object. |
---|
This is a Macrocell with additional implicit signals created.
Architecture inherits Macrocell.
Creates a new Macrocell.
Parameters: |
|
---|
Retrieves an implicitly-created signal.
Parameters: | name (str) – name of signal |
---|---|
Returns: | a soclib.component.Signal |
Raises : | KeyError if not found |
Creates the Hardware corresponding to this macrocell.
Returns: | a dsx.hard.hard.Hardware object. |
---|