Giter Club home page Giter Club logo

iosep_proof's Introduction

Formal Spec and Verification of I/O Separation Model, Interpretation for General On-Demand I/O Kernels, and Further Instantiation to Wimpy Kernel

Folders

<Abstract> - I/O Separation model, aka. abstract model
<DetailedModel> - Concrete model, aka. detailed model,
<WK_Design> - the model of sound Wimpy Kernel design. This model uses the same state, hardware mediation mechanisms, state invariants, transition constraints, initial state definitions as the one in the detailed model. Thus, there is no syntax.dfy in this folder

Steps to Run Verification (tested on Windows only)

(1) Download Dafny 2.1.1.10209 x64 binaries from https://github.com/Microsoft/dafny/releases
(2) Instruct the OS to be able to run dafny command under any directory, e.g., by setting the PATH variable of "environment variables" in Windows.
(3) In each folder of models, execute "full_v.bat" to run the verification. The file needs to be modified on Linux/MacOS.

Important Notes:
(1) Run "full_v.bat" only if your machine has more than 3GB*n memory, n is the number of CPU cores (e.g., my machine has 8 cores and 24GB memory). Otherwise, use dafny to verify each file serially.
(2) Run ONLY ONE "full_v.bat" at a time. This batch command will try to utilize all CPU cores. My machine has 8 cores, and the verification takes 1-2 hour for each model on my machine.

How to Know Verification Succeed

(1) After verification is done in <Abstract>, <DetailedModel> or <WK_Design> folder, a <Result> folder is created as a subfolder under these folders.
(2) In the <Result> folder, run "grep -RsIn "errors" ." command. In each line displayed, there should be "0 errors" at the end.

iosep_proof's People

Contributors

superymk avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

mars-research

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.