6.13 Design Object Access Commands
Design object access commands are SDC commands. Most SDC constraint commands require one of these commands as command arguments.
Designer software supports the following SDC access commands:
Design Object | Access Command |
|---|---|
Cell | |
Clock | |
Net | |
Port | |
Pin | |
Input ports | |
Output ports | all_outputs |
Registers |
6.13.1 all_inputs
Returns all the input or inout ports of the design.
all_inputs
6.13.1.1 Arguments
None
6.13.1.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, ProASIC PLUS, ProASIC, Axcelerator, eX, SX-A
6.13.1.3 Exceptions
None
6.13.1.4 Example
set_max_delay -from [all_inputs] -to [get_clocks ck1]
6.13.1.5 Microchip Implementation Specifics
None
6.13.2 all_registers
Returns either a collection of register cells or register pins, whichever you specify.
all_registers [-clock clock_name] [-cells] [-data_pins ] [-clock_pins] [-async_pins] [-output_pins]
6.13.2.1 Arguments
- -clock clock_name
- Creates a collection of register cells or register pins in the specified clock domain.
- -cells
- Creates a collection of register cells. This is the default. This option cannot be used in combination with any other option.
- -data_pins
- Creates a collection of register data pins.
- -clock_pins
- Creates a collection of register clock pins.
- -async_pins
- Creates a collection of register asynchronous pins.
- -output_pins
- Creates a collection of register output pins.
6.13.2.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, ProASIC PLUS, ProASIC, Axcelerator, eX, SX-A
6.13.2.3 Description
This command creates either a collection of register cells (default) or register pins, whichever is specified. If you do not specify an option, this command creates a collection of register cells.
6.13.2.4 Exceptions
None
6.13.2.5 Examples
set_max_delay 2 -from [all_registers] -to [get_ports {out}] set_max_delay 3 –to [all_registers –async_pins] set_false_path –from [all_registers –clock clk150] set_multicycle_path –to [all_registers –clock c* -data_pins–clock_pins]
6.13.2.6 Microchip Implementation Specifics
- None
6.13.3 all_registers
Returns either a collection of register cells or register pins, whichever you specify.
all_registers [-clock clock_name] [-cells] [-data_pins ] [-clock_pins] [-async_pins] [-output_pins]
6.13.3.1 Arguments
- -clock clock_name
- Creates a collection of register cells or register pins in the specified clock domain.
- -cells
- Creates a collection of register cells. This is the default. This option cannot be used in combination with any other option.
- -data_pins
- Creates a collection of register data pins.
- -clock_pins
- Creates a collection of register clock pins.
- -async_pins
- Creates a collection of register asynchronous pins.
- -output_pins
- Creates a collection of register output pins.
6.13.3.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, ProASIC PLUS, ProASIC, Axcelerator, eX, SX-A
6.13.3.3 Description
This command creates either a collection of register cells (default) or register pins, whichever is specified. If you do not specify an option, this command creates a collection of register cells.
6.13.3.4 Exceptions
None
6.13.3.5 Examples
set_max_delay 2 -from [all_registers] -to [get_ports {out}] set_max_delay 3 –to [all_registers –async_pins] set_false_path –from [all_registers –clock clk150] set_multicycle_path –to [all_registers –clock c* -data_pins–clock_pins]
6.13.3.6 Microchip Implementation Specifics
None
6.13.4 get cells
Returns the cells (instances) specified by the pattern argument.
get_cells pattern
6.13.4.1 Arguments
- pattern
- Specifies the pattern to match the instances to return. For example, "get_cells U18*" returns all instances starting with the characters "U18", where “*” is a wildcard that represents any character string.
6.13.4.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, Axcelerator, RTAX-S, eX, and SX-A
6.13.4.3 Description
This command returns a collection of instances matching the pattern you specify. You can only use this command as part of a –from, -to, or –through argument for the following constraint exceptions: set_max delay, set_multicycle_path, and set_false_path design constraints.
6.13.4.4 Exceptions
None
6.13.4.5 Examples
set_max_delay 2 -from [get_cells {reg*}] -to [get_ports {out}] set_false_path –through [get_cells {Rblock/muxA}]
6.13.4.6 Microchip Implementation Specifics
None
6.13.5 get_clocks
Returns the specified clock.
get_clocks pattern
6.13.5.1 Arguments
- pattern
- Specifies the pattern to match to the Timer or SmartTime on which a clock constraint has been set.
6.13.5.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, Axcelerator, RTAX-S, eX, and SX-A
6.13.5.3 Description
- If this command is used as a –from argument in maximum delay (set_max_path_delay), false path (set_false_path), and multicycle constraints (set_multicycle_path), the clock pins of all the registers related to this clock are used as path start points.
- If this command is used as a –to argument in maximum delay (set_max_path_delay), false path (set_false_path), and multicycle constraints (set_multicycle_path), the synchronous pins of all the registers related to this clock are used as path endpoints.
6.13.5.4 Exceptions
None
6.13.5.5 Example
set_max_delay -from [get_ports datal] -to \ [get_clocks ck1]
6.13.5.6 Microchip Implementation Specifics
None
6.13.6 get_pins
Returns the specified pins.
get_pins pattern
6.13.6.1 Arguments
- pattern
- Specifies the pattern to match the pins.
6.13.6.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, Axcelerator, RTAX-S, eX, and SX-A
6.13.6.3 Exceptions
None
6.13.6.4 Example
create_clock -period 10 [get_pins clock_gen/reg2:Q]
6.13.6.5 Microchip Implementation Specifics
None
6.13.7 get_nets
Returns the named nets specified by the pattern argument.
get_nets pattern
6.13.7.1 Arguments
- pattern
- Specifies the pattern to match the names of the nets to return. For example, "get_nets N_255*" returns all nets starting with the characters "N_255", where “*” is a wildcard that represents any character string.
6.13.7.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, Axcelerator, RTAX-S, eX, and SX-A
6.13.7.3 Description
This command returns a collection of nets matching the pattern you specify. You can only use this command as source objects in create clock (create_clock) or create generated clock (create_generated_clock) constraints and as - through arguments in set false path (set_false_path), set minimum delay (set_min_delay), set maximum delay (set_max_delay), and set multicycle path (set_multicycle_path) constraints.
6.13.7.4 Exceptions
None
6.13.7.5 Examples
set_max_delay 2 -from [get_ports RDATA1] -through [get_nets {net_chkp1 net_chkqi}] set_false_path –through [get_nets {Tblk/rm/n*}]
create_clcok -name mainCLK -per 2.5 [get_nets {cknet}]
6.13.7.6 Microchip Implementation Specifics
None
6.13.8 get_ports
Returns the specified ports.
get_ports pattern
6.13.8.1 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.
6.13.8.2 Supported Families
IGLOO, ProASIC3, SmartFusion, Fusion, Axcelerator, RTAX-S, eX, and SX-A
6.13.8.3 Exceptions
None
6.13.8.4 Example
create_clock -period 10[get_ports CK1]
6.13.8.5 Microchip Implementation Specifics
None
