File Exchange

image thumbnail

MIPS processor in Simulink

version 1.1.0.0 (61.8 KB) by Mikhail
Implementation of single-cycle MIPS processor in Simulink

5 Downloads

Updated 04 Nov 2015

From GitHub

View Version History

View license on GitHub

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This is the implementation of single-cycle MIPS processor in Simulink. It closely follows the MIPS microarchitecture described in "Digital Design and Computer Architecture" by David Money Harris and Sarah L. Harris. This design can be simulated in Simulink and converted automatically to HDL using HDL Coder.
Supported instructions:
add
sub
and
or
slt
addi
lw
sw
beq
j
The instruction memory is preloaded with a sample program from the same book.

Cite As

Mikhail (2021). MIPS processor in Simulink (https://github.com/kyak/slmips), GitHub. Retrieved .

Comments and Ratings (7)

Artyom Andryonov

Mikhail

@timo Thanks, i didn't realize this model uses datatypes that require Fixed-Point Designer. I could try and work around that, but after reading your comment i decided to go ahead and add additional dependency by reimplementing some parts of the model using Stateflow.

Good luck!

DEVANAND

Marat Uss

Ivan

Alexander Slovak

Denis Zhegalin

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!