Product Documentation
Virtuoso NC-Verilog Environment User Guide
Product Version IC23.1, September 2023

3


Setting Up the Simulation Environment

This chapter describes how to set up the NC-Verilog Integration Environment for a simulation.

Simulation Process Flowchart

You can develop designs using Virtuoso Schematic Editor for schematics, and Virtuoso Text Editor for text cellviews. You can also use other Virtuoso tools, such as VHDL Import, to include cellviews for your designs.

You can import Verilog, SystemVerilog, Verilog-AMS, VHDL, and VHDL-AMS text files into the DFII environment using the cdsTextTo5x command. This command also lets you generate the symbol views of the imported cellviews. For details, see Importing Design Data by Using cdsTextTo5x. You can also use this command to create text cellviews (5x structure), symbol views, and shadow database for SPICE, Spectre, DSPF, and PSpice.

Selecting a Design

The process of selecting a design includes setting up your run directory and specifying the top level library, cell and the view names. You can specify this information in the main NC-Verilog window.

For more information on entering run directory name and top level design, refer to Run Directory.

Initializing a Design

To initialize a design, you can either use the Initialize design from Fixed Menu or select the Initialize design command from the Commands Menu in the main NC-Verilog window. Selecting this command initializes the specified run directory for netlisting and simulation after performing a set of checks on the run directory and the design. Following are the possible outcomes:

On initializing design, if the run directory already contains a netlist, then the Generate Netlist, Simulate, Edit TestFixture and Simulation Compare commands would be enabled. If the run directory does not contain a netlist, then the Generate Netlist and Simulation Compare commands would be enabled.

Netlisting a Design

Netlisting produces a Verilog text description of your design. The Verilog text description (the netlist) serves as the input for the NC-Verilog simulator. This section describes how to

Specify Netlisting Options

The Netlist Setup form lets you specify netlisting options before the simulator generates the netlist. To display the Netlist Setup form, select the Netlist command from the Setup Menu on the main NC-Verilog window.

The table below shows which options you set for specific netlisting tasks.

Mapping Tasks to Options

To Do This... Use These Options...

Specify the Netlisting Mode

Entire Design
Incremental
Off

Specify the View and
Hierarchy to Netlist

Netlist These Views
Stop Netlisting at Views

Control Netlisting

Netlist for LAI/LMSI Models
Netlist Uppercase
Netlist Switch RC
Drop Port Range
Assign For Alias
Netlist Explicitly
Generate Pin Map
Skip Null port
Incremental Config List
Skip Timing Information
Support Escape Names
Preserve Buses
Netlist Uselib
Symbol Implicit
Declare Global Locally

Generate default verilog test bench and default verilog stimulus

Generate Verilog Test Fixture Template

Specify the Global Power and Ground Signals

Global Power Nets
Global Ground Nets

Set Global Time Scale

Global Sim Time
Global Sim Precision

For more information on specifying the netlisting options, see Netlist.

Run Hierarchical Netlister

To generate an incremental hierarchical netlist in the specified run directory, you select either the Generate Netlist option from the Commands Menu or Generate Netlist option from the Fixed Menu.

The next action depends on how the Netlisting Mode option on the Netlist Setup form has been specified. (See Specify Netlisting Options for more information about the Netlist Setup form.)

After successfully netlisting the design, the simulation specific menu commands that are still not available will be available.

Creating Stimulus Template File

By default, the system automatically creates the stimulus template file the first time you netlist your design in a new run directory. The default stimulus file, called testfixture.verilog, contains preinitialized signal settings that drive a simulation. This default operation is controlled by the Generate Test Fixture Template option on the Netlist Setup form.

You can edit the test fixture file using the Edit Test Fixture form. It can be accessed from the Commands Menu. This form gives you an option to either select the default stimulus file or test bench or specify another stimulus or test bench file location. You can also edit the existing test fixture using an editor. For more information on editing test fixture, refer to Edit Test Fixture option under Commands Menu.

If you select the Entire Design option in the Netlist setup form, and re-netlist a design, the system deletes the existing test bench and stimulus files and creates default test bench and stimulus files. If you need the edited files for later use, you need to save them to a different location before re-netlisting the entire design.

For more information on stimulus and test fixtures, refer to Chapter 6, “Working with the Stimulus” .


Return to top
 ⠀
X