21.4.36 sd_invert_pins
(Ask a Question)Description
This Tcl command inverts one or more top level ports or instance level pins in a SmartDesign.
Note: This command will not work on multiple pins
in release v2021.1. Support for multiple pins will be provided in the next Libero
release.
sd_invert_pins -sd_name {smartdesign component name} \ -pin_names {port or pin names}Arguments
| Parameter | Type | Description |
|---|---|---|
sd_name | string | Name of the SmartDesign component. It is mandatory. |
pin_names | string | Specified the names of the ports or pins to be inverted. It is mandatory. This parameter can take multiple values(example below). The command will fail if the port/pin does not exist. |
| Return Type | Description |
|---|---|
| None | None |
Error Codes
| Error Code | Description |
|---|---|
None | Required parameter 'sd_name' is missing. |
None | The component 'design_name' doesn't exist. |
None | Parameter 'd' is not defined. Valid command formatting is 'sd_invert_pins -sd_name "sd_name" -pin_names "[pin_names]+"'. |
| SDCTRL05 | Pin 'pin_name' does not exist. |
Supported Families
| Supported Families |
|---|
| PolarFire® |
| PolarFire SoC |
| RTG4™ |
| SmartFusion® 2 |
| IGLOO® 2 |
Example
The following example inverts "din_d" top level port in a "mydesign" SmartDesign:
sd_invert_pins -sd_name {mydesign} -pin_names {"din_d"}The following example inverts "top_0:clk" instance pin in a "mydesign" SmartDesign:
sd_invert_pins -sd_name {mydesign} -pin_names {"top_0:clk"}