??????????????? - PowerPoint PPT Presentation

1 / 68
About This Presentation
Title:

???????????????

Description:

Title: Author: hjj Last modified by *** Created Date: 1/14/2000 2:06:52 PM Document presentation format – PowerPoint PPT presentation

Number of Views:8
Avg rating:3.0/5.0
Slides: 69
Provided by: hjj
Category:
Tags:

less

Transcript and Presenter's Notes

Title: ???????????????


1
??? ????????????
  • ??? ???
  • ??? ???
  • ??? ??????
  • ??? ???????
  • ??

2
??? ???
??????????
  • ??????

?????
  • ?????,???????????
  • ????,???2??10????????
  • ?????,??????????????
  • ????,???????????????

3
??? ???
  • ?????????

4
??? ???
  • ??????????
  • ??????????
  • ????????

5
????????????
(?) ??????????74161
(?) ??????????74163
(?) 74161/74163????
6
(?)??????????74161
???????JK???????????
????
CTP?CTT??????????????
?Q3 Q2 Q1 Q01111 ?,?CTT??1?,
?????CO????????
???LD?????,????????,???CP????,???????????
??????
74161
R
LD
CO
CO
CO
CTT
CTP
CP
???????CP???
CP
D0 D1 D2 D3
Q0 Q1 Q2 Q3
?CP???, ??CTT?CTP ???,????1???
7
(?)??????????74161
74161?????????
74161???
8
(?)??????????74161
?VHDL??74161
CP??????
????IQ?????????????????Q,??????????????????

