Best thing is: The MIT model has at least one bug that riscv-formal would catch immediately. But they don't know that because they 1/2
-
-
Replying to @oe1cxw @whitequark
have not formally verified their model against ANYTHING yet. I'm not telling them bc I want to "find it with riscv-formal" first. :) 2/2
1 reply 1 retweet 8 likes -
Replying to @oe1cxw @whitequark
But I can't yet. Because so far they can't interface their model with anything that would actually allow me to use formal methods on it..
1 reply 1 retweet 3 likes -
Replying to @oe1cxw @whitequark
You’re saying there is a bug in the spec they are verifying against?
1 reply 0 retweets 0 likes -
Replying to @alastair_d_reid @whitequark
Yes. But they aren't verifying their spec against anything (yet). Their primary focus is on proofing abstract properties of the ISA..
3 replies 0 retweets 0 likes -
And that is also very important of course, but I think the first step should be proving that the spec actually matches the implementation.
2 replies 0 retweets 0 likes -
Replying to @oe1cxw @whitequark
But but but... all the hard bits of specs and of processors are in exception handling. If you skip that bit, you’re doing the easy 10%
2 replies 1 retweet 2 likes -
Replying to @alastair_d_reid @whitequark
This is the MIT Spec: https://github.com/mit-plv/riscv-semantics … Contains parser for subset of Haskell with >200 shift-reduce (and some r-r) conflicts.
3 replies 0 retweets 4 likes -
Replying to @oe1cxw @whitequark
Why would you write spec in a language that many programmer find obscure and hard (for humans) to parse???
2 replies 0 retweets 4 likes -
Surely spec lang should be optimised for readability by broad cross-section of programmers, not for niche?
1 reply 0 retweets 1 like
Sail was also a contender: http://www.cl.cam.ac.uk/~pes20/sail/
-
-
Replying to @oe1cxw @whitequark
I think Sail would be the best choice for them! (Though it could do with some syntax cleanups, etc.)
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.