GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sudeavci/python-cpu-simulator: A Python-based CPU simulator featuring a graphical user interface (GUI) to visualize instruction memory, data memory, and register transitions.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
cpu_simulator.py
cpu_simulator.py
 
 
data_memory.py
data_memory.py
 
 
gui.py
gui.py
 
 
instruction_memory.py
instruction_memory.py
 
 
main.py
main.py
 
 

Repository files navigation

šŸ’» Python GUI CPU Simulator

Python Version Interface Topic

A lightweight, interactive CPU simulator written in Python that features a Graphical User Interface (GUI). This simulator visually models the execution of instructions, showing real-time state changes within instruction memory, data memory, registers, and control units.


🧠 Features & Simulation Architecture

The application visually breaks down the standard processor design components into distinct modules, simulating how binary configurations translate into register operations.

  • GUI Dashboard: An interactive interface that visualizes register arrays, clock steps, and active execution pathways.
  • Instruction Memory Layout: Simulates instruction caching and fetching mechanisms step-by-step.
  • Data Memory Management: Models independent read/write cycles for dynamic memory simulation.

šŸ“ Repository Structure

ProjectSimulator/
│
ā”œā”€ā”€ cpu_simulator.json / .py # Core control logic and instruction parsing
ā”œā”€ā”€ data_memory.py           # Simulated RAM/Data storage mapping
ā”œā”€ā”€ instruction_memory.py    # Instruction fetch pipeline management
ā”œā”€ā”€ gui.py                   # Desktop visual layout and interactive panels
ā”œā”€ā”€ main.py                  # Simulator bootstrap entry point
└── .gitignore


šŸš€ Getting Started
Prerequisites
Python 3.8 or higher
Standard Python UI packages (Tkinter comes pre-installed with standard Python distributions)

How to Run
To boot up the graphical CPU dashboard, navigate to the project directory and run the master entry script:

Shell
python3 main.py

About

A Python-based CPU simulator featuring a graphical user interface (GUI) to visualize instruction memory, data memory, and register transitions.

Topics

computer-architecturecpu-simulatorgui-applicationinstruction-memorypythonsimulation-engine

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.