Technical data
toggle add
CR-154 ModelSim Commands ModelSim EE/SE Command Reference
toggle add
The toggle add command enables collection of toggle statistics for the specified
nodes. The allowed nodes are Verilog nets and VHDL signals of type bit,
bit_vector, std_logic, and std_logic_vector (other types are silently ignored).
Syntax
toggle add
[-r] [-in] [-out] [-inout] [-internal] [-ports] <node_name>
Arguments
-r
Specifies that toggle statistic collection is enabled recursively into subregions.
Optional; if omitted, toggle statistic collection is limited to the current region.
-in
Enables toggle statistic collection on nodes of mode IN. Optional.
-out
Enables toggle statistic collection on nodes of mode OUT. Optional.
-inout
Enables toggle statistic collection on nodes of mode INOUT. Optional.
-internal
Enables toggle statistic collection on internal items. Optional.
-ports
Enables toggle statistic collection on nodes of modes IN, OUT, or INOUT.
Optional.
<node_name>
Enables toggle statistic collection for the named node(s). Required. Multiple
names and wildcards are accepted.
See also
"Toggle checking"
(E-447), toggle reset command (CR-155), and the toggle report
command
(CR-156)