Linux环境下安装Xilinx ISE 14.6

1、从官网下载ISE


到官网注册,然后下载linux版本的ISE14.7。
链接:http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/design-tools.html
到官网注册,然后下载linux版本的ISE。
链接:http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/design-tools.html

2、解压

一定要在linux下解压

[python] view plaincopy
$ sudo tar xvf Xilinx_ISE_DS_Lin_14.6_P.68d_3.tar  
[sudo] password for yunz:  
#unpakging...... 
$ cd Xilinx_ISE_DS_Lin_14.6_P.68d_3/ 
$ ls 
bin     data  idata  labtools  msg        planahead_wp  webpack  xsetup 
common  edk   ise    lib       planahead  sysgen        xinfo 
$ sudo chmod +x xsetup     //用这种方法反复安装都不对,最后采用另外一个xsetup文件就可以了(bin目录下的32位安装)。
$ ./xsetup 
$ sudo tar xvf Xilinx_ISE_DS_Lin_14.6_P.68d_3.tar 
[sudo] password for yunz: 
#unpakging......
$ cd Xilinx_ISE_DS_Lin_14.6_P.68d_3/
$ ls
bin     data  idata  labtools  msg        planahead_wp  webpack  xsetup
common  edk   ise    lib       planahead  sysgen        xinfo
$ sudo chmod +x xsetup
$ ./xsetup

3、安装

下面就是图形界面安装了,和windows下没什么不同

但要注意到这里的时候

不要点选

[python] view plaincopy
Install cable drivers 
Install cable drivers
直接点Next

记下Install summary

[plain] view plaincopy
Install Location(s): 
/usr/14.6/ISE_DS 
Edition : ISE Design Suite System Edition 
Option: Acquire or Manage a License Key 
 
ISE DS Common 
Install Location: /usr/14.6/ISE_DS/common 
Module: ISE DS Common 
 
EDK 
Install Location: /usr/14.6/ISE_DS/EDK 
Module: EDK 
 
PlanAhead Analysis Tool 
Install Location: /usr/14.6/ISE_DS/PlanAhead 
Module: PlanAhead Common Files 
Option: setupEnv.sh 
 
ISE 
Install Location: /usr/14.6/ISE_DS/ISE 
Module: Design Environment Tools 
Module: WebPACK Devices 
Module: Edition Devices 
Option: Ensure Linux System Generator Symlinks 
Option: Install Linux System Generator Info XML 
Option: Configure WebTalk 
Option: Enable WebTalk to send software, IP and device usage statistics to Xilinx (Always enabled for WebPACK license) 
 
System Generator 
Install Location: /usr/14.6/ISE_DS/SysGen 
Module: System Generator 
Option: Version Equalizer 
Install Location(s):
/usr/14.6/ISE_DS
Edition : ISE Design Suite System Edition
Option: Acquire or Manage a License Key

ISE DS Common
Install Location: /usr/14.6/ISE_DS/common
Module: ISE DS Common

EDK
Install Location: /usr/14.6/ISE_DS/EDK
Module: EDK

PlanAhead Analysis Tool
Install Location: /usr/14.6/ISE_DS/PlanAhead
Module: PlanAhead Common Files
Option: setupEnv.sh

ISE
Install Location: /usr/14.6/ISE_DS/ISE
Module: Design Environment Tools
Module: WebPACK Devices
Module: Edition Devices
Option: Ensure Linux System Generator Symlinks
Option: Install Linux System Generator Info XML
Option: Configure WebTalk
Option: Enable WebTalk to send software, IP and device usage statistics to Xilinx (Always enabled for WebPACK license)

System Generator
Install Location: /usr/14.6/ISE_DS/SysGen
Module: System Generator
Option: Version Equalizer

4、注册Xilinx帐号,申请licence

      licence会自动发到注册邮箱里,下载下来,记住路径。

5、打开ISE,要先运行一个shell

[plain] view plaincopy
$ cd ~/Xilinx_ISE_14_6/14.6/ISE_DS 
$ ls 
common  EDK  ISE  PlanAhead  settings32.csh  settings32.sh  SysGen 
$ source settings32.sh 
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/common/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/common 
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/EDK/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/EDK 
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/PlanAhead/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/PlanAhead 
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/ISE/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/ISE 
$ ise 
$ cd ~/Xilinx_ISE_14_6/14.6/ISE_DS
$ ls
common  EDK  ISE  PlanAhead  settings32.csh  settings32.sh  SysGen
$ source settings32.sh
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/common/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/common
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/EDK/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/EDK
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/PlanAhead/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/PlanAhead
. /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/ISE/.settings32.sh /home/yunz/Xilinx_ISE_14_6/14.6/ISE_DS/ISE
$ ise

