Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 618 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 618 Bytes

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::<Instruction>() to parse a string to an instruction.

Use following code to run the simulator:

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 demo demo