Xilinx solution in Linux

Source: Internet
Author: User
Tags xilinx ise
Linux Xilinx solution-general Linux technology-Linux programming and kernel information. The following is a detailed description. Xilinx is used for recent logic tests. I am using Xilinx ISE 8.2i, which requires windows NT/XP, or rh 3, 4 (I didn't want BS of it ...)

Therefore, it is estimated that there will be a bunch of errors when using this item in various releases of GNU/Linux.

I just solved several problems I encountered:
1. How to start after installation
After Xilinx ISE is installed, there is no starter that can be directly used in any directory. If you do not want to add a bunch of xilinx environment variables to the. bashrc of the system or other stuff, use the following solution:
A. cp {Xilinx}/settings. sh to {Xilinx}/bin/lin. Add two lines at the end:
Exec ise
Export DISPLAY =: 0 // The role of this line will be described later
Add # in the header #! /Bin/sh. Then add the executable permission.
B. Create a starter .~ /. Local/share/applications create the following desktop file
[Desktop Entry]
Encoding = UTF-8
Name = Xilinx ISE
Comment = Xilinx ISE 8.2i
Exec =/opt/Xilinx/bin/lin/startise
Terminal = false
Type = Application
StartupNotify = true
Icon =/opt/Xilinx/data/images/ttc-wizard.xpm
Categories = Application; GNOME; Development; IDE;
MimeType =

2. Generated C ++ compilation was unsuccessful [Key]
This problem occurs because Xilinx ms has a gcc library, but some of them are too old. One of them causes the above problem. The solution is as follows:
When trying to build a model on the behavioral simulator you get the error:
'Generated C ++ compilation was unsuccessful'

I am sure most of the people using Xilinx ISE in Linux have encountered that fatal error ...... =__ = B
After days of efforts, I finally got the solution on the internet... ^_^

Now, let's share the solution:
Step 1: Go to the top of your Xilinx tree ({Xilinx}), then go
{Xilinx}/gnu/gcc/3.2.3/lin/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
Open the file "specs", search for the line that contains '-lc' and replace all the '-lc' by '-lcxil'; there are
Only two occurrences of "-lc ".

Step 2: copy/usr/lib/libc. so to {Xilinx}/gnu/gcc/3.2.3/lin/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libcxil. so.
Then go to the directory again and edit libcxil. so. This file is very shot, just modify the last line
Below:
GROUP (/lib/libc. so.6/usr/lib/libc_nonshared.a/lib/ld-linux.so.2)

3. Unable to start PACE [Key]
There are two problems. One is that the libmotif3 package is not installed by default in GNU/Linux, and the library of libXm. so.3.0.2 required by PACE is in libmotif3. The other is that the portmap package is not installed in GNU/Linux by default, which is not fatal. However, if this package is not installed, there will be a problem that RPC cannot be connected, and PACE may not be able to start.

Solution:
A. Install libmotif3. Generally, PACE cannot be started after it is installed. export DISPLAY =: 0 is required, which is added to the preceding Startup File.
B. Install portmap so that PACE can get up quickly.
By the way, when I use PACE, the mouse seems to be a problem. Use the keyboard.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.