Unacceptable Example One - 2023.1 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2023-06-09
Version
2023.1 English

Do not mix blocking and non-blocking assignments for different bits of the same signal.

always @(in1)
begin
if (in2)
out1 = in1;

end else
out1 <= in2;