<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Entering The World Of FPGA&amp;#39;s with a DEO-NANO P0082 - Part 3</title><link>/technologies/fpga-group/b/blog/posts/entering-the-world-of-fpga-s-with-a-deo-nano-p0082---part-3</link><description>If your looking to get into FPGA development and have been following my blogs, this is probably the post that you should pay most attention to as it&amp;#39;s likely to make clear the design process. So far I&amp;#39;ve followed the quick start g...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Entering The World Of FPGA&amp;#39;s with a DEO-NANO P0082 - Part 3</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/entering-the-world-of-fpga-s-with-a-deo-nano-p0082---part-3</link><pubDate>Sat, 29 Jul 2017 19:43:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:361cddcc-3203-48fe-a246-84c626a7aefa</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very nice post Lucie.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You just answered a number of items on my test list for this device.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now, I understand you just followed one of the simple examples.&amp;nbsp; If that is true, how much time (HH,MM) would you say it took you to begin the project and get to the point where it worked?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Just curious on the time investment needed by a newbie to start working with this device.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=3372&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Entering The World Of FPGA&amp;#39;s with a DEO-NANO P0082 - Part 3</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/entering-the-world-of-fpga-s-with-a-deo-nano-p0082---part-3</link><pubDate>Sat, 29 Jul 2017 16:31:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:361cddcc-3203-48fe-a246-84c626a7aefa</guid><dc:creator>johnbeetem</dc:creator><slash:comments>1</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&lt;span&gt;Lucie wrote: From that 32-bit bus, just 8 of those bits are fed into the &amp;quot;counter_bus_mux&amp;quot;. I&amp;#39;m not sure exactly how that part works but it takes the data from those 8-bits and converts it into 4bits then displays it onto 4 LEDs.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Hopefully I got that right, if not then please feel free to explain better in the comments below!!&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Here&amp;#39;s my understanding of the schematic.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A 2:1 mux (multiplexer) is an &amp;quot;if-then-else&amp;quot; expression.&amp;nbsp; It has two data inputs (the 4-bit buses data0x[3..0] and data1x[3..0]) and one select input &amp;quot;sel&amp;quot;.&amp;nbsp; The output (the 4-bit bus result[3..0]) is the data input selected by &amp;quot;sel&amp;quot;: &amp;quot;result = if sel then data1x else data0x&amp;quot;, or if you like C conditional expresions: &amp;quot;result = sel? data1x: data0x&amp;quot;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the schematic, data0 is connected to counter[24..21] and data1 is connected to counter[20..23] (note the bit reversal), in each case extracting 4 consecutive bits from the 32-bit counter[31..0].&amp;nbsp; &amp;quot;sel&amp;quot; is connected to an external push-button KEY[0].&amp;nbsp; The default behavior (KEY[0] = 0) is a 4-bit binary counter in the LEDs.&amp;nbsp; If you press the button (KEY[1] = 1), the order of the four bits reverse (LSb on left versus LSb on right) and the counter speed doubles.&amp;nbsp; Fun demo!&amp;nbsp; It&amp;#39;s not clear from the schematic whether KEY and LEDs are active-high or active-low, and the left-to-right (or top-to-bottom) order of the LEDs.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=3372&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>