21.4.33 sd_instantiate_hdl_core
(Ask a Question)Description
This Tcl command instantiates a HDL+ core in a SmartDesign component. HDL+ core definition must be created on a HDL module before using this command.
sd_instantiate_hdl_core -sd_name {smartdesign component name} \
                        -hdl_core_name {hdl core module name} \
                        [-instance_name {instance name}]Arguments
| Parameter | Type | Description | 
|---|---|---|
sd_name  | string  | Specifies the name of the SmartDesign component. It is mandatory.  | 
hdl_core_name  | string  | Specifies the name of the HDL+ core module being instantiated in the SmartDesign component. It is mandatory.  | 
instance_name  | string  | Specifies the instance name of the HDL+ core being instantiated in the SmartDesign. It is optional. By default, the instance name is <hdl_core_module_name>_<index>; (index is an automatically generated integer starting at 0 such that the instance name is unique in the SmartDesign).  | 
| Return Type | Description | 
|---|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|---|
None  | Required parameter 'sd_name' is missing.  | 
None  | Required parameter 'hdl_core_name' is missing.  | 
None  | '1' violates HDL naming rules, please specify a different name  | 
None  | Parameter 'param_name' is not defined. Valid command formatting is 'sd_instantiate_hdl_core -sd_name "sd_name" -hdl_core_name "hdl_core_name" [-instance_name "instance_name"]'.  | 
Supported Families
| Supported Families | 
|---|
| PolarFire® | 
| PolarFire SoC | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
Example
The following example instantiates a HDL+ "top" core in a "mydesign" SmartDesign component as "top_0" (by default):
sd_instantiate_hdl_core -sd_name {mydesign} \
                        -hdl_core_name {top} \
                        -instance_name {}See Also
sd_instantiate_hdl_macro
sd_instantiate_core
