Skip to content

mrfranza/CashEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cash Engine Simulation Project

Table of Contents

Introduction

The Cash Engine Simulation Project is an interactive web application designed to simulate the behavior of RAM-cash interaction in a computer architecture. This project provides insights into memory addressing, cache organization, and related concepts.

Project Structure

The project is organized as follows:

  • css/: Contains the Cascading Style Sheets for styling the application.
  • js/: Contains JavaScript files for different functionalities.
  • src/: Contains the HTML files used to display different sections of the application.

Getting Started

To run the simulation locally, follow these steps:

  1. Clone this repository to your local machine using:

    git clone https://github.com/your-username/cash-engine.git

  2. Open the project directory:

    cd cash-engine

  3. Open the index.html file in a web browser to launch the application.

Usage

The Cash Engine Simulation provides the following features:

  • Visualization of memory addressing and cache organization.
  • Calculation of cache and RAM sizes based on user-defined parameters.
  • Interactive settings to configure cache properties.

Configuration

To configure the simulation parameters, follow these steps:

  1. Open the simulation by launching the index.html file in a web browser.
  2. Click on the "SETTINGS" button in the top menu to access the configuration modal.
  3. Modify the following parameters:
  • Cache Size (in bytes)
  • RAM Address Length (in bits)
  • Block Size (in bytes)
  • Number of Cache Sets (N-way set associative)
  • Cache Type (Separated or United)
  • Reallocation Policy (Write Back or Write Through)
  • Write Policy (FIFO, LRU, LFU, RANDOM)

Technologies Used

  • HTML5
  • CSS3
  • JavaScript
  • FontAwesome for icons3. Open the index.html file in a web browser to launch the application.

Usage

The Cash Engine Simulation provides the following features:

  • Visualization of memory addressing and cache organization.
  • Calculation of cache and RAM sizes based on user-defined parameters.
  • Interactive settings to configure cache properties.

Configuration

To configure the simulation parameters, follow these steps:

  1. Open the simulation by launching the index.html file in a web browser.
  2. Click on the "SETTINGS" button in the top menu to access the configuration modal.
  3. Modify the following parameters:
  • Cache Size (in bytes)
  • RAM Address Length (in bits)
  • Block Size (in bytes)
  • Number of Cache Sets (N-way set associative)

Contributing

Contributions to this project are welcome! Here's how you can contribute:

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. Make your changes and commit them.
  4. Push the changes to your fork.
  5. Create a pull request.

Please ensure your pull requests adhere to the project's coding standards.

License

This project is licensed under the MIT License.

Contributing

Contributions to this project are welcome! Here's how you can contribute:

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. Make your changes and commit them.
  4. Push the changes to your fork.
  5. Create a pull request.

Please ensure your pull requests adhere to the project's coding standards.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published