|
|
Important: Altera recommends that you set Time scale settings to picoseconds (ps) in the interface or with command-line commands when performing timing simulations of designs with RAM. |
To perform a timing simulation of a Quartus II–generated Verilog Output File (.vo) and the corresponding Standard Delay Format Output File (.sdo) with the Synopsys VCS software:
-
If you have not already done so, perform Setting Up the VCS Working Environment.
-
To generate the Verilog Output File:
-
Specify EDA tool settings in the Quartus II software.
-
Compile the design with the Quartus II software.
-
|
|
Note: The EDA Netlist Writer generates the VHDL Output File and the SDF Output File and places it in the output directory specified. The default location is /<project directory>/simulation/vcs.
If you have already compiled the design, and want to specify different EDA tools settings and generate a Verilog Output File (.vo), VHDL Output File (.vho), and Standard Delay Format Output File (.sdo) without recompiling the design, you can use the Start EDA Netlist Writer command. You can also use the Start EDA Netlist Writer command to generate script files to generate Value Change Dump File (.vcd) in EDA simulation tools |
-
To direct the VCS software to generate a Value Change Dump File (.vcd) that you can then use to perform power analysis in the Quartus II PowerPlay Power Analyzer, include the Quartus II-generated Verilog Design File (.v) in the test bench file for the design by adding the following line to the test bench file:
include<test bench or design instance name>_dump_all_vcd_nodes.vThe Verilog Design File directs the VCS software to monitor and write the output signals contained in the Verilog Design File to a VCD File during simulation.
-
You can compile the Verilog Output File with the VCS software with one of the following commands typed at the command prompt.
To generate a simv.exe file, which you can use later to simulate the design:
vcs <test bench>.v <design name>.vo -v \quartus\eda\sim_lib\altera_primitives.v +compsdf
(If your design targets a Stratix III or Cyclone III device.)
vcs <test bench>.v <design name>.vo -v \quartus\eda\sim_lib\<device family>_atoms.v +compsdf 
-
or
-
To compile the Verilog Output File with the VCS software and simulate it automatically: -
vcs <test bench>.v <design name>.vo -v \quartus\eda\sim_lib\altera_primitives.v +compsdf(If your design targets a Stratix III or Cyclone III device.)
vcs -R <test bench>.v <design name>.vo -v \quartus\eda\sim_lib\<device family>_atoms.v +compsdf

Important: If your design contains the altgxb megafunction or the alt2gxb megafunction, please refer to the appropriate megafunction topic for required settings information.
|
|
Note: For more information about other ways to perform a timing simulation with the VCS software and the VCS interface, refer to the VCS User Guide. |

