You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the Vivado simulator outputs "x" when "x" is multiplied by "0". For that reason, we might want to have mul_real check for that condition and output "0" if either input is zero, e.g.
assign prod = ((a ==0) || (b ==0)) ? 0 : (a * b);
This can otherwise cause x's to propagate during some startup scenarios.
The text was updated successfully, but these errors were encountered:
Looks like the Vivado simulator outputs "x" when "x" is multiplied by "0". For that reason, we might want to have
mul_real
check for that condition and output "0" if either input is zero, e.g.This can otherwise cause x's to propagate during some startup scenarios.
The text was updated successfully, but these errors were encountered: