← Back to Index
Research & Engineering Archive

DS 1. Introductionto Logic Circuits

By Jingnan Huang · October 02, 2025 · 2560 Words

DS1.IntroductiontoLogicCircuits
#

Last Edit: 10/2/25

计算机中的信息由 Electronic Signals 表示 ,其存在两个 Discrete Values,它们通过 Voltage Levels 电压电平实现,但是称为 Logic Values,0 和 1

2.1 Variables and Functions
#

image.png

image.png

image.png

image.png

Logic Function 逻辑方程
#

$$ L(x_1,x_2,x_3)=(x_1+x_2)+\cdot x_3 $$

2.2 Inversion
#

2.3 Truth Tables
#

image.png

2.4 Logic Gates and Networks
#

image.png

image.png

image.png

2.4.1 Analysis of A logic Network
#

2.4.2 Exclusive OR (XOR) Function
#

这就是家中常见的控制灯的方式,当两个一样的时候灭灯,两个不一样的时候则是亮

image.png

注意这里的 + 是 OR 的意思

image.png

Design Example
#

image.png

image.png

Timing Diagram
#

image.png

2.5 Boolean Algebra
#

image.png

Duality
#

Single Variable Theorems
#

image.png

Two and Three Variable Properties
#

image.png

image.png

2.5.1 Venn Diagram
#

image.png

Ex. Prove x + (yz) = (x + y)(x + z)
#

image.png

2.5.2 Notation and Terminology
#

2.5.3 Precedence of Operations
#

AND 的乘号一般会被省略

2.6 Synthesis Using AND, OR, and NOT Gates
#

2.6.1 Sum-of-Products and Product-of-Sums Forms
#

Minterm
#

Maxterm
#

image.png

Cononical SoP
#

Cononical PoS
#

Duality
#

Ex. Proof of Duality
#

$$ f=(x+\overline y+z)\cdot(x+\overline y + \overline z)\cdot (\overline x+y+z)\cdot (\overline x+y+\overline z) $$

$$ \overline f= \overline xy\overline z+\overline xyz +x \overline y \overline z+x \overline yz $$

$$ \overline{\overline f} = f=\overline{\overline xy\overline z+\overline xyz +x \overline y \overline z+x \overline yz} $$

$$ f=\overline{\overline xy\overline z}\cdot \overline{\overline xyz}\cdot \overline{x\overline y z}\cdot \overline{x \overline y z} $$

$$ f=(x+\overline y +z)\cdot ( x+\overline y + \overline z)\cdot (\overline x+y+\overline z)\cdot(\overline x+y+\overline z) $$