sebas
Junior Member level 2

Hi,
What happens to "X" - don't care values during simulation? To understand what I'm saying here's an example:
in a testbench there's the following statement:
then, lines after there's the following test:
(there's no else branch). What's the result of the if (we) test? is we interpreted as 0? what if we had an else branch also?
Thanks
What happens to "X" - don't care values during simulation? To understand what I'm saying here's an example:
in a testbench there's the following statement:
Code:
we = 1'hx;
Code:
if (we) // do something//
Thanks