Skip to content

This repository contains three interconnected projects exploring fundamental computer architecture concepts. The projects focus on assembly language programming, memory management, and CPU simulation. The work was completed as part of a graduate-level Computer Architecture course.

Notifications You must be signed in to change notification settings

dho-rae/Computer-Architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Computer-Architecture

Overview

This repository contains coursework projects that focus on understanding the fundamentals of CPU architecture, instruction decoding, caching mechanisms, and pipeline simulation.

Projects

1) Instruction Decoder

  • Extracts specific bits from 32-bit MIPS instructions.
  • Supports both R-format and I-format instructions.
  • Demonstrates instruction decoding using bit masking and shifting.

Folder: Project-1
Main file: instruction_decoder.py

2) Cache Simulator

  • Simulates a direct-mapped cache with 16 slots.
  • Implements cache read, write, and display operations.
  • Uses write-back policy to update main memory.

Folder: Project-2
Main file: cache.py

3) Pipeline Simulation

  • Simulates a five-stage instruction pipeline (IF, ID, EX, MEM, WB).
  • Implements register forwarding and hazard detection.
  • Displays all pipeline register states at each clock cycle.

Folder: Project-3
Main file: pipeline_simulator.py

About

This repository contains three interconnected projects exploring fundamental computer architecture concepts. The projects focus on assembly language programming, memory management, and CPU simulation. The work was completed as part of a graduate-level Computer Architecture course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages