Four-person daily workspace.yaml and ws commands (v0.2.0)

root 2378f096f3 docs: refresh reference inventory after final board matrix 3 месяцев назад
config 002d873028 tests: honest BMC/prove formal receipts and dual-profile contract coverage 3 месяцев назад
constraints 55c24cf378 generator: derive phase-1 artifacts and active ADC 4 месяцев назад
docs 2378f096f3 docs: refresh reference inventory after final board matrix 3 месяцев назад
projects 6d900ced8b merge: Lane D intake dual-profile into integrate (solenoid + motor-compat) 3 месяцев назад
receipts aeb23afeaa Fix Prod2U SRAM startup and binary921 evidence flow 4 месяцев назад
reference 3bc18efe5b Document board-viewer SVGs as derived BRD analysis evidence. 3 месяцев назад
requirements 831164b495 feat(prod2u): add profile 4 fan tach control 4 месяцев назад
runs a09ff02405 chore: align verification package contract 4 месяцев назад
schemas 3a90ecec4f fix: honest source-closure compare and full package layout 3 месяцев назад
src c73fcea706 feat: dual intake profile (solenoid production + 3-axis motor-compat) 3 месяцев назад
td f9c8fa2899 Keep intake solenoid internal until FPGA ball is confirmed. 3 месяцев назад
tests ced9fe97fe test: waive MULTIDRIVENPROC on parameterized loop integers 3 месяцев назад
tools e5dab0436c fix(board-viewer): preserve PATH in matrix lanes (no bash -lc) 3 месяцев назад
.gitattributes ddd52a2aef chore(snapshot): checkpoint normal v3 before minimal motion rewrite 4 месяцев назад
.gitignore d1149e2cd5 Ignore local run-id marker files. 3 месяцев назад
ACCEPTANCE_MATRIX.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 месяцев назад
AGENTS.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 месяцев назад
BASELINE_REPORT.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 месяцев назад
FINAL_DELIVERY_REPORT.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 месяцев назад
OPEN_QUESTIONS.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 месяцев назад
PACKAGE_FOR_AGENT_ANALYSIS.README.zh-CN.md 72359da829 Prod2U final integration: RTL limit inertness, packaging, and verification matrix. 4 месяцев назад
PLAN.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 месяцев назад
README.zh-CN.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 месяцев назад
evidence-batch-summary.txt 127c4cf955 docs: add evidence batch summary after IO matrix merge. 3 месяцев назад
package_for_agent_analysis.py 3a90ecec4f fix: honest source-closure compare and full package layout 3 месяцев назад
pyproject.toml 818a603b1f Final convergence: startup limit close/seek, source-of-truth refactor, verification matrix. 4 месяцев назад

README.zh-CN.md

Prod2U 门控温度 CPLD

本仓库实现 prod2u-door-temp 门温控:25 MHz 主时钟、UART 115200 8N1、无流控。统一帧为 A5 5A type length payload CRC16_LE。CRC-16/CCITT-FALSE 覆盖 type、length 与 payload,线路低字节在前。

权威执行环境:Linux 容器(td2026、Python/Icarus/Verilator/formal/cocotb)。Windows 路径与旧收据仅作历史参考,见 docs/historical/。

正式帧类型

类型 说明
0x01 SET_ALL 11 字节 payload:4 FAN + 4 chamber PTC(各复制到 2 路物理 PTC PWM)+ 进风门/出风门 X/出风门 Y;成功无回复。旧 14 字节 length 0x0E 静默丢弃。
0x02 GET_TEMPERATURE 空 payload;读完 27 项 CT7428 后只回一帧温度。
0x82 TEMPERATURE_DATA 27 字节 payload,总帧长 33 字节。

PTC/FAN 占空为十进制 0..100。PWM ≈20 Hz。PTC active-high;FAN 在 FPGA 输出为 active-low。启动目标 PTC=0、FAN=10;看门狗 10 s → PTC=0、FAN=20。

风门字节语义(关键)

字节 执行器 00 01 02
偏移 8 进风门 默认电磁铁 保持(hold) open latched closed latched
偏移 9/10 出风门 X/Y 步进马达 停止(stop / 无新 jog) 开门 DIR=0 关门 DIR=1

马达普通 jog:450 步 @ 1000 step/s;X/Y 可并行。详细合同见 docs/prod2u-door-temp-protocol.zh-CN.md 与 projects/prod2u-door-temp/project.json。

启动限位(one-shot)

上电/startup_done==0:X/Y 向 close(DIR=1)间歇寻限位,最多 10 burst × 450 步 @ 1000 step/s,burst 间隔 50 ms;限位 active-high(X: B9,Y: A11)。startup_done 前主机 UART 被丢弃;完成后限位对普通 jog 惰性。

当前基线与验证真相(本轮 closure)

项 值
文档对齐 tip(本 worktree 起点) f82c41e
SET_ALL 11 字节(非 14)
最近完整矩阵绑定 6f32493:整体 fail(cocotb fail;python/formal 等曾 pass)
tip f82c41e 全矩阵 尚未作为本轮最终矩阵跑完(Lane A 不声明 tip pass)
TD / bitstream 最近 pass 绑定历史 commit ead5a3e,bitstream SHA-256 a7b5c119799b5c69520007777339798c2ed8ce286b62e709d9af1bb6dba523bc;非 tip,tip 需 Lane F 重跑后方可宣称
Hardware / JTAG / 烧录 not_run(未授权)
物理 blocked 进风电磁铁 ball/极性;X/Y 产品轴名与丝印;A11 vs CON124 装配冲突等(见 OPEN_QUESTIONS.md / IO 证据矩阵)

陈旧 Windows 最终交付叙述(d99f354 / 4ddfbec、虚假 cocotb 全绿、C:\Users\... 包路径)已移至 docs/historical/,不是当前活动真相。

离线验证入口(Linux)

python -B tools/run_verification_matrix.py \
  --work-root-prefix "${TMPDIR:-/tmp}/prod2u-matrix" \
  --verification-run-id "<run_id>" \
  --report-file "${TMPDIR:-/tmp}/prod2u-matrix/matrix-receipt.json"

TD:仅用 td2026(Anlogic TD 2026.1 SP2 Linux)。勿把 TD 的 LD_LIBRARY_PATH 导出到全局 shell。说明见 docs/TD_USAGE.zh-CN.md。

合同与工具