[KongchangAI]
Conceptnon-blocking assignment

Non-blocking Assignment

A non-blocking assignment is an assignment form in Verilog used for sequential logic. It uses `<=` and updates all targets uniformly at the end of the time step, avoiding race conditions, and is suitable for describing flip-flop behavior.

Timeline (last 90 days)

Oct 14

In Verilog, blocking assignments (=) execute immediately in the order written within a sequential block, similar to variable assignment in software; non-blocking assignments (<=) are updated uniformly at the end of the time step and are used to describe flip-flop behavior in sequential logic; misusing blocking assignments in an always @(posedge clk) block causes simulation results to be inconsistent with the behavior of the synthesized hardware.

Unverified50%

All Facts (1)

Source Articles