/MIPS_singe-cycle

Use C language to implement a single-cycle, functional processor simulator.

Primary LanguageC

MIPS_singe-cycle

// project1 : single_cycle_simulator

Implement a single-cycle, functional processor simulator.

It contain three types MIPS instruction.

R-type:

"add", "sub", "and", "or", "xor", "nor", "nand", "slt",
"sll", "srl", "sra", "jr" .

I-type:

"addi", "lw", "lh", "lhu", "lb", "lbu", "sw", "sh",
"sb", "lui", "andi", "ori", "nori", "slti", "beq", "bne" .

J-type:

"j", "jal" .

Specialized Instruction:

"halt" .

PS :

  1. You can use "make" instruction, that can compiler out a .exe file.
  2. You can use "make clean" instruction to clean *.exe , *.o , *.out , *.bin , *.rpt. Which can make your file looked clear.