[doc] Update stages doc with top-level stages#597
Conversation
|
@marnovandermaas, WDYT? |
2d50ddb to
f094b94
Compare
marnovandermaas
left a comment
There was a problem hiding this comment.
Thank you so much for this PR. I really enjoyed the motivation sections you added. I put some of my thoughts in here, which I hope are useful.
| |---------------|-----------------| | ||
| | TOP_DV_DOC_DRAFTED | DV document drafted covering testbench architecture, agent topology, firmware-driven stimulus model, and chip-level coverage intent. | | ||
| | TOP_VPLAN_COMPLETED | Verification plan (`top_mocha_vplan.hjson`) complete with the metric-to-test mapping for each coverage item and milestone specified. Reviewed by designers, a peer DV engineer, firmware author, and chip architect. | | ||
| | TOP_TESTPLAN_COMPLETED | Chip-level testplan (`chip_testplan.hjson`) complete with at least one testpoint per integrated IP. Reviewed by designers, a peer DV engineer, firmware author, and chip architect. | |
There was a problem hiding this comment.
Same as for vplan.
There was a problem hiding this comment.
I have edited the text in my last push into:
Chip-level testplan (
chip_testplan.hjson) substantively complete (>90% of intended scope) with at least one testpoint per integrated IP. Reviewed and approved by designers, a peer DV engineer, firmware author, and chip architect. Further evolution is expected as the design matures; the review ensures no major testpoint gaps remain before DV execution begins.
Is it OK for you?
f094b94 to
0bf8c92
Compare
3a5f103 to
274ac44
Compare
|
274ac44 to
0cfecc9
Compare
548a6df to
81cf5ee
Compare
marnovandermaas
left a comment
There was a problem hiding this comment.
Another few comments from my end. The main issue I still have is the VPLAN and TESTPLAN completed statements for V1 and that these are not revisited in V2 and V3.
|
|
||
| 1. **Register reachability:** SW writes and reads at least one CSR, confirming correct address-map wiring through the crossbar. | ||
| 2. **One integration-unique functional path:** one transaction that exercises a path only present at the chip level. The chip's external ports relevant to the IP under test must be connected to a UVM agent or a component that actively drives or passively observes them; a port left undriven or tied off does not count as exercised. This distinguishes a chip-level smoke from an IP-level smoke. | ||
| 3. **At least one interrupt delivery** (where the IP can generate an interrupt): one full machine-mode claim/complete cycle through the PLIC, confirming IP to PLIC to CPU wiring. |
There was a problem hiding this comment.
This is split into separate tests usually right?
There was a problem hiding this comment.
I think my last push already addressed this. WDYT?
| | **Item name** | **Description** | | ||
| |---------------|-----------------| | ||
| | TOP_DV_DOC_DRAFTED | DV document drafted covering testbench architecture, agent topology, firmware-driven stimulus model, and chip-level coverage intent. | | ||
| | TOP_VPLAN_COMPLETED | Verification plan (`top_mocha_vplan.hjson`) substantively complete (>90% of intended scope) with the metric-to-test mapping for each coverage item and milestone specified. Reviewed and approved by designers, a peer DV engineer, firmware author, and chip architect. Further evolution is expected as the design matures; the review ensures no major coverage gaps or methodological misalignments remain before DV execution begins. | |
There was a problem hiding this comment.
I think we can remove the multiple approvals here, since we already have that step from the overall V1 approval
There was a problem hiding this comment.
I have done a re-wording of this part, I hope it's better now.
| | TOP_VPLAN_COMPLETED | Verification plan (`top_mocha_vplan.hjson`) substantively complete (>90% of intended scope) with the metric-to-test mapping for each coverage item and milestone specified. Reviewed and approved by designers, a peer DV engineer, firmware author, and chip architect. Further evolution is expected as the design matures; the review ensures no major coverage gaps or methodological misalignments remain before DV execution begins. | | ||
| | TOP_TESTPLAN_COMPLETED | Chip-level testplan (`chip_testplan.hjson`) substantively complete (>90% of intended scope) with at least one testpoint per integrated IP. Reviewed and approved by designers, a peer DV engineer, firmware author, and chip architect. Further evolution is expected as the design matures; the review ensures no major testpoint gaps remain before DV execution begins. | |
There was a problem hiding this comment.
I know we already discussed this but I still think these are very ambitious and not sure if we can do it in our time frame. If I were to write these I would change "_COMPLETED" to "_DRAFTED". I would also remove the ">90% of intended scope". And instead of "substantively complete" make it "substantively drafted".
There was a problem hiding this comment.
I have done a re-wording of this part. Although, I don't want the "DRAFTED" word, I feel it's too weak. What do you think of:
| TOP_VPLAN_REVIEWED | Verification plan (`top_mocha_vplan.hjson`) substantively complete: every planned coverage item has a metric-to-test mapping and its milestone specified, with no known major coverage gaps. Reviewed with stakeholders across DV, design and software/firmware so no perspective's coverage gaps or methodological misalignments remain before DV execution begins. The plan is expected to evolve as the design matures. |
| TOP_TESTPLAN_REVIEWED | Chip-level testplan (`chip_testplan.hjson`) substantively complete: at least one testpoint per integrated IP and no known major testpoint gaps. Reviewed with stakeholders across DV, design and software/firmware so no perspective's testpoint gaps remain before DV execution begins. The plan is expected to evolve as the design matures. |
Signed-off-by: martin-velay <mvelay@lowrisc.org>
81cf5ee to
b2fd138
Compare
|
@marnovandermaas, I think I have addressed most of your comments. I hope you'll be satisfied. At least you've raised valid points again. Thanks! |
No description provided.