LIBRARY IEEE USE IEEE.std_logic_1164.all USE
IEEE.std_logic_arith.all ENTITY v74LS161 IS
PORT (CP,CR_L,LD_L,CTP,CTTIN STD_LOGIC
DIN UNSIGNED (3 DOWNTO 0) QOUT
UNSIGNED (3 DOWNTO 0) COOUT
STD_LOGIC) END v74LS161 ARCHITECTURE
v74LS161_arch OF v74LS161 IS SIGNAL IQ
UNSIGNED (3 DOWNTO 0) BEGIN PROCESS
(CP,CTT,CR_L)
BEGIN IF CR_L0 THEN IQ lt (OTHERS gt
0) END IF IF (CPEVENT AND
CP1) THEN IF LD_L0 THEN IQ lt D
ELSIF (CTT AND CTP)1 THEN IQ lt IQ1
END IF IF (IQ15) AND (CTT1) THEN
CO lt 1 ELSE CO lt 0 END
IF END IF Q ltIQ END
PROCESS END v74LS161_arch
CR_L??????????????
9
(?)??????????74163
74161???
74163???
??
(1)?????? 74161???
?
(2)??,??,?????74161???
(3)?????74161???
10
????????????
???? ?? ??
???? ?? ??
???? ????
11
(?)74161/ 74163????
??????M ????
(1) ?????
(2) ?????
(3) ?????
12
(1) ?????
?1????M10?????
??? ?? ? ? N Q3 Q2 Q1
Q0 0 0 1 1 0 1 0 1 1
1 2 1 0 0 0 3 1
0 0 1 4 1 0 1 0 5
1 0 1 1 6 1 1 0 0 7
1 1 0 1 8 1 1 1
0 9 1 1 1 1
??? ???????
1
CO
f/10
0
1
1
CO1
f
CP
13
?2 ??????? M24 ????
(24)10(11000)2
???0000 0001
??00011000
0
0 0 0 1
1 0 0 0
1 0 0 0
1 0 0 0
0 0 0 0
0 0 0 0
14
(?)74161/ 74163????
??????M ????
(1) ?????
(2) ?????
(3) ?????
15
??74161
(2)?????
??? N Q3 Q2 Q1 Q0
?3 ??????????
0 0 0 0 0 1 0 0 0
1 2 0 0 1 0 3 0 0
1 1 4 0 1 0 0 5 0
1 0 1 6 0 1 1 0 7
0 1 1 1 8 1 0 0 0 9
1 0 0 1 10 1 0 1
0 11 1 0 1 1 12 1 1
0 0
0
0 0 0 0
16
(?)74161/74163????
??????M ????
(1)?????
(2)?????
(3)?????
17
?4 ???????
??? N Q3 Q2 Q1 Q0 0
0 0 0 0
1 0 1 0 0
2 0 1 0 1 3 0 1
1 0 4 0 1 1 1 5 1
0 0 0
6 1 1 0 0
7 1 1 0 1 8 1 1
1 0 9 1 1 1 1
M10 ???
18
?5?VHDL???????????????
LIBRARY IEEE USE IEEE.STD_LOGIC_1164.ALL USE
IEEE.STD_LOGIC_UNSIGNED.ALL
ENTITY COUNT10 IS PORT(CLKIN
STD_LOGIC DATE_OUTOUT
STD_LOGIC_VECTOR(3 DOWNTO 0) END COUNT10
19
?5?VHDL???????????????
WAIT UNTIL CLKEVENT AND CLK1 IF
TEMP1111 THEN TEMP0000 ELSIF
TEMP(2)0 THEN TEMP(2 DOWNTO 0)100
ELSE TEMPTEMP1 END IF DATE_OUTltTEMP
???Q20???,??????,????????,?Q2Q1Q0100
,Q3?????
???1111???,???????0000???
??????8421????
20
(4)????????
????????????????,?????????CTT?CTP???????
21
??? ???
????????????
????????????
??????????
22
????????????74193
D ? A????,??????? QD ? QA ????, ???????
R1?,?????,?????
??DN??????,UP?????,?1?????, ??UP ?????,
DN?????,?1??? ???????
???? ?????? ??QCC0
1. ????
???? ?????? ??QCB0
3?G3????
23
????????????74193
74193???
24
????????????74193
2. 74193????
??????M ????
(1) ??Mlt16????
(2) ??Mgt16????
25
(1)??Mlt16????
??????????????
?6?74193??M9 ????
??? N QD QC QB QA
0 1 f
0 0 1 1 0 1 0 1 1
1 2 1 0 0 0 3 1 0
0 1 4 1 0 1 0 5 1
0 1 1 6 1 1 0 0 7
1 1 0 1 8 1 1 1 0 9
1 1 1 1
0 1 1 0
26
??????????????
(1)??Mlt16????
?7?74193??M9 ????
??? N QD QC QB QA
0 f 1
0 1 0 0 1 1 1 0 0 0 2 0 1
1 1 3 0 1 1 0 4 0 1 0 1 5 0
1 0 0 6 0 0 1 1 7 0 0 1
0 8 0 0 0 1 9 0 0 0 0
1 0 0 1
27
????????????74193
2. 74193????
??????M ????
(1) ??Mlt16????
(2) ??Mgt16????
28
(2)??Mgt16????
?8 ?74193??M147 ????
???????????????
1 0 0 1
M (147)10 (10010011)2 ????74193
0 0 0 0
0 0 0 0
1 1 0 0
29
(2)??Mgt16????
?9?74193??M147 ???
M (147)10 (10010011)2
1 1 0 0
1 1 0 0
1 0 0 1
1 0 0 1
30
??? ???
????????????
????????????
??????????
31
???????74290
(1) ???A?2 CPA?QA? (2) ???B?C?D?5??????
CPB ?QD ? QB?
1 . ????
S9(1)?S9(2)??? ??R0(1)?R0(2)????,??????1001
?
S9(1)?S9(2)?????? R0(1)?R0(2)?????,???????
?
(3)???R0(1)?R0(2)?S9(1)?S9(2)?????,???CP????,????
????
0 0 0 0
32
???????74290
33
? 1??74290 ??M6????
?????R?
M6 ??? N QA QB QC QD
0 0 0 0 0 1 1 0 0 0 2 0 1
0 0 3 1 1 0 0 4 0 0 1 0 5 1
0 1 0 6 0 1 1 0
0 0 0 0
0110
34
? 2??74290 ??M7????
?????S ?
M7 ??? N QA QB QC QD 0 0 0
0 0 1 1 0 0 0 2 0 1 0 0 3 1
1 0 0 4 0 0 1 0 5 1 0 1
0 6 0 1 1 0 7 1 0 0 1
CPA
0110
1 0 0 1
CPB
35
? 3?74290 ??M10????
????5421???
M10 ??? N QAQDQC QB 0 0 0 0 0 1 0
0 0 1 2 0 0 1 0 3 0 0 1
1 4 0 1 0 0 5 1 0 0 0 6 1 0
0 1 7 1 0 1 0 8 1 0 1
1 9 1 1 0 0
f
36
? 4?74290 ??M88????
???????74290??
0
1
37
??? ???
????????
??????
  • ???
  • ?????

???????
???????
38
?????
(?)??????74175
1.????
????????????
2.??
R0?,??????????,??????????,??????
CP?????,???????
39
??4??????,1???????
?D??????????
40
?
?????1011
?????? ?????????
?????
? 4????????? ,???????
?????
????,?????
?????
????,?????
????????????,???????
1
0
1
1
41
?????1011,?D1D2D3D4 1011
42
(?)?????????74195
2. ??
1. ????
Q3??
43
(?)?????????74195
74195???
0
1
Q0
44
(?)?????????74194
2. ??
1. ????
(3) ??MA?MB?????,,?????????
45
(?)?????????74194
74194???
1
0
1
0
46
(?)?????????74194
?VHDL????8??????
????????IQ
47
(No Transcript)
48
(?)??????
1. ????
2. ?????
3. ??????
4. ???
49
?????
1.?????????
0
1
CP
????
??
1
??
0
1 D0 0 1 1 1
1 1 1 1
??
0
2 D1 D0 0 1 1
1 1 1 1
50
???????
??Q5Q4 Q3Q2 Q1Q0111111
0
??
????
1
??
0
2 1 0 D0 D1 D2 D3
D4 D5 1
??
0
3 1 1 0 D0 D1 D2
D3 D4 1
51
2.?????
?1?74195??M4???????
1
1 0 0 0
LOAD
0 1 0 0 0 0 1 0 0 0 0 1
??
CP
J
K
Q0
1
Q1
0
Q2
0
Q3
0
Q3
52
(2)??????? ?????M n(n?????????)?
53
?2???M8????????
0 0 0 0
1 0 0 0 1 1
0 0 1 1 1 0 1
1 1 1 0 1 1
1 0 0 1 1 0 0
0 1
??
1
CP
J
K
Q0
Q1
Q2
Q3
Q3
54
(2)??????? ?????M2 n (n?????????)?
55
???
56
??? ??????
????? ??????? ??????
???????????
????????????
????????
57
???????????????
????????????????????????????
????????,Q3?? 110011110011?
??? N Q0 Q1 Q2 Q3 DSL
0 0 1 1 1 1 1 1
1 1 1 0 2 1 1 1
0 0 3 1 1 0 0 1 4
1 0 0 1 1 5 0
0 1 1 1
????????,110011???????,?????S6???????Q???
,????1?0?????,?????????
????????? ?
58
????????????
(?)????
?????????
(?)????
1. ????????S???S???,???????
2.????????????
59
????????????
?3?????110001001110???????
???????? (1)????S12,?????12???? (2)??74161? (3
)???????? (4)??????? QDQCQBQA01001111?
60
????????????
?????????
(1)?????
(2)?????
(3)??8?????????????
61
????????????
QDQCQB A2A1A0 QA -- D
????????????????A2A1A0D
D0D1D3D50
D2D61
D4 QA
?????????,??????????Di?
????????????????1,??Di 1??,??????0,?Di
0?
??????? ?0??1,???1????????????(???????????
???)?
62
????????????
???????
63
??????????????? (m??????)
1. ????????? S2n-1
2. ????????? ??????
(1) ??S2n-1,??n (2) ???5.4.3?????? f(Q) (3)
???? (4) ???0??
3. ????
64
??????????????? (m??????)
?4??S 7?m???????
?????S2n-1,??n 3? ?????5.4.3??????f(Q)Q2?Q3
(?74194?DSR Q1?Q2)? ????????
?????0???
65
??????????????? (m??????)
?4??S 7?m???????
???????
66
??? ???????
??????????????????????,???????????????????
???????????????????
67
? ?
??????????????,??????????????????????????
????? ????????????????????????,???????
??? ????????????????
68
????
(1)??????????????? (2)????????????????
(3)???????????????????????????
69
? ?
????5.3,5.5,5.6,5.10,5.11 ???
5.2,5.4,5.5 ?? 5.3,5.9,5.15,5.27,5.28,5.29
Write a Comment
User Comments (0)
About PowerShow.com