An open API service indexing awesome lists of open source software.

https://github.com/louiealmeda/sap1-architecture-simulation

https://sap1-simulator.almeda.io/
https://github.com/louiealmeda/sap1-architecture-simulation

sap1

Last synced: 8 months ago
JSON representation

https://sap1-simulator.almeda.io/

Awesome Lists containing this project

README

          

# SAP 1 Architecture Simulator

This simulator aims to help Educators teach how the SAP 1 Architecture works. This simulator features capabilities to support that goal.

https://sap1-simulator.almeda.io/

## Overview

![image](https://sap1-simulator.almeda.io/images/Help.jpg)

## Interactive Control Pins
Visually demonstrate how the control pins affects the connections between components.
![image](https://sap1-simulator.almeda.io/images/control-pins.gif)

## Playback controls
Observe how the whole system interact with the memory, and which pins are changed based on the cycle time and instructions.

![image](https://sap1-simulator.almeda.io/images/playback.gif)

## Toggle Memory Display

Toggle between readable and binary view. Please note that when showing as MNEMONICS, the data memory values may incorrectly show as instructions. The memory doesn't really know which records are instructions or data.

![image](https://sap1-simulator.almeda.io/images/toggle-view.gif)

## Edit Memory and Instruction set

Edit the instruction set and variables using this control. Please make sure to enter your data as binary.
Little validation is done on this part, so ensure that you've entered a valid structure and instructions

The format should be always be a 4-bit address 8-bit value

```
address value
0000 00001110
```

Supported Instructions are:

```
LDA: 0000
ADD: 0001
SUB: 0010
OUT: 1110
HLT: 1111
```
![image](https://sap1-simulator.almeda.io/images/edit-memory.gif)