Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

See "details".

DrewBaden
Beginner
486 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
117 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!

bitwise
New Contributor I
117 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".

 

Reply