256 bit decoder
There is really only one way to do this assuming your decoder is standard and has 3 select pins and one enable pin.
Work backwards and start with the output. You will need 32 decoders to
produce 256 outputs. Each of these decoders will use 3 bits of your 8
bit input, say I0,I1 and I2.
Next you will need to control the enable pins of your 32 decoders. For
this you will need 4 more decoders. Each of these decoders will use 3
more bits of your 8 bit input, I3, I4 and I5. The outputs of these 4
decoders will give you 32 enable controls.
Finally you will need to control the enable pins of your group of 4
decoders. For this you will need 1 more decoder. This decoder will use
the last 2 bits of your 8 bit input, I6 and I7 and the third input
selector for this decoder will just be grounded. The outputs of this
decoder will give you 4 outputs which will control the enable pins in
the group of 4 decoders.
You will need to check how your enable pin works. It may set all the
outputs to 0 which is what you want. If it tri-states the outputs, then
you will have to add pull-down resistors if you're using CMOS logic. If
so you can use the resistor packs that have 8 resistors in a dil
package.
1 members found this post helpful.