John-Monahan
New Contributor
7 years agoHow to interface with bidirectional pins from an internal data bus in a .bdf file
Clearly i'm a newbie, but I'm really stuck with what is I'm sure a simple problem.
I am using a .bdf to code a Cyclone IV FPGA using Quartus Lite v18.
I have a circuit with an "internal" 8 bit data bus which I need to bring out to 8 FPGA bidirectional pins. If I draw for example DATA_BUS[0] connected to a BDIR pin no problem. However if I connect another gate to this DATA_BUS[0] I get an error saying DATA_BUS[0] can only be assigned one value. I thought the use of a data bus is that various gates can interface with it. The actual interface is a data latch with its one ENA.
How does one get around this. I tried all kinds of approaches. The only thing that worked was a MUX with two outputs. I attaching a simple example here