Skip to content

About

CPU Simulator is a TypeScript project designed to simulate the functionality of a CPU, providing a simulated environment to test and analyze various CPU operations.

Topics

Resources

Stars

9 stars

Watchers

2 watching

Forks

Repository files navigation

CPU Simulator

CPU Simulator is a project implemented in TypeScript, designed to simulate the functionality of a CPU. This project aims to help understand the inner workings of a CPU by providing a simulated environment where various CPU operations can be tested and analyzed.

Features

  • Simulate basic CPU operations such as arithmetic, logic, and control instructions.
  • Register and memory management.
  • Fetch-decode-execute cycle simulation.
  • Support for custom instruction sets.
  • Visualization of CPU state and operation flow.

Try it out (Beta version)

You may try out the live version via the following URL.

https://cpusimulator.org

Build locally

Prerequisites

  • Node.js (version 14 or higher)
  • npm (Node package manager)

Installation

  1. Clone the repository:

        git clone https://github.com/thil4n/cpu-simulator.git
  2. Navigate to the project directory:

        cd cpu-simulator
  3. Install the dependencies:

        npm install

Running the Simulator

To start the CPU simulator, run:

npm run dev

Contributing

Contributions are welcome! Please read the CONTRIBUTING.md for details on the code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • List any resources or inspirations for your project.

Contact

For any inquiries, please contact thil4n.

About

CPU Simulator is a TypeScript project designed to simulate the functionality of a CPU, providing a simulated environment to test and analyze various CPU operations.

Topics

Resources

Stars

9 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages