Altera_Forum
Honored Contributor
7 years agoInterfacing FPGA pins to an external bidirectional bus.
OK I've decided to go with Block Design Files approach to programming a IV Cyclone in Quartus. Seems easier than Verilog from scratch to me. My application has lots of pins but is fairly simple.
There is one catch however, I’m interfacing a number of the FPGA pins to an external bidirectional bus. Straight in & out pins are obvious. For bidirectional I assume I use a symbol alt_outbuf_tri. Under “Symbol Properties/ports it has 3 names i, o, and oe. It’s unclear to me how I access/connect up to the oe port with wires. The oe does not appear in the schematic I assume I somehow raise (or lower) oe before reading in from the FPGA actual pin to inactivate the gates output and do the opposite when writing to the FPGA pin only this time drive the signal through the gate. Can somebody point me to a .bdf file with FPGA pins interfaced to an external bidirectional pin or provide a simple picture. Thanks in advance for helping somebody just getting started.