Flush VCD simulation output to the VCD output file (equivalent of $dumpflush verilog system task)
flush_vcd [‑ports] [‑quiet] [‑verbose]
|Control extended vcd dump file.
|Ignore command errors
|Suspend message limits during command execution
Flush HDL signal information currently in memory into the specified Value Change Dump (VCD) file.
VCD is an ASCII file containing header information, variable definitions, and the value change details of a set of HDL signals. The VCD file can be used to view simulation results in a VCD viewer, or to estimate the power consumption of the design.
open_vcd command to open a VCD file to write to before using the
-quiet - (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose - (Optional) Temporarily override any message limits and return all messages from this command.
The following example flushes the VCD buffer into the current VCD file: