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

[entropy_src] V2S Signoff #22469

Closed
andreaskurth opened this issue Apr 8, 2024 · 5 comments · Fixed by #23946
Closed

[entropy_src] V2S Signoff #22469

andreaskurth opened this issue Apr 8, 2024 · 5 comments · Fixed by #23946
Assignees
Labels
Component:DV DV issue: testbench, test case, etc. IP:entropy_src Type:Signoff

Comments

@andreaskurth
Copy link
Contributor

No description provided.

@andreaskurth andreaskurth added Component:DV DV issue: testbench, test case, etc. IP:entropy_src labels Apr 8, 2024
@andreaskurth andreaskurth added this to the Earlgrey-PROD.M4 milestone Apr 8, 2024
@moidx
Copy link
Contributor

moidx commented Jun 11, 2024

Discussed moving as P1 to M5 due to RTL risk analysis performed during last issue triage.

@vogelpi
Copy link
Contributor

vogelpi commented Jul 4, 2024

Commits since Earlgrey-PROD.M2

For Commits since Earlgrey-ES tapeout, see #20973 (comment) .

git rev-parse --short HEAD 3e678c1

6f274e0 [entropy_src] Map previously unmapped entropy_src_intr test
-> Map a test to corresponding testpoint
af726e8 [entropy_src] Use es_delayed_enable for SVAs tracking entropy flow
5b63281 [entropy_src/dv] Avoid Observe FIFO related timeout in max rate test
64c91b8 [entropy_src] Fix prediction for entropy dropping at esfinal FIFO input
e3dea68 [entropy_src/dv] Reset CSRNG IF after CS AES Halt IF becoming idle
5784189 [entropy_src] Add SVA to ensure FIFOs are empty when triggering SHA
-> DV and SVA fixes targeting the max rate test, related to #21855
7f8a908 [entropy_src/dv] Close toggle coverage
599e8ad [entropy_src/dv] Exclude hard coded counter inputs for toggle coverage
9e50bd3 [entropy_src/dv] Set thresholds and window sizes appropriately
5227586 [entropy_src/dv] Remove unimportant cover group bins
-> DV fixes to reach coverage targets for V2/V2S, see #21888
f49daa9 [entropy_src/rtl] Delay the main_sm_done signal
-> A fix for an RTL bug discovered when investigating functional coverage issues, see #23773
5caedf3 [entropy_src/doc] Doc interplay of startup health testing and FW_OV_MODE
cffe272 [entropy_src/doc] Fix typos
27279ff [entropy_src] Locally escalate upon internal FIFO errors and FSM errors
-> Aligning local escalation behavior with EDN and CSRNG
21a6bfd [prim/rtl] Allow for tech-specific impls of prim_flop_2sync
-> Not specific to ENTROPY_SRC, related to CDC closure
d9a0305 [entropy_src,rtl] Factor sfifo errors into fatal alert
-> Aligning escalation behavior with EDN and CSRNG
6a75417 [entropy_src,dv] Inline entropy_src_assert_if into vseq
ff29c10 [entropy_src,dv] Remove empty assert_*_alert tasks
-> DV fixes
8295903 [bazel,autogen_hjson] Split C and rust header generation
30d7e78 Add the project name to the copyright header
f4c2bb9 Remove trailing whitespaces
-> Not specific to ENTROPY_SRC
c0fb4c8 [entropy_src] Increase version number, revert verification stage to V1
-> Had to revert to V1 due to functional coverage metrics being below the threshold, see also #21888
92a7627 [entropy_src] Add SEC_CM labels and testplan entries for hardened FIFOs
046e1f0 [entropy_src/doc] Fix typo
3d2bd37 [entropy_src/doc] Clarify behavior re health test failures and alert
8e89f30 [entropy_src/doc] Document distribution FIFO
7eff696 [entropy_src/doc] Fix documentation of security countermeausures
1254476 [entropy_src/doc] Clean up documentation of interrupts
e2e0933 [entropy_src/doc] Clarify that the repetition count tests are continuous
2eb4229 [entropy_src/doc] Improve structure of theory_of_operation.md
9e8215d [entropy_src/doc] Minor corrections to README.md
-> Doc-only changes

Issues closed since Earlgrey-PROD.M2

For issues closed since Earlgrey-ES tapeout, see #20973 (comment) .

Currently open issues

Coverage report from 2024-07-04

m5_v2s_signoff_es

Some sequences don't have a 100% pass rate currently but all tests pass with more than 90%. The only exception is the stress_all_with_rand_reset test (V3).

All coverage metrics are above the 90% V2(S) threshold.

Summary

Between M2 and now, there have been very minor RTL changes to fix a bug (#23773) and to align the local escalation behavior with CSRNG and EDN (#23560, #22506).

Most of the effort went into improving the DV and in particular getting the coverage back up to the 90% thresholds for V2(S).

The following items are currently open for M5:

Once the P2 above has been taken care of, I suggest to sign off ENTROPY_SRC at V2S. What do you thing @h-filali and @andreaskurth ?

@h-filali
Copy link

h-filali commented Jul 5, 2024

@vogelpi In terms of commits I also found:

@vogelpi
Copy link
Contributor

vogelpi commented Jul 5, 2024

Thanks for your feedback @h-filali , I've now included these additional commits and issues above.

@vogelpi
Copy link
Contributor

vogelpi commented Jul 12, 2024

Update: also the last two open issues for ENTROPY_SRC have been resolved. We can proceed with the V2S sign-off :-)

nbdd0121 added a commit to nbdd0121/caliptra-rtl that referenced this issue Dec 11, 2024
Upstream OpenTitan commit 509b468edd684eeb7f59a99e93f2903edb85b69b

This resolves lowRISC/opentitan#22469.

The following files are changed in OpenTitan commit but not included:
- hw/ip/entropy_src/doc/checklist.md

Signed-off-by: Pirmin Vogel <[email protected]>
Co-authored-by: Gary Guo <[email protected]>
Signed-off-by: Gary Guo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:DV DV issue: testbench, test case, etc. IP:entropy_src Type:Signoff
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants