Altera_Forum
Honored Contributor
8 years agoTri-State BiDirectional Pin MAX10
All, Since I am trying to port some older schematic files to the MAX10. I have found out it isn't just a recompile (it doesn't like Alt_IOBUFs or ALT_OUTBUF_TRIs).
It was suggested to me from this Forum to migrate to Verilog.... so.... I was having errors with Tri-state pins and BiDirectional Tri-state pins. It seems like I have managed to get the Tri-State issues worked out in Verilog, but am not sure how to approach the Tri-State BiDirectional pins. Here is a drawing of how the older Quartus 9 implemented the Tri-State BiDirectional pins (Mega Function Alt_OIBUF). https://alteraforum.com/forum/attachment.php?attachmentid=13446&stc=1 Since I am working with a MAX10, I have jumped to Quartus 16 (another somewhat learning curve. Definitely "DO NOT" like the User Friendliless of ModelSim, the older version Simulator Tool was a lot easier to use.... at least for all my older designs) anyway.... Here is what I am "thinking" the way it should work. When EN = 1 Green inout (out) = Blue In Purple out = Blue In When EN = 0 Purple out = Green inout (in) Blue (output) = "Z" This is where I get confused. How do I get the output of the "Blue input" to be high Z while still letting the Purple out to be able to see the inout? Any ideas to help me along? Thanks, Keith