IBM interview question

Describe the difference between block and non-blocking verilog statements.

Interview Answer

Anonymous

18 May 2015

blocking: LHS is updated immediately and the next assignment has the new value. Non-blocking: LHS is updated at the end of the block. The LHS at the following assignment is assigned with old value