-
Notifications
You must be signed in to change notification settings - Fork 16
core_complex: set NONE finish condition #42
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
Conversation
|
Using a cci_param is my preferred solution for this. Implementing a converter would even allow to specify them literally. |
3068cfb to
3df5ea8
Compare
|
I couldn't change the title of the PR but replaced the commit with the CCI var implementation |
|
@eyck ready for review |
src/sysc/core_complex.h
Outdated
| } | ||
| template <typename U = QK> typename std::enable_if<std::is_same<U, tlm::scc::quantumkeeper_st>::value>::type run_iss() { | ||
| vm->start(std::numeric_limits<uint64_t>::max(), dump_ir); | ||
| template <typename U = QK> typename std::enable_if<std::is_same<U, tlm::scc::quantumkeeper>::value>::type run_iss() { |
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.
Pls keep the single threaded quantum_keeper (quantum_keeper_st) as quantum_keeper is a transitional alias.
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.
@eyck apologies - this was an artifact of my cherry-pick from an older revision, updated now
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.
No prob since it's not critical...
Add CCI variable to hold the finish condition enumeration value and apply it to the ISS.
3df5ea8 to
80a4ebb
Compare
eyck
left a comment
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.
LGTM
@eyck we need some way to specify a finish condition of NONE. This PR is just a brute-force solution which I presume doesn't work for all use cases. What would you like to do here? We could define a CCI variable (or multiple) if that would be better.