Community
cancel
Showing results for 
Search instead for 
Did you mean: 
DrewBaden
Beginner
462 Views

See "details".

# 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
93 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
93 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