Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

This is digital logic question. I think it's alright to post it here.

I'm trying to implement a 4 to 16 decoder using 2 to 4 decoder and 3 to 8 decoder.

What I did, I used 2x of 2-to-4 decoder and 1x 3-to-8 decoder. But I think there is a mistake in the 3-to-8 part. I hope you could point me out to it.

Here is what I did,

Note that I couldn't continue writing the full table. enter image description here

enter image description here

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Q2 and Q3 will never be active at the same time, so it is useless to route them to the same decoder where one acts as enable.

share|improve this answer
    
So the correct way is to connect Q2 to the 3to8 decoder and that's it? –  Sobiaholic Nov 11 '12 at 20:50
    
No, because the 3-to-8 must be active for A3=1, hence for its EN must be OR( Q2, Q3 ), and its third address input must be A2. Why do you want to use such an asymmetric set of chips? Five 2-to-4 decoders would be a more natural choice (or two 3-to-8 and one 1-to-two). –  Wouter van Ooijen Nov 11 '12 at 21:19
    
@WoutervanOoijen this is a basic digital logic course. It's not my major, but we have to take it. About your suggestion, Yes! I was thinking inputting A2 is more correct than inputting Q2. But I'm still not sure why A2? My answer to my self is because A2 has 4 zeros and 4 ones which makes a new unique combinations. is my thought correct? –  Sobiaholic Nov 11 '12 at 22:55
    
'more correct' is a weird phrase for digital logic! If you write the full logc table you can see that You can see that A3=1 is the condition for the 3-to-8 decoder, and that its output depends on A2. –  Wouter van Ooijen Nov 12 '12 at 7:33
    
Thank you so much @WoutervanOoijen I get it now. I forgot that we're trying to run the 3to8 decoder. And to do that we used both Q3 and Q4 with a sum which makes it enabled. Thanks so much!!!! –  Sobiaholic Nov 13 '12 at 18:21

You can do this with two 3-8 decoders and get by with having to use just two parts of the same type. Common 3-8 decoders come with enables for both high and low polarities to make expansion a piece of cake. Excuse my quick hack drawing.

enter image description here

share|improve this answer
    
I appreciate it. However, this is a basic course i'm taking. So, I'm sure we haven't cover this in class. –  Sobiaholic Nov 13 '12 at 18:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.