-
Notifications
You must be signed in to change notification settings - Fork 781
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
[entropy_src/dv] Health tests sometimes fail in scoreboard but not in DUT #18797
Comments
Moving to M7 as part of V3. |
I fixed most of these in #23787. However, I think there is also an RTL bug here. When I'll check if I can find some more that fail due to different reasons and report it here. |
I have now checked the last 5 regressions. There are also some failures that were probably already fixed by #23787. |
@andreaskurth yes I think we should wait for #24166 to close. The issue is already tagged in the PR such that it closes automatically. |
In very rare cases (based on how rarely this occurs even in full regression runs),
entropy_src
's scoreboard predicts a recoverable alert due to a failed health tests but RTL does not produce this alert. This usually manifests itself asUVM_ERROR @ * ps: (cip_base_scoreboard.sv:*) uvm_test_top.env.scoreboard [uvm_test_top.env.scoreboard] alert recov_alert did not trigger max_delay:*
.This seems to affect bucket tests and Markov tests.
Given current evidence, I think this is a minor difference between scoreboard and DUT (e.g., of statistical nature) and does not pose a substantial problem. Nonetheless, we should resolve it for DV closure. I'm thus labeling it V3.
Here's a patch that can help with debugging:
The problem can be reproduced with Xcelium 21.09-s006 as follows:
02fd38a036eb88f0e1068c83667b928d11e1f648
, testentropy_src_rng
, seed1862319441
(failing bucket test)c6009c674b93ae28b06badb8a98bba5c577ad4ab
, testentropy_src_rng_max_rate
, seed2988502003
(failing Markov test)You may also be able to reproduce the problem on
master
by running many random seeds of the tests above.The text was updated successfully, but these errors were encountered: