Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Contributor
rdelario
Posts: 40
Registered: ‎06-27-2008
0

ModelSim ERROR: unisim.vcomponents

 

 Hi,

 

I have these lines in my code:

library UNISIM;
use UNISIM.Vcomponents.ALL

 

and when I tried to vcom the vhd file that has that code in modelsim, I got this error:

 

# ** Error: (vcom-11) Could not find unisim.vcomponents.
# ** Error: ./../rtl/rtl_reorg/psa_d/psa_core/clock_gen/dll_div_s3e.vhd(27): (vcom-1195) Cannot find expanded name: 'unisim.vcomponents'.
# ** Error: ./../rtl/rtl_reorg/psa_d/psa_core/clock_gen/dll_div_s3e.vhd(27): Unknown record element "vcomponents".
# ** Error: ./../rtl/rtl_reorg/psa_d/psa_core/clock_gen/dll_div_s3e.vhd(30): VHDL Compiler exiting

 

any idea how to resolve this??

 

many thanks

Contributor
rdelario
Posts: 40
Registered: ‎06-27-2008
0

Re: ModelSim ERROR: unisim.vcomponents

nevermind this...

I found it out... just had to copy all unisim vhd files to unisim directory of modelsim, and compile them separately...

Visitor
krzysiu-m
Posts: 3
Registered: ‎11-19-2008
0

Re: ModelSim ERROR: unisim.vcomponents

hi

 

I have found the same problem as you discover. I read your solution but i dont' understand it. can you describe useing more detail exactly what files, from where and what is destination files to copy this things.

 

best regards

 

Contributor
rdelario
Posts: 40
Registered: ‎06-27-2008
0

Re: ModelSim ERROR: unisim.vcomponents

you can find unisim files in your Xilinx installation directory, in my case:

C:\Xilinx\webpack10.1\ISE\vhdl\src\unisims

 

what I did was, I copied those necessary files to my simulation directory.  then, your modelsim .do file will have to compile them:

 

 

vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/unisim_vcomp.vhd}

  vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/unisim_VPKG.vhd}
   vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/bufg.vhd}
   vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/ibufg.vhd}
   vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/dcm_sp.vhd}

 

give that a try...

cheers

Visitor
gortipavan
Posts: 3
Registered: ‎01-02-2009
0

Re: ModelSim ERROR: unisim.vcomponents

Hello all...

 

 I am having the same problem as below.can anyone tell me how to get rid of this?

Visitor
gortipavan
Posts: 3
Registered: ‎01-02-2009
0

Re: ModelSim ERROR: unisim.vcomponents

hello all...

 

I am having te same problem as below.Can anyone tell me how to get rid of it?

 

 

Xilinx Employee
mcgett
Posts: 3,568
Registered: ‎01-03-2008
0

Re: ModelSim ERROR: unisim.vcomponents

Copying the simulation library files to your working directory isn't the best way.  Instead you should run the compxlib program to compile the libraries correctly for your simulator.  More information can be found here:

http://www.xilinx.com/itp/xilinx10/isehelp/pp_p_process_compile_hdl_simulation_libraries.htm

------------------------------------------------------------------
Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
Visitor
gortipavan
Posts: 3
Registered: ‎01-02-2009
0

Re: ModelSim ERROR: unisim.vcomponents

Than you very much...that helped!
Visitor
rameshr1987
Posts: 1
Registered: ‎03-09-2009
0

Re: ModelSim ERROR: unisim.vcomponents

 Hi,

 

I have these lines in my code:

library UNISIM;
use UNISIM.Vcomponents.ALL

 

and when I tried to vcom the vhd file that has that code in modelsim, I got this error:

 

# ** Error: des.vhd(20): Library unisim not found.
# ** Error: des.vhd(21): (vcom-1136) Unknown identifier "unisim".
# ** Error: des.vhd(23): VHDL Compiler exiting
# ** Error: d:/win32xoem/vcom failed.

 

how to solve this errors?

please reply me

Newbie
hakim_15
Posts: 1
Registered: ‎05-20-2011
0

Re: ModelSim ERROR: unisim.vcomponents

 

thank you so much