EDA Interfaces

3. Perform a Timing Simulation with the Scirocco Software



To perform a timing simulation of a Quartus® II–generated VHDL Output File (.vo) and the corresponding Standard Delay Format Output File (.sdo) with the Synopsys® Scirocco software:

  1. If you have not already done so, perform 1. Set Up the Scirocco Working Environment.

  2. To generate the VHDL Output File (.vho):

    1. Specify EDA tool settings in the Quartus II software.

    2. Compile the design with the Quartus II software.

    NOTE The Quartus II Compiler generates the VHDL Output File and the SDF Output File and places them in the /<project directory>/simulation/scsim directory. More Details

  3. Add the following lines to your .synopsys_vss.setup file to include the mapping information for the work library, and to direct the Scirocco software to use the timing simulation libraries during simulation:

    WORK > <work library>
    <device family> > <work library>
    <work library> > <physical path to work library>

  4. If your design contains the altgxb megafunction, add the following lines to your .synopsys_vss.setup file to map to the precompiled Stratix GX timing simulation model libraries:

  5. altgxb > <alias name>
    <alias name> : /quartus/eda/sim_lib/scirocco/stratixgx_gxb

    NOTE 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.

  6. Create a work library in the project directory by typing the following command at a command prompt: More Details

  7. mkdir <work library> Enter

  8. To compile the VHDL Output File, test bench file (if you are using one) and Altera® prerouting simulation libraries, type the following commands at a command prompt:

  9. vhdlan /usr/quartus/eda/sim_lib/<device family>_atoms.vhd Enter
    vhdlan /usr/quartus/eda/sim_lib/<device family>_components.vhd Enter
    vhdlan <test bench file> Enter
    vhdlan <design name>.vho Enter

    NOTE

    For VHDL 87-compliant designs for APEX 20KE devices, type the following command to compile the VHDL-87 compliant simulation model library instead:

    vhdlan -vhdl87 /usr/quartus/eda/sim_lib/apex20ke_atoms_87.vhd Enter

  10. To back-annotate timing information through the SDF Output File, type the following command at the command prompt (where <VHDL configuration name> represents the configuration name in the test bench file):

    scsim -sdf_top <test bench file> -sdf <design name>.sdo <VHDL configuration name> Enter

    NOTE The Scirocco software requires each architecture or entity pair in a VHDL Output File or test bench file to have a configuration. The Configuration Declaration is necessary for simulation, but not for synthesis.

  11. To simulate the design, type the following command at a command prompt:

  12. scsim <work library>.<VHDL configuration name> Enter

  13. To view the results of the simulation, type virsim Enter at the command prompt to launch the Scirocco interface.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.