Command Reference 2. Synopsys Commands highlight_path
NAME
highlight_path Highlights timing paths in a schematic.
SYNTAX
int highlight_path [pins_or_ports] [-from source_pins_or_ports]
[layer_name] [-min_rise] [-min_fall] [-max_rise] [-max_fall]
[-min] [-max] [-critical_path] [-no_auto_cycle]
list pins_or_ports
list source_pins_or_ports
string layer_name
ARGUMENTS
pins_or_ports Specifies the pins or ports on the
current_design to highlight. If not
specified, the critical path is
highlighted.
-from source_pins_or_ports
Specifies the source pins or ports on
the current design of the highlighted
path. If not specified, the path will
be highlighted starting from the
appropriate input port.
layer_name Specifies the name of the layer on which
nets and cells on the path are placed.
Highlighting is performed by placing the
paths on the specified layer which is
usually highlighted by making the layer
thicker, or a different color than the
others. If a layer_name is not
specified, highlight_layer is used as
the default.
-min_rise Specifies that the minimum rising delay
path to the pins_or_ports is
highlighted.
-min_fall Specifies that the minimum falling delay
path to the pins_or_ports is
highlighted.
-max_rise Specifies that the maximum rising delay
path to the pins_or_ports is
highlighted.
V3.1 Synopsys Inc. 1988-1994. All rights reserved. 2-1
highlight_path 2. Synopsys Commands Command Reference
-max_fall Specifies that the maximum falling delay
path to the pins_or_ports is
highlighted.
The -min_rise, -min_fall, -max_rise, and -max_fall
options let you specify the type of paths to highlight.
Any number of these options can be specified to
highlight more than one type of path.
-min Specifies that the minimum delay path
(rising or falling) to the pins_or_ports
is highlighted.
-max Specifies that the maximum delay path
(rising or falling) to the pins_or_ports
is highlighted.
-critical_path Specifies that the path to a port or
probed pin that has the largest rising
or falling delay is to be highlighted.
If this option is specified, no other
options except layer_name should be
specified.
-no_auto_cycle Turns off the automatic cycling through
highlight layers.
DESCRIPTION
Highlights timing paths that start at the specified
source_pins_or_ports and end at the specified
pins_or_ports on the schematic for the current design.
If no minimum or maximum options are specified, both
the maximum rise delay and the maximum fall delay paths
are highlighted. These can be identical paths.
This command changes only the internal representation
of the schematic. To see the effect of this command,
you need to plot or write the schematic, or view it in
the Design Analyzer viewer.
Note: This command is used only after create_schematic.
EXAMPLES
The following example highlights the maximum delay path
(both rise and fall) for the OUT1 and OUT2 ports.
2-2 Synopsys Inc. 1988-1994. All rights reserved. V3.1
Command Reference 2. Synopsys Commands highlight_path
dc_shell> highlight_path {OUT1, OUT2}
The following example highlights the maximum rise delay
path starting at output pin O1 and ending at the OUT1
port.
dc_shell> highlight_path OUT1 -from O1
-max_rise
The following example highlights the maximum delay
(rise and fall) paths for all output ports:
dc_shell> highlight_path all_outputs( )
This example highlights the critical path:
dc_shell> highlight_path -critical_path
This example highlights the minimum fall delay path for
output pin O1.
dc_shell> highlight_path O1 -min_fall
The following example makes all max paths red and all
min paths green.
dc_shell> highlight_path all_outputs( ) green_layer -min
dc_shell> highlight_path all_outputs( ) red_layer -max
dc_shell> set_layer green_layer red 0
dc_shell> set_layer green_layer green 65000
dc_shell> set_layer green_layer blue 0
dc_shell> set_layer red_layer red 65000
dc_shell> set_layer red_layer green 0
dc_shell> set_layer red_layer blue 0
Note: For the previous command sequence, since the max
paths were highlighted after the min paths, any min
paths that were also max paths would be made red.
Also, the set_layer commands are not required if you
use a layer that has already been defined. The above
V3.1 Synopsys Inc. 1988-1994. All rights reserved. 2-3
highlight_path 2. Synopsys Commands Command Reference
commands work regardless of the previous layer
definitions.
SEE ALSO
create_schematic(2), plot(2), remove_highlighting(2),
set_layer(2), current_design(3).
2-4 Synopsys Inc. 1988-1994. All rights reserved. V3.1