瀏覽代碼

docs(review): record MRDIMM shared-core evidence and remaining acceptance

codex 3 月之前
父節點
當前提交
c30c603a7f
共有 1 個文件被更改,包括 55 次插入 和 0 次删除
  1. 55 0
      docs/audits/mrdimm-shared-core-review.md

+ 55 - 0
docs/audits/mrdimm-shared-core-review.md

@@ -0,0 +1,55 @@
+# MRDIMM shared execution candidate review
+
+This is a source/candidate review, not Full or hardware acceptance.
+
+## Requirements and migration
+
+The production engine now instantiates one multi-axis `motor_axis_core` bank.
+Wide arithmetic is selected by one scanner; only STEP clamp, pending bits,
+small edge accumulators and metadata copies remain per axis. Startup is
+lower-only. No door-percent planner/calibration/PID is instantiated.
+The existing6400 candidate is preserved; common PWM changed afterward and
+requires a later fresh6400 build before final delivery.
+
+## Protocol and atomic commands
+
+Whole-batch validation precedes RAM writes/publication. Preempt prefixes new
+segments before preserved waiting slots; clear frees slots before capacity
+validation. Round-robin loading avoids repeatedly selecting the lowest axis.
+START prefetches paused heads into armed slots before the common release.
+Out-of-range MOTOR_CONTROL operations are rejected before3-bit truncation.
+UART and I2C paths exercise this rejection.
+
+## Electrical logic, timing and resources
+
+Direct12-axis bank test observes12 clocks per scan with zero active-state RAM
+stalls,25000 clocks per1000Hz period and12500 clocks high. A full12-axis engine
+test with real queue RAM observes54 clocks START preparation and common edges.
+Yosys structural results at0c607a0 showed20 wide arithmetic operators for both
+3 and12 axes; generic cell counts are not device LUT/fit predictions.
+Physical lower/upper edges are counted independently of motion; held HOME
+produces completion without forging another physical hit. Reset gets one
+global event. Event loss during pending saturation is counted.
+V1.2 CT M8/N9 were already evidenced but missing from the wrapper; ports now
+match ADC. Limit constraints now name actual vector ports. Unproven Host-I2C,
+TTL and BMC pads remain unexported; disabled Host-I2C input logic is constant.
+
+## Host and GUI
+
+Full352-byte status and64-byte axis records remain schema-derived. SDK/GUI
+decode and installed-wheel/RTL replay evidence exists. Advanced SDK travel
+measurement still needs adaptation to held-HOME completion/tag correlation
+and caller cancellation; it must not silently clear the event ring. Final
+shared GUI source, layout matrix and BIT-bound EXE remain pending.
+
+## Environment and replay
+
+Current TD runner supports the explicit mrdimm-chamber profile, uses its own
+constraints/closure and emits profile-specific evidence. Tcl source lists
+come from the closure. Stage deadlines and fail-closed receipt status remain.
+New package closure/Full/formal/lifecycle tests remain pending. Hardware,
+COM/JTAG and real actuator tests are NOT_RUN.
+
+Latest short run: `/data/prod2u/runs/mrdimm-quick-preflight`, commit
+ab98c243c12b58a37964f1375b425c30a9f88b5d,36 compile/behavior
+entries passed. Fresh TD is the next fit/timing check, not assumed success.