🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.verilog
Article #155

Re: execution of always blocks

#155
From: Rajesh Patil
Date: Fri, 18 Dec 1992 17:44
18 lines
1200 bytes
manley@optilink.COM (Terry Manley) writes:

> always @(posedge Clk) c = b;
> always @(posedge Clk) b = a;

Verilog does not guarantee the sequence of execution of
multiple procedural blocks such as the always blocks above.
If you have to use two always blocks, you could put
a #0 delay before the procedural assignment that you want
done last. That will make VerilogXL schedule that event
for processing at the end of that timestamp.

---
Rajesh Patil
----------------------------------------------------------------------
Advanced Product Operations                 rajesh@chdasic.sps.mot.com
Motorola ASIC                               
----------------------------------------------------------------------
Technical Details
Message-ID: <1992Dec18.174451.11544@newsgate.sps.mot.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spsgate!mogate!newsgate!usenet
References: <13665@optilink.COM>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.verilog
Path: arc1-ca.pugleaf.net!sparky!uunet!spsgate!mogate!newsgate!usenet
From: rajesh@chdasic.sps.mot.com (Rajesh Patil)
Subject: Re: execution of always blocks
Message-ID: <1992Dec18.174451.11544@newsgate.sps.mot.com>
Sender: usenet@newsgate.sps.mot.com
Nntp-Posting-Host: 223.197.55.105
Reply-To: rajesh@chdasic.sps.mot.com
Organization: Motorola SPS ASIC, Chandler, AZ
References: <13665@optilink.COM>
Date: Fri, 18 Dec 1992 17:44:51 GMT
Lines: 20