Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

74154 4 line to 16 line decoder

  1. Oct 22, 2006 #1
    Hi.. my HW question reads:

    Design a circuitboard based on a 74154 4 line to 16 line decoder that will output a HIGH henever the 4 bit binary is greater than 12 and output a low when it is less than 12 or equal to 12.


    I have the IC drawn on my paper, and what I have done is for the inputs from 13-15, I have it going to an NAND gate.

    so if one of those inputs is an active LOW input, then once gates 13, 14, 15 go through the NAND with the values 0, 1, 1, (respectively), it will output a "1" or "HIGH"... Now, for gates 0 - 12... I'm using a NOR gate.

    Now, I connect the NAND gate and the NOR gate into a XOR gate.

    Brief recap: gates 13-15 go into a NAND. That output goes into one input for an XOR. Then gates 0-12 go into a NOR. Then that output goes into one input for the same XOR as above.
    Last edited: Oct 22, 2006
  2. jcsd
  3. Oct 23, 2006 #2


    User Avatar

    Staff: Mentor

    I'm not sure that I understand your solution. The outputs of the 4:16 demux represent the count of the input lines, right? So if you want to output a 0 when the input count is 12 or more, what can you put on lines 12-15 to output a 0 if any input is a 1, and output a 0 otherwise?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?