home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.verilog
- Path: 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
-
- 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
- ----------------------------------------------------------------------
-
-
-