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 — python-cpu-simulator/README.md at main · sudeavci/python-cpu-simulator

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
43 lines (30 loc) · 1.82 KB
/

README.md

Copy path

File metadata and controls

43 lines (30 loc) · 1.82 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

💻 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
You are visitor 01402792 — 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.