21.5.4 hdl_core_assign_bif_signal
(Ask a Question)Description
This Tcl command maps a bus interface signal definition name to an HDL core module port name.
This Tcl command maps bus interface signal definition name to an HDL core module port name. The command will fail if the HDL core name is not specified or is incorrect.
hdl_core_assign_bif_signal
-hdl_core_name { hdl_core_name } \
-bif_name { bus_interface_name } \
-bif_signal_name { bif_signal_name } \
-core_signal_name { core_signal_name }
Arguments
Parameter | Type | Description |
---|---|---|
hdl_core_name | string | Specify the HDL core name to which the bus interface signal needs to be added. This is a mandatory argument. |
bif_name | string | Specify the bus interface name for which you want to map a core signal. This is a mandatory argument. |
bif_signal_name | string | Specify the bus interface signal name that you want to map with the core signal name. This is a mandatory argument. |
core_signal_name | string | Specify the core signal name for which you want to map the bus interface signal name. This is a mandatory argument. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Required parameter 'hdl_core_name' is missing. |
None | Required parameter 'bif_name' is missing. |
None | Parameter 'bus_interface' is missing or has invalid value. |
None | Required parameter 'bif_signal_name' is missing. |
None | Required parameter 'core_signal_name' is missing. |
None | The bus interface 'BIF_name' has not been defined. |
None | The bus interface signal 'SIGNAL NAME' has not been defined in the bus definition of the bus interface 'BIF name'. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'hdl_core_assign_bif_signal -hdl_core_name "hdl_core_name" -bif_name "BIF name" -bif_signal_name "BIf signal name" -core_signal_name "core signal name"' |
Supported Families
PolarFire® |
PolarFire SoC |
SmartFusion® 2 |
IGLOO® 2 |
RTG4™ |
Example
The following command adds 'HWRITE' bus interface signal to 'test_hdl_core' HDL core, maps with the 'myHRESULT' core signal name:
hdl_core_assign_bif_signal -hdl_core_name {test_hdl_core} \
-bif_name {BIF_1} -bif_signal_name {HWRITE} -core_signal_name {myHRESULT}
See Also
hdl_core_unassign_bif_signal