(忽略出现的关于 licence 的 error。)


6、导入licence

Help >> Manage License >> Manage Xilinx License >> Load License   我安装14.2的时候,在该对话框中会显示添加该license的路径,要添加到它提示的路径中才可以,linux系统添加到usr/local中即可,提示的是添加到usr/local/flexlm,flexlm文件没找到,我直接添加到上一路径,经验证,可用。

还有一个问题,我的ISE HELP中的命令都用不了,总是达不到license添加的对话框,最后在ISE_DS\COMMON\BIN\..\xlcm 中打开了license添加的对话框。

把刚才下好的 licence 导入。

至此,ISE 安装就告一段落。

(4、5步的顺序可以随机应变,也可以先打开ISE 然后根据 license 的提示 先 获取(acq)再管理(man)导入(load))

7、可能出现的错误及其他问题


1)运行 ./setup 时可能出现以下问题:

[plain] view plaincopy
$ cd Downloads/  
$ ls  
TLF-SOFT-Mathworks.Matlab.R2010a.UNIX.ISO-TBE.iso   Xilinx_ISE_DS_Lin_14.6_P.68d_3  
$ cd Xilinx_ISE_DS_Lin_14.6_P.68d_3/  
$ ls  
bin data idata labtools msg planahead_wp webpack xsetup common edk ise lib planahead sysgen xinfo  
$ ./xsetup  
./xsetup: 30: ./xsetup: ./bin/lin/xsetup: Permission denied  
$ cd Downloads/ 
$ ls 
TLF-SOFT-Mathworks.Matlab.R2010a.UNIX.ISO-TBE.iso   Xilinx_ISE_DS_Lin_14.6_P.68d_3 
$ cd Xilinx_ISE_DS_Lin_14.6_P.68d_3/ 
$ ls 
bin data idata labtools msg planahead_wp webpack xsetup common edk ise lib planahead sysgen xinfo 
$ ./xsetup 
./xsetup: 30: ./xsetup: ./bin/lin/xsetup: Permission denied 
以下是从Xilinx社区找到的

[plain] view plaincopy
Q: 
Hi all 
I made all procedure mentioned by acleone, but it dosenot work. 
Here is my script as mentioned in this post: 
 
cd Xilinx_ISE_DS_Lin_12.1_M.53d.0.4/ 
sudo ./xsetup 
sudo: ./xsetup: command not found 
 
Then I tried: 
 
sudo bash xsetup 
xsetup: line 25: ./bin/lin/xsetup: Permission denied 
 
And also tried: 
 
sudo dash xsetup 
xsetup: 32: ./bin/lin/xsetup: Permission denied 
 
I am using Ubuntu 10.04 LTS on 32-bit machine.can anyone help me? 
Q:
Hi all
I made all procedure mentioned by acleone, but it dosenot work.
Here is my script as mentioned in this post:

cd Xilinx_ISE_DS_Lin_12.1_M.53d.0.4/
sudo ./xsetup
sudo: ./xsetup: command not found

Then I tried:

sudo bash xsetup
xsetup: line 25: ./bin/lin/xsetup: Permission denied

And also tried:

sudo dash xsetup
xsetup: 32: ./bin/lin/xsetup: Permission denied

I am using Ubuntu 10.04 LTS on 32-bit machine.can anyone help me?
[plain] view plaincopy
A1:Are you doing this from a section of your drive where you have write permission?  
The Xilinx setup software needs to be able to write to wherever it  
is being launch from. This makes for a hard time installing from the CD directly :) If that's what you were trying to do, copy the contents of the  
CD/DVD to your hard drive first. 
A1:Are you doing this from a section of your drive where you have write permission? 
The Xilinx setup software needs to be able to write to wherever it 
is being launch from. This makes for a hard time installing from the CD directly :) If that's what you were trying to do, copy the contents of the 
CD/DVD to your hard drive first.
[plain] view plaincopy
A2(他自己找到了原因和方法): 
A2(他自己找到了原因和方法):
[plain] view plaincopy
Thank you  jonathan.ross. 
I've found the error finally. 
 
 
I had to extract the tar file "Xilinx_ISE_DS_Lin_12.1_M.53d.0.4.tar" in the linux platform in order to keep all files properties and permissions, then  
setup the ISE. 
Instead, I extracted it using winrar in Windows platform and then tried to setup the ISE (but the Wimdows did not keep the files' special permissions a 
nd properties used by linux systems),so I was not able to setup the ISE. 
Thank you  jonathan.ross.
I've found the error finally.


