<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using Verilog &#8220;initial&#8221; blocks for FPGA synthesis: Legit? Portable?</title>
	<atom:link href="http://billauer.se/blog/2018/02/verilog-initial-xst-quartus-vivado/feed/" rel="self" type="application/rss+xml" />
	<link>https://billauer.se/blog/2018/02/verilog-initial-xst-quartus-vivado/</link>
	<description>Anything I found worthy to write down.</description>
	<lastBuildDate>Thu, 26 Mar 2026 13:15:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Martoni</title>
		<link>https://billauer.se/blog/2018/02/verilog-initial-xst-quartus-vivado/comment-page-1/#comment-1382</link>
		<dc:creator>Martoni</dc:creator>
		<pubDate>Tue, 27 Nov 2018 08:40:04 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=5391#comment-1382</guid>
		<description>I tested it on Machxo3 with Lattice Synthesis engine, and it doesn&#039;t work:

/* generate reset */
reg [3:0] resetcount;
wire reset = !resetcount[3];
wire resetn = resetcount[3];

initial resetcount = 4&#039;b0;

always@(posedge clock)
    if(reset)
        resetcount = resetcount + 1;

No reset pulse are emitted :(</description>
		<content:encoded><![CDATA[<p>I tested it on Machxo3 with Lattice Synthesis engine, and it doesn&#8217;t work:</p>
<p>/* generate reset */<br />
reg [3:0] resetcount;<br />
wire reset = !resetcount[3];<br />
wire resetn = resetcount[3];</p>
<p>initial resetcount = 4&#8242;b0;</p>
<p>always@(posedge clock)<br />
    if(reset)<br />
        resetcount = resetcount + 1;</p>
<p>No reset pulse are emitted :(</p>
]]></content:encoded>
	</item>
</channel>
</rss>
