Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

[SOLVED] VCS Synopsys error - Missing library mapping

Status
Not open for further replies.

dpaul

Advanced Member level 5
Joined
Jan 16, 2008
Messages
1,802
Helped
317
Reputation
635
Reaction score
343
Trophy points
1,373
Location
Germany
Activity points
13,096
My design has Verilog and VHDL modules along with Xilinx primitives.There are no problems with the Xilinx Verilog libs. I have also compiled all the Xilinx VHDL libraries (a dir has been created with the compiled libs and I also have an error free log file. I had used the Xilinx command COMPXLIB for compilation of the Xilinx VHDL libraries).

compxlib -s vcs -p /home/shared/Synopsys/I-2014.03-SP1/bin/ -arch spartan6 -dir /home/dpaul/rtl_work/xilinx_vhdl_libs -l vhdl -lib all -log /home/dpaul/rtl_work/xilinx_vhdl_libs_compile.log

Code:
dpaul@crest:~/rtl_work$ cd xilinx_vhdl_libs/
dpaul@crest:~/rtl_work/xilinx_vhdl_libs$ ll
insgesamt 56
drwxrwx--- 428 dpaul dpaul 20480 Apr 21 15:14 edk
drwxrwx---   3 dpaul dpaul  4096 Apr 21 14:59 secureip
drwxrwx---   3 dpaul dpaul  4096 Apr 21 15:00 simprim
drwxrwx---   3 dpaul dpaul  4096 Apr 21 15:00 simprims_ver
drwxrwx---   3 dpaul dpaul  4096 Apr 21 14:59 unimacro
drwxrwx---   3 dpaul dpaul  4096 Apr 21 14:59 unimacro_ver
drwxrwx---   3 dpaul dpaul  4096 Apr 21 14:59 unisim
drwxrwx---   3 dpaul dpaul  4096 Apr 21 14:59 unisims_ver
drwxrwx---   3 dpaul dpaul  4096 Apr 21 15:01 xilinxcorelib
drwxrwx---   3 dpaul dpaul  4096 Apr 21 15:01 xilinxcorelib_ver
dpaul@crest:~/rtl_work/xilinx_vhdl_libs$

Now while compiling using VCS of Synopsys, to compile the VHDL design files I used the following command:
vhdlan -full64 -work xilinx_vhdl_libs -f filelist_te0630_vhdl.txt
(I was of the opinion than in the vhdlan command using the -work switch and specfying the path where VHDL compiled libraries are located would solve the problem.)

But the VCS compiler gives me the following error (only error present) :
Code:
Error-[VHDLNOWORK] Missing library mapping
  Logical library name 'XILINX_VHDL_LIBS' is not mapped to a physical 
  directory.
  The show_setup command shows all of the mappings for the libraries.  Please 
  use this command to validate that the named library above is mapped to a 
  physical directory in your synopsys_sim.setup file.

How can I fix this error?

In my /rtl_work dir, which is my VCS compilation dir, I can see the synopsys_sim.setup file being created. (file is attached)

- - - Updated - - -

Might be useful to know:
With no other error except that the one mentioned above, VCS successfully compiles the entire design. I can launch my simulations using ./simv -gui and view waveforms. But why such such an error exist is my fundamental question?
 

Attachments

  • synopsys_sim.setup.txt
    48.7 KB · Views: 391
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top