I had to extract the tar file "Xilinx_ISE_DS_Lin_12.1_M.53d.0.4.tar" in the linux platform in order to keep all files properties and permissions, then 
setup the ISE.
Instead, I extracted it using winrar in Windows platform and then tried to setup the ISE (but the Wimdows did not keep the files' special permissions a
nd properties used by linux systems),so I was not able to setup the ISE.
2)如果在安装时选了 Install cable driver 会报错

[plain] view plaincopy
#Driver installation failed. Please check the /.xinstall/install.log file for 
#Driver installation failed. Please check the /.xinstall/install.log file for
原因如下:

[plain] view plaincopy
ISE在很多其他版本的LINUX上的安装和运行其实是毫无问题的,唯一的问题就是下载线的驱动在有些LINUX上无法工作。继续深入研究,发现,下载线的驱动在某些linux下不工作的唯一原因是:目前,下载线的驱动依赖于一个叫windrvr的文件。 而该文件目前只有linux 内核2.4的二进制版本,因此遇到2.6内核的linux发布版,如高版本的CentOS或高版本的ubuntu, 就不工作了。  
 
 
好在一个叫Michael Gernoth的德国人,大公无私地写了一个windrvr的替代版本,并且开放源码,这样,无论碰到什么版本的内核, 
现场编译一个驱动并安装, 就能解决linux内核版本匹配的问题。 源代码包在这里: git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver  
解开压缩包,编译的时候,只需要make就行了,当然,第一次make八成是不过的,因为一般人都不会在ubuntu上预装usb开发包, 
需要装一下,只需要这样就可以了: sudo apt-get install libusb-dev make完了以后,应该看到libusb-driver.so被生成了。  
当然,编译完还需要设环境量, 命令是,export LD_PRELOAD=/你的路径/libusb-driver.so ,为简单起见, 
可以把这个命令加你的.bashrc里,这样,下一次开一个终端时,就不用手工设了。 你的linux用户需要进入lp组以便有权限, 
最简单的方法是编辑/etc/group, 把你的用户名加到lp组后面就可以了。 这样,在纯ubuntu上跑xilinx 的问题基本宣告解决。  
ISE在很多其他版本的LINUX上的安装和运行其实是毫无问题的,唯一的问题就是下载线的驱动在有些LINUX上无法工作。继续深入研究,发现,下载线的驱动在某些linux下不工作的唯一原因是:目前,下载线的驱动依赖于一个叫windrvr的文件。 而该文件目前只有linux 内核2.4的二进制版本,因此遇到2.6内核的linux发布版,如高版本的CentOS或高版本的ubuntu, 就不工作了。 


好在一个叫Michael Gernoth的德国人,大公无私地写了一个windrvr的替代版本,并且开放源码,这样,无论碰到什么版本的内核,
现场编译一个驱动并安装, 就能解决linux内核版本匹配的问题。 源代码包在这里: git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver 
解开压缩包,编译的时候,只需要make就行了,当然,第一次make八成是不过的,因为一般人都不会在ubuntu上预装usb开发包,
需要装一下,只需要这样就可以了: sudo apt-get install libusb-dev make完了以后,应该看到libusb-driver.so被生成了。 
当然,编译完还需要设环境量, 命令是,export LD_PRELOAD=/你的路径/libusb-driver.so ,为简单起见,
可以把这个命令加你的.bashrc里,这样,下一次开一个终端时,就不用手工设了。 你的linux用户需要进入lp组以便有权限,
最简单的方法是编辑/etc/group, 把你的用户名加到lp组后面就可以了。 这样,在纯ubuntu上跑xilinx 的问题基本宣告解决。 

Installing Cable Drivers

1、Install the prerequisite


[plain] view plaincopy
On 32-bit 
$ sudo apt-get install gitk git-gui libusb-dev build-essential libc6-dev fxload 
On 64-bit 
$ sudo apt-get install gitk git-gui libusb-dev build-essential libc6-dev-i386 fxload 
On 32-bit
$ sudo apt-get install gitk git-gui libusb-dev build-essential libc6-dev fxload
On 64-bit
$ sudo apt-get install gitk git-gui libusb-dev build-essential libc6-dev-i386 fxload

