|
|
|
To use the Cadence Verilog-XL software to perform a functional simulation of a Verilog HDL design that contains Altera-specific components:
If you have not already done so, perform 1. Set Up the Verilog-XL Working Environment.
If your design contains content-addressable memory (CAM), RAM, or ROM functions, and you are using a Hexadecimal (Intel-Format) File (.hex), to convert the HEX File:
Export the Hexadecimal (Intel-Format) File (.hex) as a RAM Initialization File (.rif) in the Quartus® II software.
Add parameter lpm_file = "
<RIF name>.rif";
for the CAM, RAM, or ROM function to your top-level design or test bench file.
Type the following commands to compile the 220model.v and altera_mf.v simulation libraries:
vlog +define+NO_PLI 220model.v
vlog +define+NO_PLI altera_mf.v
If your design has CAM, RAM, or ROM functions, to start the Verilog-XL software and simulate your Verilog design file and test bench file (if you are using one), type the following command at the command prompt:
verilog
<test bench>.v
<design name>.vo +define+NO_PLI /quartus/eda/sim_lib/altera_mf.v +define+NO_PLI /quartus/eda/sim_lib/220model.v
If you are not using CAM, RAM, or ROM functions, to start the Verilog-XL software and simulate your Verilog design file and test bench file, type the following command at the command prompt:
verilog
<test bench> <design name>.vo /quartus/eda/sim_lib/altera_mf.v /quartus/eda/sim_lib/220model.v
If your design contains the |
Refer to the VCS User Guide for more information on the required and optional environment variables.
To continue with the Verilog-XL simulation flow, proceed to 3. Perform a Timing Simulation with the Verilog-XL Software.
- PLDWorld - |
|
Created by chm2web html help conversion utility. |