21.4.17 sd_create_pin_slices

Description

This tcl command creates slices for a SmartDesign top level bus port or an instance level bus pin.

sd_create_pin_slices -sd_name {smartdesign component name} \
                     -pin_name {port or pin _name} \
                     -pin_slices {port or pin slices}

Arguments

ParameterTypeDescription

sd_name

string

Specifies the name of the SmartDesign component. It is mandatory.

pin_name

string

Specifies the name of the bus port or bus pin to be sliced. It is mandatory. This command will fail if the port/pin isscalar or if the bus port/pin does not exist.

pin_slices

string

Specifies the port/pin slices as a list of bus ranges which must be contained within the port/pin bus range. It ismandatory.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
None

Parameter 'pin_slices' has illegal value.

None

Required parameter 'pin_slices' is missing.

None

Parameter 'pin_name' has illegal value.

None

Required parameter 'pin_name' is missing.

None

Parameter 'sd_name' has illegal value.

None

Required parameter 'sd_name' is missing.

None

Parameter 'param_name' is not defined. Valid command formatting is 'sd_create_pin_slices -sd_name "sd_name" -pin_name "pin_name" -pin_slices "[Ranges of pin slices]+"'.

SDCTRL06

Cannot connect output pin 'pin1' of 'instance' to output pin 'pin2' of 'sdesign' since they are both drivers.

Supported Families

Supported Families
PolarFire®
PolarFire SoC
RTG4
SmartFusion® 2
IGLOO® 2

Example

This example creates slices for "Rdata" pin.

sd_create_pin_slices -sd_name {sub} \
                     -pin_name {Rdata} \
                     -pin_slices {[4:3] [2:0]}