Setting Up the NCSim (NC-Verilog) Working Environment

 


To use the Quartus II software with Cadence NCSim (NC-Verilog) software, you must first install the Quartus II software, then establish an environment that facilitates entering and processing designs. The Quartus II/NCSim interface is installed automatically when you install the Quartus II software on your computer. Refer to the Altera Software Installation and Licensing manual for more information on installing the software and the directories that are created during the Quartus II software installation. One of the directories created during the Quartus II software installation is /quartus/eda/sim_lib, which contains the library model files for Quartus II primitives.

  1. Make sure you have installed the following versions of the Quartus II software and the NCSim software:
     

  2. Cadence

    Altera

    NC-Verilog
    version 9.2
    for Linux only

    Quartus II
    version 10.0

     

    This version of the NCSim software supports all Altera devices supported by the Quartus II software.

     

    note.gif

    Note: The Quartus II Software Release Notes are available on the Altera website and provide up-to-date information on which versions of Cadence software applications the current version of the Quartus II software supports. The Quartus II readme.txt file provides information on installation and operating requirements. You should read the Release Notes and readme.txt file before installing the Quartus II software. After installation, you can open the Release Notes and readme.txt file from the Quartus II Help menu.

  1. To run an EDA design entry/synthesis, simulation, or timing analysis tool automatically from the Quartus II software using the NativeLink feature, you must specify the location of executable files for third party EDA tools by clicking Options on the Tools menu, and then clicking EDA Tool Options.

  2. To set up your working environment for the Quartus II/NCSim software interface:

  3.  

  4. note.gif

    Note: The information presented here assumes that you are using C shell and that your Quartus II system directory is /usr/quartus. If not, you must use the appropriate syntax and procedures to set environment variables for your shell.

     

    1. Add the following environment variable to your .cshrc file from a Linux workstation command prompt:

      setenv CDS_INST_DIR <NCSim installation directory path> Enter

    2. Add the $CDS_INST_DIR/tools/bin directories to the PATH environment variable in your .cshrc file. Make sure these paths are placed before the Cadence hierarchy path.

    3. Add /usr/dt/lib and /usr/ucb/lib to the LD_LIBRARY_PATH environment variable in your .cshrc file.

    4. Type source .cshrc ENTER at a command prompt to source the .cshrc file.

  1. If you are performing a functional simulation, to continue with the NCSim simulation flow, perform a functional simulation with the NCSim software.

  2. If you are performing a timing simulation, to continue with the NCSim simulation flow, proceed to perform a timing simulation with the NCSim software.