Gets the current WCFG object and sets it to the specified WCFG object if given
Syntax
current_wave_config [‑quiet] [‑verbose] [<wcfgObj>]
Returns
Returns the new or current wave configuration object
Usage
Name | Description |
---|---|
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
[<wcfgObj>]
|
Sets the current WCFG object to the given value of wcfgObj. Defaults to current |
Categories
Description
Set or get the current wave configuration object for the current simulation.
In the Vivado® simulator GUI, you can work with a waveform to analyze your design and debug your code. A wave configuration displays with top-level HDL objects, and can be further populated using commands like add_wave
and add_wave_divider
.
This command returns the name of the current wave configuration object.
Arguments
-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.
set_msg_config
command.<wcfgObj> - (Optional) Specify a wave configuration object to set as the current wave configuration. The wave configuration object can either be specified by name, or as an object returned by the get_wave_configs
command.
Examples
The following example gets the testbench wave config object and makes it the current wave configuration in the simulation:
current_wave_config [get_wave_config testbench]