default modelsim vsim options for verilog simulation
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
|