https://github.com/chrisvilches/organic-cache-simulator
Cache simulator.
https://github.com/chrisvilches/organic-cache-simulator
bootstrap cache cache-simulator computer-architecture javascript nodejs typescript
Last synced: about 2 months ago
JSON representation
Cache simulator.
- Host: GitHub
- URL: https://github.com/chrisvilches/organic-cache-simulator
- Owner: ChrisVilches
- Created: 2015-11-30T06:17:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T20:56:18.000Z (over 4 years ago)
- Last Synced: 2025-03-16T08:12:38.329Z (about 1 year ago)
- Topics: bootstrap, cache, cache-simulator, computer-architecture, javascript, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 266 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Organic Cache Simulator
Cache simulator. Originally made for learning during University.
Live Demo: http://cloud.chrisvilches.com/live_demos/organic-cache-simulator/
## Features
1. User can input addresses separated by comma or newlines.
2. Addresses can be word or byte.
3. Configure associativity, block size, etc.
4. 32 bits machine.
5. Display hit rate.
6. Display cache history.
## Installation and build
Install Node dependencies:
```bash
npm install
```
Compile Typescript, Sass, and other tasks.
```bash
gulp
```
Start server:
```bash
npm start
```
Open `http://localhost:3000/` to see the website.
## Deploy as static page
It's not necessary to run a Express.js app, since the app is static (Express was originally used to deploy to Heroku). Execute this command to generate a static distribution.
Note: The app must be previously compiled using `gulp`.
```bash
./generate_static_dist.sh
```
This will generate a HTML/CSS/JS/assets only folder (no Typescript, etc).
## Technologies used
1. Typescript
2. Bootstrap
3. jQuery
4. Sass
5. Gulp
6. Bower (not used anymore)
7. NodeJS
8. Express