Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

VCS scripts to compile the Altera libraries

Does anyone have scripts in VCS to compile the Altera simulation libraries?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm not familiar with any specific scripts to set up the Altera libraries in VCS. However, I did find a useful design example on the Altera website:

    http://www.altera.com/support/examples/vcs/exm-vcs-timing-verilog.html

    Based on the TCL script that was provided, here's a snit it of the TCL file to setup your simulation:

    vcs

    # -R

    # ## To invoke the GUI, use -RI option

    -RI

    # ## 64-bit version

    # -full64

    # ## record all the messages in a log file named test_net.log

    -l test_net.log

    # ## inlcude the path for libraries required for simulation

    -v stratixii_atoms.v

    # ## compile the test bench

    test_multiplier.v

    # ## inlcude the design files

    multiplier.vo

    # ## include these switches for transporting path delays and internal delays

    # ## to get more information on these switches, refer to VCS Userguide

    +transport_int_delays

    +pulse_int_e/0

    +pulse_int_r/0

    +transport_path_delays

    +pulse_e/0

    +pulse_r/0

    If you refer to the "include the path for libraries required for simulation", here's the command for adding the Stratix II device library for VCS simulation:

    >> -v stratixii_atoms.v

    Not sure if this helps, but just my two cents.

    -Pld_wiz