Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

VCS scripts to compile the Altera libraries

Altera_Forum
Honored Contributor II
1,893 Views

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

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,105 Views

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
0 Kudos
Reply