Title: ?????? ??????
1?????? ?????? Registers Counters
- ?????? ????????? ??????? ?????? ??????, ????????
????????. - ?? ??????? ?? ??????? ??? ?????? ????? ??????
???? ???? ????? (???? ????? ?????). - ??????? ???? ??????
- ????? ?????, ?????, ???????
- ????? ????? ??????
- ????? ????, ???
- ?????? ??????? ??????? ??????? ??????? ?????.
- CPU
ALU
CU
Arithmetic Logic Unit
Control Unit
2???? 4-bit ?? ????? ???????
- ???? ?????
- ?? ????? ?? ??? ??????
3????? ????? SRFF
LOAD 0 - ??? ????? ??? LOAD 1 - ????? CLEAR
0 - ????? ?????????
???? 4-bit ?? ????? ??????? ??? ????
4????? ??????? ?? ???? -????? ????? DFF
5????? ???? ????? ?"? ??????
CP
??? ???? ???
??????
???? ??????
??????
load 1
clear 1
- ????? ???? ?"???? ???"
- ????? ??????? ???? ????? ????? ?"?
- ?????? ?????
- ?????? ????????? (Mux, Decoder, etc.)
- ?????? ?????? (ROM)
- LOAD ?- CLEAR ?????? ?? ???? ????? ??????? ??
?????
6?????
- ??? ????? ??? B, A
- ????? ????? X.
- ????? ????? Y.
???? ??????
????? ????? ????? ??? ??? ?????
A B X A B Y
0 0 0 0 0 0 0
1 0 0 1 0 1 0
2 0 1 0 0 1 0
3 0 1 1 0 0 1
4 1 0 0 1 0 0
5 1 0 1 0 1 0
6 1 1 0 1 1 0
7 1 1 1 0 0 1
7????? ????? ???? ?? 4 ???
A
D1
B
D2
D3
?? ??????
Y
D4
L1 C1
X
8????? ???? - Shift Registers
????? ?????
????? ?????
???? ?????
???? ?????
????? ?????
????? ?????
???? ?????? ?????
???? ?????? ?????
- ???????
- ?????/??????? ??????
- ????? (????????) ?????? ??????
- ??????...
9????? ???? - ????? ????
???? ???? ?? 4 ?????
10Serial Shift Register with Parallel Load
110 0
0 1
0 0
0 1
0 0
0 1
Serial Input forRIGHT Shift
12Serial Input for LEFT Shift
1 1
1 0
1 1
1 0
1 1
1 0
13????? ???? ?"? ????? ????
??? ????
SO
SI
SR-A
FA
S
X
OP
cp
CP
Y
????? ???????
Z
C
SI
SR-B
FF
Q
D
OP
SO
cp
clear
- ??? ?????? ????? ??????? (1).
- DFF ???? ?? ?- Carry ????? ?????.
- ?? ???? ?? ?- DFF ???? ????? ??????.
- ????? ??????.
- ???? ????? ????? ??????.
14????? - Counters
- ?????? ??????? ??????? ??? ???? ????? ????? ????.
- ???? ?? ???? ?????? ?????? ?????.
- ????? ???? 3 ?????? ????????
000
111
001
- ??? ?????? ???????
- ???? ????? ?? ???? ????
- ?????? ????? ????? ?????
110
010
101
011
100
15???? 3 ??? ????? ????? TFF
- ???? ????? ???????? ???? ?????? ? TFF ????
??????? ??????? ??? ????? ???.
???? ????? ???? ???? 3 ??? ??????
???? ????? ???? ????? ???? ????? ?????? FF ?????? FF ?????? FF
X3 X2 X1 TX3 TX2 TX1
0 0 0 0 0 1
0 0 1 0 1 1
0 1 0 0 0 1
0 1 1 1 1 1
1 0 0 0 0 1
1 0 1 0 1 1
1 1 0 0 0 1
1 1 1 1 1 1
16X3
1 1
1 1
X2
X3
X1
1 1
X2
X1
?????????? - ???? ???? ?????? ?? i ??????
Count Pulse
TX1
TX2
TX3
T
T
T
TX1
TX3
TX21
Q
Q
Q
X2
X3
X1
1
O1
O2
O3
????? ???????
17???? ???? ????? ???
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 1 1 1
1 1 1 0
1 1 0 1
1 1 0 0
1 0 1 1
1 0 1 0
1 0 0 1
1 0 0 0
0 1 1 1
0 1 1 0
Count Down ?????? 1 ? 0 ?? 0 ? 1 ??????? ???? ??
?????? ????? ??? 000
Count Up ?????? 1 ? 0 ?? 0 ? 1 ??????? ???? ??
?????? ????? ??? 111
18???? ????/???
???? ????
???? ???
????? ????? ??????? ???????
T1 1 Ti Ti-1?Qi-1 ???? ???? Ti
Ti-1?Q'i-1 ???? ???
19Up Counter
20Down Counter
21Up-Down Counter
00 - ???? ???? 10 - ???? ???? 01 - ???? ??? 11 -
???
22???? ???? ????? ????? JKFF
000?001 ?010 ?100 ?101 ?110
???? ????? ???? ????? ???? ????? ???? ????? ?????? ? - FF ?????? ? - FF ?????? ? - FF ?????? ? - FF ?????? ? - FF ?????? ? - FF
A B B C JA KA JB KB JC KC
0 0 0 0 0 ? 0 ? 1 ?
0 0 0 1 0 ? 1 ? ? 1
0 1 1 0 1 ? ? 1 0 ?
1 0 0 0 ? 0 0 ? 1 ?
1 0 0 1 ? 0 1 ? ? 1
1 1 1 0 ? 1 ? 1 0 ?
?? ?????
23?????
B
00 01 11 10
0 0 0 ? 1
1 ? ? ? ?
JA
A
C
JA B KA B
B
00 01 11 10
0 ? ? ? ?
1 0 0 ? 1
KA
A
JB C KB 1 JC B KC 1
C
C
B
A
Q
Q
Q
Q
Q
Q
J
K
J
K
J
K
cp
1
1
24??????? ?????
000
111
110
001
101
010
100
011
??? JA JB JC KA KB KC
011 1 1 0 1 1 1
111 1 1 0 1 1 1
100
000
25????? ?????
Reset - ????? CP LOAD COUNT ???????/ ?????
0 ? ? ? ???
1 ? 0 0 ??? ?????
1 ? 1 ? ??? ??????
1 ? 0 1 ??? (???? ???? ??????? ???)
Reset
Load
R
L
Count
Clock Pulse
C
CP
????? ?? ????n modulo
- ????? ?? ????? ???? X
- ????? ????? ?? ??? Xn-1
- ???? Xn-1 ????? ?????? ?????? ?? ?????? ?? ?????
26????? ???? ?????? 6
1
3 2 1 0
???? 1
R
L
0?1 ?2 ?3 ?4 ?5
Clock
1
C
CP
3 2 1 0
0
1
3 2 1 0
???? 2
R
L
3 ?4 ?5 ?6 ?7 ?8
1
Clock
C
CP
3 2 1 0
0 0 1 1
6
0?1 ?2 ?3 ?4 ?5
0
3 2 1 0
R
L
???? 3 (???? ??????)
Clock
1
C
CP
3 2 1 0
??? ?????
27????? ???? 2
Load 3
Load 3
M 3 4 5 6 7
8 3 ...
S 8 3 4 5 6
7 8 3 ...
- ????? ?? ????? ???? 3
- ????? ????? ?? ??? 36-18
- ???? 8 ????? ?????? ?????? ?? ?????
- ????? ????? 3 .. 8
28????? ???? 3
Direct Preset M?0 S?0
Master Count-up 5 ? 6
M 5 6 0 1
...
S 5 6 0
1 ...
Slave Count-up Ends 5 ? 6