Generate a New Schematic from Trace Results
Verdi provides a number of useful techniques that enable you to simplify the process of debugging your design. One such technique helps to narrow down the debugging scope by generating a partial schematic containing only the results of the most recent trace operation.
Example
The following example illustrates how you can generate a
partial schematic containing only the results from a trace
operation. The test case is included in the demo/verilog/rtl
directory of your Novas installation.
Steps:
1. Open the design in Verdi.
% verdi -f run.f
2. Click i_PCU(PCU) in the hierarchy browser pane and drag and drop it to the nSchema icon in the toolbar. You will now be able to see the schematic for the i_PCU instance.
3. Invoke Schematic -> Find in Current Scope.
4. Select the Signal option in the Find dialog box and type data* in the Find text box. Select data[7:0] and it is highlighted in the schematic window.
5. Invoke Trace -> Driver on the selected bus, data[7:0]. The schematic highlights the drivers to show the results of the trace operation.
6. Invoke Tools -> New Schematic -> From Trace Result to create a new schematic window with only the trace results.
7. Move the cursor on system.i_cpu.i_PCU.data[7:0] and the cursor becomes an arrow.
8. When the cursor changes to an arrow, double-click to expand and display the result. The schematic expands to show the connected component. You can now do Edit-Undo to remove the expanded instance.
