21.8.1 all_inputs

Description

Returns an object representing all input and inout pins in the current design. This command is usually used with a command which puts the same attributes on input ports. If you want only certain ports, use the get_ports command.

all_inputs

Arguments

ParameterTypeDescription
NoneNoneNone
Return TypeDescription
objectReturns an object representing all input and inout pins in the current design.

Supported Families

PolarFire®
PolarFire SoC
SmartFusion® 2
IGLOO® 2
RTG4

Exceptions

You can only use this command as part of a -from, -to argument in the following Tcl commands: set_min_delay, set_max_delay, set_multicycle_path, and set_false_path. It cannot be used with -through option.

Example

The following example sets a maximum delay by constraining all paths from all_inputs to ck1 clock with a delay less then 2 ns.

set_max_delay 2 -from [all_inputs] -to [get_clocks ck1]

Related Examples on GitHub