-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add field to MMIOSpec for hardware guarantees #27
Conversation
Draft PR for bedrock2 changes: mit-plv/bedrock2#187 |
CI is failing, but it looks like master has the same error? |
If this works, it's cool, but I'm not yet sure if it will, can we wait with merging until I understand? |
@@ -22,13 +22,15 @@ Require Import riscv.Platform.Sane. | |||
Local Open Scope Z_scope. | |||
Local Open Scope bool_scope. | |||
|
|||
|
|||
Class MMIOSpec{W: Words} := { | |||
Class MMIOSpec{W: Words} {Mem : map.map word byte} := { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is Mem
unused here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess LogItem takes it as a parameter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess LogItem takes it as a parameter?
Yes, that's where it's used.
@@ -22,13 +22,15 @@ Require Import riscv.Platform.Sane. | |||
Local Open Scope Z_scope. | |||
Local Open Scope bool_scope. | |||
|
|||
|
|||
Class MMIOSpec{W: Words} := { | |||
Class MMIOSpec{W: Words} {Mem : map.map word byte} := { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess LogItem takes it as a parameter?
As discussed in mit-plv/bedrock2#186
I've been able to build bedrock2 on top of this change with a couple of slight modifications (I'll push a draft PR to bedrock2 in a second so you can view those).