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
Newbie
dsdsdds
Posts: 6
Registered: ‎01-09-2012
0

[Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

How to reproduce the bug:

Use ISE 13.3, Ubuntu 11.10 64bit operating system, open a project,

If I run "Synthesize - XST" -> "Check Syntax", then I get this error.

 

Error message:

/opt/Xilinx/13.3/ISE_DS/ISE/bin/lin64/unwrapped/xst: symbol lookup error: /opt/Xilinx/13.3/ISE_DS/ISE//lib/lin64/libCs.so: undefined symbol: _ZN9Xdm_Event9TrackableD2Ev

 

Other output:

Started : "Check Syntax for xxx".
Running xst...
Command Line: xst -intstyle ise -ifn /home/xxx/xxx.xst -ofn xxx.stx

=========================================================================
* HDL Compilation *
=========================================================================
Compiling verilog file "verilog/xxx.v" in library work
Module <xxx> compiled
No errors in compilation
Analysis of file <"xxx.prj"> succeeded.

/opt/Xilinx/13.3/ISE_DS/ISE/bin/lin64/unwrapped/xst: symbol lookup error: /opt/Xilinx/13.3/ISE_DS/ISE//lib/lin64/libCs.so: undefined symbol: _ZN9Xdm_Event9TrackableD2Ev

Process "Check Syntax" failed

 

The information below may be helpful.

$ ldd /opt/Xilinx/13.3/ISE_DS/ISE/bin/lin64/unwrapped/xst
linux-vdso.so.1 => (0x00007fff6cbff000)
libXilinxPkg.so => not found
libPortability.so => not found
libtcl8.4.so => not found
libThread.so => not found
libTcl_Tcl.so => not found
libPort_Std.so => not found
libZlib.so => not found
libMiniZip.so => not found
libboost_regex-gcc41-mt-p-1_38.so.1.38.0 => not found
libboost_filesystem-gcc41-mt-p-1_38.so.1.38.0 => not found
libboost_system-gcc41-mt-p-1_38.so.1.38.0 => not found
libboost_iostreams-gcc41-mt-p-1_38.so.1.38.0 => not found
libisl_iostreams.so => not found
libstlport.so.5.1 => not found
libboost_bzip2-gcc41-mt-p-1_38.so.1.38.0 => not found
libboost_thread-gcc41-mt-p-1_38.so.1.38.0 => not found
libboost_date_time-gcc41-mt-p-1_38.so.1.38.0 => not found
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7e39d1b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7e39afd000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7e397f6000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7e39572000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7e3935c000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7e38fbc000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7e39f47000)

 

$ cd /opt/Xilinx/13.3/ISE_DS/ISE/lib
$ grep _ZN9Xdm_Event9TrackableD2Ev . -r
Binary file ./lin/libFed_Engine.so matches
Binary file ./lin/libPds_Pdm.so matches
Binary file ./lin/libPds_Pah.so matches
Binary file ./lin/libXdm.so matches
Binary file ./lin/libTw_BmPhysical.so matches
Binary file ./lin/libSed_Nqui4.so matches
Binary file ./lin/libPds_Pih.so matches
Binary file ./lin/libTw_Bm.so matches
Binary file ./lin/libCs.so matches
Binary file ./lin/libTw_BmLogical.so matches
Binary file ./lin/libCmC_XdmCorr.so matches
Binary file ./lin/libXst_Globopt.so matches
Binary file ./lin64/libFed_Engine.so matches
Binary file ./lin64/libPds_Pdm.so matches
Binary file ./lin64/libPds_Pah.so matches
Binary file ./lin64/libXdm.so matches
Binary file ./lin64/libTw_BmPhysical.so matches
Binary file ./lin64/libSed_Nqui4.so matches
Binary file ./lin64/libPds_Pih.so matches
Binary file ./lin64/libTw_Bm.so matches
Binary file ./lin64/libCs.so matches
Binary file ./lin64/libTw_BmLogical.so matches
Binary file ./lin64/libCmC_XdmCorr.so matches
Binary file ./lin64/libXst_Globopt.so matches

 

$ uname -a
Linux computer 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

 

