/cache_simulator

Cache Simulator - Web application with React

Primary LanguageJavaScriptCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

Cache Simulator

Build Status Dependencies

Table of Contents

Description

Cache Simulator for educational purposes.

The simulator lets you create D-caches and main memories by your preferences and then simulate their behaviour by performing instructions manually or by entering a assembly-like program.

Prerequisites

To run and install the app locally you need node.js >= v0.10.25 and npm (node package manager).

Installation

  1. git clone https://github.com/Limmen/cache_simulator
  2. cd cache_simulator
  3. npm install
  4. npm start

Example

Usage

The following commands are available in the project:

# Start for development
$ npm start 

# Build with webpack on watch
$ npm run build

# Run unit tests
$ npm test

# Lint all files in src (also automatically done AFTER tests are run)
$ npm run lint

# When app is running on localhost you can run electron commands

# Create and run desktop version
$ npm run start_electron

# Build desktop versions for all of the major distributions
$ npm run build_electron

Built with

  • React.js - Framework for client-side JavaScript
  • Node.js - Framework for server-side JavaScript
  • Jest - JavaScript unit testing framework
  • Babel - JavaScript compiler for ES6
  • Webpack - Module bundler for JavaScript
  • EsLint - Linting utility for JavaScript
  • TravisCi - Continous integration service
  • Electron - framework for creating native applications with web technologies like JavaScript, HTML, and CSS.

Versioning

Semantic Versioning. For the versions available, see the tags on this repository.

Contributions

Bug reports and ideas for development extensions are welcome.

Copyright and license

LICENSE

Creative Commons Attribution-ShareAlike 4.0 International

Copyright (c) 2016 Kim Hammar