"===" does a direct comparison on 0,1,Z,X, which is not the intended behaviour for synthesis.
(But this would be good for verification, where we may expect Z or X on some inputs)
Instead, use "==" which returns X if an operand is X or Z, which matches synthesis behaviour.
"===" does a direct comparison on 0,1,Z,X, which is not the intended behaviour for synthesis. (But this would be good for verification, where we may expect Z or X on some inputs) Instead, use "==" which returns X if an operand is X or Z, which matches synthesis behaviour.