lowRISC / opentitan

OpenTitan: Open source silicon root of trust
https://www.opentitan.org
Apache License 2.0
2.42k stars 724 forks source link

[spi_device, dv] V2S signoff #23489

Closed antmarzam closed 13 hours ago

antmarzam commented 4 weeks ago

Description

Get spi_device ready for V2S signoff and sign it off

antmarzam commented 4 weeks ago

DESIGN_DELTAS_CAPTURED_V2

List of commits since ES. The list has been compiled via:

git log Earlgrey-M2.5.2-RC0..HEAD hw/ip/spi_device/ hw/dv/sv/spi_agent/

All the commits covered in V1 sign-off have been taken out of the list.

Newer commits at the top:

Apart from the issues above, there are a couple of TB related Spi_device PRs open:

DV_DOC_COMPLETED

All RTL changes have been reflected in the spec

FUNCTIONAL_COVERAGE_IMPLEMENTED

Functional coverage for new features has been implemented

ALL_INTERFACES_EXERCISED

Yes

ALL_ASSERTION_CHECKS_ADDED

Yes - except for the open ticket

SIM_TB_ENV_COMPLETED

Yes

SIM_ALL_TESTS_PASSING

Not true in an absolute manner but true for our metrics. Currently there are between 0/1 failures per overnight regression run which runs 1101 tests

SIM_NIGHTLY_REGRESSION_V2

Yes, current passing rate is very high as there's 0/1 failure per run

SIM_CODE_COVERAGE_V2

Yes, although there is an issue with the path in an RTL waiver file and the FSM numbers for passtrough are low, but that feature is unsupported and hence waivable.

SIM_FUNCTIONAL_COVERAGE_V2

Yes, current metric is 99.25% for FCOV

SEC_CM_PLANNED

Yes, and already implemented

NO_HIGH_PRIORITY_ISSUES_PENDING, ALL_LOW_PRIORITY_ISSUES_ROOT_CAUSED

No P0/1 issues Low priority only issue

DV_DOC_TESTPLAN_REVIEWED

No change here

V3_CHECKLIST_SCOPED

The checklist hasn't been scoped, but given the coverage numbers (shown below). I anticipate an effort of up to 2 weeks to close coverage and do the necessary cleanup

COVERAGE NUMBERS as of 2/6/24

Screenshot from 2024-06-04 18-24-33

Note: FPV and SIM_FW_SIMULATED have been removed from above list since they don't apply to spi device.

antmarzam commented 4 weeks ago

V3 checklist scoping:

I would say a pessimistic estimate would be 1-week + 1 week + 1 week + 5 days = 20 days

a-will commented 3 weeks ago

CC @a-will

antmarzam commented 5 days ago

@andreaskurth / @rswarbrick I believe this issue can now be closed since the last spi-device (DV) PR has been merged on master? If so #22473 could also be closed

rswarbrick commented 4 days ago

I think I agree this is done (thanks!). To close the issue, could you push a PR that changes the status in spi_device.hjson (line 40).