Forum Discussion
Altera_Forum
Honored Contributor
10 years agoMapping inout to inout
Is is possible to map inout ports to other inout ports without resolving direction? The use case is for mapping local ports in a hierarchical design for abstraction naming only. I have an eval ...
Altera_Forum
Honored Contributor
10 years agosveinse -
You can definitely do what you want to do, and it sounds like you're well on your way to figuring out a way to do it. For each inout pin you'll have to handle the input and output signals separately internally, as well as an enable for the output buffer. You could then have sub-modules that drive the select lines that control the direction of each pin based on parameter inside the module. It's all very doable.