get_ports

Returns the named ports specified by an argument.

 

Syntax

 

get_ports <pattern>

 

Argument

 

pattern

 

Specifies the pattern to match the ports. This is equivalent to the macros $in()[<pattern>] when used as –from argument and $out()[<pattern>] when used as –to argument or $ports()[<pattern>] when used as a –through argument.

 

Example

 

create_clock -period 10 [get_ports CK1]