Title: ?2? Quartus???????????
1?2? Quartus???????????
2Quartus???????????
- ??????(??????????????)
- ????????(??????????????????)
- ????????(?????????)
- ????????(????????????)
- ??????
3 2.1 Quartus II??????
Quartus II????????1??
?1 Quartus II ????
4 2.1 Quartus II??????
??Quartus II?????? ?Maxplus?????,
Quartus II??????????????????????????????????,?????
???? 1.?????? ??Quartus
II?????????????????? 1)??????FileNew
Project Wizard ?????2.2??????
?????????????????? D\EDA_book\code\Chapter2\BiJi
aoQi
?2.2 New Project Wizard ???
5 2.1 Quartus II??????
?? Quartus II??????
2)???????????????,????????????????????????
?2.3 ????????P39
6 2.1 Quartus II??????
??Quartus II?????? 3)???????,?Next???????
??????,??2.4???
???File???????????????????????,?????User Library
Pathnames????????????????????,????Next????????
?2.4 ???????
7 2.1 Quartus II??????
??Quartus II?????? 4)??2.5???????????????,
?Yes??????????,?No??????????
???????? ???????? ???????? ?????
??Cyclone??
?2.5 ???????
8 2.1 Quartus II??????
??Quartus II?????? 5) ?2.6 ????????EDA??
?2.6 ????EDA??
9 2.1 Quartus II??????
??Quartus II?????? 6)??????????????????,??
??????????????????,??2.7???
?2.7 ?????????
10 2.1 Quartus II??????
?????????? 1.???????
?2.8 ??File-New??
11 2.1 Quartus II??????
1.??????? ???????????2.9
AHDL????
?????????
????
??????
Verilog HDL????
VHDL????
?2.9 ???????
12 2.1 Quartus II??????
1.??????? ??File-Save as??,?????????BiJiaoQi
??????,????.bdf
??????????????????
?2.10 ?????????
13 2.1 Quartus II??????
2.????????? ??2.11,??????????????
?2.11 ??????
14 2.1 Quartus II??????
2.????????? ?????????
2.12 ???????
15 2.1 Quartus II??????
2.????????? 1)???????? ???????,???Symbol???,??
?????,????????????Insert-Symbol,???????????2.13??P
44
?????
Logic????????????
??-??????
?????????????
?2.13 Symbol???
16 2.1 Quartus II??????
2.????????? 1)????????
??????????????????????
?2.16 ?????????
17 2.1 Quartus II??????
2.????????? 1)????????
??pin????,??input?????????????????
?2.21 ????
18 2.1 Quartus II??????
2.????????? 1)????????
??????
19 2.1 Quartus II??????
2.????????? 2)???????? ???????input?????,?????
?,????????????????,?????????????????2.24??
20 2.1 Quartus II??????
2.????????? 3)??????????? ??????input??,?????2
.25????????????
?2.25 ?????????
21 2.1 Quartus II??????
2.????????? 3)??????????? ??????????
22 2.1 Quartus II??????
?????????? ??Processing-Start Compilation,??2.27??
??
???????????????
?2.27 ??????
?2.29 ???????????????
23 2.1 Quartus II??????
?????????? 1???????????? ??File-New??,???????????
???????Device Design Files?????Software
Files?????Other Files?
????
?2.30 ??????
24 2.1 Quartus II??????
?????????? 1????????????
?????????,??2.32????,??Insert Node or Bus??
?2.32
25 2.1 Quartus II??????
?????????? 1????????????
??OK?????????
26 2.1 Quartus II??????
?????????? 2???????
?2-37 ??????
27 2.1 Quartus II??????
?????????? 2??????? ??Edit-End Time??,???????
28 2.1 Quartus II??????
?????????? 2??????? ??Edit-Grid Size??,???????
29 2.1 Quartus II??????
?????????? 3????????? ?????????????????????,??????
??Forcing High(1)??????????
?2-45 ??????
30 2.1 Quartus II??????
?????????? 4??????? ???????????,?????,??Processing
-Start simulation??,????
?2-46??????
31 2.1 Quartus II??????
?????????? 4???????
32 2.1 Quartus II??????
???????? ??File-Create/Update-Create Symbol File
for Current File?????????????????,????????????????
?????
33 2.1 Quartus II??????
???????? ??????????????,???BiJiaoQi,?????.bsf
34 2.2 Quartus II????
??????????? ???????????? ??????????
35 2.2 Quartus II????
???????????
?????
Programmer????????
????????(PS Mode)?JTAG???? ??????(AS Mode)
????????(In-Socket)
??????????
36 2.2 Quartus II????
- 1?JTAG??????
- ????????????3?
- ??Quartus?????Tools????Programmer?????
??,?????????????????????Hardware Setup??No
Hardware,?????????????Hardware Setup,??Hardware
Setup???,?????,????????? - ???????,??????,?Mode?????????JTAG??
- ???????,?? ?????counter.sof????,??
counter.sof????Program/Configure??,????
????????????,Process??????????,???????????????????
????
37 2.2 Quartus II????
1?JTAG??????
???????
38 2.2 Quartus II????
2?AS????? ???
- AS????????
- ??????
- (1)??Quartus?
- ???Assignments
- ?Device??,??
- Settings????
- Device?????
- ?,????
39 2.2 Quartus II????
- 2? AS????????
- (2)??Quartus?????Tools????Programmer??
????? ,????????????,????,???????Active Serial
Program - ( 3)??
?????counter.pof????,??????Program/Configure?Verif
y?Blank Check?,???? ??????????,Process???
??????????????????EPCS?,??????EPCS?????????????,??
???????????
40 2.2 Quartus II????
- ??Quartus????MegaWizard Plug-In
Manager???????????????Quartus??????IP(????)???????
??????,??????????IP????????? - ???????lpm_counter????????????????????????,???????
?????? - ????????????counter16???,??????????bdf??,??Quartus
?????Tools????MegaWizard Plug-In
Manager??,??MegaWizard Plug-In Manager??????
,???????????