Skip to content

sshwy/y86-pipe-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Y86 Pipeline Simulator Rust Implementation

Y86-64 is an ISA described in CMU CS15213: CSAPP (or Introduction to Computer System, ICS, 计算机系统导论 in chinese).

This project reimplement the y86 simulator in the ArchLab using Rust, aiming at better code readability and experiment for mordern solutions for DSL handling.

Without using flex, yacc or bison for HCL (hardware control language) parsing, we tend to a pure rust macro rule approach, which provides not only similar syntax with the original HCL, but also zero-cost dev-time syntax highlighting and type checking.

Moreover, we're able to build the computational graph (only once before the first cycle) as a DAG and arrange the order of combinatorial logics and devices' execution topologically, without explicitly writing code for stepping cycles.

Hope you enjoy.

About

Y86 Pipeline Simulator Rust Implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages