home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / verilog / 480 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.lang.verilog
  2. Path: sparky!uunet!spsgate!mogate!newsgate!usenet
  3. From: rajesh@chdasic.sps.mot.com (Rajesh Patil)
  4. Subject: Re: execution of always blocks
  5. Message-ID: <1992Dec18.174451.11544@newsgate.sps.mot.com>
  6. Sender: usenet@newsgate.sps.mot.com
  7. Nntp-Posting-Host: 223.197.55.105
  8. Reply-To: rajesh@chdasic.sps.mot.com
  9. Organization: Motorola SPS ASIC, Chandler, AZ
  10. References: <13665@optilink.COM>
  11. Date: Fri, 18 Dec 1992 17:44:51 GMT
  12. Lines: 20
  13.  
  14. manley@optilink.COM (Terry Manley) writes:
  15.  
  16. > always @(posedge Clk) c = b;
  17. > always @(posedge Clk) b = a;
  18.  
  19. Verilog does not guarantee the sequence of execution of
  20. multiple procedural blocks such as the always blocks above.
  21. If you have to use two always blocks, you could put
  22. a #0 delay before the procedural assignment that you want
  23. done last. That will make VerilogXL schedule that event
  24. for processing at the end of that timestamp.
  25.  
  26. ---
  27. Rajesh Patil
  28. ----------------------------------------------------------------------
  29. Advanced Product Operations                 rajesh@chdasic.sps.mot.com
  30. Motorola ASIC                               
  31. ----------------------------------------------------------------------
  32.  
  33.  
  34.