需要金幣:![]() ![]() |
資料包括:完整論文 | ![]() |
![]() |
轉(zhuǎn)換比率:金額 X 10=金幣數(shù)量, 例100元=1000金幣 | 論文字?jǐn)?shù):11210 | ![]() | |
折扣與優(yōu)惠:團購最低可5折優(yōu)惠 - 了解詳情 | 論文格式:Word格式(*.doc) | ![]() |
摘要:本文利用Verilog硬件描述語言在由Altera公司開發(fā)的QUARTUS II平臺上,設(shè)計并實現(xiàn)一個基于FPGA的多周期CPU。在FPGA內(nèi)部不僅實現(xiàn)了CPU必需的算術(shù)邏輯運算部件、寄存器堆、取指令部件、指令緩沖、數(shù)據(jù)緩沖等,而且該CPU能正確執(zhí)行指定的11條指令集中的指令。從CPU的總體結(jié)構(gòu)到局部功能的實現(xiàn)采用了自頂向下的設(shè)計方法和模塊化的設(shè)計思想。 這11條指令是MIPS指令集中具有代表性的一些指令,包含了R型、I型和J型三種類型;既有算術(shù)/邏輯運算指令,又有取數(shù)/存數(shù)指令;既有條件轉(zhuǎn)移指令,又有無條件轉(zhuǎn)移指令;既有需要考慮溢出判斷的指令,又有無需考慮溢出的指令;既有對帶符號數(shù)判斷大小的指令,又有對無符號數(shù)判斷大小的指令。這些指令的內(nèi)容,基本上涵蓋了所有指令的基本實現(xiàn)技術(shù)。 關(guān)鍵詞:QUARTUS II平臺 Verilog硬件描述語言 CPU FPGA
Abstract:A multi-cycle CPU is designed and implemented on Altera QUARTUS II platform FPGA-based By using Verilog hardware description language.In the FPGA, the CPU is not only implement the internal arithmetic logic unit, register, take orders parts, instruction cache, data buffering, but also can correctly perform the specified instruction set of 11 instructions. The realization from the CPU to the local function of the overall structure is using top-down design and modular design. The 11 MIPS instruction set instruction is representative of a number of directives, including the R- type, I- type and J-type three types; both the arithmetic / logic operation instruction and take the number / deposit the number of instructions; both conditions of the transfer instruction and unconditional transfer instruction; both need to consider the overflow judge and have no need to consider the overflow instruction; both determine the size of a signed instruction and determine the size of unsigned instructions. The contents of these instructions, basically covers all the basic implementation technology instruction. Key words:QUARTUS II platform Verilog CPU FPGA
本課題研究用Verilog語言在由Altera公司開發(fā)的QUARTUS II平臺上,選取MIPS指令系統(tǒng)中具有代表性的11條指令作為CPU設(shè)計的指令系統(tǒng),在這個基礎(chǔ)上開發(fā)設(shè)計并實現(xiàn)一個基于FPGA的多周期CPU。 同時,在這次設(shè)計中,我也發(fā)現(xiàn)了自己的許多不足。首先,最初設(shè)計CPU時,對開發(fā)工具的掌握還不算很全面,走了不少彎路。其次,最初對CPU沒有一個完整的概貌,考慮不是很全面,所以在設(shè)計時,碰到不少困難。再次,我還應(yīng)該多掌握些CPU相關(guān)方面技術(shù),不斷提高自己開發(fā)軟硬件的能力。
|