一種兼容MCS-51指令集的高速MCU的設(shè)計及實現(xiàn)
發(fā)布時間:2018-09-08 07:25
【摘要】:MCU(Micro Controller Unit,微控制單元)自面世以來在數(shù)字系統(tǒng)設(shè)計中占有重要的位置,具有集成度高、可編程性強的特點,廣泛用于工業(yè)控制和SoC(System on Chip,片上系統(tǒng))等數(shù)字系統(tǒng)設(shè)計中。但是傳統(tǒng)上的8位MCU指令執(zhí)行效率通常低于20MIPS(Million Instruction per Second,百萬指令每秒),限制了其在高速計算場合中的應(yīng)用。 本課題來自某公司 數(shù);旌蟂oC芯片設(shè)計‖項目,該項目需要一個執(zhí)行效率能達到50MIPS且兼容MCS-51指令集的MCU。所謂兼容MCS-51指令集是本MCU的指令集與MCS-51系列MCU指令集相同,可以使用普通的51開發(fā)軟件(如Keil C51)進行開發(fā)。 本文首先介紹了MCS-51指令集,接著描述了本設(shè)計MCU的組織結(jié)構(gòu),設(shè)計了5級流水線結(jié)構(gòu),以單時鐘周期作為指令運行單位,實現(xiàn)了MCU內(nèi)核的高速和高效率。在設(shè)計運算單元時,本文設(shè)計了一個基于進位保留的三輸入加法器,利用1個三輸入加法器設(shè)計了乘法器,,該乘法器只需要4個時鐘周期就能完成乘法運算。 本文改進了標準8051功耗管理模塊,該管理模塊不僅繼承了標準8051的IDLE和STOP模式,還新加入了SUSPEND模式和多時鐘源自由切換功能,這樣可以使用戶更有效的減少芯片功耗。 此外,本文采用TSMC0.18um工藝的Flash IP核作為程序存儲器,但是該IP只能支持最高30MHz的系統(tǒng)時鐘。本文對Flash驅(qū)動模塊和邏輯控制進行了改進設(shè)計使該IP能用于50MHz的系統(tǒng)時鐘下。 最后,為了驗證設(shè)計的正確性,本文搭建出基于握手協(xié)議的仿真測試平臺,調(diào)用了OVM(Open Verification Methodlogy)庫。本文還搭建出基于Xilinx公司的Virtex-2Pro XC2VP30FPGA開發(fā)板驗證平臺,并給出了FPGA占用資源統(tǒng)計表。驗證結(jié)果證明了設(shè)計的正確性,同時ISE綜合結(jié)果顯示該設(shè)計支持的時鐘頻率可以達到60MHz。 本文實現(xiàn)了兼容MCS-51指令集的MCU的高速設(shè)計,在50MHz時鐘下可以達到50MIPS的峰值。同目前市場上主流高速兼容MCS-51指令集MCU產(chǎn)品和文獻[18-21]相比,性能上有顯著提高。
[Abstract]:MCU (Micro Controller Unit, micro-control unit (MCU (Micro Controller Unit,) has played an important role in the design of digital system since its inception. It has the characteristics of high integration and strong programmability. It is widely used in the design of digital systems such as industrial control and SoC (System on Chip, on-chip systems. But the traditional 8-bit MCU instruction execution efficiency is usually lower than 20MIPS (Million Instruction per Second, million instruction per second, which limits its application in high-speed computing. This topic comes from a company's digital and analog hybrid SoC chip design project, which requires a MCU. that is efficient enough to execute 50MIPS and compatible with the MCS-51 instruction set. The so-called compatible MCS-51 instruction set is that the instruction set of this MCU is the same as the MCS-51 series MCU instruction set, and can be developed with common 51 development software (such as Keil C51). This paper first introduces the MCS-51 instruction set, then describes the organization structure of the MCU, and designs a 5-stage pipelined structure. The single clock cycle is used as the instruction unit to realize the high speed and high efficiency of the MCU kernel. In the design of the operation unit, a triple-input adder based on carry reservation is designed, and a multiplier is designed using a three-input adder. The multiplier needs only four clock cycles to complete the multiplication operation. This paper improves the standard 8051 power management module, which not only inherits the IDLE and STOP modes of standard 8051, but also adds the SUSPEND mode and the free switching function of multiple clock sources, which can effectively reduce the chip power consumption. In addition, the Flash IP core of TSMC0.18um process is used as program memory, but the IP can only support the highest 30MHz system clock. In this paper, the Flash driver module and logic control are improved so that the IP can be used in the system clock of 50MHz. Finally, in order to verify the correctness of the design, this paper builds a simulation test platform based on handshake protocol, and calls the OVM (Open Verification Methodlogy) library. The verification platform of Virtex-2Pro XC2VP30FPGA development board based on Xilinx company is also built in this paper, and the statistical table of FPGA occupation resources is given. The experimental results show that the design is correct, and the ISE synthesis results show that the clock frequency can reach 60 MHz. In this paper, the high speed design of MCU compatible with MCS-51 instruction set is realized, and the peak value of 50MIPS can be achieved under the 50MHz clock. Compared with the current mainstream high speed compatible MCS-51 instruction set MCU products and literature [18-21], the performance is significantly improved.
【學位授予單位】:哈爾濱工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP332;TN47
本文編號:2229801
[Abstract]:MCU (Micro Controller Unit, micro-control unit (MCU (Micro Controller Unit,) has played an important role in the design of digital system since its inception. It has the characteristics of high integration and strong programmability. It is widely used in the design of digital systems such as industrial control and SoC (System on Chip, on-chip systems. But the traditional 8-bit MCU instruction execution efficiency is usually lower than 20MIPS (Million Instruction per Second, million instruction per second, which limits its application in high-speed computing. This topic comes from a company's digital and analog hybrid SoC chip design project, which requires a MCU. that is efficient enough to execute 50MIPS and compatible with the MCS-51 instruction set. The so-called compatible MCS-51 instruction set is that the instruction set of this MCU is the same as the MCS-51 series MCU instruction set, and can be developed with common 51 development software (such as Keil C51). This paper first introduces the MCS-51 instruction set, then describes the organization structure of the MCU, and designs a 5-stage pipelined structure. The single clock cycle is used as the instruction unit to realize the high speed and high efficiency of the MCU kernel. In the design of the operation unit, a triple-input adder based on carry reservation is designed, and a multiplier is designed using a three-input adder. The multiplier needs only four clock cycles to complete the multiplication operation. This paper improves the standard 8051 power management module, which not only inherits the IDLE and STOP modes of standard 8051, but also adds the SUSPEND mode and the free switching function of multiple clock sources, which can effectively reduce the chip power consumption. In addition, the Flash IP core of TSMC0.18um process is used as program memory, but the IP can only support the highest 30MHz system clock. In this paper, the Flash driver module and logic control are improved so that the IP can be used in the system clock of 50MHz. Finally, in order to verify the correctness of the design, this paper builds a simulation test platform based on handshake protocol, and calls the OVM (Open Verification Methodlogy) library. The verification platform of Virtex-2Pro XC2VP30FPGA development board based on Xilinx company is also built in this paper, and the statistical table of FPGA occupation resources is given. The experimental results show that the design is correct, and the ISE synthesis results show that the clock frequency can reach 60 MHz. In this paper, the high speed design of MCU compatible with MCS-51 instruction set is realized, and the peak value of 50MIPS can be achieved under the 50MHz clock. Compared with the current mainstream high speed compatible MCS-51 instruction set MCU products and literature [18-21], the performance is significantly improved.
【學位授予單位】:哈爾濱工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP332;TN47
【參考文獻】
相關(guān)期刊論文 前4條
1 張俊謨;;單片機的發(fā)展與應(yīng)用[J];電子制作;2007年08期
2 牟剛,賀前華,江瑾;基于流水線結(jié)構(gòu)的高速嵌入式MCU設(shè)計[J];微電子學;2004年04期
3 楊浩,林爭輝,李世煜;一種高效率MCS51兼容型微控制器內(nèi)核設(shè)計[J];微電子學與計算機;2004年05期
4 戴宏,陳英濤,周開鄰,權(quán)春娟;一種高性能MCS-51兼容微控制器的設(shè)計[J];云南大學學報(自然科學版);2005年06期
本文編號:2229801
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2229801.html
最近更新
教材專著