The Gateway to Computer Science Excellence
+22 votes
  1. Express the function $f(x,y,z) = xy' + yz'$ with only one complement operation and one or more AND/OR operations. Draw the logic circuit implementing the expression obtained, using a single NOT gate and one or more AND/OR gates.
  2. Transform the following logic circuit (without expressing  its switching function) into an equivalent logic circuit that employs only $6$ NAND gates each with $2$-inputs.

in Digital Logic by Veteran
edited by | 2.1k views

4 Answers

+33 votes
Best answer

$f(x,y,z)=xy'+yz' =xy'z'+xy'z+x'yz'+xyz'$




By pairing of $1's$, we get two pairs $(2,6),(4,5)$ resulting in same expression $F= xy'+yz'$

But by pairing of $0's$, we get two pairs $(0,1),(2,7)$, we get $F'= yz+x'y'$

Take complement, $F= \overline{(yz)}.(x+y)$

so we can implement the function with $1$ NOT , $1$ OR and $2$ AND gates.

For the second part , we need to implement given circuit using NANDs only.

so best way is to replace OR with Invert NAND, $A+B = \overline{(\bar A\bar B)}$






by Veteran
edited by
second last diagram is the key
Yes it does but, xy'+xz'+yz' == xy'+yz'
Salute you @praveen sir

sir why it is (0,1),(2,7) while pairing by 0's ?. Is it (0,1),(3,7) and F= xy+y'z' ?

+3 votes

This is answer for part b of this Questions. Drawing the given circuit with 6 NAND gates.

by Boss
edited by
+3 votes
For 1st part make equation using AND and OR

like give  x AND  gate y => to not gate u get x'+ y'

now give x OR gate  y= x+y now do

X' + Y' AND gate (X+Y)= x'y + y'x
by Veteran
We have got three variable, x & y & z !
Where is the variable z?
0 votes
First part of question


(xy'+y). (xy'+z')

(x+y). (xy'+z')

(xy'+x+y). (z'+x+y)

(x+y). (z'+x+y)

1 NOT gate

1 AND gate

2 OR gates
by Active
You applied the distributive law wrongly.

(x+y). (xy'+z') != (xy'+x+y). (z'+x+y).

If possible, then how? Explain.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,218 questions
59,885 answers
118,121 users