GithubHelp home page GithubHelp logo

mips_singlecycle_cpu54's Introduction

MIPS_SingleCycle_CPU54

项目背景

本项目是计算机组成原理实践课的课程设计,要求完成54条指令的单周期MIPS CPU,并且要求前仿真输出结果和MARS汇编器的结果完全一致,后仿真波形图正常,下板结果正确。

使用技术

前仿真

深入理解单周期CPU的工作原理,然后绘制54条指令的数据通路图,列出对应的输入输出表、指令信号表。基于此,使用Verilog编写CPU代码。写完后,使用Vivado运行前仿真,将输出的结果和MARS汇编器的输出结果比对,调试程序直到54条指令的所有测试汇编程序在MARS汇编器下和我的程序下的输出完全一致为止。

后仿真

Synthesis之后使用ModelSim来完成后仿真,具体的注意事项见pdf文件。 post1

下板

依次运行Synthesis、Implementation、Generate Bitstream来进行后仿真和下板,结果如下: 下板2

编译运行环境

程序可以使用Vivado 2016和Modelsim来编译运行;在调试过程中还用到了MARS汇编器。

mips_singlecycle_cpu54's People

Contributors

ivan-zhong avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.