2、Download the driver source and install

[plain] view plaincopy
$ cd ~/Xilinx_ISE_14_6 
$ sudo sudo git clone git://git.zerfleddert.de/usb-driver 
Cloning into 'usb-driver'... 
$ cd cd usb-driver/ 
$ sudo make 
$ cd ~/Xilinx_ISE_14_6
$ sudo sudo git clone git://git.zerfleddert.de/usb-driver
Cloning into 'usb-driver'...
$ cd cd usb-driver/
$ sudo make


......
(未完待续)


参考:                  终于搞定ISE在虚拟机Virtualbox上ubuntu的下载线XILINX Platform Cable USB II的驱动

                             Linux操作系统下三种配置环境变量的方法

                             linux-fpga系列文章之——如何在ubuntu下安装FPGA usb cable的驱动

                             Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS

                             Ubuntu下运行XILINX ISE

                             ubuntu上安装xilinx 14.1及注意事项

                             Ubuntu 12 下面安装Xilinx ISE 14.1

                             在Ubuntu 11.04 上安装Xilinx ISE 13.1指南,附出错的改正方法

                             Ubuntu 12.04下给xilinx ISE 12.04加了个launcher

                             Ubuntu上跑XILINX的ISE/EDK以及petalinux的总结

                             Ubuntu 12 下面安装Xilinx ISE 14.1

                             Install Xilinx ISE on the Ubuntu

Xilinx网站 – 如何申请官方IP的评估license https://blog.csdn.net/haoxuhong/article/details/89927183
--------------------- 
转载自:https://blog.csdn.net/weiweiliulu/article/details/23351429 

  • 0
    点赞
  • 15
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Spartan 6 FPGA设计PLL实例实验VERILOG源码 Xilinx ISE14.6 工程文件 //4个不同频率的时钟,进行不同的分频,实现同样的LED闪烁频率 module sp6( input ext_clk_25m, //外部输入25MHz时钟信号 input ext_rst_n, //外部输入复位信号,低电平有效 output[7:0] led //8个LED指示灯接口 ); wire clk_12m5; //PLL输出12.5MHz时钟 wire clk_25m; //PLL输出25MHz时钟 wire clk_50m; //PLL输出50MHz时钟 wire clk_100m; //PLL输出100MHz时钟 wire sys_rst_n; //PLL输出的locked信号,作为FPGA内部的复位信号,低电平复位,高电平正常工作 //------------------------------------- //PLL例化 pll_controller uut_pll_controller (// Clock in ports .CLK_IN1(ext_clk_25m), // IN // Clock out ports .CLK_OUT1(clk_12m5), // OUT .CLK_OUT2(clk_25m), // OUT .CLK_OUT3(clk_50m), // OUT .CLK_OUT4(clk_100m), // OUT // Status and control signals .RESET(!ext_rst_n),// IN .LOCKED(sys_rst_n)); // OUT //------------------------------------- //12.5MHz时钟进行分频闪烁,计数器为23位 led_controller #(23) uut_led_controller_clk12m5( .clk(clk_12m5), //时钟信号 .rst_n(sys_rst_n), //复位信号,低电平有效 .sled(led[0]) //LED指示灯接口 ); //------------------------------------- //25MHz时钟进行分频闪烁,计数器为24位 led_controller #(24) uut_led_controller_clk25m( .clk(clk_25m), //时钟信号 .rst_n(sys_rst_n), //复位信号,低电平有效 .sled(led[1]) //LED指示灯接口 ); //------------------------------------- //25MHz时钟进行分频闪烁,计数器为25位 led_controller #(25) uut_led_controller_clk50m( .clk(clk_50m), //时钟信号 .rst_n(sys_rst_n), //复位信号,低电平有效 .sled(led[2]) //LED指示灯接口 ); //------------------------------------- //25MHz时钟进行分频闪烁,计数器为26位 led_controller #(26) uut_led_controller_clk100m( .clk(clk_100m), //时钟信号 .rst_n(sys_rst_n), //复位信号,低电平有效 .sled(led[3]) //L
### 回答1: Xilinx ISE 14.7 的安装步骤如下: 1. 下载并安装 ISE 14.7 的安装程序 2. 启动安装程序并按照提示完成安装 3. 安装完成后, 配置环境变量, 如 XILINX, PATH 等 4. 打开 ISE, 输入许可证密钥并激活软件 5. 安装完成,可以开始使用 ISE 进行 FPGA 开发工作了。 注意: 如果遇到安装问题,可以在 Xilinx 官网上查找安装帮助或在社区上寻求帮助。 ### 回答2: Xilinx ISE 14.7是一款非常流行的集成电路设计软件,广泛应用于电子工程领域。安装这个软件可能会带来一些挑战,因此我们提供以下详细的安装步骤: 1. 首先,您需要从Xilinx官方网站上下载ISE 14.7的安装文件。这个软件非常大,所以您需要耐心等待下载完成。 2. 下载完成后,您需要在计算机上创建一个新的文件夹,并将下载的安装文件解压到该文件夹。 3. 接下来,您需要启动安装程序。在Windows操作系统中,您可以双击打开安装程序的exe文件。在Linux中,您需要切换到安装程序所在的文件夹,并执行命令"./setup"。 4. 安装程序启动后,您需要一步步地按照提示完成安装过程。在此过程中,您需要选择安装路径、设置许可证文件等等。如果您是第一次安装Xilinx ISE 14.7,建议您选择“Typical”安装选项。 5. 在安装过程中,您需要输入许可证文件。在Xilinx官方网站上注册账户后即可获得许可证文件。将许可证文件解压,将里面的xilinx.lic复制到ISE安装目录下的\licenses文件夹中。 6. 安装完成后,您需要针对您的计算机配置ISE环境变量。具体来说,在Windows中,您需要将ISE安装目录下的bin文件夹添加到系统的Path环境变量中。在Linux中,您需要将ISE安装目录下的settings64.sh文件执行。这样,您就可以在终端中直接输入ISE相关命令了。 7. 最后,您需要对ISE进行验证。打开终端,输入“ise”命令,看是否能够成功打开ISE软件。 以上就是Xilinx ISE 14.7的安装教程。虽然安装过程可能比较繁琐,但通过按照上述步骤逐一完成,您就可以成功安装Xilinx ISE 14.7,开始进行电路设计和仿真工作了。 ### 回答3: Xilinx ISE 14.7是Xilinx公司推出的一款FPGA开发工具,可以帮助开发者实现各种各样的设计,包括数字信号处理、高性能计算、嵌入式系统设计和通信等。以下是Xilinx ISE 14.7的安装教程: 1. 下载ISE 14.7的安装文件。可以从Xilinx官网下载安装文件(需要登录账号),也可以从其他网站下载。如果从其他网站下载,请确保文件是来自于官方,否则可能会出现安全问题。 2. 安装ISE 14.7。执行安装文件,选择默认安装位置(如果没有特别要求),并按照提示进行安装。如果安装过程中需要输入序列号,请在Xilinx官网注册并获取序列号。 3. 安装License。在安装完成后,需要安装xilinx_license.msi以获取权限,安装方法为右击文件运行“以管理员身份运行”。 4. 打开ISE软件。打开ISE软件需要先安装“FLEXnet Licensing Service”。在Windows服务管理器中,找到该服务并开启。然后,找到ISE软件图标,右击选择“以管理员身份运行”即可打开。 5. 创建项目。在ISE软件界面中,选择“New Project”,设置项目名称、路径、器件等选项,然后点击“Next”进入下一步。在下一步,选择设计语言、工程类型、仿真器和源文件类型等,然后点击“Next”进入下一步。在最后一个步骤,选择需要使用的IP、仿真器和时钟频率等设置,然后点击“Finish”完成创建项目。 6. 编辑和综合代码。在ISE软件界面中,选择“Design”->“Create New Source”,可以添加新的源代码文件或IP核。编辑完成代码后,点击“Design”->“Generate Programming file”,开始综合代码。 7. 生成bit文件。综合代码完成后,需要生成.bit文件,这是一个二进制文件,用于烧录到目标FPGA器件中。在ISE软件界面中,选择“Generate Programming File”,然后选中生成的bit文件并保存。 8. 烧录bit文件。将生成的.bit文件导入到目标FPGA器件中,可以使用Xilinx工具链中提供的iMPACT工具或其他支持的工具。在iMPACT工具中,选择“Configure Device”,然后选择FPGA器件和.bit文件路径,就可以开始烧录bit文件了。 以上是Xilinx ISE 14.7的安装教程,希望对大家有所帮助。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值