Electronics Forum

Electronics Circuits & Projects discussion forum. Get help with electronics.


How to Build a 4x16 Decoder Using ONLY two 2x4 decoders ?

New to electronics? Don't know where to start. No problem! Post your questions here.

Moderator: pebe

How to Build a 4x16 Decoder Using ONLY two 2x4 decoders ?

Postby dondon93 » Thu Nov 29, 2012 5:27 pm

Help please , I am new to circuits and decoders and i need some serious help !!

How to build a 4x16 Decoder Using ONLY two 2x4 decoders ?

Following the steps we took in the lecture , we are supposed to build a 4x16 Decoder . So here taking k to be 4 , k is even , so we will have 2^k so 2^4 = 16 AND gates & 2 decoders each of size 2^(k/2) so 2^2 = 4 .

So we have 16 AND gates & two 2x4 decoders. Each 2x4 decoder has 4 AND gates so we have 8 AND gates that should be connected to the 16 AND gates , how do I do that ????

Your help is highly appreciated .
dondon93
 
Posts: 1
Joined: Thu Nov 29, 2012 5:25 pm

Re: How to Build a 4x16 Decoder Using ONLY two 2x4 decoders

Postby WardC » Sat Dec 08, 2012 3:38 am

If we agree that a decoder has 'n' bits or wires of input, and 2^n bits or wires of output,

then a 2x4 has 2 inputs and 4 outputs.

Two of them have 4 inputs and 8 outputs.

If you need 4 inputs and 16 outputs, the question must allow more than just the qty 2, 2x4 decoders, for that isn't even enough PINS to have 16 outputs (which a 4x16 decoder would have).

you mention "the lecture" but not the process. 16 and gates ... doesn't make sense.

A single 2 x 4 decoder cannot be made with and gates. This is because you have to do "not".

assuming the outputs are 0, 1, 2, 3, corresponding to inputs like binary numbers of 00, 01, 10, 11,
then output 3 is (input 1) and (input 2)
but all others require a not or nand:
output 0 = (not input 1) and (not input 2)
output 1 = (input 1) and (not input 2)
output 2 = (not input 1) and (input 2)

If there is some magic trick to doing it (such as if enough time has passed since posting that you got the answer elsewhere) please reply. Thanks!
WardC
 
Posts: 3
Joined: Sat Dec 08, 2012 3:16 am


Return to Electronics newbies



Who is online

Users browsing this forum: No registered users and 1 guest

10pcs 1N4007 Rectifier Diode 1A 1000V - US Seller
$1.80
10pcs  1N4007 Rectifier Diode 1A 1000V - US Seller  picture5/10PC Diode Bridge Rectifier KBPC5010 50A 1000V Power Rectifier Diode KBPC 5010
$9.55
5/10PC Diode Bridge Rectifier KBPC5010 50A 1000V Power Rectifier Diode KBPC 5010 picture4 Terminals Single-Phase Diode Bridge Rectifier MDQ 100A Amp High Power 1600V
$11.95
4 Terminals Single-Phase Diode Bridge Rectifier MDQ 100A Amp High Power 1600V pictureMDQ400A Rectifier Diode, 1 Pcs Bridge Rectifier 400A 1600V Diodes, Black
$48.68
MDQ400A Rectifier Diode, 1 Pcs Bridge Rectifier 400A 1600V Diodes, Black picture


cron