Inputs and outputs of blocks in the Xilinx® Blockset can be displayed in the Waveform Viewer. The data necessary to draw each signal’s waveform is not stored with the design; it is generated by simulation. You can only display a signal’s waveform after you have added the signal to the Waveform Viewer and then simulated the model.
To add signals to the display in the Waveform Viewer:
- With the Waveform Viewer open, select a signal in the System Generator model.
You can also select multiple signals by using Shift+ click to select additional signals.
Note: For the Gateway In block, only the output signal can be displayed in the Waveform Viewer. - Right-click one of the selected signals in the System Generator model and select Xilinx Add to Viewer in the right-click menu.Note: If you select a signal that is currently displayed in the Waveform Viewer, the Xilinx Add to Viewer entry will not appear in the right-click menu.Figure 1. Xilinx Add to Viewer
The signal names of the selected signals appear in the Waveform Viewer.
-
Only the names of the added signals appear in the Waveform Viewer, because the Waveform Viewer does not have the data to draw the signal’s waveform until you simulate the design.
- Simulate the model.Figure 2. Run Button
After the simulation is finished, the waveforms for the added signals are displayed in the Waveform Viewer.