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 02-10-2008, 10:32 PM
[email protected]
Guest
 
Posts: n/a
Default loading unisim in modelsim problem while testin xilinx ipcore

Hellow,
i try to test xilinx IP core and with modelsim but it give error
regarding unisim library
# Reading D:/Modeltech_pe_edu_6.3c/tcl/vsim/pref.tcl
# do {testfft.fdo}
# ** Warning: (vlib-34) Library already exists at "work".
# Model Technology ModelSim PE Student Edition vcom 6.3c Compiler
2007.09 Sep 11 2007
# -- Loading package standard
# -- Loading package std_logic_1164
# ** Error: fftk4.vhd(37): Library unisim not found.
# ** Error: fftk4.vhd(38): (vcom-1136) Unknown identifier "unisim".
# ** Error: fftk4.vhd(39): (vcom-1136) Unknown identifier "unisim".
# ** Error: fftk4.vhd(41): VHDL Compiler exiting
# ** Error: D:/Modeltech_pe_edu_6.3c/win32pe_edu/vcom failed.
# Error in macro ./testfft.fdo line 5
# D:/Modeltech_pe_edu_6.3c/win32pe_edu/vcom failed.
# while executing
# "vcom -explicit -93 "fftk4.vhd""

what should i do?
Reply With Quote
  #2 (permalink)  
Old 02-10-2008, 11:50 PM
Mike Treseler
Guest
 
Posts: n/a
Default Re: loading unisim in modelsim problem while testin xilinx ipcore

[email protected] wrote:

> # ** Error: fftk4.vhd(37): Library unisim not found.
> # ** Error: fftk4.vhd(38): (vcom-1136) Unknown identifier "unisim".
> what should i do?


http://groups.google.com/groups/sear...unisim+library
Reply With Quote
  #3 (permalink)  
Old 02-11-2008, 09:52 AM
bvkrock
Guest
 
Posts: n/a
Default Re: loading unisim in modelsim problem while testin xilinx ipcore

On Feb 10, 10:50 pm, Mike Treseler <mike_trese...@comcast.net> wrote:
> kian.zar...@gmail.com wrote:
> > # ** Error: fftk4.vhd(37): Library unisim not found.
> > # ** Error: fftk4.vhd(38): (vcom-1136) Unknown identifier "unisim".
> > what should i do?

>
> http://groups.google.com/groups/sear...unisim+library


I think you have not compiled libraries in xilinx keeping target
browser as modelsim. you can do this by selecting the project's fpga
package in (on left top browser), in properties u can assign target
browser. After u do this when u highlight the package in browser u'll
see compile hdl libraries in the window below. compile it and
libraries will be compiled in installed XILINX folder(search tht)
change the the pref .tcl if ur confident about procedure to add
libraries with path or in modelsim u can add libraries just mention
the path. after u do this u shld see all the sim libraries (unisim,
primsim and coresim) in the modelsim library window(below work library)
Reply With Quote
  #4 (permalink)  
Old 02-12-2008, 08:11 PM
[email protected]
Guest
 
Posts: n/a
Default Re: loading unisim in modelsim problem while testin xilinx ipcore

On Feb 11, 2:32*am, kian.zar...@gmail.com wrote:
> Hellow,
> i try to test xilinx IP core and with modelsim but it give error
> regarding unisim library
> # Reading D:/Modeltech_pe_edu_6.3c/tcl/vsim/pref.tcl
> # do {testfft.fdo}
> # ** Warning: (vlib-34) Library already exists at "work".
> # Model Technology ModelSim PE Student Edition vcom 6.3c Compiler
> 2007.09 Sep 11 2007
> # -- Loading package standard
> # -- Loading package std_logic_1164
> # ** Error: fftk4.vhd(37): Library unisim not found.
> # ** Error: fftk4.vhd(38): (vcom-1136) Unknown identifier "unisim".
> # ** Error: fftk4.vhd(39): (vcom-1136) Unknown identifier "unisim".
> # ** Error: fftk4.vhd(41): VHDL Compiler exiting
> # ** Error: D:/Modeltech_pe_edu_6.3c/win32pe_edu/vcom failed.
> # Error in macro ./testfft.fdo line 5
> # D:/Modeltech_pe_edu_6.3c/win32pe_edu/vcom failed.
> # * * while executing
> # "vcom -explicit *-93 "fftk4.vhd""
>
> what should i do?


you need to compile the unisims library into work library.
In verilog "-y unisim_path +libext+.v" serves the purpose.
Look into "xilinx synthesis and simulation guide' (from google search)
it has the complete procedure
Reply With Quote
  #5 (permalink)  
Old 03-07-2008, 05:28 PM
[email protected]
Guest
 
Posts: n/a
Default Re: loading unisim in modelsim problem while testin xilinx ipcore

On 11 Feb, 08:52, bvkrock <bvkr...@gmail.com> wrote:
> On Feb 10, 10:50 pm, Mike Treseler <mike_trese...@comcast.net> wrote:
>
> > kian.zar...@gmail.com wrote:
> > > # ** Error: fftk4.vhd(37): Library unisim not found.
> > > # ** Error: fftk4.vhd(38): (vcom-1136) Unknown identifier "unisim".
> > > what should i do?

>
> >http://groups.google.com/groups/sear...unisim+library

>
> I think you have not compiled libraries in xilinx keeping target
> browser as modelsim. you can do this by selecting the project's fpga
> package in (on left top browser), in properties u can assign target
> browser. After u do this when u highlight the package *in browser u'll
> see compile hdl libraries in the window below. compile it and
> libraries will be compiled in installed XILINX folder(search tht)
> change the the pref .tcl if ur confident about procedure to add
> libraries with path or in modelsim u can add libraries just mention
> the path. after u do this u shld see all the sim libraries (unisim,
> primsim and coresim) in the modelsim library window(below work library)


Dear bvkrock
Thank you for your help and sorry for this late response. i was trying
to follow your procedure for several month and i just got what i
should do. i compiled the libraries in the xilinx ISE program as you
said. i didn't di any furthur steps and just run modelsim and got no
errors. i didn't understood how and what libraries should i add in
modelsim but i think i since it is working, it is fine. i hope i
encounter no further issiues.
with thanks
kian
PS: just let me explain these stuff again in other words for other
people use:
to get the unisim library to wrok, you should compile libraries of the
fpga you are using. to do this:
1-open the xinlix program.
2-on the source browser window (on the top left) click on the FPGA
package.
3-right-click and choose properties and select modelsim PE as
simulator if you haven't(if you are using modelsim pe version)
4-when you select the fgpa package in the source browser window,
several options apear on the process window (window below source
browser). open design utilities and run compile hdl simulation
libraries. (if u get error regarding folder is cant be removed,
restart your computer and make sure only xilinx prgram is open).
5-now libraries are compiled. if you want to know where are they
compiled, see the console window.
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
Tristate ipcore problem with XPS Nicholas Kubiak FPGA 0 06-02-2007 02:51 AM
ModelSim # Error loading design mBird FPGA 6 02-10-2006 05:32 PM
Xilinx XUP + Linux (firmware loading problem!) S.T. FPGA 0 09-26-2005 05:21 PM
Problem loading virtex2 FPGA in master serial mode. Brijesh FPGA 0 03-14-2005 11:06 PM


All times are GMT +1. The time now is 03:52 AM.


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