OpenCores

mips789 :: Overview



Project maintainers

Details

Name: mips789
Created: Aug 24, 2007
Updated: Oct 2, 2014
SVN Updated: Nov 12, 2009
SVN: Browse
Latest version: download (might take a bit to start...)
Statistics: View
Bugs: 1 reported / 0 solved
Star2you like it: star it!

Other project properties

Category:Processor
Language:Verilog
Development status:Stable
Additional info:FPGA proven
WishBone compliant: No
WishBone version: n/a
License:

Description

This is a soft processor core written in verilog-2001 with five pipeline stages which supports almost MIPSI instructions. MIPS789 supports gcc-elf-mips tools provided by Steve Rhords, author of plasma.In fact, this core is designed based on this complier. I’ve tested it by using a lot of C programs in a CYCLONE device EP1C6Q240 at 50MHZ frequence and it worked so well. By calculation, its CPI (cycle per instruction) is about 1.1 when run common programs.

Features

- Five stage
- IF&ID: instructions fetch /decode.
- RF: register fetch /generate next pc (branch included).
- EXEC: execute instruction.
- DMEM: read/write data from/to data memory or device.
- WB: result write back to register bank.

- supporting interrupt by using a special way.
- dynamic IRQ address, which means you can redefine the IRQ address by point of C programs.
- using “MFC0 $RX,$RX” to save the Saved PC to register $RX.
- using “MTC0 $ZERO,$ZERO”to return from an interrupt.

- WELL TESTED
- Tested running all instructions that are implemented generated by assembler.
- Tested and running correctly at 50MHz in cyclone device EP1C6Q240 -8.
- Tested running large blocks of compiled C code.

- ATTIONS
- Only support big endian.
- DO NOT SUPPORT normal COP0 currently.
- SWL, SWR, LWL and LWR are not implemented.

I have no idea if implementing this core will or will not violate
patents, copyrights or cause any other type of lawsuits.

I provide this core "as is", without any warranties. If you decide to
build this core, you are responsible for any legal resolutions, such
as patents and copyrights, and perhaps others ....

THIS SOURCE FILE(S) IS/ARE PROVIDED "AS IS" AND WITHOUT ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE.

IMAGE: topview.GIF

FILE: topview.GIF
DESCRIPTION: structure of MIPS789

IMAGE: pi_2200.GIF

FILE: pi_2200.GIF
DESCRIPTION: Calculating PI with 2200 digitals (about 5second @50MHZ)

© copyright 1999-2018 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.