<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christoffer Kjølbæk &#187; VHDL</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/tag/vhdl/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostehamster.dk/blog</link>
	<description>I have a blog, therefore I am…</description>
	<lastBuildDate>Tue, 03 Jan 2012 22:37:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing Xilinx ISE/EDK 11.5 under Ubuntu 9.10</title>
		<link>http://ostehamster.dk/blog/index.php/2010/02/21/installing-xilinx-edk-11-4-under-ubuntu-9-10/</link>
		<comments>http://ostehamster.dk/blog/index.php/2010/02/21/installing-xilinx-edk-11-4-under-ubuntu-9-10/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 14:20:35 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[VHDL / FPGA]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[VHDL]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=695</guid>
		<description><![CDATA[This guide tell how-to install Xilinx ISE and EDK under Ubuntu 9.10, using a 30-days evaluation license acquired at http://www.xilinx.com/ise_eval/index.htm. Required tools The EDK needs make, which must be called gmake. The easiest way is to install build essential and make a symlink from make to gmake. Futhermore fxload is needed for firmware upload and [...]]]></description>
			<content:encoded><![CDATA[<p>This guide tell how-to install Xilinx ISE and EDK under Ubuntu 9.10, using a 30-days evaluation license acquired at <a href="http://www.xilinx.com/ise_eval/index.htm">http://www.xilinx.com/ise_eval/index.htm</a>.</p>
<p><strong>Required tools</strong><br />
The EDK needs make, which must be called gmake. The easiest way is to install build essential and make a symlink from make to gmake. Futhermore fxload is needed for firmware upload and motif for the GUI.</p>
<pre>sudo apt-get install fxload build-essential motif-clients
sudo ln -s /usr/bin/make /usr/bin/gmake</pre>
<p>If you have purchased a development board from Xilinx, use the included DVD:</p>
<blockquote><p>cd /media/cdrom<br />
sudo ./xsetup</p></blockquote>
<p>If not, follow the download link at the above URL, and download the ISE Design Suite: Full DVD, which is roughly 5.6 GB and untar it:</p>
<blockquote><p>mkdir ise<br />
cd ise<br />
tar -cvf Xilinx_11.1_ISE_DS_SFD.tar<br />
cd Xilinx_11.1_ISE_DS_SFD<br />
sudo ./xsetup</p></blockquote>
<p>You do not need to use <code>sudo</code>, but if all users on the system should use EDK, it will be installed in /opt/Xilinx/ using sudo. If <code>sudo</code> is not used, it will be installed in /home/<em>username</em>/.</p>
<p>The installation process is straight forward, and will guide you to setting up a license in the last step. If you choose to use the 30-day trial, a browser will open the Xilinx license system, which will generate the license, download it and install it.</p>
<p><strong>Start up scripts</strong></p>
<p>In order to start <code>xps</code> the environment variable $XILINX must hold the path to ISE. To start <code>xps</code> type</p>
<pre>export XILINX=/opt/Xilinx/11.1/ISE/ &#038;& /opt/Xilinx/11.1/EDK/bin/lin/xps</pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2010/02/21/installing-xilinx-edk-11-4-under-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Howto program the Avnet / Xilinx Spartan-3A Evaluation Kit from Ubuntu 9.10</title>
		<link>http://ostehamster.dk/blog/index.php/2009/12/31/howto-program-the-avnet-xilinx-spartan-3a-evaluation-kit-from-ubuntu-9-10/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/12/31/howto-program-the-avnet-xilinx-spartan-3a-evaluation-kit-from-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 12:26:34 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[VHDL / FPGA]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[VHDL]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=596</guid>
		<description><![CDATA[The Avnet / Xilinx Spartan-3A Evaluation Kit is a $49 FPGA kit from Avnet, with a XC3S400A Spartan-3A FPGA, and a number of simple peripherals: Xilinx XC3S400A-4FTG256C Spartan-3A FPGA Four LEDs Four CapSense™ switches I2C temperature sensor Two 6-pin expansion headers 20 x 2, 0.1-inch user I/O header 32 Mb Spansion® MirrorBit® NOR GL Parallel [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.em.avnet.com/spartan3a-evl">Avnet / Xilinx Spartan-3A Evaluation Kit is a $49 FPGA kit</a> from Avnet, with a XC3S400A Spartan-3A FPGA, and a number of simple peripherals:</p>
<ul>
<li>Xilinx XC3S400A-4FTG256C Spartan-3A FPGA</li>
<li>Four LEDs</li>
<li>Four CapSense™ switches</li>
<li>I2C temperature sensor</li>
<li>Two 6-pin expansion headers</li>
<li>20 x 2, 0.1-inch user I/O header</li>
<li>32 Mb Spansion® MirrorBit® NOR GL Parallel Flash</li>
<li>128 Mb Spansion MirrorBit SPI FL Serial Flash</li>
<li>USB-UART bridge</li>
<li>I2C port</li>
<li>SPI and BPI configuration</li>
<li>Xilinx JTAG interface</li>
<li>FPGA configuration via PSoC®</li>
</ul>
<p>The flash is not updated through a JTAG, but through the USB interface. On Windows the AVprog is used, <a href="http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%C2%AE-spartan%C2%AE-3a-evaluation-kit-under-linux/">which can run in Wine</a> and therefore usable on Linux. It is however easier to use the tool called <a href="http://fpgalibre.sourceforge.net/ingles.html#tp82">ASTriAEKiPro 1.2.1</a>.<br />
<span id="more-596"></span><br />
Download a newest .deb file from <a href="http://sourceforge.net/projects/fpgalibre/files/ASTriAEKiPro/">http://sourceforge.net/projects/fpgalibre/files/ASTriAEKiPro/</a> and install it with:<br />
<code>sudo dpkg -i astriaekipro_1.2.1-2_i386.deb</code></p>
<p><strong>Using ASTriAEKiPro</strong><br />
Get a bit file for the kit, either from the CD in the package or from the Avnet Design Resource Center, go to the <a href="http://www.em.avnet.com/spartan3a-evl">Avnet Spartan-3A page</a> and click on "Support files and downloads", login and get the "Default Serial Flash Factory Image" file.</p>
<p>To write to the SPI flash use:<br />
<code>astriaekipro -w Spartan3AEval_FPGA_Firmware_V10.bit</code></p>
<p>To verify:<br />
<code>astriaekipro -y Spartan3AEval_FPGA_Firmware_V10.bit</code></p>
<p>ASTriAEKiPro can furthermore be used as a terminal, which makes it possible to use the USB as serial interface for a MicroBlace etc.:<br />
<code>astriaekipro -t</code></p>
<p>Which will give you something like:</p>
<pre>*******************************************************************
*                    _____                                        *
*                   /     \                                       *
*                  /____   \____                                  *
*                 / \===\   \==/                                  *
*                /___\===\___\/  AVNET                            *
*                     \======/   ENGINEERING                      *
*                      \====/    SERVICES                         *
*                                                                 *
*******************************************************************
*              Spartan 3A Eval Demo V1.0 5/2008                   *
*******************************************************************
* Current Device Status:                                          *
*                                                                 *
*   EF1:  DEACTIVATED                                             *
*   EF2:  DEACTIVATED                                             *
*   EF3:  DEACTIVATED                                             *
*   EF4:  Connected To FPGA System Reset                          *
*   TMP:   29.1250 C                                              *
*   U22:  S29GL032N DETECTED                                      *
*******************************************************************
Type <help> for command options. 

ADS></help></pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/12/31/howto-program-the-avnet-xilinx-spartan-3a-evaluation-kit-from-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Xilinx ISE WebPack 11.1 under Ubuntu 9.10</title>
		<link>http://ostehamster.dk/blog/index.php/2009/12/31/installing-xilinx-ise-webpack-11-1-under-ubuntu-9-10/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/12/31/installing-xilinx-ise-webpack-11-1-under-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:08:50 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[VHDL / FPGA]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mad]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[VHDL]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=555</guid>
		<description><![CDATA[This is a short how to install Xilinx ISE Webpack 11.1 / 11.3 under Ubuntu 9.10. Start by downloading the installation files from "Xilinx Download". The file is 2.67 GB, and Xilinx requires you to have a free account in order to download the file. Untar the file tar -xf Xilinx_11.1_WebPack_SFD.tar and install sudo mkdir [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short how to install Xilinx ISE Webpack 11.1 / 11.3 under Ubuntu 9.10. Start by downloading the installation files from "<a href="http://www.xilinx.com/support/download/index.htm">Xilinx Download</a>". The file is 2.67 GB, and Xilinx requires you to have a free account in order to download the file.<br />
<span id="more-555"></span><br />
Untar the file<br />
<code>tar -xf Xilinx_11.1_WebPack_SFD.tar</code></p>
<p>and install<br />
<code>sudo mkdir /home/Xilinx/<br />
sudo chmod 777 /home/Xilinx/<br />
cd Xilinx_11.1_WebPack_SFD<br />
./xsetup</code></p>
<p>Set the installation path to /home/Xilinx/, and follow the installation process.</p>
<p>When the installation is done, you will be asked for a license. Select "Start ISE WebPack" and click next and follow the instructions on the website. When the license is installed, close the browser window and the Xilinx License Configuration Manager.</p>
<p>The installer will ask for installation of updates. This is advisable, but it is imo easier to download the update files from Xilinx homepage. Go to download and "<a href="https://xilinx.entitlenow.com/cocoon/across/general/home.html?tab=DownloadUpdates&#038;product=&#038;licenseType=&#038;legacyVersion=#">Software Updates</a>".</p>
<p>Untar the file<br />
<code>tar -xf Xilinx_11.4_ISE_DS_lin.tar</code></p>
<p>and install<br />
<code>cd Xilinx_11.4_ISE_DS_lin<br />
./xsetup</code></p>
<p>You are now ready to go, by running<br />
<code>/home/Xilinx/11.1/ISE/bin/lin/ise</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/12/31/installing-xilinx-ise-webpack-11-1-under-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Avnet AvProg for Xilinx® Spartan®-3A Evaluation Kit under Linux</title>
		<link>http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%c2%ae-spartan%c2%ae-3a-evaluation-kit-under-linux/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%c2%ae-spartan%c2%ae-3a-evaluation-kit-under-linux/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 18:01:59 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VHDL]]></category>
		<category><![CDATA[VHDL / FPGA]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=342</guid>
		<description><![CDATA[Avnet has made a very cheap ($49) Xilinx Spartan 3A Eval kit, with a lot of nice features. The FPGA is not programmed through a JTag, but through some "homemade" USB connection. Avnet has made a tool called AvProg for this connection, which is Windows only (shame on them!) :( It is, however, fairly easy [...]]]></description>
			<content:encoded><![CDATA[<p>Avnet has made a very cheap ($49) <a href="www.em.avnet.com/spartan3a-evl">Xilinx Spartan 3A Eval kit</a>, with a lot of nice features.</p>
<p>The FPGA is not programmed through a JTag, but through some "homemade" USB connection. Avnet has made a tool called AvProg for this connection, which is Windows only (shame on them!) :(</p>
<p>It is, however, fairly easy to get working under Linux using Wine.<br />
<span id="more-342"></span></p>
<p>Start by downloading AvProg from <a href="https://www.em.avnet.com/common/filetree/0,2740,RID%3D%26CID%3D46501%26CAT%3D0%26CCD%3DUSA%26SID%3D32214%26DID%3DDF2%26SRT%3D1%26LID%3D32232%26PRT%3D0%26PVW%3D%26PNT%3D%26BID%3DDF2%26CTP%3DEVK,00.html?catalogId=500201&#038;langId=-1&#038;storeId=500201&#038;krypto=0BooYW%2FcJ0mYwVyasQhIfQQAM4eFMGGvFmqHPIDEbDUhggxRIR1oGDTlXxxYlXpWTcFZbsbqNQRZ%0A%2F5597Mu71DNXuFVCPwt6jiTvAbQ1TZrsFF1CV7Vs23jffO0Q5Bdk85rT3Mmyzl4uA8mFzVPlP%2F6l%0AbK83odPMqQi3uZYLp0RkkFiTzzSPvCQ0aU%2FS4ku4LAnH2gA9Zto3UkQ%2FPhOcFwEaZqyVaXuvDmwo%0A9bJMoI0%2F5RDHRKoH5Ov8RLgJJG8Io3%2FwEkvziZEw9kHTN4OYysbsQ8pmgkPlyG7im9x02TRTUsup%0ABXnSBpwpe34NVhJoK%2FFqDnR6Om7K2PNa%2F7QdTKHKRwBQ15PyX6gp43Juvcn6aKiIUl5%2FFH8JvPn5%0AgapYbDFKDmaCRWvj1QojgoWPUQqw4WNuOBR8zDV5qkZHNVPVc2AcWXId9XXZqN96vdnw1iGs%2F3xg%0AedUSxMDTsoqEgtKWK8vZ1w9Z30P4ub4xjC6Bk78G3Y%2Bz%2BFTJg5NdkVRMurTNlMSLord4ShdQ5%2Bf0%0AR1eqE5YOpiKbUfAWW8uEjJj7a57Zb5yMyumJs9tnlmWVQI45E66hvLVDXIXEBpADCW%2BCUT7C2bMn%0AwCqN7e6omHfZf7ZqPbFZgjOadh5xvJIYS4nsGbQlwQi4%2BB8hs1fJKWrc4WYjrtk17htwN5VQxYBf%0AdBSbwZmnXvKEY9DeWc2g72Sq1b0bgfMwXonC9tc%2F5k0C%2F%2B%2BdSfNTpoTbDmudf3m1W4HV57i11itn%0ACKNeXujS8Hxv3SPMm8tIt%2FzMtICTSY%2BlenhEr%2FP4LeVsNZJ7qRpejsKvJNpuNZwnzVutTRGuemlb%0AynpZkTKUNOlJr4cSFTxetdWEkEPWrmFozgWNqwsmXKinepXEZyF65TvR2aDVa73W8tb1FJTZGgGO%0ACHEAkeT0mjK0lpBBUnRlD2Z0SauiOdjsJPYTDY66i9CBBjF2T3TxtEIVWT%2Bx1j2UDKVtf4JIGwB2%0AkAcm33NCAn0rc6yhq7e8nIX%2FClvG2hf1umsxiNWAQ1JheQ443mWQze26dK1rgJZsTH1BLYntjwFB%0ARcIUO1m1YuCW%2F5PSRtghkMBCIoROSWiI8WWqyHLNNvHbbgNLxOxfzN1F2mdgZzXyOGjcRU27wsc3%0AlGsdWT8GuFAIze4HU8ISZMhokef%2BD06WFhhD7hvhQ5w0aa5GQsTkbUefvc%2FPJph9g5dOlBXY0N%2F7%0AUgbPKf3Rkm8D22qUHnN4qg4NaRNVHMd172ou5VmlnhEwKZoUyKQ3OZ2t1%2FeF1sUfVva7oPJ4Ov8P%0AjltAVpK5veLgeacvF6hSJgMSfgOJuPHdyK3dR5uOwJyG8mxoQBiGRSJMLXXQxZ8%3D">avnet.com</a>, which requires you to register.</p>
<p>Next unzip the archive and install it into Wine</p>
<blockquote><p>mkdir AvProg<br />
cd AvProg<br />
unzip AvProg_v340i.1_setup.zip<br />
wine setup.exe<br />
cd ..<br />
rm AvProg -r</p></blockquote>
<p>When the eval board is connected it will be attached to <em>/dev/ttyACM0</em> (or another number). This device has to be made to <em>comx</em> inside Wine. This is done like this</p>
<blockquote><p>cd ~/.wine/dosdevice<br />
ln -s /dev/ttyACM0 com1</p></blockquote>
<p>Removing the Skins directory will disable the fancy coloured GUI and make the application much better under wine (<a href="http://community.em.avnet.com/t5/Spartan-3A-Evaluation-Kit/New-AvProg-Installer-Posted/td-p/260">explanation</a>):</p>
<blockquote><p>
cd ~/.wine/drive_c/Program\ Files/Avnet/AvProg/<br />
rm -rdf Skins</p></blockquote>
<p>That's it, write some VHDL/Verilog, make a bit file and run AvProg</p>
<blockquote><p>wine ~/.wine/drive_c/Program\ Files/Avnet/AvProg/AvProg.exe</p></blockquote>
<p>and have fun :)</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%c2%ae-spartan%c2%ae-3a-evaluation-kit-under-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What women don&#8217;t understand</title>
		<link>http://ostehamster.dk/blog/index.php/2007/12/08/what-women-dont-understand/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/12/08/what-women-dont-understand/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 22:04:24 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[VHDL]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=49</guid>
		<description><![CDATA[Why can't women see the fascination in this image (click to enlarge):]]></description>
			<content:encoded><![CDATA[<p>Why can't women see the fascination in this image (click to enlarge):<br />
<a href='http://ostehamster.dk/blog/wp-content/uploads/2007/12/vhdl.png' target='_new'><img src='http://ostehamster.dk/blog/wp-content/uploads/2007/12/vhdl.png' alt='vhdl.png' style='width: 600px; height: 450px' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/12/08/what-women-dont-understand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xilinx Webpack and Linux</title>
		<link>http://ostehamster.dk/blog/index.php/2007/11/21/xilinx-webpack-and-linux/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/11/21/xilinx-webpack-and-linux/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 20:26:23 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VHDL / FPGA]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[VHDL]]></category>
		<category><![CDATA[Xilinx]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=42</guid>
		<description><![CDATA[If you would like to run the floorplaner as a stand alone application, do like this: 1) Add /opt/Xilinx92i/bin/lin to /etc/ld.so.conf, and execute sudo ldconfig 2) Execute export XILINX="/opt/Xilinx92i/" 3) Execute export DISPLAY=":0" Errors If you get an error like this: error while loading shared libraries: libXm.so.3 Install libmotif3 sudo apt-get install libmotif3]]></description>
			<content:encoded><![CDATA[<p>If you would like to run the floorplaner as a stand alone application, do like this:</p>
<p>1) Add /opt/Xilinx92i/bin/lin to /etc/ld.so.conf, and execute <code>sudo ldconfig</code><br />
2) Execute <code>export  XILINX="/opt/Xilinx92i/"</code><br />
3) Execute <code>export DISPLAY=":0"</p>
<p><strong>Errors</strong><br />
If you get an error like this:<br />
   error while loading shared libraries: libXm.so.3<br />
Install libmotif3<br />
  </code><code>sudo apt-get install libmotif3</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/11/21/xilinx-webpack-and-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

