题名

設計MIPS R2000處理器與其軟硬體協同驗證環境

并列篇名

Design a MIPS R2000 Processor with Its Corresponding SW/HW Co-Verification Environment

DOI

10.29948/JAE.201010.0007

作者

朱守禮(Slo-Li Chu);李耕學(Geng-Siao Li);廖方晨(Fang-Chen Liau);陳侑谷(Yu-Ku Chen)

关键词

MIPS R2000處理器 ; 危障偵測 ; 模擬模型 ; 軟硬體協同驗證 ; MIPS R2000 processor ; hazard detection ; simulation model ; HW/SW co-verification

期刊名称

先進工程學刊

卷期/出版年月

5卷4期(2010 / 10 / 01)

页次

331 - 340

内容语文

繁體中文

中文摘要

現今電腦系統中,不論是桌上型電腦、手持式裝置、行動電話,處理器均扮演了一個最重要的角色。為了建立我們自有的系統晶片,我們使用可合成的Verilog硬體描述語言,開發了一個管線化的精簡指令集處理器。由於MIPS處理器在嵌入式系統與遊戲機的普及性與廣泛使用,我們在自有的處理器裡,實作了完整的MIPSR2000整數指令集,包括了五十九道MIPS指令,以五階管線化資料路徑實作、並加上前饋單元、危障偵測、分支預測等機制。此外,為了能除錯並驗證自有的處理器,我們也設計了兩個驗證環境。第一個驗證環境稱為模擬模型,以暫存器轉換階層之Verilog硬體描述語言實作,可模擬電腦系統的完整功能。它可以協助我們的MIPSR2000處理器在Verilog模擬器上除錯。第二個驗證環境稱為軟硬體協同驗證環境。它是在基於ARM Integrator與Logic Tile的FPGA之上來開發。這個系統可以仿真並證明我們所設計之MIPS R2000處理器,在FPGA上之完整硬體行為,並掛載至ARM Integrator系統一起驗證。設計者可藉此直接撰寫軟體來驗證MIPSR2000處理器的功能正確性。最後,我們以TSMC0.13μm與UMC0.18μm的製程,用Synopsys Design Compiler,合成我們的MIPSR2000處理器。在TSMC0.13μm製程下,其工作頻率可達148.8MHz,且晶片面積為3377207.5μm^2。

英文摘要

Modern processor plays the most important role in all kinds of computing domains, such as desktop computers, household appliances, mobile phones, etc. In order to build our own system-on-a-chip, we develop a pipelined RISC processor by using synthesizable Verilog HDL. Due to the popularity and widely adoption of MIPS processors in modern embedded systems and game consoles, we implements fully MIPS R2000 integer instruction set in our proposed processors. It contains fifty nine MIPS instructions with five-stage pipelined datapath, forwarding unit, hazard detection, and branch prediction mechanisms. Besides, in order to debug and verify the proposed processor, we also create two verification environments. The former verification environment is called Simulation Model, which is designed by register-transfer level Verilog HDL. It simulates the whole functionality of the computer system. It can help to debug our MIPS R2000 processor by Verilog simulators. The later verification environment is named Hardware-Software Co-verification environment, which is designed by FPGA board, Logic Tile, with ARM Integrator. This system can emulate and prove the full hardware behavior of designed MIPS R2000 processor which is implemented in the FPGA chip, and mounted on ARM Integrator. The designer can write software directly to verify the correctness of given MIPS R2000 processor. Finally, we synthesis our MIPS R2000 processor with TSMC 0.13μm and UMC 0.18μm cell libraries by using Synopsys Design Compiler. The working frequency can achieve 148.8 MHz, and the chip size is 3377207.5 μm^2 by applying TSMC 0.13μm CMOS technology.

主题分类 工程學 > 工程學綜合
工程學 > 工程學總論
工程學 > 土木與建築工程
工程學 > 機械工程
工程學 > 化學工業