Professional Documents
Culture Documents
EE 271 Digital Circuits and Systems: Faculty of Advanced Science and Technology
EE 271 Digital Circuits and Systems: Faculty of Advanced Science and Technology
LATCH/FLIP FLOP
(FF)
2
2
Faculty of Advanced Science and Technology
Sequential switching circuits have the property that the output depends not only on
the present input but also on the past sequence of inputs. In effect, these circuits
must be able to “remember” something about the past history of the inputs in order
to produce the present output. Latches and flip-flops are commonly used memory
devices in sequential circuits. Basically, latches and flip-flops are memory devices
which can assume one of two stable output states and which have one or more
inputs that can cause the output state to change.
3
Faculty of Advanced Science and Technology
Logic Gate
- Combinational circuits using NOT, AND, OR,
NAND, NOR, XOR, XNOR
Latch/Flip-Flop
• Sequential circuits
- RS, T, D, JK
4
4
Faculty of Advanced Science and Technology
Preset (Pr)
- Pr active then Q =1 , do not care all the inputs
Clear (Clr hoặc Cl)
Clr active then Q = 0, do not care all the inputs
• Pr và Clr có thể tích cực mức 0 hay mức 1
• Reading more in 7.4.3 page 395, Brown 3rd Edition
6
6
Faculty of Advanced Science and Technology
7
Faculty of Advanced Science and Technology
8
Faculty of Advanced Science and Technology
9
9
Faculty of Advanced Science and Technology
Master - Slaver
When C is 1, the data was put into Master FF, and when C
is 0, the date is out of Slaver FF
10
Faculty of Advanced Science and Technology
11
11
Faculty of Advanced Science and Technology
Trailing edge
12
12
Faculty of Advanced Science and Technology
b. Leading edge
13
13
Faculty of Advanced Science and Technology
• RS FF (Reset Set)
• TFF (Toggle)
• DFF (Data/Delay)
• JKFF (replace for RSFF and repair the X
status of RSFF: J S, K R)
14
14
Faculty of Advanced Science and Technology
FF: Q0 = 0
15
15
Faculty of Advanced Science and Technology
Triger input
16
16
Faculty of Advanced Science and Technology
TFF
17
17
Faculty of Advanced Science and Technology
TFF
Q0 = 0
18
18
Giả thiết
Faculty of Advanced Science and Technology
trạng thái
ban đầu
Q0=0
20
20
Faculty of Advanced Science and Technology
If you prefer, instead, to get a divider other than the power of 2. How? If a divider to 5.
How many TFF we need
21
Faculty of Advanced Science and Technology
22
Faculty of Advanced Science and Technology
23
Faculty of Advanced Science and Technology
ASYNCHRONOUS COUNTERS
24
Faculty of Advanced Science and Technology
SYNCHRONOUS COUNTERS
25
Faculty of Advanced Science and Technology
D (“data” or “delay”)
26
Faculty of Advanced Science and Technology
D (“data” or “delay”)
27
27
Faculty of Advanced Science and Technology
28
28
Faculty of Advanced Science and Technology
• Freq. Divider
29
Faculty of Advanced Science and Technology
JKFF
30
30
GiảFaculty
thiết: JKFF có xung Ck tích
of Advanced Science and Technology
Giữ
nguyên
trạng thái
JKFF others FF
32
32
Faculty of Advanced Science and Technology
33
33
Faculty of Advanced Science and Technology
34
Faculty of Advanced Science and Technology
35
Faculty of Advanced Science and Technology
36
Faculty of Advanced Science and Technology
37
Faculty of Advanced Science and Technology
38
Faculty of Advanced Science and Technology
39
Faculty of Advanced Science and Technology
40
Faculty of Advanced Science and Technology
RS FFJKFF
41
Faculty of Advanced Science and Technology
42
Faculty of Advanced Science and Technology
43
Faculty of Advanced Science and Technology
44
Faculty of Advanced Science and Technology
45