I am tinkering with logic gates preparing for an exam and came across a question that states the following
Construct a common bus system for six registers where each register has five bits.
the expression I got from the truth table was
S2'S1'S0'D0 + S2'S1'S0D1 + S2'S1S0'D2 + S2'S1S0D3 + S2S1'S0'D4
where '
is the complement
the circuit that I constructed looks like
Assuming the design is right, my question is that I have 6 registers and this design relies on one of the (D0-D4) being 1 and the rest is not important. How can this be used to reference 6 registers? What am I missing because I can't grasp the idea behind it?
The registers and their bits
- first
10000
- second
01000
- third
00100
- fourth
00010
- fifth
00001
As far as I can tell there is not sixth register with only one bit being 1
- bottom input bit is the enable
- top three bits are the selectors
- left 5 bits are the register bits