Number System

Decimal, binary, octal, hexadecimal (how to transfer)

Logic Operation

and or not nand(与非) nor(或非) xor(异或)

Boolean Function

Y=AB+AB+BC+ACY=A\overline B+\overline AB+\overline B\overline C+AC

Karnaugh Map

simplify the Boolean function.

A\BC00011110
0111
1111

Adjacent 2 ‘1’ can be merged

result is not only.

both AC+AB+BC\overline A\overline C+A\overline B+BC and AB+AC+BC\overline AB+AC+\overline B\overline C are correct.

SR Latch

aka Set-reset Latch. detail

SDS_DRDR_Dstate(determined by Q)
101
010
00keep the state unchanged

JK flip-flop

synchronous timing circuit. vending machines. detail

Qnext=JQ+KQQ_{next}=J\overline Q+\overline KQ

Characteristic Table

JKCommentQnext
00Hold stateQ
01Reset0
10Set1
11ToggleQ

Excitation Table

QQnextCommentJK
00No change0X
01Set1X
10ResetX1
11No changeX0