Verilog Blocking & Non- blocking statements
Verilog Blocking statements.
Blocking statements are declared using ‘=’ operator. For these statements the registers are updated only when the previous assignment is updated. All the events in this case statements happens only in one sequence.
Example -
Example - Counters are extensively used in synchronous RTL. In current implementation, its used for keeping track of packets.
Check the complete usage of the counter code in the test bench example.