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

See "details".

DrewBaden
Beginner
847 Views

# Reading D:/Altera/13.1/modelsim_ase/tcl/vsim/pref.tcl

# do top_run_msim_rtl_verilog.do

# if {[file exists rtl_work]} {

# vdel -lib rtl_work -all

# }

# vlib rtl_work

# vmap work rtl_work

# Copying D:\Altera\13.1\modelsim_ase\win32aloem/../modelsim.ini to modelsim.ini

# Modifying modelsim.ini

# ** Warning: Copied D:\Altera\13.1\modelsim_ase\win32aloem/../modelsim.ini to modelsim.ini.

#         Updated modelsim.ini.

#

# vlog -vlog01compat -work work +incdir+C:/Users/drew/rpi_de3_vC {C:/Users/drew/rpi_de3_vC/uart_tx.v}

# Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov 2 2012

# ** Error: (vlog-19) Failed to access library 'work' at "work".

#

# No such file or directory. (errno = ENOENT)

# ** Error: D:/Altera/13.1/modelsim_ase/win32aloem/vlog failed.

# Error in macro ./top_run_msim_rtl_verilog.do line 8

# D:/Altera/13.1/modelsim_ase/win32aloem/vlog failed.

#    while executing

# "vlog -vlog01compat -work work +incdir+C:/Users/drew/rpi_de3_vC {C:/Users/drew/rpi_de3_vC/uart_tx.v}"

The specification "-work work" is wrong, but I keep seeing a directory called "rtl_work".  How do I get it to do "-work rtl_work" instead?

0 Kudos
2 Replies
DrewBaden
Beginner
478 Views

See "details".  It would be great if someone could point me to documentation as to how to specify the library vlog needs for "work", and how to be sure that that library has what it needs.  The documentation is a bit difficult to find!

0 Kudos
bitwise
New Contributor I
478 Views

Drew,

 

Look in the installation path where you installed Modelsim-Altera.  Based on the details in your script I'm guessing it's in "c:/Altera/13.1/Modelsim_ase/docs/pdfdocs".  There should also be html format documents you might want to reference such as those in "c:/Altera/13.1/Modelsim_ase/docs/tcl_help_html/contents.htm".

 

0 Kudos
Reply