Skip to content

Pottarr/8Bit-CPU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8Bits CPU Simulation

This project was create as a final project for the Computer Architecture and Organization class of B.Eng. @ KMITL
For marking, please go to this branch. Other branches are for continuous development after the project was finished.

Program used

Specification

Overview

  • 8 bits size memory
  • 8 accessible registers R0 - R7
  • 20 bits size instruction
  • Support 5 Stages of Pipeline
  • Provided Solution for Pipeline Hazards
  • Support Stack
  • Support 8 bits I/O
  • Branch Prediction: Assume Not Taken as Default
  • Provided Assembler as compiler.py

Components

  • PC (Program Counter)
  • IR (Instruction Register: Using ROM (Read Only Memory))
  • RAM (Random Access Memory)
  • CU (Control Unit)
  • Register File
  • ALU (Arithmetic and Logic Unit)
    • Adder
    • Subtractor
    • Multiplier
    • AND
    • OR
    • XOR
    • NOT
  • Flags Register
  • Forward Register
  • Stack Pointer Register

Future Plans

  • Implement Software Interrupt
  • Expand to 32 bits

Contributers

About

Building an 8 Bit CPU with its own set of instructions (Computer Architecture and Organization)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages