NAME
set_clock_gating_check
Specifies the value of setup and hold time for clock gating
checks.
SYNTAX
string set_clock_gating_check
[-setup setup_value]
[-hold hold_value]
[-rise | -fall]
[-high | -low]
[object_list]
float setup_value
float hold_value
list object_list
ARGUMENTS
-setup setup_value
Specifies the clock gating setup time. The default is 0.0.
-hold hold_value
Specifies the clock gating hold time. The default is 0.0.
-rise Indicates that only rising delays are to be constrained. By
default, if neither -rise nor -fall are specified, both rising
and falling delays are constrained.
-fall Indicates that only falling delays are to be constrained. By
default, if neither -rise nor -fall are specified, both rising
and falling delays are constrained.
-high Indicate that the check is to be performed on the high level of
the clock. By default, PrimeTime determines whether to use the
high or low level of the clock using information from the cell's
logic. That is, for AND and NAND gates PrimeTime performs the
check on the high level; for OR and NOR gates, on the low level.
For some complex cells (for example, MUX, OR-AND) PrimeTime can-
not determine which to use, and does not perform checks unless
you specify either -high or -low. If the user-specified value
differs from that derived by PrimeTime, the user-specified value
takes precedence, and a warning message is issued. Unlike setup
or hold time, this option sets the attribute only on the speci-
fied pin or cell and does not affect the transitive fanout pin
or cell. If you specify -high or -low you must also specify
object_list; in that case, object_list must not contain a clock
or a port.
-low Indicates that the check is to be performed on the low level of
the clock. By default, PrimeTime determines whether to use the
high or low clock level using information from the cell's logic.
That is, for AND and NAND gates PrimeTime performs the check on
the high level; for OR and NOR gates, on the low edge. For some
complex cells (for example, MUX, OR-AND) PrimeTime cannot deter-
mine which to use, and does not perform checks unless you spec-
ify either -high or -low. If the user-specified value differs
from that derived by PrimeTime, the user-specified value takes
precedence, and a warning message is issued. Unlike setup or
hold time, this option sets the attribute only on the specified
pin or cell and does not affect the transitive fanout pin or
cell. If you specify -high or -low you must also specify
object_list; in that case, object_list must not contain a clock
or a port.
object_list
Specifies a list of objects in the current design for which the
clock gating check is to be applied. The objects can be clocks,
ports, pins, or cells. If a cell is specified, all input pins of
that cell are affected. If a pin, cell, or port is specified,
all gates in the transitive fanout are affected. If a clock is
specified, the clock gating check is applied to all gating gates
driven by that clock. If you specify -high or -low you must
also specify object_list; in that case, object_list must not
contain a clock or a port. By default, if object_list is not
specified, the clock gating check is applied to the current
design.
DESCRIPTION
The set_clock_gating_check command specifies a setup or hold time clock
gating check to be used for clocks, ports, pins, or cells. The gating
check is performed on pins that gate a clock signal.
Removing CGC checks:
remove_clock_gating_check
Captures clock-gating checks.
SYNTAX
string remove_clock_gating_check
[-setup]
[-hold]
[-rise]
[-fall]
[-high | -low]
[object_list]
list object_list
ARGUMENTS
-setup
Indicates the removal of the clock-gating constraint on the setup time only. If you do not specify either the -setup or -hold option, both setup and hold constraints are removed.
-hold
Indicates the removal of the clock-gating constraint on the hold time only. If you do not specify either the -setup or -hold option, both setup and hold constraints are removed.
-rise
Indicates the removal of the clock-gating constaint on the rising delays only. If you do not specify either the -rise or -fall option, constraints on both rising and falling delays are removed.
-fall
Indicates the removal of the clock-gating constaint on the falling delays only. If you do not specify either the -rise nor -fall option, constraints on both rising and falling delays are removed.
-high
Remove the high specification from the obejct list, previously set up by set_clock_gating_check command. This option has to be either high or low..
-low
Remove the low specification from the obejct list, previously set up by set_clock_gating_check command. This option has to be either high or low.
object_list
Specifies a list of objects in the current design for which to remove the clock gating check. The objects can be clocks, ports, pins, or cells. If you specify a cell, all input pins of that cell are affected. If you do not specify any objects, the clock-gating check is removed from the current design.
DESCRIPTION
This command is available only if you invoke the pt_shell with the -constraints option.
The remove_clock_gating_check command removes clock gating checks for design objects set by set_clock_gating_check.
EXAMPLES
The following example removes the setup requirement (for rising and falling delays) on all gates in the clock network involved with clock CK1 path.
ptc_shell> remove_clock_gating_check -setup [get_clocks CK1]
The following example removes the hold requirement on the rising delay of gate and1.
ptc_shell> remove_clock_gating_check -hold -rise [get_cells and1]
An alternative way to remove information set by set_clock_gating_check is to use the reset_design command.
|