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

[spi_device] V1 Signoff #21009

Closed
msfschaffner opened this issue Jan 25, 2024 · 7 comments
Closed

[spi_device] V1 Signoff #21009

msfschaffner opened this issue Jan 25, 2024 · 7 comments
Assignees
Labels
Component:DV DV issue: testbench, test case, etc. IP:spi_device Type:Signoff

Comments

@msfschaffner
Copy link
Contributor

Description

Ensure V1 signoff criteria are fulfilled after focus area changes have landed.

@msfschaffner msfschaffner added this to the Earlgrey-PROD.M2 milestone Jan 25, 2024
@msfschaffner msfschaffner added the Component:DV DV issue: testbench, test case, etc. label Jan 25, 2024
@a-will
Copy link
Contributor

a-will commented Feb 1, 2024

Note that this will need updates to the test plan, since generic mode has been deleted.

@hcallahan-lowrisc
Copy link
Contributor

Some M2 DD items (e.g. removal of Generic Mode, Removing the filter CSR, Potential Logic Optimizations) should not have a significant impact in terms of expected DV effort, so I'm going to reduce this effort slightly. @johngt

@antmarzam
Copy link
Contributor

antmarzam commented Feb 27, 2024

Commits since Earlgrey-ES tapeout

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

599ab38 [spi_device] Update block diagram for TPM / generic mode
2d1e029 [spi_device] Add read pipeline diagram
1d2e3fe [spi_device] Remove data transfer diagram
094cb9f [spi_device] TPM port name change: rst_n -> rst_ni
2f0b933 [spi_device] Fix up TPM synchronization between domains
4ed1a8f [spi_device] Add synchronous clear to spid_fifo2sram_adapter
9b5f4e0 [spi_device] Clean up TPM address check
cbda9ea [spi_device] Fix up TPM command handling
0d14dd6 [docs] Fix repetitions of the definite article
39cfb3e [spi_device] Remove all timing mode CSRs
4c3debe [spi_device] Document the high-speed read pipeline
7f855dc [spi_device] Add pipelined reads for flash / passthrough
f28b713 [spi_device] Remove generic mode mentions
56c127c [spi_device] Write mode and status bits alongside command
d914f75 [spi_device] Enable continuously polled status registers
aff3fbd [reggen] Add unused we field statement for hwext
81cfbe0 [spi_device] Harmonize address mode syncs to byte beats
40a6ace [spi_device] Relax stringent CSB pulse width requirements
61a237e [util/reggen] reverse order of substruct generation
f83506b [spi_device] Add params for DPRAM offsets
f554d45 [spi_device] Add support for 1r1w RAMs and parity init
fc84846 [reggen,hw] Create index parameter for registers windows
726cd46 [spi_device] Remove generic mode
de31bdf [reggen] Remove the devmode input
963a500 [doc] Minor tweak to md sanitisation code
f91b5b4 [spi_device] Add 'features' list to spi_device.hjson
1b16ca2 [reggen] Add mubi support SWAccess that sets/clears a reg
59f8142 [doc] Moved badges over to using hosted images
e85f47c [doc] spi_device registers and interfaces now use CMDGEN
7688e71 [reggen] Add initial support for version and cip_id hjson fields
fbd888e Revert "[reggen] Add CIP_IDs and bump all major versions"
0ba10b3 [reggen] Add CIP_IDs and bump all major versions
9378305 [regtool] Correct register QE assignment

Issues closed since the Earlgrey-ES tapeout

DD (& DV)

Not planned DD (& DV)

DV

Doc

Currently open issues

The following issues do not need resolving yet as we're doing V1 sign-off at this point.

DD (& DV)

DV

Coverage report from 25/02/2024

The following report comes from the nightly regression dashboard (hash#49a27e136c)
Screenshot from 2024-02-27 18-33-36

The passing rate for the nightly regression above meets V1 sign-off criteria.
Currently all the V1 tests are passing at 100% pass rate.
For the overall (including V2, V2s and V3) the passing rate is over 94% for all tests with the vast majority being at 100% pass rate.

Summary

There has been a major refactor of spi device including the removal of the generic mode as well as changes which affect both TPM and flashmodes.

@antmarzam
Copy link
Contributor

@rswarbrick / @hcallahan-lowrisc Can you review and let me know if the sign-off looks good?
Spi-device DV sign-off is definitely over V1 standards. Is it possible to sign it off at V2/V2S instead?
The screenshot above showing 52.78% progress for V2 is a bit misleading since quite a few of V2 tests on that list are part of the generic mode which is being removed from the testplan in #21579

@rswarbrick
Copy link
Contributor

We've just had a V1 review meeting (@a-will, @antmarzam, @hcallahan-lowrisc, @rswarbrick). Notes here.

We're happy that all V1 checklist items are addressed, although we spotted a couple of minor action items that we'll try to handle immediately.

These action items don't themselves gate V1 signoff, so we're happy to mark the block as V1 at this point.

@a-will
Copy link
Contributor

a-will commented Mar 6, 2024

We're technically supposed to leave this open until the specific commit that changes the state is merged, but... I rolled back spi_device to V1, not V0, so there won't be such a commit. 😂

@rswarbrick
Copy link
Contributor

Oops! I'll claim that I'd carefully thought about this... :-)

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:spi_device Type:Signoff
Projects
None yet
Development

No branches or pull requests

6 participants