jack23247 / MIPS-multicycle-datapath

MIPS multicycle datapath made in logisim evolution.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MIPS-multicycle-datapath

MIPS multicycle datapath made in logisim evolution for the "Computers' Architecture" course @ UniversitĂ  degli studi di Milano-Bicocca, academic year 2020/2021.

Datapath and FSM are taken from "Computer Organization and Design: The Hardware/Software Interface, Mips Edition", 3rd edition.

This datapath implements:

  • R-Type instructions (ADD, AND, SUB, SLT)

  • Load Word

  • Store Word

  • Jump

  • Branch Equal

NOTE: the current implementation only recognize overflow for ADD operations and could misbehave for SUB operations.

Repository structure:

  • slides: here you can find the presentations used for the course, giving some hints on how to use this simulator.

  • truth-tables: here you can find the truth tables used to generate the circuits.

  • hex-instructions: here you can find some examples to load in the RAM to see how the datapath works.

  • exercises: here you can find the solution to some exercises we made for the course. The aim of each exercise is to modify the datapath to implement a new instruction or exception. Thanks to Simone Fontana, he made most of the work here, I just translated his work in logisim.

About

MIPS multicycle datapath made in logisim evolution.

License:GNU General Public License v3.0