Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCreating a bidirectional bus
I want to connect a USB chip (FT245R) to a CPLD. To do that I need a bidirectional 8-bit bus. I thought I could declare the pins to be bidirectional and with a mux, read to or write from the pins as ...
Altera_Forum
Honored Contributor
14 years agoinout port bidir can be either a wire set by an assign statement or a reg set in the sequential code, but not both at a time.
I'm under the impression that you are overcomplicating a basically simple thing.