Cov txheej txheem:
- Kauj Ruam 1: I2C Bus Overview
- Kauj ruam 2: RTL Tsim hauv VHDL
- Kauj Ruam 3: Simulation thiab Xeem
- Kauj Ruam 4: Cov Lus Tseem Ceeb
- Kauj ruam 5: Cov ntaub ntawv txuas nrog
Video: Tsim ntawm I2C Master hauv VHDL: 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv cov lus qhia no, Tsim Tus Qauv I2C yooj yim hauv VHDL tau tham.
NCO TSEG: nyem rau txhua daim duab kom pom tag nrho cov duab
Kauj Ruam 1: I2C Bus Overview
• Sawv ntsug rau Kev Sib Koom Ua Ke.
• Synchronous, Ib nrab duplex.
• Ob Txoj Kev Sib Txuas Hlau - SDA thiab SCL.
• SDA - Serial Data line tswj los ntawm Master thiab Slave
• SCL - Serial Moos tsim los ntawm Master
• Multi-master, Multi-qhev raws tu qauv.
• Ob hom - 100 kbits/sec thiab 400 kbits/sec: qeeb thiab nrawm.
Kauj ruam 2: RTL Tsim hauv VHDL
Tsim Cov Qauv ntawm peb tus I2C Master
- 8-ntsis cov ntaub ntawv thav duab.
- SCL uni-directional tswj nkaus xwb.
- 7-ntsis qhev chaw nyob.
- Txhawb ob hom qeeb thiab nrawm.
- Ib Xib Hwb, Ntau tus qhev.
- Ua tiav nrog thawj I2C qhov tshwj xeeb los ntawm Philips.
Ntshiab RTL txoj cai tau siv. Yog li IP yooj yim nqa tau hla txhua FPGAs. Kev cog lus me me FSM raws li tsim siv sab hauv tsim lub moos kom ntseeg tau thaj chaw zoo thiab ua tau zoo.
Kauj Ruam 3: Simulation thiab Xeem
Xeem Ib puag ncig
- Kev ua haujlwm sim thiab ntsuas siv tus neeg thib peb I2C Slave IP.
- Synthesized siv Xilinx Vivado cov cuab yeej teeb tsa.
- Ua raws thiab ntsuas ntawm Artix-7 FPGA pawg thawj coj.
- Lub sijhawm txheeb xyuas qhov tseeb tsim rau 100 MHz.
- Kuaj cov qauv ntawm DSO/CRO.
- Ua tiav kev sim sib txuas lus nrog Arduino UNO ua I2C Slave.
Kauj Ruam 4: Cov Lus Tseem Ceeb
- Thaum sim Master siv I2C Slave IP, teeb tsa tus lej qhev raws li qhov koj xav tau. Tej zaum koj yuav xav hloov lub moos zaus zaus thiab chaw nyob qhev. Lub moos zaus yuav tsum tau teeb tsa hauv Master code ib yam.
- Thaum nyob ntawm pawg thawj coj saib, tsis txhob hnov qab rub tawm cov neeg tawm tsam raws li SDA kab yog qhov tso tawm ntau !!! Txheeb xyuas google rau kev pom zoo rub tawm tus tiv thaiv rau txawv i2c nrawm. Kuv siv 2.2K rau 100 kHz.
- Yog tias tsis siv lub rooj ntev zaum simulating tus Xib Hwb ntawm nws tus kheej, ua tib zoo sim teeb liab SDA, vim nws yog lub cim qhia ob-taw qhia (inout) teeb liab. Nws muaj ob tus tsav tsheb, sab tswv thiab sab qhev. Koj yuav tsum paub thaum twg 'yuam kev' thiab thaum twg rau 'tsis ua haujlwm'.
- SCL yog ib txoj kab tsis muaj kab ke. Tsis xav tau rub tawm.
- Thov mus hla tus IP Cov Ntaub Ntawv kom ntxaws.
Kauj ruam 5: Cov ntaub ntawv txuas nrog
- Txhua RTL cov lej ntawm I2C Master.
- Xeem lub rooj ntev zaum, I2C Slave cov lej ib yam nkaus, rau kev sim.
- Cov Ntaub Ntawv IP.
Rau ib qho lus nug, thov hu rau kuv:
Muj Raj
ua raws kuv:
Rau cov lus nug, tiv toj: [email protected]
Pom zoo:
Tsim ntawm Qhov Yooj Yim Plaub-Txoj Kev Teeb Tus Tswv Cache Tus Kws Tswj hauv VHDL: 4 Cov Kauj Ruam
Tsim ntawm Qhov Yooj Yim Plaub-Txoj Kev Teeb Tus Tswv Cache Koom Tes Hauv VHDL: Hauv kuv qhov kev qhia yav dhau los, peb tau pom yuav tsim tus qauv yooj yim ncaj qha mapped cache maub los li cas. Lub sijhawm no, peb txav mus ib kauj ruam ua ntej. Peb yuav tsim qhov yooj yim plaub txoj kev teeb tsa kev sib koom ua ke. Qhov Zoo? Tsawg tus nco, tab sis tus nqi ntawm perfo
Tsim ntawm Programmable Interrupt Controller hauv VHDL: 4 Cov Kauj Ruam
Tsim tus Programmable Interrupt Controller hauv VHDL: Kuv ntxhov siab los ntawm cov lus teb uas kuv tau txais hauv blog no. Ua tsaug rau cov saib rau kuv blog thiab txhawb kuv kom qhia kuv qhov kev paub nrog koj. Lub sijhawm no, Kuv yuav nthuav qhia qhov tsim ntawm lwm qhov kev nthuav dav peb pom hauv txhua SOCs - cuam tshuam C
Tsim ntawm SPI Master hauv VHDL: 6 Cov Kauj Ruam
Tsim ntawm SPI Master hauv VHDL: Hauv cov lus qhia no, peb yuav tsim tus SPI Bus Master los ntawm kos hauv VHDL
Tsim thiab Ua tiav ntawm Cov Txheej Txheem ntawm Kev Taw Qhia ntawm Photovoltaic Panels: 5 Cov Kauj Ruam
Tsim thiab Ua kom tiav ntawm Cov Txheej Txheem ntawm Kev Taw Qhia ntawm Photovoltaic Panels: Tsim thiab Ua tiav ntawm Cov Txheej Txheem ntawm Kev Taw Qhia ntawm Photovoltaic Panels
Cov lus qhia ntawm Kev Ua Kom Zoo Mock-Up ntawm Track Slide Tsim rau Nqa/Txo Hauv Pem Hauv Ntej-Mounted Footrests ntawm Lub Hwj Huam Log: 9 Kauj Ruam (nrog Duab)
Cov lus qhia ntawm Kev Ua Kom Tiav Mock-Up ntawm Track Slide Tsim rau Nqa/Sab Qaum Nruab Nrab-Mounted Footrests ntawm Lub Hwj Huam Lub Rooj Zaum: Lub hauv paus tau teeb tsa lub tog zaum kom nqa tau hauv qab lub rooj kom zoo, thiab qis dua kom siv tau. Ib lub tswv yim rau kev ua haujlwm ywj pheej ntawm kev tuav cov footrest thiab kev xa tawm tsis suav nrog lub rooj zaum fais fab lag luam, thiab PWC cov neeg siv tau qhia txog qhov xav tau