Adding Signals from Sub-modules - 2024.1 English

Vivado Design Suite Tutorial: Logic Simulation (UG937)

Document ID
Release Date
2024.1 English
You can also add signals from different levels of the design hierarchy to study the interactions between these modules and the testbench. The easiest way to add signals from a sub-module is to filter objects and then select the signals to add to the Waveform view.

Add signals from the instantiated sine_gen_demo module (DUT) and the sinegen module (U_SINEGEN).

  1. In the Scopes window, select and expand the Testbench, then select and expand DUT.

    Simulation objects associated with the currently selected scope display in the Objects window.

    By default, all types of simulation objects display in the Objects window. However, you can limit the types of objects displayed by selecting the object filters at the top of the Objects window. The following figure shows the Objects window with the Input and Output port objects enabled, and the other object types are disabled. Move the cursor to hover over a button to see the tooltip for the object type.
  2. Use the Objects window toolbar to enable and disable the different object types.

    The types of objects that can be filtered in the Objects window include Input, Output, Inout ports, Internal Signals, Constants, and Variables.

  3. In the Scopes window, select the U_SINEGEN design unit.
  4. In the Waveform window, right-click in the empty space below the signal names, and use the New Group command to create three new groups called Inputs, Outputs, and Internal Signals.
    Tip: If you create the group on top of, or containing, any of the current objects in the Waveform window, simply drag and drop the objects to separate them as needed.
  5. In the Objects window, select the Input filter to display the Input objects.
  6. Select the Input objects in the Objects window, and drag and drop them onto the Input group you created in the Waveform window.

Repeat steps 5 and 6 above to filter the Output objects and drag them onto the Output group, and filter the Internal Signals and drag them onto the Internal Signals group, as shown in the following figure.