Forum Discussion
Altera_Forum
Honored Contributor
15 years agoAre you forcing the output from the testbench or inside the entity?
For the answer you want, add this to the testbench: error <= '1' when to_X01(forced_output) = 'X' else '0'; the to_X01 function will mean 'U', 'W', 'Z' and '-' are converted to 'X' too.