Blocking Procedural Assignment Syntax Example Two (Alternate) - Blocking Procedural Assignment Syntax Example Two (Alternate) - 2026.1 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2026-07-08
Version
2026.1 English
if (in1) out = 1'b0;
else out = in2;

This assignment blocks the current process from continuing to execute additional statements at the same time, and is used mainly in simulation.

For more information regarding Verilog format for Vivado simulation, see Vivado Design Suite User Guide: Logic Simulation (UG900).