Altera_Forum
Honored Contributor
19 years agoHelp with Bi-directional Bus
I need some help in creating a bi-directional bus in a .bdf that links to a TI DSP board. I have logic that creates data that is read by the DSP and I write data to the FPGA from the DSP using the TI EMIF standard. I create bi-dir pins that are assigned to the TI EMIF data pins. There is FPGA logic that creates the data to be read by the DSP, and I create an output pin to simply monitor the data on a logic analyzer. So, the output pins should see both the data written by the logic and the data written by the DSP.
It looks like this: Logic -------- A ----------------------- Bi-dir Pins | |---------B----------- Output Pins (Ooops, this text diagram isn't coming out right on the post. The line containing B is connected AFTER element A.) Elements A and B have been every combination of: nothing (straight wire), WIRE primitive, or TRI primitive tied high. The DSP read operation (data generated by Logic) always works, but nothing ever appears on the output pins when the DSP writes unless I disconnect the Logic by removing A. I have had success with reading and writing with the DSP on dedicated input or output pins, so I don't think it is an issue from the DSP side (???). I am having bi-directional trouble. Can anyone lend some advice??