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.
- Host: GitHub
- URL: https://github.com/gztimewalker/tomasulo-sim
- Owner: GZTimeWalker
- Created: 2022-12-24T13:40:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T13:45:35.000Z (over 2 years ago)
- Last Synced: 2025-04-21T10:17:57.850Z (about 2 months ago)
- Topics: coursework, rust, tomasulo
- Language: Rust
- Homepage:
- Size: 613 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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


