Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

default modelsim vsim options for verilog simulation

29 views
Skip to first unread message

nachum

unread,
Jul 3, 2009, 5:05:17 AM7/3/09
to
How can I tell Modelsim that when I right-click and choose Simulate it
should automatically search certain libraries. For example I'm using
Xilinx libs, and I need it to run like this:
vsim -L xilinxcorelib_ver -L unisims_ver -L unimacro_ver -lib work
my_module glbl
When I double click my_module for simulation, it runs:
vsim work.my_module
This causes all sorts of errors because it can't find the components
needed.

I understand how to get it to run by using a .do file, but I'd like to
understand how to modify the modelsim.ini / mpf file or how to set
Modelsim settings such that it automatically uses these parameters
when double clicked. I also know that if I choose Simulate->Start
Simulation I will have the option to add those parameters in, but that
still doesn't help if I want a simple double-click to work.

Thanx,
nachum

Mike Treseler

unread,
Jul 3, 2009, 12:40:14 PM7/3/09
to
nachum wrote:

> I understand how to get it to run by using a .do file,

That's the easiest way I know to do it.
Write it once and use it a thousand times.

I use the modelsim gui to debug my work.
When I'm finished, I have a single shell command
that returns pass or fail.

-- Mike Treseler

0 new messages