Glossary

Blocking and non-blocking assignment

In Verilog, a blocking assignment (=) updates its target immediately, while a non-blocking assignment (<=) schedules the update for the end of the time step. Use non-blocking assignments for registers in clocked blocks and blocking assignments in combinational blocks.

Learn it in depthVerilog and SystemVerilog for synthesisWrite synthesizable Verilog and SystemVerilog: modules, ports, parameters, logic, always_ff and always_comb, blocking vs non-blocking assignment and generate.

Related terms

← All glossary terms