Forum Discussion
Altera_Forum
Honored Contributor
9 years agoBi Directional pins
Hello all I am trying to utilize bi-directional ports of the inout type for the first time. I found the following code on the Altera website. https://www.altera.com/support/support-resources/...
Altera_Forum
Honored Contributor
9 years agoYou don't drive the entity correctly. Show your test bench.
Notice that the register signals a and b are uninitialized in the simulation. In real hardware, they are usually cleared by power-on-reset. Adding initializer expressions for the signals would better correspond to hardware behavior.