1 / 8

Simulating Verilog Code with VCS: A Step-by-Step Guide

This guide provides a comprehensive overview of how to simulate Verilog code using the VCS tool. It covers downloading and unzipping the Calc1 code, navigating the directory, and understanding key Verilog files such as `calc1_top.v` and `testbench.v`. Learn how to run VCS, open the waveform window, select and drag signals for display, and execute simulations. By following this tutorial, you'll gain insights into waveform results and techniques to analyze simulation outputs effectively.

Download Presentation

Simulating Verilog Code with VCS: A Step-by-Step Guide

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Doing the VCS Assignment Download the Calc1 code Unzip/Uncompress it Go into the directory with the verilog code There are several verilog files including: calc1_top.v - the main design file testbench.v - contains the stimulus, instantiates the design You will simulate testbench.v This will force the compilation/simulation of all other blocks

  2. Running VCS • Type vcs -RI testbench.v • The Interactive Window appears

  3. Waveform Window • Open the Waveform Window • Need to select the signals you want to see, use Hierarchy Window

  4. Hierarchy Window • Select the bigtest module to see its signals • Drag-and-drop the signals into the Waveform Window

  5. Waveform Window with Signals • The signals are on display, but they are blank

  6. Execute Simulation • Simulate by selecting Continue • Printed results are shown in top pane

  7. Waveforms Results • Waveform Window is updated with results • Zoom out and scroll over time

  8. Waveforms Results, Zoomed and Scrolled

More Related