GithubHelp home page GithubHelp logo

loesterfranco / 32-bit-mips-processor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sevvalmehder/32-bit-mips-processor

0.0 1.0 0.0 568 KB

A 32-bit MIPS processor used Altera Quartus II with Verilog.

Verilog 100.00%

32-bit-mips-processor's Introduction

32-bit MIPS Processor

32-bit MIPS processor fully supporting all core instructions on green card at MIPS book.
There is a quartus II project archived file named "32-bitMIPSProcessor.qar"

Introduction

Big Picture

Big Picture

Lifecycle

(a) When clock trigger the program counter(PC), help to get the next instruction from module read_instruction.
(b) The inst_parser module realizes the instruction type(R type, I type, J type) then parses the instruction as an opcode, rs, rt, rd, shift amount, function, address and immediate.
(c) When opcode and function code change, all the signals that controlled by control_unit will be reset.
(d) If rs or rt registers change and there is read signal read_registers module will trigger.
(e) Signals about registers such as "read the register" or "write to register" signals.
(f) If the operation is an arithmetic operation, the content of rs and rt registers and shift amount value will send de ALU(Arithmetic Logical Unit)
(g) The result sended to register if the (e) signal is "write to register" signal.
(h) The resut sended to memory if the signal is about memory such as "write to memory" or "read from memory"
(i) Control the memory signals
(j) If signal is "read from memory" and the result must write to register(lw command), the result sended to read_register module

Method

Single Cycle Datapath

There are 7 modules:

  • Mips_core, as like a main.
  • read_instructions, to read the next instruction
  • inst_parser, instruction parser
  • control_unit, a control unit of processor
  • ALU32bit, 32 bit arithmetic logical unit.
  • read_data_memory, data memory of datapath
  • read_registers: control the register operations

32-bit-mips-processor's People

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.