Guest
Hi,
I've just started using Xilinx ISE 7.1i and ModelSim (trial license).
I've seen some samples and created a few 7400 logic gates which compile
and I've seen waveforms of the various I/O.
I've can not get my head around wires and drivers. For example how
does one connect three devices together which bidirectional? I mean
say 3 74hc245's? On a drawing I'd just connect the buses together and
come up with combinational logic for the output enable (G) lines and
direction lines.
A -----------o--------------B
|
|
C
The only way I could come up with is a switch statement with lots of
assigns like
A <= B
A <= C
B <= A
B <= C
C <= A
C <= B
GD
I've just started using Xilinx ISE 7.1i and ModelSim (trial license).
I've seen some samples and created a few 7400 logic gates which compile
and I've seen waveforms of the various I/O.
I've can not get my head around wires and drivers. For example how
does one connect three devices together which bidirectional? I mean
say 3 74hc245's? On a drawing I'd just connect the buses together and
come up with combinational logic for the output enable (G) lines and
direction lines.
A -----------o--------------B
|
|
C
The only way I could come up with is a switch statement with lots of
assigns like
A <= B
A <= C
B <= A
B <= C
C <= A
C <= B
GD