electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how to set many libraries to Modelsim simulatio environment?


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> how to set many libraries to Modelsim simulatio environment?
Author Message
guiliu



Joined: 10 Oct 2006
Posts: 26
Helped: 1


Post27 Oct 2006 17:13   

vsim-3170


I have a lot of resource libraries, which are used for gate-level simulation.

It is not possible to compile them one by one.

How can I set them into Modelsim simulation environment at the same time?

Thanks a lot!
Back to top
yln2k2



Joined: 22 Sep 2006
Posts: 89
Helped: 10


Post30 Oct 2006 1:06   

vsim -pli libraries


Hi ,

You need to set your modelsim.ini file , where you can give multiple working libraries .


synthax is

<Libname> = <lib path>

I think above should be added in library section of modelsim.ini .
If you desing is VHDL no need to specify -L option while invoking "vsim" , if your netlist is in veriog you shoulad add like this ..

vsim -L <libnae> -L <libname..> work.<dutfnfame>


Thanks & Regards
yln
Back to top
guiliu



Joined: 10 Oct 2006
Posts: 26
Helped: 1


Post31 Oct 2006 14:54   

# ** error: (vsim-3170) could not find


Hi, yln, thank u so much for your reply. I have add the library (umcl25u250t3v) to modelsim.ini, and it seems that the library is succesfully imported to Modelsim (from the ModelSim GUI). But there is still a problem...

I created the following sum.do file:

vlib work
vcom -93 -explicit sum_netlist.vhd
vcom -93 sum_TB.vhd
vsim umcl25u250t3v work.sum_tb
run 500
quit -sim


and I issued the command from command line:

vsim -do sum.do

then I got following error message, says:

vsim umcl25u250t3v work.sum_tb
# ** Error: (vsim-3170) Could not find 'work.umcl25u250t3v'.
# Error loading design


I don't understand why it searches the simulation library umcl25u250t3v from the working library - work. Can u tell me how to solve this problem? Thanks a lot!
Back to top
Google
AdSense
Google Adsense




Post31 Oct 2006 14:54   

Ads




Back to top
aji_vlsi



Joined: 10 Sep 2004
Posts: 640
Helped: 72
Location: Bangalore, India


Post03 Nov 2006 14:38   

modelsim # ** error: (vsim-3170) could not find


Hi,
Your vsim command line is the issue: I see:

Quote:


I created the following sum.do file:

Code:

vlib work
vcom -93 -explicit sum_netlist.vhd
vcom -93 sum_TB.vhd
[b] vsim umcl25u250t3v work.sum_tb [/b]
run 500
quit -sim



In your im command remove umcl25u250t3v, make it as:

Code:
  vsim work.sum_tb


HTH
Ajeetha, CVC
www.noveldv.com
Back to top
guiliu



Joined: 10 Oct 2006
Posts: 26
Helped: 1


Post06 Nov 2006 13:15   

(vsim-3170)


Thank u, aji_vlsi

But umcl25u250t3v is the resource library for gate_level simulation, if this is not identified, there will be no default binding for my gate.

Of cause I can use library clause inside of the netlist to indicate this resource library, but for big designs, this method is very tedious. So I want to try to set it to the simulation environment.

Can u help please?

Thanks!
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> how to set many libraries to Modelsim simulatio environment?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to do a FSDB dump in ModelSim in a Linux Environment? (1)
How to set the environment on remote machine(multithreading) (1)
How to write psl in HDL file in Modelsim environment (1)
Fedora 6 problemModel libraries in Analog Design Environment (5)
HSPICE- lic: No 'set LM_LICENSE_FILE' in current environment (4)
Cant Compile modelsim XE libraries (2)
problem with simulation in Modelsim in UNIX environment (4)
Hlp Plz!I can't set environment var of IC5141,Thanks! (4)
Problem with recompiling Xilinx Libraries in ModelSim (3)
how to include S2P file into Cadence Schematic for simulatio (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS