Giter Site home page Giter Site logo

pipemimic's Introduction

pipemimic

Overview

This work of mine was done during my last semester in college since it was designed to be presented in my Bachelor's Degree Thesis. It is very important to state that my work was highly motivated by CheckTools. I've read most of their papers, especially Pipe Check for many times for better understanding. Although "pipemimic"(a.k.a. this repo) was implemented in Scala, a considerable part of algorithms and data structures inside were borrowed(re-implemented) from Coq source codes in repo daniellustig/pipecheck. Additionally, that's why I named it pipe "mimic".

Basically, I just added some features here and there to enable Pipe Check to parse litmus tests for RVWMO(RISC-V Weak Memory Ordering), including

  • a parser for .litmus file (using ANTLR)
  • data/ctrl/addr dependency checking in parsing phase
  • fence rw,rw instruction support
  • checking final state of memory is consistent with requirements stated in litmus test

Besides, a presentation on this work was given at RISC-V World Conference China 2021. You may check my slides(in Chinese) for more information.

In this repo you may find:

  • ./parser: ANTLR source code
  • ./pipemimic: Scala source code
  • ./scripts: Python scripts used for converting csv files into pgfplots graphs
  • ./profiling: csv files generates by scala
  • ./plots-data: graphs (pgfplots format)

Reference

Daniel Lustig, Michael Pellauer, and Margaret Martonosi. "PipeCheck: Specifying and Verifying Microarchitectural Enforcement of Memory Consistency Models", 47th International Symposium on Microarchitecture (MICRO), Cambridge UK, December 2014.

pipemimic's People

Contributors

yikezhou avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.