Skip to content

Conversation

@eugenecohen-qti
Copy link

@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.

@eyck
Copy link
Contributor

eyck commented Feb 5, 2026

Using a cci_param is my preferred solution for this. Implementing a converter would even allow to specify them literally.
@eugenecohen-qti Could you please implement it using a cci_param<unsigned> with a static_cast. I would then implement the cci converter later on.

@eugenecohen-qti eugenecohen-qti marked this pull request as ready for review February 9, 2026 21:34
@eugenecohen-qti
Copy link
Author

I couldn't change the title of the PR but replaced the commit with the CCI var implementation

@eugenecohen-qti
Copy link
Author

@eyck ready for review

}
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() {
Copy link
Contributor

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.

Copy link
Author

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

Copy link
Contributor

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.
Copy link
Contributor

@eyck eyck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eyck eyck merged commit c28db29 into Minres:main Feb 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants