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

https://github.com/gztimewalker/tomasulo-sim

A simple tomasulo simulator written in Rust for the course Computer Architecture.
https://github.com/gztimewalker/tomasulo-sim

coursework rust tomasulo

Last synced: about 1 month ago
JSON representation

A simple tomasulo simulator written in Rust for the course Computer Architecture.

Awesome Lists containing this project

README

        

# Tomasulo Simulator

This is a Tomasulo simulator written in Rust for the course Computer Architecture.

Two Demo programs are tested in the simulator, which are in the `main.rs` file.

## Usage

Use `s.parse::()` to parse a string to an instruction.

Use following code to run the simulator:

```rust
let mut executer = executer::Executer::new();
executer.add_insts(insts);
executer.run();
```

## Note

This is only a **course project**, so it is not well tested. If you find any bugs, please open an issue.

## Demo

![demo](./assets/demo1.png)
![demo](./assets/demo2.png)
![demo](./assets/demo3.png)