GZTimeWalker / tomasulo-sim

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Rust 100.0%