$ cat /etc/issue.net
Ubuntu 11.10

 

It seems to be a dynamic linking error. Maybe easy to fix. If you want more information, please reply this thread.

Xilinx Employee
debrajr
Posts: 122
Registered: ‎04-17-2011
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

Try seting up LD_PRELOAD enviroment variable and see if it helps

LD_PRELOAD= /opt/Xilinx/13.3/ISE_DS/ISE//lib/lin64/libCs.so

Refer to http://www.xilinx.com/support/answers/43865.htm
Newbie
dsdsdds
Posts: 6
Registered: ‎01-09-2012
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

[ Edited ]

Haha, it's a good idea.

 

However, after running your command, ISE cannot start then :(

 

$ export LD_PRELOAD=/opt/Xilinx/13.3/ISE_DS/ISE//lib/lin64/libCs.so

$ ise

ise: error while loading shared libraries: libCs_Util.so: cannot open shared object file: No such file or directory

 

The information below shows that libCs_Util.so exists.

$ locate libCs_Util.so

/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin/libCs_Util.so
/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin64/libCs_Util.so

 

Don't know why. Maybe some special dynamic library in the Linux operating system is too new, and ISE requires an older version dynamic library? 


Visitor
kepsz
Posts: 15
Registered: ‎01-02-2012
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

I get the same situation (with vhdl syntax checking) in Debian squeeze with ISE 13.2

 

I tryd with LD Prelaod, but wasn't solve my problem. Then i deleted ISE13.2 and installed ISE 13.3. With 13.3, the error was gone and hdl checking works.

 

 

Maybe a fresh install solves your problem too.

Newbie
dsdsdds
Posts: 6
Registered: ‎01-09-2012
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

[ Edited ]

Ha ha, it's another good idea.

 

It's better if Xilinx ISE developers solve this bug then I don't need to re-install ISE 13.3, and all of us will be happy.

Visitor
kepsz
Posts: 15
Registered: ‎01-02-2012
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

Btw you got a solution (of corse not the best solution) which may solve your problem. There is no one who can tell me, how to install the usb driver in Debian...

Newbie
dsdsdds
Posts: 6
Registered: ‎01-09-2012
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

[ Edited ]

OOPS, after completely deleting ISE 13.3 and re-installing it, the bug still exists. But never mind, it does not cause big trouble. Ha ha.

 

After all, you met the right person, me, who know how to configure USB driver for Debian!

 

Change the content of /etc/udev/rules.d/xusbdfwu.rules as follows

# version 0003

ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0008", MODE="666"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $tempnode"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xup.hex -D $tempnode"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex -D $tempnode"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xlp.hex -D $tempnode"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xp2.hex -D $tempnode"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0015", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex -D $tempnode"

 

Then sudo apt-get install fxload

 

Then sudo cp /opt/Xilinx/13.3/ISE_DS/common/bin/lin64/*.hex /usr/share  (if you are using x86_64 Debian)

sudo cp /opt/Xilinx/13.3/ISE_DS/common/bin/lin64/*.hex /usr/share (If you are using i386 Debian)

 

Then enjoy the USB driver. Cheers!

 

(Above method works for me. At lease the method let me be able to burn FPGA by JTAG USB wire and iMPact.)

 

Visitor
kepsz
Posts: 15
Registered: ‎01-02-2012
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

I have done these instructions before, but cannot solv my problem. http://forums.xilinx.com/t5/Installation-and-Licensing/windrvr6-install-fails-on-Debian-need-help-wi...

 

But now, my impact in ISE on Windows7 also started not detecting my fpga board. Btw Digilent's adept still works fine, but adept's Linux version is a bunch of files withouth a "how to use after install" readme...

Newbie
dsdsdds
Posts: 6
Registered: ‎01-09-2012
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

[ Edited ]

Well, the only thing I can do is to wish you a good luck ...   Hope you will solve the problem someday.

Newbie
turnier
Posts: 3
Registered: ‎03-11-2011
0

Re: [Bug report] Cannot check syntax of Verilog code, ISE 13.3, Ubuntu 11.10

bump