FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2009, 10:05 AM
nachum
Guest
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 07-03-2009, 05:40 PM
Mike Treseler
Guest
 
Posts: n/a
Default Re: default modelsim vsim options for verilog simulation

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modelsim: Warning: (vsim-WLF-5000) Log file vsim.wlf currently inuse Al FPGA 4 01-17-2007 11:07 AM
ModelSim vsim-3601 message Jaime Andres Aranguren Cardona FPGA 3 01-05-2006 12:05 PM
Re: modelsim error No. vsim-3381, please help me. rossb VHDL 0 08-24-2005 12:23 PM
Newbie Question: No Vsim, Vlib etc in my ModelSim jk FPGA 3 01-13-2004 06:54 AM
Newbie Question: No Vsim, Vlib etc in my ModelSim jk VHDL 3 01-09-2004 11:01 AM


All times are GMT +1. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved