Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST

Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | default modelsim vsim options for verilog simulation

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.

default modelsim vsim options for verilog simulation - nachum - 2009-07-03 05:05:00

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



Re: default modelsim vsim options for verilog simulation - Mike Treseler - 2009-07-03 12:40:00

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
______________________________
Newest Blog by Chris Felton: "The Spartans". Click here to read.