Skip to content

yjlcoder/MipsCPU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MipsCPU

Overview

This project is designed for Xilinx Nexys 3, a FPGA board.

This repo contains how to organize your own CPU based on MIPS instruction sets from FPGA, and how to make it work with memories, VGA monitors, buttons.

The CPU holds the frequency of 75MHz, where the frequncy of crystal oscillator is 100MHz. I use 5-stage pipeline technology to build this CPU.

5-stage pipeline

The 5-stage pipelines are:

  • Instruction Fetching
  • Instruction Decoding
  • Execution
  • Memory Visiting
  • Writing back

Some data folders

ASM Folder: MIPS assembly code

  • draw.asm: draw lines and blocks in screen
  • myprogram.asm: entry of the program

Design Folder:

  • pixel.xlsx: Address of video memory, and the color it presents

About

A MipsCPU, implemented on Xilinx Nexys 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published