/a-32-bit-single-cycle-microarchitecture-MIPS-processor-based-on-Harvard-Architecture.

In this project, you are required to implement a 32-bit single-cycle microarchitecture MIPS processor based on Harvard Architecture. The single-cycle microarchitecture executes an entire instruction in one cycle. In other words instruction fetch, instruction decode, execute, write back, and program counter update occurs within a single clock cycle.

Primary LanguageVerilog

a 32-bit single-cycle microarchitecture MIPS processor based on Harvard Architecture.

In this project, you are required to implement a 32-bit single-cycle microarchitecture MIPS processor based on Harvard Architecture. The single-cycle microarchitecture executes an entire instruction in one cycle. In other words instruction fetch, instruction decode, execute, write back, and program counter update occurs within a single clock cycle.

Objective
Referring to figure one, you are required to write the RTL Verilog files for all sub- modules of the MIPS processor (e.g. Register File, Instruction Memory, etc.). Then, implementing the top module of the MIPS processor.

image image

Top Module View
The processor is composed of a datapath and a controller. The controller, in turn, is composed of the main decoder and the ALU decoder. Figure 2 shows a block diagram of the single-cycle MIPS processor interfaced to external memories.

image image

Main Modules

  1. a 32-bit ALU 4) Register File
  2. Program Counter 5) Data Memory
  3. Instruction memory 6) Control Unit

Small Modules

  1. Sign Extend 3. Adder
  2. shift_left_twice 4. MUX

for more details, go to and read "Final Project" to learn more about the specifications of the design

Final Simulation Results

Program 1: GCD of 120 and 180 

image

Program 2: Factorial Number of 7

image

Program 3: fibonacci sequence

image