-
Notifications
You must be signed in to change notification settings - Fork 5
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
New IDE implementation #52
Conversation
@colby-nyce what use case have you found where a pre/post execute Observer Action will return a fail Action? |
The fail action group code path would be used often by the IDE to tell the C++ sim not to evaluate a particular inst handler. |
@@ -350,6 +366,51 @@ namespace atlas | |||
return 0; | |||
} | |||
|
|||
sparta::Register* AtlasState::findRegister(const std::string & reg_name) const |
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.
Does the register name here have a prefix like "x" or "f"? If so, this method can probably be a little smarter and use the prefix to determine the register type.
} | ||
} | ||
|
||
return nullptr; |
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.
Should this be an error instead? Seems like it would be bad if a register didn't exist at all.
} | ||
} | ||
|
||
void AtlasState::cleanup() |
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.
Any reason this can't be included in the destructor?
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'll be honest I didn't review every single line of Python code in this thing, but everything I did look at looks good!
No description provided.