21.5.6 hdl_core_extract_ports_and_parameters

Description

This Tcl command automatically extracts ports and generic parameters from an HDL core module description.

The command will fail if the module name is not specified or is incorrect.

hdl_core_extract_ports_and_parameters \
-hdl_core_name { hdl_core_name }

Arguments

ParameterTypeDescription

hdl_core_name

string

Specifies the HDL core name from which you want to extract signal names and generic parameters. This is a mandatory argument.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None

Required parameter 'hdl_core_name' is missing.

None

Parameter 'param_name' is not defined. Valid command formatting is 'hdl_core_extract_ports_and_parameters -hdl_core_name "hdl_core_name"'

Supported Families

PolarFire®
PolarFire SoC
SmartFusion® 2
IGLOO® 2
RTG4

Example

The following example automatically extracts ports and parameters from an "test_hdl_core" HDL core module description:

hdl_core_extract_ports_and_params -hdl_core_name {test_hdl_core}

See Also

  • hdl_core_delete_parameters