21.5.1 create_hdl_core
(Ask a Question)Description
This Tcl command uses to create a core component from an HDL core. If specified, incorrect module name command will fail.
create_hdl_core -file "file name" -module "module name" \
[-library "library name"] [-package "package name"]
Arguments
Parameter | Type | Description |
---|---|---|
file | string | Specify the file absolute path of the module from which you create a core component. This is a mandatory argument. |
module | string | Specify the module name for which you want to create a core component. This is a mandatory argument. |
library | string | Specify the library name from which you want to create a HDL core. This is an optional argument. |
package | string | Specify the package name from which you want to create a core component. This is an optional argument. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Required parameter 'file' is missing. |
None | Parameter 'param_name' is not defined. Valid command formatting is'create_hdl_core -file "file name" -module "module name" [-library "library"] [-package "package"]'. |
None | Required parameter 'module' is missing. |
Supported Families
PolarFire® |
PolarFire SoC |
SmartFusion® 2 |
IGLOO® 2 |
RTG4™ |
Example
The following example creates core component for "test_hdl_core" module from the "hdl_core.v" HDL:
create_hdl_core -file {./HDL_CORE_TEST/hdl/hdl_core.v} \
-module {test_hdl_core}