Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This project is a "Mini-MIPS" pipeline CPU as a logic gate circuit. Open using Logisim.

Notifications You must be signed in to change notification settings

rbouaf/logic-gate-cpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

image

Extremely stripped down and simplified pipeline CPU with no cache.

Load data into the Data RAM, load your instructions into the Instruction RAM and start the clock.

8 nibble Instruction RAM, 2 nibble Data RAM, 2 nibble Register Block, all data is in nibbles.

Opcode is 1 nibble: _ _ _ _

  • first 2 bits are the instruction: ADD, SUB, LOAD, SUB, HALT

    • 00__ LOAD
    • 01__ SAVE
    • 10__ ADD
    • 11__ SUB
    • 1111 reserved for HALT
  • 3rd bit is the register

    • 0 for $r0
    • 1 for $r1
  • 4th bit is the Data RAM address

    • 0 for ram address 0
    • 1 for ram address 1

About

This project is a "Mini-MIPS" pipeline CPU as a logic gate circuit. Open using Logisim.

Resources

Stars

Watchers

Forks