Unacceptable Example One - 2022.1 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2022-06-06
Version
2022.1 English

Do not mix blocking and non-blocking assignments to the same signal.

always @(in1)

begin

   if (in2)

      out1 = in1;

 

end else

   out1 <= in2;