Implementing f(w3, w2, w1) using 74LS138 and NAND gate(s)

  • Thread starter Thread starter Illogic
  • Start date Start date
  • Tags Tags
    Decoder
AI Thread Summary
The discussion focuses on implementing the function f(w3, w2, w1) = ∑m(0, 1, 3, 4, 6) using a 74LS138 decoder and NAND gates. The user expresses confusion about the implementation process, despite reducing the function. Key advice includes utilizing the 74LS138 to select outputs corresponding to the function's minterms and then ORing these outputs to achieve the desired result. Additionally, considering the complement of the function may simplify the implementation if fewer terms are involved. The conversation emphasizes understanding the decoder's operation and how to manipulate its outputs effectively.
Illogic
Messages
1
Reaction score
0

Homework Statement


I'm doing some review for an exam this week. this problem was on the review sheet, but we did not cover any examples like it during lecture. The problem is:

Show how to implement the function f(w3, w2, w1) = ∑m(0, 1, 3, 4, 6). Use a 74LS138 and NAND gate(s)

Homework Equations

The Attempt at a Solution


I think I'm just not understanding what's being asked and this is far more simple than I'm making it. I reduced the function to !w3(NAND(!w1w2) + w3(!w1), I'm just not seeing the method to implement it using the 74ls138. Any advice as to the method to do this? I don't need the exact answer, just the path I need to take to solve this. Thanks.
 
Physics news on Phys.org
The 74LS138 is a decoder. The three bits of input select one of eight outputs. You can just pick off the terms that match whatever function you're interested in. Then it's up to you to effectively OR them to yield a "1" when any of the selected terms are "hit" by the inputs. Note that it is sometimes better to select for the complement f the function if the number of terms is fewer.
 
Back
Top