<?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>FPGA Developer: Tools and tutorials for FPGA designers</title>
	<atom:link href="http://www.fpgadeveloper.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fpgadeveloper.com</link>
	<description>Tools and tutorials for FPGA designers.</description>
	<lastBuildDate>Mon, 20 May 2013 02:06:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Doing my own thing</title>
		<link>http://www.fpgadeveloper.com/2013/04/doing-my-own-thing.html</link>
		<comments>http://www.fpgadeveloper.com/2013/04/doing-my-own-thing.html#comments</comments>
		<pubDate>Tue, 23 Apr 2013 01:06:07 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General FPGA]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=781</guid>
		<description><![CDATA[I&#8217;ve left my full-time job to start a business in electronics consulting! It feels good to finally follow my dream. I&#8217;m asking my readers for help in choosing a company name, please vote!]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve left my full-time job to start a business in electronics consulting! It feels good to finally follow my dream.</p>
<p>I&#8217;m asking my readers for help in choosing a company name, please vote!</p>
<a name="pd_a_7055369"></a>
<div class="PDS_Poll" id="PDI_container7055369" data-settings="{&quot;url&quot;:&quot;http:\/\/static.polldaddy.com\/p\/7055369.js&quot;}" style="display:inline-block;"></div>
<div id="PD_superContainer"></div>
<noscript><a href="http://polldaddy.com/poll/7055369">Take Our Poll</a></noscript>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2013/04/doing-my-own-thing.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Code templates: Clock MUX</title>
		<link>http://www.fpgadeveloper.com/2011/09/code-templates-clock-mux.html</link>
		<comments>http://www.fpgadeveloper.com/2011/09/code-templates-clock-mux.html#comments</comments>
		<pubDate>Tue, 13 Sep 2011 00:41:12 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Code templates]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=653</guid>
		<description><![CDATA[Let&#8217;s say we want to be able to switch dynamically between two (or more) clocks. In the Virtex FPGAs we have a primitive which allows us to do just this, it&#8217;s called the BUFGCTRL. The BUFGCTRL is a global clock buffer (like BUFG) which has two clock inputs and a series of control inputs that [...]]]></description>
				<content:encoded><![CDATA[<p>Let&#8217;s say we want to be able to switch dynamically between two (or more) clocks. In the Virtex FPGAs we have a primitive which allows us to do just this, it&#8217;s called the <a href="http://www.xilinx.com/itp/xilinx6/books/data/docs/v4ldl/v4ldl0019_12.html">BUFGCTRL</a>. The <a href="http://www.xilinx.com/itp/xilinx6/books/data/docs/v4ldl/v4ldl0019_12.html">BUFGCTRL </a>is a global clock buffer (like BUFG) which has two clock inputs and a series of control inputs that allow you to select between the two clocks. The great thing about the <a href="http://www.xilinx.com/itp/xilinx6/books/data/docs/v4ldl/v4ldl0019_12.html">BUFGCTRL </a>is that it allows you to switch between clocks &#8220;glitch free&#8221;.</p>
<p>If you have two clock inputs and you want to switch between them without glitches at the output, use this code:</p>
<pre name="code" class="c">
  BufGCtrlMux_l : BUFGCTRL
  generic map (
    INIT_OUT     => 0,
    PRESELECT_I0 => FALSE,
    PRESELECT_I1 => FALSE)
  port map (
    O       => ClkOutputMux,
    CE0     => not ClkSel,
    CE1     => ClkSel,
    I0      => ClkInput0,
    I1      => ClkInput1,
    IGNORE0 => '0',
    IGNORE1 => '0',
    S0      => '1', -- Clock select0 input
    S1      => '1' -- Clock select1 input
  );
</pre>
<p>&nbsp;</p>
<p>One problem with using the BUFGCTRL in &#8220;glitch free&#8221; configuration is that it requires that both clocks be running at all times. If the selected clock suddenly drops out, you will not be able to switch to the other clock. If for example, your clocks come from external sources that come and go, you will not be able to use the BUFGCTRL in &#8220;glitch free&#8221; configuration and instead you will have to use it in asynchronous mode. In this mode, you can switch between the clocks as you like and it will never get locked into one or the other.</p>
<p>Use this code for the asynchronous clock MUX if you don&#8217;t care about glitch free operation:</p>
<pre name="code" class="c">
  BufGCtrlMux_l : BUFGCTRL
  generic map (
    INIT_OUT     => 0,
    PRESELECT_I0 => FALSE,
    PRESELECT_I1 => FALSE)
  port map (
    O       => ClkOutputMux,
    CE0     => '1',
    CE1     => '1',
    I0      => ClkInput0,
    I1      => ClkInput1,
    IGNORE0 => '1',
    IGNORE1 => '1',
    S0      => not ClkSel, -- Clock select0 input
    S1      => ClkSel -- Clock select1 input
  );
</pre>
<p>&nbsp;</p>
<p>What if you have four clocks to choose from? Well you can use 3 BUFGCTRLs to implement a 4-to-1 clock multiplexer. Obviously, your select signal becomes a 2-bit signal. Use this code for a 4-input asynchronous clock MUX:</p>
<pre name="code" class="c">
  BufGCtrlMuxA_l : BUFGCTRL
  generic map (
    INIT_OUT     => 0,
    PRESELECT_I0 => FALSE,
    PRESELECT_I1 => FALSE)
  port map (
    O       => ClkOutputMuxA,
    CE0     => '1',
    CE1     => '1',
    I0      => ClkInput0,
    I1      => ClkInput1,
    IGNORE0 => '1',
    IGNORE1 => '1',
    S0      => not ClkSel(0), -- Clock select0 input
    S1      => ClkSel(0) -- Clock select1 input
  );

  BufGCtrlMuxB_l : BUFGCTRL
  generic map (
    INIT_OUT     => 0,
    PRESELECT_I0 => FALSE,
    PRESELECT_I1 => FALSE)
  port map (
    O       => ClkOutputMuxB,
    CE0     => '1',
    CE1     => '1',
    I0      => ClkInput2,
    I1      => ClkInput3,
    IGNORE0 => '1',
    IGNORE1 => '1',
    S0      => not ClkSel(0), -- Clock select0 input
    S1      => ClkSel(0) -- Clock select1 input
  );

  BufGCtrlMux_l : BUFGCTRL
  generic map (
    INIT_OUT     => 0,
    PRESELECT_I0 => FALSE,
    PRESELECT_I1 => FALSE)
  port map (
    O       => ClkOutputMux,
    CE0     => '1',
    CE1     => '1',
    I0      => ClkOutputMuxA,
    I1      => ClkOutputMuxB,
    IGNORE0 => '1',
    IGNORE1 => '1',
    S0      => not ClkSel(1), -- Clock select0 input
    S1      => ClkSel(1) -- Clock select1 input
  );
</pre>
<p>&nbsp;<br />
This example assumes that you have the following signals declared somewhere!<br />
&nbsp;</p>
<pre name="code" class="c">
signal ClkOutputMuxA : std_logic;
signal ClkOutputMuxB : std_logic;
signal ClkOutputMux  : std_logic;
signal ClkInput0     : std_logic;
signal ClkInput1     : std_logic;
signal ClkInput2     : std_logic;
signal ClkInput3     : std_logic;
signal ClkSel        : std_logic_vector(1 downto 0);
</pre>
<p>&nbsp;</p>
<p>Remember that the BUFGCTRL is a global clock buffer, and you only have a limited number of these in any Virtex device, so be aware of the limitation on your device. For more information on BUFG and BUFGCTRL, read the <a href="http://www.xilinx.com/support/documentation/user_guides/ug362.pdf">Clocking Resources User Guide</a> for your specific FPGA device.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/09/code-templates-clock-mux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to read an NGC netlist file</title>
		<link>http://www.fpgadeveloper.com/2011/08/how-to-read-an-ngc-netlist-file.html</link>
		<comments>http://www.fpgadeveloper.com/2011/08/how-to-read-an-ngc-netlist-file.html#comments</comments>
		<pubDate>Wed, 17 Aug 2011 01:05:56 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General FPGA]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=646</guid>
		<description><![CDATA[For the occasions that you find yourself with a netlist file and you don&#8217;t know where it came from or what version it is, etc. this post is about how you can interpret the netlist file (ie. convert it into something readable). Today I found myself with two netlists and I needed to know if [...]]]></description>
				<content:encoded><![CDATA[<p>For the occasions that you find yourself with a netlist file and you don&#8217;t know where it came from or what version it is, etc. this post is about how you can interpret the netlist file (ie. convert it into something readable).</p>
<p>Today I found myself with two netlists and I needed to know if they were the same. Yes of course you can try comparing the two files with a program such as <a href="http://www.scootersoftware.com/" target="_blank">Beyond Compare</a>, but if the netlists were compiled on separate dates, you will have trouble recognizing this from the raw binary data. The best thing to do in this case is to convert the netlists to EDIF files, a readable, text file version of the netlist. Another option is to convert the netlists into VHDL or Verilog code. Here is how you can do this:</p>
<p>&nbsp;</p>
<h4>To convert a netlist (.ngc) to an EDIF file (.edf)</h4>
<ol>
<li>Get a command window open by typing &#8220;<em>cmd</em>&#8221; in the Start-&gt;Run menu option in Windows. If you use Linux, open up a terminal window.</li>
<li>Use the &#8220;<em>cd</em>&#8221; command to move to the folder in which you keep your netlist.</li>
<li>Type &#8220;<em>ngc2edif infilename.ngc outfilename.edf</em>&#8221; where infilename and outfilename correspond to the input and output filenames respectively.</li>
<li>Open the .edf file with any text editor to view the netlist.</li>
</ol>
<p>&nbsp;</p>
<h4>To reverse engineer a netlist with ISE versions older than 6.1i</h4>
<ol>
<li>Convert the netlist to an EDIF file using the above instructions.</li>
<li>Type &#8220;<em>edif2ngd filename.edf filename.ngd</em>&#8221; to convert the EDIF file into an NGD file (Xilinx Native Generic Database file).</li>
<li>To convert the <a href="http://www.xilinx.com/itp/data/alliance/dev/dev18_1.htm" target="_blank">netlist into VHDL</a> type &#8220;<em>ngd2vhdl filename.ngd filename.vhd</em>&#8220;.</li>
<li>To convert the <a href="http://www.xilinx.com/itp/data/alliance/dev/dev17_1.htm" target="_blank">netlist into Verilog</a> type &#8220;<em>ngd2ver filename.ngd filename.v</em>&#8220;.</li>
</ol>
<p>&nbsp;</p>
<h4>To reverse engineer a netlist with ISE versions 6.1i and up</h4>
<ol>
<li>To convert the <a href="http://www.xilinx.com/itp/xilinx8/books/data/docs/dev/dev0183_27.html" target="_blank">netlist into VHDL</a> type &#8220;<em>netgen -ofmt vhdl filename.ngc</em>&#8220;. Netgen will create a filename.vhd file.</li>
<li>To convert the <a href="http://www.xilinx.com/itp/xilinx8/books/data/docs/dev/dev0183_27.html" target="_blank">netlist into Verilog</a> type &#8220;<em>netgen -ofmt verilog filename.ngc</em>&#8220;. Netgen will create a filename.v file.</li>
</ol>
<p>&nbsp;</p>
<p>Now you should have all the tools you need to read an NGC netlist file.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/08/how-to-read-an-ngc-netlist-file.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FPGAs in High Frequency Trading</title>
		<link>http://www.fpgadeveloper.com/2011/08/fpgas-in-high-frequency-trading.html</link>
		<comments>http://www.fpgadeveloper.com/2011/08/fpgas-in-high-frequency-trading.html#comments</comments>
		<pubDate>Tue, 09 Aug 2011 02:52:59 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General FPGA]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=635</guid>
		<description><![CDATA[Back in 2009 I did a presentation on why companies needed to be using FPGAs in their high frequency trading: Why You Need FPGA In Your High-Frequency Trading Business View more presentations from jeffjohnsonau Now every man and his dog are trading with FPGAs and the edge is now blunt as a spoon. But rather [...]]]></description>
				<content:encoded><![CDATA[<p>Back in 2009 I did a presentation on why companies needed to be using FPGAs in their high frequency trading:</p>
<div id="__ss_1848594" style="width: 425px;"><strong style="display: block; margin: 12px 0 4px;"><a title="Why You Need FPGA In Your High-Frequency Trading Business" href="http://www.slideshare.net/jeffjohnsonau/whydoyouneedfpgasinyourtradingbusiness-1848594" target="_blank">Why You Need FPGA In Your High-Frequency Trading Business</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/1848594" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="425" height="355"></iframe></div>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/jeffjohnsonau" target="_blank">jeffjohnsonau</a></div>
<div style="padding: 5px 0 12px;">Now every man and his dog are trading with FPGAs and the edge is now blunt as a spoon. But rather than a time to walk away it&#8217;s time to change tactics. Here&#8217;s what you should be doing now:</div>
<h3 style="padding: 5px 0 12px;">1. Stop competing in the arms race</h3>
<p>Profits for being first to the game are over. Hardware will advance more quickly than you can develop strategies to run on it. Don&#8217;t compete in the arms race unless you can buy out Xilinx or Altera.</p>
<p>&nbsp;</p>
<h3>2. Stop focusing on speed of execution</h3>
<p>Trying to get your order out faster than anyone else is a crowded game. Find intelligent strategies rather than fast and stupid strategies. Use FPGAs for what they are good at: fast parallel number crunching. Focus on processing market data to find trade opportunities, not on crunching protocols to save 2 microseconds.</p>
<p>&nbsp;</p>
<h3>3. Leverage existing hardware</h3>
<p>Don&#8217;t waste your time developing your own custom hardware. The kind of hardware used in high frequency trading costs too much money to develop and involves too much risk (ironically). But the main problem is the development lead time which means that by the time you can trade on it you can buy something else which is cheaper and faster.</p>
<p>&nbsp;</p>
<h3>4. Use more data</h3>
<p>The next profits will come from FPGA trading platforms that process data streams coming from everywhere and everything. Bring together data from a multitude of sources that are not yet being looked at and find the intercorrelations that can only be exploited by the speed of an FPGA.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/08/fpgas-in-high-frequency-trading.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FPGA Developer is now on GitHub!</title>
		<link>http://www.fpgadeveloper.com/2011/08/fpga-developer-is-now-on-github.html</link>
		<comments>http://www.fpgadeveloper.com/2011/08/fpga-developer-is-now-on-github.html#comments</comments>
		<pubDate>Sun, 07 Aug 2011 20:24:30 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=630</guid>
		<description><![CDATA[Not long ago I discovered GitHub, the social coding website. Basically its a place where you can share your code and manage open source projects online. I think it&#8217;s mainly used by non-HDL programmers but the concept is not language specific so I figured it would be a good place to share FPGA designs. Gradually [...]]]></description>
				<content:encoded><![CDATA[<p>Not long ago I discovered <a href="http://github.com" target="_blank">GitHub</a>, the social coding website. Basically its a place where you can share your code and manage open source projects online. I think it&#8217;s mainly used by non-HDL programmers but the concept is not language specific so I figured it would be a good place to share FPGA designs. Gradually I will bring all the source code of all our tutorials onto GitHub so that people can more easily share it, modify it and contribute to it.</p>
<p>To start things off, I&#8217;ve uploaded the most popular project (at this time): <a href="http://www.fpgadeveloper.com/2008/10/microblaze-16x2-lcd-driver.html">Microblaze 16&#215;2 LCD Driver</a>.</p>
<p>Here&#8217;s the GitHub repository: <a href="https://github.com/fpgadeveloper/Microblaze-16x2-LCD-Driver" target="_blank">Microblaze 16&#215;2 LCD Driver on GitHub</a></p>
<h3>Here&#8217;s how it&#8217;s organized:</h3>
<ol>
<li>Each project will have its own repository.</li>
<li>The first folder within the repository will be the name of the hardware platform (eg. ML505, XUPV5, XUPV2P, etc).</li>
<li>The second folder will be the name of the software and the version number (eg. edk10-1, ise10-1, etc).</li>
<li>After that, we will use the same folder structure as used by the software used, whether it be EDK, ISE or whatever.</li>
</ol>
<p>As a new GitHub user, I admit that this might not be the best layout and I&#8217;m open to suggestions so by all means let me know in the comments if you see any problems with this.</p>
<h3>Here&#8217;s what I want <span style="color: #339966;">you <span style="color: #000000;">to do</span></span>:</h3>
<ol>
<li><strong>Get on</strong> <a href="http://github.com" target="_blank">GitHub </a>if you are not already.</li>
<li><strong>Share </strong><a href="https://github.com/fpgadeveloper" target="_blank">FPGA developer projects</a> with your friends and colleagues.</li>
<li><strong>Contribute</strong> to FPGA developer projects. What can you contribute?</li>
<ul>
<li>If you make a project work on a <strong>different hardware platform</strong>, add your code to the repository.</li>
<li>If you make a project work in a <strong>different version</strong> of EDK/ISE/etc, add your code to the repository.</li>
<li>If you can<strong> improve on a project</strong>, fork it and start a new one.</li>
</ul>
</ol>
<p>In general, I want you to share, learn and enjoy!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/08/fpga-developer-is-now-on-github.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outsourcing FPGA Design: Pros and cons</title>
		<link>http://www.fpgadeveloper.com/2011/08/outsourcing-fpga-design-pros-and-cons.html</link>
		<comments>http://www.fpgadeveloper.com/2011/08/outsourcing-fpga-design-pros-and-cons.html#comments</comments>
		<pubDate>Thu, 04 Aug 2011 02:00:27 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General FPGA]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=597</guid>
		<description><![CDATA[Here is a recent presentation I made on outsourcing FPGA design work. Outsourcing FPGA Design: Pros and cons View more presentations from jeffjohnsonau.]]></description>
				<content:encoded><![CDATA[<p>Here is a recent presentation I made on outsourcing FPGA design work.</p>
<div style="width: 425px;"><strong style="display: block; margin: 12px 0 4px;"><a title="Outsourcing FPGA Design: Pros and cons" href="http://www.slideshare.net/jeffjohnsonau/outsourcing-fpga-design-pros-and-cons">Outsourcing FPGA Design: Pros and cons</a></strong><object id="__sse8767347" width="425" height="355" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=outsourcingfpgadesign-110803205308-phpapp02&amp;stripped_title=outsourcing-fpga-design-pros-and-cons&amp;userName=jeffjohnsonau" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><embed id="__sse8767347" width="425" height="355" type="application/x-shockwave-flash" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=outsourcingfpgadesign-110803205308-phpapp02&amp;stripped_title=outsourcing-fpga-design-pros-and-cons&amp;userName=jeffjohnsonau" allowFullScreen="true" allowScriptAccess="always" allowscriptaccess="always" allowfullscreen="true" /></object></div>
<div id="__ss_8767347" style="width: 425px;">
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/jeffjohnsonau">jeffjohnsonau</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/08/outsourcing-fpga-design-pros-and-cons.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitcoin mining with FPGAs</title>
		<link>http://www.fpgadeveloper.com/2011/07/bitcoin-mining-with-fpgas.html</link>
		<comments>http://www.fpgadeveloper.com/2011/07/bitcoin-mining-with-fpgas.html#comments</comments>
		<pubDate>Tue, 19 Jul 2011 16:01:16 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=576</guid>
		<description><![CDATA[Recently, what looks to be the first open source FPGA bitcoin miner was released on GitHub. The code is based on the Terasic DE2-115 development board featuring the Altera Cyclone IV, however the author says the design should be applicable to any other FPGA. Maybe we should make it work on a Xilinx FPGA? Here [...]]]></description>
				<content:encoded><![CDATA[<p>Recently, what looks to be the first <a href="http://forum.bitcoin.org/index.php?topic=9047.0">open source FPGA bitcoin miner</a> was released on GitHub. The code is based on the Terasic DE2-115 development board featuring the Altera Cyclone IV, however the author says the design should be applicable to any other FPGA. Maybe we should make it work on a Xilinx FPGA? Here is what they say about its performance:</p>
<blockquote><p>Project is fully functional and allows mining of Bitcoins both in a Pool and Solo. It also supports Namecoins.</p>
<p>Current Performance: 109 MHash/s On a Terasic DE2-115 Development Board</p>
<p>Note: The included default configuration file, and source files, are built for 50 MHash/s performance (downclocked). This is meant to prevent damage to your valuable chip if you don&#8217;t provide an appropriate cooling solution.</p></blockquote>
<p>For more information about bitcoins: <a href="http://bitcoin.org/">http://bitcoin.org/</a></p>
<p>I wonder what performance we could get on the ML505/XUPV5? If anyone has done it, let us know. More importantly, I wonder if anyone is making money with this&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/07/bitcoin-mining-with-fpgas.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code templates: Generate for loop</title>
		<link>http://www.fpgadeveloper.com/2011/07/code-templates-generate-for-loop.html</link>
		<comments>http://www.fpgadeveloper.com/2011/07/code-templates-generate-for-loop.html#comments</comments>
		<pubDate>Tue, 19 Jul 2011 01:56:45 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Code templates]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=561</guid>
		<description><![CDATA[This is the first part of a series of posts I will write on various code structures and examples for HDL designs. Here I want to talk about the generate statement and particularly the for loop. Most programmers think of a for loop as being a code segment that is repeated during execution of the [...]]]></description>
				<content:encoded><![CDATA[<p>This is the first part of a series of posts I will write on various code structures and examples for HDL designs. Here I want to talk about the generate statement and particularly the for loop.</p>
<p>Most programmers think of a for loop as being a code segment that is repeated during execution of the program. The <strong>generate for loop</strong> is similar in concept however the difference is that the code segment is repeated on <em>compilation</em> time. For example, I could write the code:</p>
<pre name="code" class="c">for(i = 0; i &lt; 8; i++)
  printf("hello world");</pre>
<p>To achieve the same functional effect, I could have written the <em>printf</em> statement 8 times. Of course you wouldn&#8217;t do this because it&#8217;s not good coding practice and likewise you would not do this in HDL. But what does the compiler do with the for loop? In reality, the C compiler will not replace your for loop with 8 copies of the printf statement, but in the case of the <strong>generate for loop</strong>, the synthesis program <em>will</em> do that! That is precisely the point of the <strong>generate for loop</strong>: to save you writing the same code segment multiple times, preventing you from making errors and making for cleaner code.</p>
<p>The example below shows a generate for loop that generates 8 regional clock buffers (BUFR) using the same chip enable (CE) and clear (CLR) signals but with their own clock input and output signals. The separate clock input and output signals are referenced to different bits of a signal vector using the variable called <em>index</em>.</p>
<p>VHDL generate for loop:</p>
<pre name="code" class="c">gen_code_label:
  for index in 0 to 7 generate
    begin
      BUFR_inst : BUFR
      generic map (
        BUFR_DIVIDE =&gt; "BYPASS")
      port map (
        O =&gt; clk_o(index),
        CE =&gt; ce,
        CLR =&gt; clear,
        I =&gt; clk_i(index)
      );
  end generate;</pre>
<p>Verilog generate for loop:</p>
<pre name="code" class="c">genvar index;
generate
for (index=0; index &lt; 8; index=index+1)
  begin: gen_code_label
    BUFR BUFR_inst (
      .O(clk_o(index)), // Clock buffer ouptput
      .CE(ce), // Clock enable input
      .CLR(clear), // Clock buffer reset input
      .I(clk_i(index)) // Clock buffer input
    );
  end
endgenerate</pre>
<p>Now you might ask why you would want to write the same code segment multiple times so here are a couple of examples where you would want to use the generate for loop:</p>
<ul>
<li>Instantiating multiple RocketIO, HDL modules, buffers, etc. Using the generate for loop makes your code cleaner and is easier to check and debug later on. Going up a notch, when you have to instantiate <em>hundreds of thousands</em> of something, the generate loop becomes absolutely necessary, not just convenient.</li>
<li>Making a large number of connections between several signals. Writing out the connections for a hundred signal vectors can be made easier by grouping the vectors into an array and writing a generate for loop to make the connections.</li>
</ul>
<p>So if you have written code that contains lots of repetitive stuff, try using the generate loop to clean it up. If you&#8217;ve got questions about the generate for loop, leave them in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/07/code-templates-generate-for-loop.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>List and comparison of FPGA companies</title>
		<link>http://www.fpgadeveloper.com/2011/07/list-and-comparison-of-fpga-companies.html</link>
		<comments>http://www.fpgadeveloper.com/2011/07/list-and-comparison-of-fpga-companies.html#comments</comments>
		<pubDate>Fri, 15 Jul 2011 16:43:37 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General FPGA]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=504</guid>
		<description><![CDATA[With the top two FPGA companies taking up 89% of the FPGA market, you can be forgiven for thinking there was no one else out there. Xilinx and Altera have done a good job of defending the duopoly but a few companies are gradually winning market share by targeting specific applications and sub-markets. Here is [...]]]></description>
				<content:encoded><![CDATA[<p>With the top two FPGA companies taking up 89% of the FPGA market, you can be forgiven for thinking there was no one else out there. Xilinx and Altera have done a good job of defending the duopoly but a few companies are gradually winning market share by targeting specific applications and sub-markets. Here is a list of the top 5 FPGA companies by revenue.</p>
<p><iframe src='http://icharts.net/icharts/embed/N37TyCs=' height='557' width='589' frameborder='0'><br />
<span>iChart:Comparison of FPGA Companies</span><br />
<span></span><br />
<span>Tags: </span><br />
<span>Powered By: <a href = 'http://www.icharts.net'>iCharts | create, share, and embed interactive charts online</a></span><br />
</iframe></p>
<p>&nbsp;</p>
<h2>Xilinx</h2>
<p>&nbsp;</p>
<p><strong>Website</strong>: <a href="http://www.xilinx.com" target="_blank">www.xilinx.com</a></p>
<p><strong>Stock</strong>: <a href="http://www.google.com/finance?q=NASDAQ%3AXLNX" target="_blank">NASDAQ:XLNX</a></p>
<p><strong>Market share</strong>: 49% ($2,369.45 million) 12 months ending 2011-01-02</p>
<p>The leader in FPGAs for many years, Xilinx has a good range of FPGAs in terms of cost and performance. In recent years, the popular Spartan series has covered the low-to-mid-end market while the Virtex series has covered the high-end. Recently, Xilinx released the &#8220;7&#8243; family of FPGAs which are built on 28-nm process and for the first time introduced the Artex-7 and Kintex-7 series which provide better coverage of the lower and mid-end applications previously covered by the Spartan series. The Kintex-7 recently won the &#8220;<a href="http://www.prnewswire.com/news-releases/xilinx-28nm-kintex-7-fpga-takes-highly-commended-prize-at-japans-the-semiconductor-industry-news--2011-semiconductor-of-the-year-awards-125474108.html" target="_blank">Highly Commended Prize</a>&#8221; Semiconductor of the year award for 2011.</p>
<p>&nbsp;</p>
<h2>Altera</h2>
<p>&nbsp;</p>
<p><strong>Website</strong>: <a href="http://www.altera.com" target="_blank">www.altera.com</a></p>
<p><strong>Stock</strong>: <a href="http://www.google.com/finance?q=NASDAQ%3AALTR" target="_blank">NASDAQ:ALTR</a></p>
<p><strong>Market share</strong>: 40% ($1,954.43 million) 12 months ending 2011-01-02</p>
<p>The Altera FPGAs cover the low, mid and upper end markets with the Cyclone, Arria and Stratix series respectively. The most recent offering from Altera is the Cyclone-V, Arria-V and Stratix-V, all build on 28-nm process technology.</p>
<p>Larger than Xilinx in market value, Altera has made great progress in winning market share in recent years. Many people would say that their software tools are much better than those of Xilinx which has likely been an important factor in their success.</p>
<p>&nbsp;</p>
<h2>Lattice Semiconductor</h2>
<p>&nbsp;</p>
<p><strong>Website</strong>: <a href="http://www.latticesemi.com" target="_blank">www.latticesemi.com</a></p>
<p><strong>Stock</strong>: <a href="http://www.google.com/finance?q=NASDAQ%3ALSCC" target="_blank">NASDAQ:LSCC</a></p>
<p><strong>Market share</strong>: 6% ($297.77 million) 12 months ending 2011-01-02</p>
<p>Lattice Semiconductor tackles the low-power and low-cost market for FPGAs. They market their products as the &#8220;high-value FPGAs&#8221; of the industry, providing best performance per cost. With the explosion in portable electronics, this has been a good strategy for Lattice. Lattice claims to have the industry&#8217;s lowest power and price SERDES-capable FPGA: LatticeECP3. Obviously they didn&#8217;t follow the trend of naming FPGAs after greek mythology or meteorological phenomena (not saying its a bad move!).</p>
<p>&nbsp;</p>
<h2>Microsemi (was Actel)</h2>
<p>&nbsp;</p>
<p><strong>Website</strong>: <a href="http://www.microsemi.com" target="_blank">www.microsemi.com</a></p>
<p><strong>Stock</strong>: <a href="http://www.google.com/finance?q=NASDAQ%3AMSCC" target="_blank">NASDAQ:MSCC</a></p>
<p><strong>Market share</strong>: 4% ($207.49 million) 12 months ending 2011-01-02</p>
<p>Microsemi specializes in low-power and mixed-signal FPGAs.  Here are some of Microsemi&#8217;s claims:</p>
<ul>
<li>The industry&#8217;s lowest power FPGA: the IGLOO.</li>
<li>The industry&#8217;s only FPGA with hard 32-bit ARM Cortex-M3 microcontroller: the SmartFusion.</li>
</ul>
<p>&nbsp;</p>
<h2>QuickLogic</h2>
<p>&nbsp;</p>
<p><strong>Website</strong>: <a href="http://www.quicklogic.com" target="_blank">www.quicklogic.com</a></p>
<p><strong>Stock</strong>: <a href="http://www.google.com/finance?q=NASDAQ%3AQUIK" target="_blank">NASDAQ:QUIK</a></p>
<p><strong>Market share</strong>: 1% ($26.20 million) 12 months ending 2011-01-02</p>
<p>QuickLogic&#8217;s focus is on the mobile devices industry meaning ultra-low power, small form factor packaging, and high design security. Rather than selling &#8220;FPGA&#8221;, they pitch &#8220;customizable semiconductors&#8221;. You will not find the word &#8220;FPGA&#8221; on the front page of their website.</p>
<blockquote><p>“Our patented ViaLink® interconnect technology enables QuickLogic to deliver the lowest power, most routable FPGA in the industry,” Brian Faith, Quicklogic’s Manager of FPGA products.</p></blockquote>
<p>I&#8217;m interested to hear from FPGA developers who have worked on Lattice, Microsemi and QuickLogic FPGAs. Share your experience with us in the comments below. What are their tools like? How do they compare in performance and price to Xilinx and Altera? Can anyone see them breaking the duopoly?</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/07/list-and-comparison-of-fpga-companies.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JP Morgan applies FPGA to risk management</title>
		<link>http://www.fpgadeveloper.com/2011/07/jp-morgan-applies-fpga-to-risk-management.html</link>
		<comments>http://www.fpgadeveloper.com/2011/07/jp-morgan-applies-fpga-to-risk-management.html#comments</comments>
		<pubDate>Tue, 12 Jul 2011 14:00:10 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[high frequency trading]]></category>

		<guid isPermaLink="false">http://www.fpgadeveloper.com/?p=501</guid>
		<description><![CDATA[You might already know I&#8217;m interested in the application of FPGAs in the financial markets, a field that has been growing over the last few years. JP Morgan has been working on this over the last 3 years and its paying off. JP Morgan supercomputer offers risk analysis in near real-time Prior to the implementation, [...]]]></description>
				<content:encoded><![CDATA[<p>You might already know I&#8217;m interested in the application of FPGAs in the financial markets, a field that has been growing over the last few years. JP Morgan has been working on this over the last 3 years and its paying off.</p>
<p><a href="http://www.computerworlduk.com/news/it-business/3290494/jp-morgan-supercomputer-offers-risk-analysis-in-near-real-time/" target="_blank">JP Morgan supercomputer offers risk analysis in near real-time</a></p>
<blockquote><p>Prior to the implementation, JP Morgan would take eight hours to do a complete risk run, and an hour to run a present value, on its entire book. If anything went wrong with the analysis, there was no time to re-run it.</p>
<p>It has now reduced that to about 238 seconds, with an FPGA time of 12 seconds.</p></blockquote>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fpgadeveloper.com/2011/07/jp-morgan-applies-fpga-to-risk-management.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
