Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

modelsim 5.6 lib to xilinx

Status
Not open for further replies.

ahgu

Full Member level 3
Joined
Jun 19, 2001
Messages
172
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,552
compxlib modelsim

I installed modelsim 5.6 and it does not recognize the xilinx verilog lib? how do I convert or get the library?

thanks
ahgu
 

yn123abc

Newbie level 6
Joined
Apr 24, 2002
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
27
modelsim compxlib

you can go to xilinx web site,download a tcl file,run the file in modelsim,it will auto compile the xilinx library to modelsim,and after this,edit the modelsim.ini in x:/modelsim,add the path of the library(unism,simprim,logicbox,e.c.),and enjoy
 

mpxxilinx

Newbie level 5
Joined
Mar 27, 2002
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
44
how to edit a modelsim.ini

If you use xilinx ise 5.1,use:
In the 5.1i software, use the "COMPXLIB" application to compile the simulation models. The "COMPXLIB" feature was introduced in the 5.1i software and is run from a DOS/UNIX command line.
To obtain the usage information, type "compxlib" at a command prompt:
Release 5.1i - compxlib
Usage: compxlib [-help]
compxlib -s <simulator> -f <family[:lib],<family[:lib],...|all>
[-l <language>]
[-o <output>]
[-w]
[-p <exepath>]
Run "compxlib -help" for details.

Examples for using COMPXLIB with officially supported simulators are provided below. In all examples that do not use the "-p" switch, it is assumed that the environment is already set up for the desired simulator:

ModelSim SE (PC examples)
This example compiles all of the libraries into the specified directory:
compxlib -s mti_se -f all -l all -o c:\modeltech_5.6b\xilinx_libs

If multiple versions of ModelSim are installed, point to the desired executable directory:
compxlib -s mti_se -f all -l all -o c:\modeltech_5.6b\xilinx_libs -p c:\Modeltech_5.6b\win32
 

ljkong

Full Member level 2
Joined
Jul 18, 2002
Messages
123
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
P.R.C
Activity points
763
modelsim refresh

you can use the command vlog of MODELSIM.
vlog -work yourlib -refresh
you do not need to recompile it. just refresh.
then you can modify modelsim.ini file in the install directory.
the library will be ok always.
good luck.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top