Description
Returns
an object representing the port(s) that match those specified in the pattern
argument. Wildcards can be used to select multiple ports at once. If no objects
match the criteria, the empty string is returned.
get_ports pattern
Arguments
Parameter | Type | Description |
---|
pattern | string | Specifies the pattern to match the ports. |
Return Type | Description |
---|
object | Returns an object representing the port(s) that match those specified in the pattern argument. |
Error Codes
Error Code | Description |
---|
None | Required parameter _AtclParam0_ is missing. |
Supported
Families
PolarFire® |
PolarFire SoC |
SmartFusion® 2 |
IGLOO® 2 |
RTG4™ |
Example
The following example creates a clock on port CK1
with a period of 10 ns.
create_clock -period 10 [get_ports CK1]
Related Examples on GitHub