Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

a question on modelsim5.7g when compiling verilog codes

Status
Not open for further replies.

Marcolm

Newbie level 3
Joined
Mar 13, 2004
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
32
modelsim5.7g

help~(i'm new in this field) as the subject says, when compiling a verilog
program with modelsim,it says:
# Reading E:/Verilog/Modeltech_5.7g/tcl/vsim/pref.tcl
vlog -reportprogress 300 -work work {E:/Verilog/Modeltech_5.7g/examples/counter.v}
# Model Technology ModelSim SE vlog 5.7g Compiler 2003.10 Oct 10 2003
# ** Error: (vlog-19) Failed to access library 'work' at "work".
# No such file or directory. (errno = ENOENT)
is there anything i'v set wrong?if a library is needed,where can i download it?
 

error: (vlog-19) failed to access library

Yes. I think you are new.
The problem is that you haven't creat the work library.
If it is MS window
File-> new -> library -> (accept default setting and the library name of work) click ok.

or

use commands:
vlib work
vmap work work

There is a tutorial in the Modelsim help. do lessions step by step. u can get lots from it.
 
  • Like
Reactions: NGie

    NGie

    Points: 2
    Helpful Answer Positive Rating
vlog-19 failed to access library

Thanks a lot. "There is a tutorial in the Modelsim help. do lessons step by step. u can get lots from it." I'll remember it.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top