Peb npaj thiab thauj khoom ntawm txoj haujlwm los ntawm Quartus II kev txhim kho ib puag ncig mus rau Altera FPGA.
Tsim nyog
- FPGA los ntawm Altera;
- USB-Blaster tus programmer;
- khoos phis tawm nrog Quartis II ib puag ncig kev tsim kho.
Cov Lus Qhia
Kauj ruam 1
Hauv Kev Ua Haujlwm -> Ntaus ntawv … cov ntawv qhia zaub mov, xaiv qhov FPGA uas koj yuav "sau" txoj haujlwm. Hauv Pawg Tsev Neeg Ntaus, koj yuav tsum xaiv lub tsev neeg uas koj lub FPGA yog. Xaiv koj cov qauv FPGA hauv Muaj Cov Khoom Siv Hauv Teb.
Hauv Qhia Ua Yeeb Yam hauv "Muaj khoom nyob" teev cov pab pawg, koj tuaj yeem xaiv cov khoom siv los ntawm pob cov pob (Pob) lossis tus lej ntawm pins () kom pom koj tus qauv FPGA kom nrawm.
Nws tsis yog superfluous los teev nyob rau hauv dab tsi lub xeev qhov tsis txuas nrog FPGA ceg yuav yog. Nyem rau Ntaus thiab Tus Pin Xaiv … khawm, mus rau kauj ruam, thiab qhia meej cov xwm txheej ntawm cov koob.
Tom qab qhia meej txog FPGA tus qauv, kaw lub qhov rai Ntaus ntawv los ntawm nyem khawm.
Kauj ruam 2
Yog tias koj xav tau cov synthesizer muab cov haujlwm rau pins los ntawm nws tus kheej, ces koj tuaj yeem ua tsis tau ib yam dab tsi ntxiv. Thiab txhawm rau muab tshuaj rau FPGA pins, mus rau txoj haujlwm Assignements-> Tus Pin Npaj Cov Khoom Noj lossis nias Ctrl + Shift + N thaum lawv tseem ceeb.
Tus pin tes hauj lwm pib. Hauv qab no yog cov npe ntawm I / O pins siv rau hauv koj txoj haujlwm nrog cov npe siv.
Tam sim no nyob rau hauv qhov chaw nyob chaw koj yuav tsum teeb tsa tus lej cim. Ob npaug nyem rau ntawm cov xov tooj sib txuam thiab xaiv tus lej cim lossis sau tus lej ntawm lub keyboard. Tus lej PIN yuav nyob ntawm koj lub khob cij.
Tom qab txhua tus pins tau hais tseg, tus pin planner qhov rais tuaj yeem raug kaw. Tam sim no sau qhov project: Ua -> Pib Sib Sau lossis Ctrl + L.
Kauj ruam 3
Cia txuas tus programmer rau lub khoos phis tawm. Thawj zaug koj txuas, koj yuav tsum nruab tus tsav tsheb. Nws tau nruab rau hauv cov qauv kev, thiab nyob hauv Quartus phau ntawv, hauv cov ntawv tsav tsheb: C: / altera / 13.0sp1 / quartus / tsav tsheb.
Tom qab kev txhim kho tus tsav tsheb, tus programmer yuav tshwm rau tus tswj lub ntaus ntawv li Altera USB-Blaster.
Kauj ruam 4
Altera FPGAs txhawb nqa ntau hom kev sau ua ke. Ua ntej, peb saib ntawm rub lub firmware ntawm JTAG interface. Txuas tus programmer rau JTAG txuas rau ntawm FPGA board.
Cia peb pib qhov cuab yeej sau ntawv: Cuab yeej -> Tus programmer.
Cia peb ntxiv ib tus programmer. Txhawm rau ua qhov no, nias Hardware teeb tsa … khawm thiab xaiv ib qho sib txuas nyob rau hauv daim ntawv teev nco. Cia peb kaw lub qhov rai.
Hauv qhov rai Programmer, nyem lub khawm Pib Tshawb kom ua Quartus sim nrhiav cov ntaub ntawv ntawm FPGA txuas nrog thiab *.sof firmware. Cov ntaub ntawv firmware yog tsim los ntawm Quartus los ntawm neej ntawd thaum muab tso ua ke, tshwj tsis yog muaj lwm yam sau tseg.
Hauv qhov programmer qhov rai, xaiv JTAG hom, kos lub Program / Configure checkbox thiab nyem khawm pib. Cov firmware yuav sau rau FPGA lub cim xeeb.
Kauj ruam 5
Nrog rau qhov kev xaiv sau ntawv no, lub firmware yog sau rau qhov tsis hnov tsw ntawm FPGA, thiab yuav muab lwv tawm tom qab rov pib dua. Txuag cov firmware hauv ROM, sau cov firmware hauv Active Serial hom.
Txuas lub cajmeem cable txuas rau AS txuas lossis. Khiav cov phiaj xwm firmware: Cuab Yeej -> Tus programmer. Xaiv hom -> Active Serial. Pom zoo thaum teb cov lus nug meej.
Ntxiv ntawm firmware file los ntawm nyem qhov Add File … nyob hauv qhov output_files project subdirectory, nrhiav cov ntawv nrog.pof extension. Tom qab qhib lub firmware file, teeb tsa Qhov Program / Configure checkboxes thiab, yog tias xav tau, steel sawv daws yuav. Ua tib zoo saib lub hom kev nco teeb meem nyob rau hauv lub kem Ntaus: nws yuav tsum phim lub cim xeeb ntawm koj lub FPGA.
Kauj Ruam 6
Nyem pib pib khawm kom rub cov firmware rau FPGA.