Skip to content
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

Expose VPI cbNextDeadline #2204

Closed
mballance opened this issue Mar 25, 2020 · 2 comments
Closed

Expose VPI cbNextDeadline #2204

mballance opened this issue Mar 25, 2020 · 2 comments

Comments

@mballance
Copy link
Contributor

@mballance mballance commented Mar 25, 2020

static QData cbNextDeadline() {

Verilator's VPI implementation includes a cbNextDeadline() method that returns the time of the next VPI callback. Currently this method is neither exposed via a header file, nor used by the implementation. I believe this API would be quite useful to integrations (ie C++ testbenches) that need to support VPI (thinking of cocotb, specifically). Any objections to exposing this in verilated_vpi.h? If not, I'll put in a PR.

Thanks,
Matthew

@wsnyder

This comment has been minimized.

Copy link
Member

@wsnyder wsnyder commented Mar 25, 2020

Sure, please make a pull request for this & please add or improve a test to appease code coverage.

@wsnyder

This comment has been minimized.

Copy link
Member

@wsnyder wsnyder commented Mar 30, 2020

Closed with pull #2212.

@wsnyder wsnyder closed this Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.