{"id":295,"date":"2015-07-07T12:49:44","date_gmt":"2015-07-07T12:49:44","guid":{"rendered":"https:\/\/edulab.unitn.it\/tecnici\/?p=295"},"modified":"2021-09-21T11:46:50","modified_gmt":"2021-09-21T11:46:50","slug":"xilinx-ise-web-pack","status":"publish","type":"post","link":"https:\/\/edulab.unitn.it\/tecnici\/xilinx-ise-web-pack\/","title":{"rendered":"Xilinx ISE Web-Pack"},"content":{"rendered":"<p><a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=1547435\">Fonte<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Hi,<\/p>\n<p>I thought I could report this because I couldn&#8217;t find one single guide for installing Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS 64-bit system.<\/p>\n<p>I finally succeeded in compiling a simple project using the ISE and programming it with iMPACT after completing the following steps to install the needed software. The following instructions assume that BASH is being used.<\/p>\n<p>1. Download the software from <a href=\"https:\/\/www.xilinx.com\/downloadNav\/vivado-design-tools\/archive-ise.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.xilinx.com\/downloadNav\/vivado-design-tools\/archive-ise.html<\/a><\/p>\n<p>2. Untar the archive<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">cd \/Path_to_the_archive\r\ntar xvf Xilinx_ISE_DS_X.Y.tar<\/pre>\n<\/div>\n<p>2a. Optionally burn the files inside the created directory to a DVD. This is not necessary, but it will allow you to delete the files from your hard disk.<\/p>\n<p>3. Install the application<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">cd \/Path_to_installer\r\nsudo .\/xsetup<\/pre>\n<\/div>\n<p>-When asked to select edition to install, choose &#8220;ISE WebPACK&#8221;.<br \/>\n-On the following page tick the box &#8220;Install Cable Drivers&#8221;.<br \/>\n-I used the default directory suggested by the installer.<\/p>\n<p>4. To make the application run correctly you need to type the following<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">source \/opt\/Xilinx\/XX.Y\/ISE_DS\/settings64.sh\r\n\r\nor\r\n\r\ncd \/opt\/Xilinx\/XX.Y\/ISE_DS\r\nsource .\/settings64.sh<\/pre>\n<\/div>\n<p>Note the reference to the current directory, which is needed when using the second alternative. In the same directory there is also a file called &#8220;settings32.sh&#8221; for 32-bit systems.<\/p>\n<p>The settings need to be run every time before invoking the application in a new console.<\/p>\n<p>5. After the software has been installed it&#8217;s time to get a license from Xilinx website (<a href=\"http:\/\/www.xilinx.com\/getlicense\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.xilinx.com\/getlicense<\/a>). After completing the form you should get a file called &#8220;Xilinx.lic&#8221;. Copy this file to .Xilinx-folder inside your home directory:<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">cd \/Path_to_license_file\r\ncp Xilinx.lic ~\/.Xilinx\/<\/pre>\n<\/div>\n<p>(The official instructions advise to use the license manager &#8220;xlcm&#8221;, but for me it kept segfaulting, when I pressed the &#8220;Copy license&#8230;&#8221; button.)<\/p>\n<p>At this point you should be able to start the design environment by running command &#8220;ise&#8221; in the console. If iMPACT doesn&#8217;t find your cable, there are a couple of steps more to go.<\/p>\n<p>The steps described below have been copied from the driver source files referenced at <a href=\"http:\/\/groups.google.com\/group\/comp.arch.fpga\/browse_frm\/thread\/f149e5b6028e2c70\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/groups.google.com\/group\/comp&#8230;.49e5b6028e2c70<\/a>. The driver doesn&#8217;t need to be compiled, but the udev rules are not created by the Xilinx installer.<\/p>\n<p>6. Copy the udev rules and adapt the file to the new udev-version<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">sudo cp \/opt\/Xilinx\/XX.y\/ISE_DS\/ISE\/bin\/lin64\/xusbdfwu.rules \/etc\/udev\/rules.d\/50-xusbdfwu.rules\r\nsudo sed -i -e 's\/TEMPNODE\/tempnode\/' -e 's\/SYSFS\/ATTRS\/g' -e 's\/BUS\/SUBSYSTEMS\/' \/etc\/udev\/rules.d\/50-xusbdfwu.rules<\/pre>\n<\/div>\n<p>If your machine is running 32-bit Linux change &#8216;lin64&#8242;-&gt;&#8217;lin&#8217; on the first line.<\/p>\n<p>7. Copy the hex-files used by different Xilinx cables to \/usr\/share and make them readable by regular users<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">sudo cp \/opt\/Xilinx\/XX.y\/ISE_DS\/ISE\/bin\/lin64\/xusb*.hex \/usr\/share\/\r\nsudo chmod 644 \/usr\/share\/xusb*.hex<\/pre>\n<\/div>\n<p>Again, &#8216;lin64&#8242;-&gt;&#8217;lin&#8217; for 32-bit systems.<\/p>\n<p>8. Install fxload, which is used by the rules, and libusb-dev, which is needed by iMPACT<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">sudo apt-get install fxload libusb-dev<\/pre>\n<\/div>\n<p>9. Restart udev<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">sudo restart udev<\/pre>\n<\/div>\n<p>10. To make planAhead work two script files must be edited.<\/p>\n<div class=\"bbcode_container\">\n<div class=\"bbcode_description\">Code:<\/div>\n<pre class=\"bbcode_code\">sudo sed -i -e 's\/#!\\\/bin\\\/sh\/#!\\\/bin\\\/bash\/' \/opt\/Xilinx\/XX.y\/ISE_DS\/PlanAhead\/bin\/planAhead\r\nsudo sed -i -e 's\/#!\\\/bin\\\/sh\/#!\\\/bin\\\/bash\/' \/opt\/Xilinx\/XX.y\/ISE_DS\/PlanAhead\/bin\/loader<\/pre>\n<\/div>\n<p>If you now connect the cable to the computer, it should work as expected. I tested this with Spartan-3AN Starter Kit, which has an onboard USB programmer. When I connected the cable, the green LED next to the USB connector turned on to indicate that the driver was working correctly.<\/p>\n<p>This is the first time I am able to program my Spartan-3AN Starter Kit using Ubuntu, and I hope this guide will help somebody else to achieve the same.<\/p>\n<p>I am writing this at midnight after trying lots of stuff to get the software working. I might have forgotten a step or two, so please let me know, if you do or don&#8217;t succeed in installing the software.<\/p>\n<p>In aggiunta per Ubuntu &gt; 16.4 e per Debian &gt; 8:<\/p>\n<pre>locate libusb-0.1.so.4.4.4\r\ncp &lt;locate_result&gt; \/opt\/xilinx\/XX.y\/ISE_DS\/ISE\/lib\/lin64\/libusb-0.1.so.4.4.4\r\n# typically:\r\n# cp -v \/lib\/x86_64-linux-gnu\/libusb-0.1.so.4.4.4 \/opt\/Xilinx\/XX.Y\/ISE_DS\/ISE\/lib\/lin64\/\r\ncd \/opt\/Xilinx\/XX.y\/ISE_DS\/ISE\/lib\/lin64\r\nln -s libusb-0.1.so.4.4.4 libusb.so\r\n\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fonte &nbsp; Hi, I thought I could report this because I couldn&#8217;t find one single guide for installing Xilinx ISE WebPack 12.2 on Ubuntu 10.04 LTS 64-bit system. I finally [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9,13],"tags":[],"class_list":["post-295","post","type-post","status-publish","format-standard","hentry","category-how-to","category-linux","category-software"],"_links":{"self":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":6,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/295\/revisions"}],"predecessor-version":[{"id":1118,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/295\/revisions\/1118"}],"wp:attachment":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/media?parent=295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/categories?post=295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/tags?post=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}