How to Construct Basic Logic Gates from Nand Gate Using Bool Algebra

来源:互联网 发布:客户端软件开发 编辑:程序博客网 时间:2024/06/05 08:02

Nand Gate

(ab)’

Not Gate

a’ = (aa)’  

Or Gate

Step 1: (a + b) = ((a + b)’)’ = (a’b’)’ = ((aa)’(bb)’)’

Step 2: A = (aa)’,B =(bb)’

Step 3: (a+b) = (AB)’

And Gate

Step 1: ab = ((ab)’)’

Step 2: A = (ab)’

Step 3: ab = (A)’ = (AA)’

Bool Algebra Laws

Idempotency theorem:

x+x=x

xx=x

 

DeMorgan’s theorem:

(xy)’=x’+y’     

(x+y)’ = x’y’