Forum Discussion
Altera_Forum
Honored Contributor
11 years agoBidirectional bus - noob question
Sorry if this is a basic misunderstanding, but I'm just learning FPGAs (I did electronics at university, but that was 20+ years ago). I've got the Cyclone II dev kit, and I'm trying to set it u...
Altera_Forum
Honored Contributor
11 years agoYou'll need a mux to send data back to the CPU as it will be coming back from several sources.
As for HDL - pick one of either VHDL or Verilog. AHDL is old, cannot be simulated and is not portable (and altera would rather you use VHDL or verilog). Tri states are only available on the pins. You can use tri states in your code but the synthesisor will convert them to muxes, so best try and model what actually will be placed.