Bộ nhớ điện số

From testwiki
Jump to navigation Jump to search

Tạo từ mạch điện của 2 NAND hay 2 NOR có 2 trạng thái ổn

Bộ nhớ trạng thái NAND

SR latch operation
S R Action
0 1 Q = 1
1 0 Q = 0
1 1 Previous state

Bộ nhớ trạng thái NOR

SR latch operation
S R Action
0 1 Q = 1
1 0 Q = 0
1 1 Keep state
Enable S R Q Template:Overline
0 0 0 Latch
0 0 1 Latch
0 1 0 Latch
0 1 1 Latch
1 0 0 Latch
1 0 1 0 1
1 1 0 1 0
1 1 1 Metastable

Enable D Q Template:Overline
0 0 Latch
0 1 Latch
1 0 0 1
1 1 1 0
Qnext=TQ=TQ+TQ

and can be described either of the following tables:

A circuit symbol for a T-type flip-flop: T is the toggle input and Q is the stored data output.

Characteristic table
T Q Qnext Comment
0 0 0 Hold state
0 1 1
1 0 1 Toggle
1 1 0
Excitation table
Q Qnext T
0 0 0
0 1 1
1 0 1
1 1 0
Symbol for a JK flip-flop
Characteristic table
J K Qnext Comment
0 0 Qprev Hold state
0 1 0 Reset
1 0 1 Set
1 1 Template:Overlineprev Toggle
Excitation table
Q Qnext J K Comment
0 0 0 X Hold state
0 1 1 X Set
1 0 X 1 Reset
1 1 X 0 Hold state