QUICK_PROGRESS.md 5.8 KB

6400 V1.1 Bounded Fix Progress

2026-08-26 PWM startup and remote migration

  • Baseline: 4d0e5c0e1809a72522567c1103bc77bee984b509; branch: fix/6400-pwm-remote-migration; initial status clean.
  • Phase: P0 PWM startup handoff only; TD, canonical repair, remote migration and WSL shutdown not started.
  • Required change: boot_init_complete -> runtime_duty_ready; preserve safe PTC0/FAN20 until one complete 32-channel runtime scan, then take over only on a phase boundary.
  • Required focused tests: generator check, lint, PWM unit, production Top POR/Boot three-period Cocotb, fan polarity and focused control.
  • Remote runtime policy: rootless Podman + Quadlet preferred; no remote write until SSH host identity is trusted.
  • Hardware/COM/JTAG: NOT RUN; TTL pin unresolved/disabled.
  • P0 implemented: PWM holds safe carrier until boot_init_complete and a complete 32-channel runtime scan; takeover remains phase-boundary atomic.
  • PASS: Generator --check, closure check, Verilator lint, PWM unit, focused control Cocotb.
  • PASS: production-parameter POR/Boot Cocotb observed three 50,000-clock periods; each PTC high=0 and each Front/Rear connector high=10,000.
  • PASS: Front Ball low=10,000 and Rear Ball high=10,000 per complete period; no 0%/100% carrier, narrow pulse or pre-scan commit.
  • Next: independent P0 commit, then Fresh TD/GUI/Delivery before canonical or remote work.

  • Workspace: /root/workspaces/thermal-system/cpld-temperature-control

  • Branch: dev

  • Baseline: a00a5b673f6007ba4602221393aa4dce1e75e51e; committed HEAD before current fix: 704b947d10d924325598ac15847febb0c4908f49.

  • Initial Git status: clean.

  • Product: 6400-front-rear; Board: FCB V1.1.

  • Phase: Final acceptance complete; external exact-commit repackage is the only remaining action after this commit.

  • Prior Quick artifacts are historical evidence only and will not be reused.

  • Fixed-point YAML exists and specifies incremental PI Q4.12/Q8.8, half-away rounding, slew 1280, Kd 0.

  • Fixed: production Top/Core/Command stimulus parameter, RAM, ports and states removed; 0x03 remains UNSUPPORTED.

  • Fixed: fan contract split into manual independence and PID safe20/hard100 policy.

  • Fixed: one sequential incremental PI datapath, Q4.12/Q8.8 and BRAM-resident 24-channel state.

  • Fixed: new hard fault global-safe once; persistent fault and stale no repeated global Bank churn.

  • Fixed: SET_ALL final commit handshake returns SAFETY_LOCKED if a new hard lock cancels apply.

  • PASS: bounded oversized-frame RX audit and source-closure hash/separation checks.

  • Implemented: bounded oversized-frame CRC/discard path; length-34 embedded-header and bad-CRC Icarus PASS.

  • Implemented: unambiguous manual/PID fan-policy contract; deterministic generator rebuild and --check PASS.

  • Toolchain: OSS CAD Suite restored at /data/prod2u/oss-cad-suite/latest; no global PATH or driver changes.

  • PASS: deterministic generator check, Verilator lint, Frame RX Icarus, Host Command Icarus, Core Icarus.

  • PASS: canonical Python-vs-RTL PI differential including EDGE/CENTER, rounding, slew, saturation, epoch hold, MANUAL freeze, timeout clear and stale hold.

  • PASS: current-contract full-top control Cocotb: SAFE 0/20, MANUAL without BMC, 76 clamp, 77 lane lock, SAFETY_LOCKED, three-epoch release, persistent stale hold.

  • PASS: full-UART oversized Length 34/255, embedded A5 5A, one BAD_LENGTH/UNSUPPORTED response and no ghost command.

  • PASS: active Formal manifest is single-product; bounded Boolector board-adapter smoke proves Front inverse/Rear direct.

  • PASS: 64 focused unit tests, Verilator/Yosys lint, all focused Icarus, PWM three-period reset, Host/control Cocotb, PI differential, closure checks and two deterministic generator checks.

  • Registry: 01 SET_ALL, 02 GET_SNAPSHOT, 03 SET_STIMULUS reserved, 04 SET_PID_TARGET, 06 ACK_NACK, 82 SNAPSHOT_DATA.

  • Hardware/COM/JTAG: NOT RUN. Pre-configuration pin state: NOT VERIFIED.

  • Q3 PASS: Fresh TD commit 635fd540, bit SHA 0bc41195..., GUI SHA 908fdab2...; Quick paths reported.

  • Q4: canonical Base/Current/Delivery implementation added; 19 focused package tests PASS.

  • Q4 PASS: final Base ID bcaa43c7a953; Base/Current/Delivery deterministic rebuild, fresh overlay and tamper rejection PASS.

  • L1 PASS: Board Adapter Boolector+Z3; Core Owner Boolector depth90 (110s); Snapshot Lock and BMC Bank Boolector.

  • L1: affected current-contract Formal PASS; evidence binds unchanged 6400 production source closure.

  • PASS: current-contract 96-round soak at d6b604e4, seed 1677779166, including two reset/reconfiguration points.

  • PASS: mutation 6/6 and full 6400 integration; prior Final TD at 704b947 is superseded by the current RTL fix.

  • Fixed after Formal counterexample: Watchdog reload now occurs only on final safely applied Manual output commit; staging/cancelled SET_ALL cannot feed it.

  • PASS current focused replay: generator/closure, lint, 21 unit, Icarus sim, Host Cocotb, hard-fault cancellation race with Watchdog non-feed assertion.

  • Formal split: Core Owner invariant k-induction PASS 94s; added transaction/race properties BMC depth90 PASS 125s; Frame RX Z3/Boolector PASS; Snapshot transport Boolector depth48 PASS and Z3 probe TIMEOUT.

  • PASS: Final TD source commit 44feaa57; later Legacy-only fixes do not intersect the 6400 production source closure.

  • PASS: Final bitstream SHA 7d30bb5e...; GUI SHA e2d4f009...; Contract SHA 35fe2e06....

  • PASS: affected Legacy Gate at a67ae51: Icarus 42/42, Cocotb UART E2E, Verilator.

  • PASS: canonical Base ID bcaa43c7a953; Current/Delivery fresh extraction and tamper rejection.

  • Boundaries: Hardware/COM/JTAG/Real BMC/RPM/Airflow/Thermal NOT RUN; pre-configuration NOT VERIFIED; Host TTL pins BLOCKED_EVIDENCE.

  • Next: rebuild Current/Delivery on this exact clean dev commit, then close audit without further source edits.