一款兼容MCS-51指令集的8位MCU IP核的研究與設(shè)計(jì)
本文選題:微控制器內(nèi)核 + 指令譯碼; 參考:《西安電子科技大學(xué)》2014年碩士論文
【摘要】:MCU(Micro Control Unit)微控制器是微電子與計(jì)算機(jī)技術(shù)交叉研究的產(chǎn)物,自20世紀(jì)70年代產(chǎn)生以來在學(xué)術(shù)界與工業(yè)界一直是研究的熱點(diǎn)。MCU廣泛應(yīng)用于國防、電器、測控系統(tǒng)、消費(fèi)類電子產(chǎn)品等。 本文采用top_down的設(shè)計(jì)方法設(shè)計(jì)一款MCU芯片,此MCU使用經(jīng)典的MCS51指令集;MCU總線結(jié)構(gòu)為數(shù)據(jù)總線和程序總線相分離的哈佛總線;經(jīng)典的MCS51微控制器執(zhí)行一條指令至少占用12個(gè)時(shí)鐘周期,,針對指令執(zhí)行過程冗長的缺點(diǎn),本文優(yōu)化了MCU指令的執(zhí)行過程,設(shè)計(jì)的指令譯碼模塊譯碼速度快,執(zhí)行一條指令最高占用4個(gè)時(shí)鐘周期,比經(jīng)典的MCS51微控制器的執(zhí)行效率提高了6倍以上。本文用結(jié)構(gòu)化的Verilog語言描述MCU的譯碼模塊、算術(shù)邏輯運(yùn)算模塊等,因此結(jié)構(gòu)清晰,易于擴(kuò)展。經(jīng)過驗(yàn)證可以作為嵌入式系統(tǒng)內(nèi)核。 本文首先對MCU做了簡要地介紹,之后詳細(xì)分析了MCS51指令集,并根據(jù)指令的特點(diǎn)搭建MCU內(nèi)核的架構(gòu),設(shè)計(jì)了MCU的主要模塊,最后對設(shè)計(jì)的MCU內(nèi)核做仿真驗(yàn)證,驗(yàn)證結(jié)果顯示本文所設(shè)計(jì)的MCU內(nèi)核完全兼容MCS51指令集,功能正確。
[Abstract]:MCU(Micro Control unit microcontroller is the product of the cross study of microelectronics and computer technology. Since its birth in 1970s, it has been a hotspot in academia and industry. It has been widely used in national defense, electrical appliances, and measurement and control systems. Consumer electronics, etc. In this paper, a MCU chip is designed by using the design method of top_down. This MCU uses the classical MCS51 instruction set top_down bus structure as the Harvard bus which separates the data bus from the program bus. The classical MCS51 microcontroller takes at least 12 clock cycles to execute one instruction. In view of the drawback of long instruction execution, this paper optimizes the execution process of MCU instruction, and the decoding speed of the designed instruction decoding module is fast. A single instruction takes up to four clock cycles, which is more than six times more efficient than the classical MCS51 microcontroller. In this paper, structural Verilog language is used to describe the decoding module and arithmetic logic operation module of MCU, so the structure is clear and easy to be extended. It is proved that it can be used as the kernel of embedded system. In this paper, MCU is introduced briefly, then the MCS51 instruction set is analyzed in detail, the architecture of MCU kernel is built according to the characteristics of the instruction, and the main module of MCU is designed. Finally, the MCU kernel is simulated and verified. The verification results show that the MCU kernel designed in this paper is fully compatible with the MCS51 instruction set, and the function is correct.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP332
【共引文獻(xiàn)】
相關(guān)會議論文 前10條
1 楊德偉;王華;;基于FPGA實(shí)現(xiàn)的以太網(wǎng)和E1的協(xié)議轉(zhuǎn)換[A];2005年海峽兩岸三地?zé)o線科技學(xué)術(shù)會論文集[C];2005年
2 李恩特;李冰;;基于I2C的煙霧報(bào)警系統(tǒng)中接口模塊的設(shè)計(jì)[A];第十屆中國科協(xié)年會論文集(三)[C];2008年
3 朱劍平;李文耀;;二進(jìn)制偽隨機(jī)序列在環(huán)路延時(shí)測量中的應(yīng)用[A];2007北京地區(qū)高校研究生學(xué)術(shù)交流會通信與信息技術(shù)會議論文集(下冊)[C];2008年
4 呂卓;侯春萍;侯永宏;;全數(shù)字OQPSK解調(diào)算法的研究及FPGA實(shí)現(xiàn)[A];中國電子學(xué)會第十五屆信息論學(xué)術(shù)年會暨第一屆全國網(wǎng)絡(luò)編碼學(xué)術(shù)年會論文集(下冊)[C];2008年
5 趙慶;;基于verilog的數(shù)字可綜合電路設(shè)計(jì)[A];中國電子學(xué)會第十五屆信息論學(xué)術(shù)年會暨第一屆全國網(wǎng)絡(luò)編碼學(xué)術(shù)年會論文集(下冊)[C];2008年
6 熊yN靈;;RS碼的實(shí)現(xiàn)及在光纖通信中的應(yīng)用[A];2009年研究生學(xué)術(shù)交流會通信與信息技術(shù)論文集[C];2009年
7 楊光友;程良明;蘇旭武;張錚;;基于FPGA的PCB測試機(jī)硬件電路設(shè)計(jì)[A];2005年十二省區(qū)市機(jī)械工程學(xué)會學(xué)術(shù)年會論文集(湖北專集)[C];2005年
8 白廣治;陳泉根;;十六位RISC_CPU的FPGA實(shí)現(xiàn)[A];第二屆全國信息與電子工程學(xué)術(shù)交流會暨第十三屆四川省電子學(xué)會曙光分會學(xué)術(shù)年會論文集[C];2006年
9 朱鵬;唐萬斌;雷霞;;基于FPGA的AD/DA-DSP接口設(shè)計(jì)[A];2006中國西部青年通信學(xué)術(shù)會議論文集[C];2006年
10 李鳳麟;鐘洪聲;;保密通信中RS編解碼的FPGA實(shí)現(xiàn)[A];2006中國西部青年通信學(xué)術(shù)會議論文集[C];2006年
相關(guān)博士學(xué)位論文 前10條
1 雷波;直線邊緣光學(xué)精密測量系統(tǒng)研究與開發(fā)[D];武漢理工大學(xué);2010年
2 孔陽;一種適用于地震勘探儀器的低運(yùn)算量數(shù)字濾波器的設(shè)計(jì)與研究[D];中國科學(xué)技術(shù)大學(xué);2011年
3 劉春陽;納秒脈沖激光誘導(dǎo)單晶硅材料熒光效應(yīng)的研究[D];天津大學(xué);2012年
4 劉麗娟;矢量量化編碼算法及其VLSI結(jié)構(gòu)設(shè)計(jì)的研究[D];華中科技大學(xué);2004年
5 張軍;光纖通信中的級聯(lián)碼技術(shù)及其實(shí)現(xiàn)研究[D];東南大學(xué);2006年
6 胡剛;新型膜片鉗放大器的研制開發(fā)[D];華中科技大學(xué);2006年
7 吳斌;H.264解碼關(guān)鍵算法的VLSI實(shí)現(xiàn)研究[D];吉林大學(xué);2008年
8 郭建;在數(shù)字系統(tǒng)設(shè)計(jì)中斷言驗(yàn)證的研究[D];西安電子科技大學(xué);2008年
9 王學(xué)影;關(guān)節(jié)臂式坐標(biāo)測量機(jī)系統(tǒng)研究[D];天津大學(xué);2008年
10 溫世杰;數(shù)字式醫(yī)學(xué)超聲內(nèi)窺鏡成像系統(tǒng)的研究[D];天津大學(xué);2009年
相關(guān)碩士學(xué)位論文 前10條
1 沈國新;實(shí)時(shí)操作系統(tǒng)核心算法的硬件實(shí)現(xiàn)[D];山東科技大學(xué);2010年
2 琚新剛;基于SOPC技術(shù)的數(shù)字視頻接口研制[D];鄭州大學(xué);2010年
3 湛雷;圖像聲納數(shù)字系統(tǒng)軟件開發(fā)與硬件設(shè)計(jì)[D];哈爾濱工程大學(xué);2010年
4 劉振飛;圖像預(yù)處理算法的硬件實(shí)現(xiàn)[D];哈爾濱工程大學(xué);2010年
5 匡銀;低功耗嵌入式信號處理平臺設(shè)計(jì)[D];哈爾濱工程大學(xué);2010年
6 王鑫;無線傳感器網(wǎng)絡(luò)衰落信道Rake接收機(jī)技術(shù)的研究[D];哈爾濱工程大學(xué);2010年
7 陳泮潔;基于FPGA的視頻采集系統(tǒng)設(shè)計(jì)[D];哈爾濱工程大學(xué);2010年
8 陳科鉆;ASIC版圖設(shè)計(jì)中的光刻缺陷研究[D];大連理工大學(xué);2010年
9 王飛俊;數(shù)字基帶預(yù)失真技術(shù)及其FPGA實(shí)現(xiàn)研究[D];大連理工大學(xué);2010年
10 陳勇全;整精米分選計(jì)量儀的設(shè)計(jì)[D];大連理工大學(xué);2010年
本文編號:1785996
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1785996.html