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

Verilator VPI dirty optimization #3861

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

toddstrader
Copy link
Contributor

Pending verilator/verilator#5065 and probably a Verilator release due to the API change.

This doesn't appear to do much for test_matrix_multiplier_verilator but it's made noticeable performance improvements for us locally (think a monitor coro which doesn't touch the DUT).

@imphil imphil changed the title Verilator VPI ditry optimization Verilator VPI dirty optimization Apr 23, 2024
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.16%. Comparing base (248b95c) to head (823c2bc).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3861      +/-   ##
==========================================
+ Coverage   72.68%   73.16%   +0.47%     
==========================================
  Files          49       49              
  Lines        8058     7952     -106     
  Branches     2218     2209       -9     
==========================================
- Hits         5857     5818      -39     
+ Misses       1694     1612      -82     
- Partials      507      522      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


// Call Value Change callbacks triggered by eval()
// These can modify signal values
again = settle_value_callbacks();
settle_value_callbacks();
Copy link
Contributor

Choose a reason for hiding this comment

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

If we really don't care if any callbacks were called, you can change the function to not return anything.

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.

None yet

2 participants