|
|
|
To prepare for a functional simulation of a Verilog HDL design with the Synopsys® VCS software, you can type a command that compiles the design and generates a simv.exe file that you can use to simulate the design. Alternatively, you can type a command that compiles and simulates the design automatically.
To perform a functional simulation of a Verilog HDL design with the VCS software by using the command line:
If you have not already done so, perform 1. Set Up the VCS Working Environment.
If the Verilog HDL design uses memory initialization data in a Hexadecimal (Intel-Format) File (.hex), to use a HEX File without the convert_hex2ver utility:
Export the HEX File as a RAM Initialization File (.rif).
add parameter lpm_file = "
<RIF name>";
to your Verilog design file or test bench file.
Refer to the following table and type the appropriate command at the command prompt.
Design Type | Commands for Compiling the Design and Generating a simv.exe File | Commands for Compiling and then Automatically Simulating the Design |
Verilog design without HEX File |
|
|
Verilog design with HEX File and convert_hex2ver utility |
|
|
Verilog design with HEX File and without the convert_hex2ver utility |
|
|
|
If your design contains the altgxb megafunction, you must set the value of the pll_areset signal to start high in the test bench or waveform file for the design.
If the megafunction does not instantiate a GXB transmitter PLL, you must set the values of the rxanalogreset and rxdigitalreset signals to start high. |
To continue with the VCS simulation flow, proceed to 3. Perform a Timing Simulation with the VCS Software.
- PLDWorld - |
|
Created by chm2web html help conversion utility. |