On Feb 6, 8:42 am, Chris Maryan <kmar
...@gmail.com> wrote:
> Moreover, why do you care about the details of the output of an adder with an X input?
> Chris
Because the actual behavior of the HW is implementation dependent, the
RTL operator does not attempt to define its behavior for inputs
containing meta-values, beyond the whole result being 'unknown'.
To compare the results, I would take the RTL outputs, run them through
a 'X' to '-' ('unknown' to 'dont care') conversion (probably need to
write your own function), and then use std_match() to compare the RTL
vs gate level outputs.
This in effect says that for verification, if the output of the RTL is
not known, then the output of the gate level sim is of no consequence.
Andy