Home / Learn Verilog / Blocking Assignment =
Blocking Assignment =
Executes immediately, in order.
In shortExecutes immediately, in order.
What's actually going on
In plain terms
With = the next statement waits until the assignment finishes.
Why we use it
Right for combinational logic and testbench code.
Under the hood
Order of statements matters.
Real-world use
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Blocking chainVerilog: edit and run
Each line sees the result of the one before.
Quick quiz
1. = executes...
Blocking.