Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUsually designers use bidirectional signals on pins and not internally.
input state: Your testbench should drive these pins when they are inputs to your DUT. Here your DUT can read them but should apply tristate(Z) i.e.cutoff logic. output state: Your DUT should drive them when they are outputs. testbench can read them. The io blocks have tristate buffer that is switched off if Z applied. Internally no such buffer exists but can be emulated in logic but as mentioned, there is no need to use them internally.