Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Adding Libraries to Xilinx/ModelSim

Reply
Thread Tools

Adding Libraries to Xilinx/ModelSim

 
 
Brad Smallridge
Guest
Posts: n/a
 
      09-24-2005
I am trying to add a library from a memory manufacturer
to the Xilinx/Modelsim Webpack environment. How does
one do this?

It seems that Xilinx/ModelSim want to have all its libraries
in the "work" directory. The manufacturer want a GSI library
I suppose in the GSI directory, or can this also be in work.

There is also the issue of Xilinx ISE making an FDO file to
drive the Mentor Graphics ModelSim program. There is
a UDO file there to add on extra stuff, but perhaps to late?
I am getting, can't find GSI library errors. I have made
custom DO files in the past and know where to turn these
on instead of the FDO file.

Then I have an issue of having two vhdl files sent by the
mfg. One seems clean and consist of a package declaration
and its functions. The other one, has references to a GSI
library, one that I was told to make. !? Is it possible that this
second file be compiled into an existing gsi library, perhaps
generated from compiling the first vhdl file( which does compile
in ModelSim) ?

Please someone tell me the procedure for doing this.

Thanks in advance,

Brad Smallridge
aivision.com



 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      09-25-2005
Brad Smallridge wrote:
> I am trying to add a library from a memory manufacturer
> to the Xilinx/Modelsim Webpack environment. How does
> one do this?


Try this using modelsim only.
Xilinx only supports xilinx devices with scripts.
You will have to do this one yourself.
Read and study the modelsim commands vlib, vmap, and vcom.
and all of their options.

vlib creates the directory
vmap tells modelsim where it is
vcom creates object files for vsim

> It seems that Xilinx/ModelSim want to have all its libraries
> in the "work" directory. The manufacturer want a GSI library
> I suppose in the GSI directory, or can this also be in work.


use the vmap command.

> There is also the issue of Xilinx ISE making an FDO file to
> drive the Mentor Graphics ModelSim program.


Use modelsim manually. Write scripts later.

> Then I have an issue of having two vhdl files sent by the
> mfg. One seems clean and consist of a package declaration
> and its functions. The other one, has references to a GSI
> library, one that I was told to make. !? Is it possible that this
> second file be compiled into an existing gsi library, perhaps
> generated from compiling the first vhdl file( which does compile
> in ModelSim) ?


Anything's possible.
Check with the vendor.
It's quite common to get no source, only binaries
for evaluation.

-- Mike Treseler
 
Reply With Quote
 
 
 
 
NOSPAM, Eric
Guest
Posts: n/a
 
      09-25-2005
You can also add your library to the default modelsim.ini located in
ModelSim installation directory. Have a look to the way used by Xilinx
to declared their own VHDLlibraries. It's located somewhere in the
first 20 lines. By doing so, your VHDL library will be always visible
from ModelSim and you won't have to worry about how Xilinx ISE launches
ModelSim.

Eric

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
standard libraries don't behave like standard 'libraries' Sriram Srinivasan Python 13 11-12-2009 06:05 PM
Adding Libraries in Cypress Warp 6.3 agnimidhun VHDL 0 04-21-2008 07:30 AM
Using mandatory libraries (custom class loading vs. expanding libraries) Karsten Wutzke Java 21 06-29-2007 09:25 PM
Problem adding libraries to a JSF project using NETBEANS 5.5 g-factor Java 0 04-02-2007 07:41 AM
Adding new Libraries to eclipse Nigel Java 1 03-12-2007 05:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57