<?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>FPGA Design Guide Pt3</title><link>/technologies/fpga-group/b/blog/posts/fpga-design-guide-pt3</link><description>So over the last few months if you have been following my FPGA Design guide you will see that I have first blocked out the chucks of logic I needed, then last time I showed you the code used to get my first part of the temperature display working. Ho</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: FPGA Design Guide Pt3</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/fpga-design-guide-pt3</link><pubDate>Sat, 17 Mar 2012 12:19:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5534a30f-2e24-4d57-ac97-cbdf057340f2</guid><dc:creator>michaelkellett</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Paul - I&amp;#39;m baffled - have you tested counter_30bit ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You define:&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:normal;"&gt;signal cnt_r : std_logic_vector(29 downto 0) := (others=&amp;gt;&amp;#39;0&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:normal;"&gt;then later you have:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:normal;"&gt;cnt_r &amp;lt;= cnt_r + 1;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:normal;"&gt;But the + operator is not defined for std_logic_vector so it won&amp;#39;t compile.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:normal;"&gt;Michael Kellett&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=13710&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>