Browse Source

Record vendor DSP simulation and equivalence evidence with remaining boundaries

codex 2 months ago
parent
commit
c82bfc2a26
2 changed files with 48 additions and 0 deletions
  1. 42 0
      docs/audits/mrdimm-dsp-state-storage.md
  2. 6 0
      docs/current-analysis-status.md

+ 42 - 0
docs/audits/mrdimm-dsp-state-storage.md

@@ -79,3 +79,45 @@ tests retain queue atomicity, common START, pending producer/head alignment,
 limits and event behavior; the history test includes all-axis bursts and reset
 limits and event behavior; the history test includes all-axis bursts and reset
 invalidation. These scoped checks do not close Full formal, soak, vendor
 invalidation. These scoped checks do not close Full formal, soak, vendor
 simulation, GUI/DPI, MR Delivery or physical validation. Hardware is NOT_RUN.
 simulation, GUI/DPI, MR Delivery or physical validation. Hardware is NOT_RUN.
+
+## Supplied vendor functional model
+
+The installed ef2_logic_mult.v contains a complete plaintext EF2_LOGIC_MULT
+module followed by a protected trailer. The previous behavioral proof remains
+scoped as recorded; additional runs now exercise the actual supplied functional
+model. The original file is unchanged. The compatibility selector preserves the
+5616-byte plaintext prefix exactly, including its copyright header, and does not
+decode or use the protected section. It rejects missing, incomplete or ambiguous
+plaintext modules instead of substituting a model.
+
+Full8960-byte file SHA256:
+38eb48f02462ffb1dccb7e0cc300449ae7fd4b4da02997f1b03829e4e9a69d34.
+Selected plaintext SHA256:
+754f4fc696452103ef4f4ba19d30a588b74860360634ce1bf2a7f30011e524de.
+The file is in the installed TD sim_release/ef2 directory. It is an external
+toolchain dependency, not a source-package payload.
+
+`tools/verify_motor_arithmetic.py --vendor-state-delay --run-root EXTERNAL`
+compiles the actual production state bank with PROD2U_TD_VENDOR_RAM enabled
+against this model. vendor-dsp-28e6474/native/vendor/RESULT.json passes6 steps:
+Icarus and Verilator compile/run each complete1167 random/reset checks for each
+axis count1/2/3/12; disabling the production wrapper's output register makes
+the negative test fail at the expected post-clock comparison. This also detects
+accidentally testing the behavioral branch instead of the vendor branch.
+
+`--vendor-state-proof` uses the same functional RTL in Yosys. Only observation
+ports are added to the proof copy; internal state updates and multiplication
+are retained. vendor-proof-3dc08d0/native/proof/RESULT.json passes11 equivalence,
+cover and output-register mutation checks with arbitrary322-bit input sequences
+and initial reset. The per-stage age invariant also covers later resets. The
+9 selector/CLI unit cases and3 source-closure cases pass. Verification modes
+are mutually exclusive; an unused vendor-library-root argument is rejected.
+
+These results close the DSP functional-model check, not whole-device vendor
+netlist or physical timing verification. The installed EF2_LOGIC_BRAM,
+EF2_PHY_BRAM, EF2_PHY_MSLICE and EF2_PHY_LSLICE files have no plaintext model
+prefix. The current container has Icarus/Verilator; vsim/vlog/vcs/xrun were not
+found in its PATH or as simulator executables in the checked /opt and persistent
+toolchain installation roots. Compatible simulator/library recovery remains a
+separate Full task. No RTL/TD/resource change is implied by these verification
+tool changes; the accepted native baseline remains5209 LUT.

+ 6 - 0
docs/current-analysis-status.md

@@ -16,3 +16,9 @@ This is a multi-repository source-analysis/replay snapshot, not a firmware relea
 Hardware, COM/JTAG programming, real I2C/BMC, motors, fans and heaters are NOT_RUN. Do not interpret archive integrity, simulation, a synthesis run, or an old Quick artifact as end-to-end hardware or Full software acceptance.
 Hardware, COM/JTAG programming, real I2C/BMC, motors, fans and heaters are NOT_RUN. Do not interpret archive integrity, simulation, a synthesis run, or an old Quick artifact as end-to-end hardware or Full software acceptance.
 
 
 Read the active product requirements and audit notes for implementation details and evidence boundaries. The public replay commands are `python3 tools/fw_cli.py generate all --check` and `python3 tools/fw_cli.py test all --run-root <external-directory>`. Building requires the documented Linux TD/toolchain environment. Current alone requires the exact declared Base; use the supplied overlay/self-check workflow.
 Read the active product requirements and audit notes for implementation details and evidence boundaries. The public replay commands are `python3 tools/fw_cli.py generate all --check` and `python3 tools/fw_cli.py test all --run-root <external-directory>`. Building requires the documented Linux TD/toolchain environment. Current alone requires the exact declared Base; use the supplied overlay/self-check workflow.
+
+The DSP state path additionally passes actual supplied EF2_LOGIC_MULT functional
+model simulation in Icarus/Verilator and11 Yosys equivalence/cover/mutation
+checks. This supersedes the prior lack of DSP vendor-model execution evidence;
+protected BRAM/logic-cell whole-device model verification remains incomplete.
+See docs/audits/mrdimm-dsp-state-storage.md for exact model hashes and run scopes.