| Login | | Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name. | |
| Who's Online | There are currently, 51 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here | |
 | |
|
Verification Guild: Forums |
|
| View previous topic :: View next topic |
| Author |
Message |
Newsletter Original Contribution

Joined: Dec 08, 2003 Posts: 1107
|
Posted: Wed Dec 17, 2003 5:49 pm Post subject: Want to know more about Verilog race conditions |
|
|
Originally from Issue 4.19, Item 6.0)
From: Venkat V
I would like to know more aboutt race conditions in verilog. What ever you explained in your book with the example of incrementing a counter in one loop and displaying in other loop is not clear to me.
Can you please expand in more details? |
|
| Back to top |
|
 |
RobertClark Newbie


Joined: Jan 11, 2004 Posts: 2 Location: Santa Clara, CA
|
Posted: Sun Jan 11, 2004 4:26 pm Post subject: |
|
|
Here is a link to Verilog Race condition descriptions:
http://www.parmita.com/verilogcenter/titbits.html
The text bellow is from Cliiff Cummings of Sunburst Design "refrigerator magnet".
http://www.sunburst-design.com/
Rules to avoid Verilog race conditions:
Guideline #1: Sequential logic - use nonblocking assignments
Guideline #2: Latches - use nonblocking assignments
Guideline #3: Combinational logic in an always block - use blocking assignments
Guideline #4: Mixed sequential and combinational logic in the same always block - use nonblocking assignments
Guideline #5: Do not mix blocking and nonblocking assignments in the same always block
Guideline #6: Do not make assignments to the same variable from more than one always block
Guideline #7: Use $strobe to display values that have been assigned using nonblocking assignments
Guideline #8: Do not make #0 procedural assignments
[/url] |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|