Explorar o código

feat: release 2.1.0 core with simple motion, 921600 UART and corrected board wiring

Prod2U Recovery hai 1 mes
pai
achega
605b1b00fb
Modificáronse 100 ficheiros con 98940 adicións e 859 borrados
  1. 8 0
      AGENTS.md
  2. 10 0
      README.zh-CN.md
  3. 1 0
      VERSION
  4. 29 35
      VERSION.json
  5. 465 35
      config/board_pin_clock_matrix.json
  6. 75 84
      config/board_viewer_annotations.fcb_fpga_mcu_v1_2.json
  7. 9 2
      config/current-product-tests.json
  8. 380 62
      config/pin_inventory.fcb_fpga_mcu_v2_0.json
  9. 528 15
      config/pin_inventory.prod2u_door_temp_v1_2.json
  10. 6 6
      constraints/prod2u_6400_v2.adc
  11. 10 6
      constraints/prod2u_mrdimm.adc
  12. 7 5
      contracts/6400-wire.yaml
  13. 11 10
      contracts/channel-map.yaml
  14. 3 3
      contracts/mrdimm-status.yaml
  15. 21 18
      contracts/mrdimm-wire.yaml
  16. 95 166
      docs/evidence/6400-v2-electrical-alignment.md
  17. 86 0
      docs/releases/v2.1.0.md
  18. 34 0
      evidence/hardware/20261023/fan_bom.csv
  19. 21 0
      evidence/hardware/20261023/fan_channels.csv
  20. 262 0
      evidence/hardware/20261023/fan_channels.json
  21. 119 0
      evidence/hardware/20261023/fan_pins.csv
  22. 133 0
      evidence/hardware/20261023/hardware-routing-review-2.1.0.md
  23. 1458 0
      evidence/hardware/20261023/main_bom.csv
  24. 3821 0
      evidence/hardware/20261023/main_pins.csv
  25. 1318 0
      evidence/hardware/20261023/mrdimm/main_bom.csv
  26. 14489 0
      evidence/hardware/20261023/mrdimm/main_bom.json
  27. 3695 0
      evidence/hardware/20261023/mrdimm/main_pins.csv
  28. 68854 0
      evidence/hardware/20261023/mrdimm/main_u3_neighbors.json
  29. 78 0
      evidence/hardware/20261023/mrdimm_signal_paths.csv
  30. 52 0
      evidence/hardware/20261023/parser/README.md
  31. 13 0
      evidence/hardware/20261023/parser/build_netdump.sh
  32. 19 0
      evidence/hardware/20261023/parser/compare_viewer_netlist.py
  33. 1 0
      evidence/hardware/20261023/parser/compat/boost/interprocess/file_mapping.hpp
  34. 28 0
      evidence/hardware/20261023/parser/compat/boost/interprocess/mapped_region.hpp
  35. 1 0
      evidence/hardware/20261023/parser/compat/boost/version.hpp
  36. 64 0
      evidence/hardware/20261023/parser/extract_bom_cli.py
  37. 30 0
      evidence/hardware/20261023/parser/netdump.cpp
  38. 13 0
      evidence/hardware/20261023/parser/parser_eof_receipt.patch
  39. 95 0
      evidence/hardware/20261023/review_notes.md
  40. 155 0
      evidence/hardware/20261023/schematic_review.md
  41. 41 0
      evidence/hardware/20261023/viewer-native-comparison.json
  42. 1 1
      generated/6400/channel-map.json
  43. 1 1
      generated/6400/contract-sha256.txt
  44. 1 1
      generated/6400/fan-control-parameters.json
  45. 1 1
      generated/6400/golden-vectors.json
  46. 1 1
      generated/6400/host-contract.json
  47. 1 1
      generated/6400/manual-uart-contract.json
  48. 1 1
      generated/6400/prod2u_6400_v1_params.vh
  49. 1 1
      generated/6400/snapshot-layout.json
  50. 1 1
      generated/mrdimm/contract-sha256.txt
  51. 1 1
      generated/mrdimm/golden-vectors.json
  52. 4 4
      generated/mrdimm/prod2u_mrdimm_params.vh
  53. 1 1
      generated/mrdimm/snapshot-layout.json
  54. 16 2
      products/6400-v2/project.json
  55. 1 0
      products/6400-v2/source-closure.json
  56. 2 1
      products/mrdimm-chamber/source-closure.json
  57. 437 58
      projects/mrdimm-chamber/project.json
  58. 9 6
      projects/mrdimm-chamber/requirements.zh-CN.md
  59. 47 26
      schemas/board_viewer_build_info.schema.json
  60. 41 13
      src/acquisition/bmc_ascii_poll.v
  61. 6 5
      src/acquisition/ct7428_scan.v
  62. 4 4
      src/actuator/fan_board_output_adapter.v
  63. 11 5
      src/actuator/mrdimm_actuator_core.v
  64. 3 1
      src/common/frame_rx.v
  65. 8 0
      src/common/prod2u_build_config.vh
  66. 2 2
      src/control/mrdimm_transaction_core.v
  67. 1 1
      src/diag/prod2u_mrdimm_uart_diag_115200_top.v
  68. 1 1
      src/diag/prod2u_mrdimm_uart_diag_921600_top.v
  69. 12 12
      src/diag/prod2u_mrdimm_uart_diag_top.v
  70. 50 47
      src/rtl/prod2u_p4_i2c_stop_start_read.v
  71. 14 8
      src/top/prod2u_6400_v2_top.v
  72. 21 18
      src/top/prod2u_mrdimm_final_top.v
  73. 8 7
      src/top/prod2u_mrdimm_rs232_only_top.v
  74. 2 2
      src/top/prod2u_mrdimm_uart_diag_115200_top.v
  75. 2 2
      src/top/prod2u_mrdimm_uart_diag_921600_top.v
  76. 35 59
      src/transport/host_uart_endpoint.v
  77. 40 58
      src/transport/unified_tx_arbiter.v
  78. 1 1
      td/prod2u_mrdimm.prj
  79. 7 1
      td/syn/prod2u_6400_v2.tcl
  80. 7 1
      td/syn/prod2u_mrdimm.tcl
  81. 74 0
      tests/sim/README-physical-verification.md
  82. 116 0
      tests/sim/bmc_round_bram_tb.v
  83. 108 0
      tests/sim/bmc_uart_normal_bfm.v
  84. 142 0
      tests/sim/ct7428_normal_slave_bfm.v
  85. 8 8
      tests/sim/ct7428_scan_single_tb.v
  86. 7 4
      tests/sim/full_chain_pty_e2e.py
  87. 383 0
      tests/sim/host_uart_endpoint_nominal_tb.v
  88. 12 8
      tests/sim/host_uart_endpoint_tb.v
  89. 94 0
      tests/sim/mrdimm_actuator_timing_tb.v
  90. 218 0
      tests/sim/mrdimm_done_parallel_tb.v
  91. 5 1
      tests/sim/mrdimm_pwm_commit_race_tb.v
  92. 172 0
      tests/sim/prod2u_6400_v2_acquisition_tb.v
  93. 202 0
      tests/sim/prod2u_6400_v2_connector_tb.v
  94. 4 2
      tests/sim/prod2u_6400_v2_tb.v
  95. 4 1
      tests/sim/prod2u_6400_v2_temp_arb_tb.v
  96. 5 3
      tests/sim/pty_bridge_tb.v
  97. 19 22
      tests/sim/pwm_commit_handshake_tb.v
  98. 8 0
      tests/sim/vpi_pty.c
  99. 18 7
      tests/unit/test_6400_v2_electrical_contract.py
  100. 0 0
      tests/unit/test_current_serial_tools.py

+ 8 - 0
AGENTS.md

@@ -1,3 +1,11 @@
+## 当前任务与版本(2026-10-23)
+
+用户明确 dev 作为生产量产发布分支,并要求提交推送;2.1.0 的实际功能、接线与入口见 docs/releases/v2.1.0.md。
+优先简单可靠,其次 LUT/Slice,其他资源可交换;允许设备并行,不要求同步启动。
+当前产品为6400-v2/MRDIMM V1.2,921600优先,固定构建中间档460800/230400,再115200。
+真实硬件验证与数字仿真分别记录;网络不可达不代表用户未授权测试。
+下文历史功能或日期约定遇到以上当前需求,以当前需求与生产闭包为准。
+
 # Prod2U dual-product operating rules (2026-09-20 recovery round)
 
 This file supersedes every earlier operating rule. The superseded Windows/16-bit/hot-lease

+ 10 - 0
README.zh-CN.md

@@ -1,3 +1,13 @@
+# 当前生产版本:2.1.0(dev 分支)
+
+当前使用 **6400 V2.0** / **MRDIMM V1.2**,主串口默认 **921600**,另提供460800/230400/115200构建。
+请先读 [2.1.0 接线、功能、验证和交付说明](docs/releases/v2.1.0.md)。
+MRDIMM TTL 在 **CON140.1/2**;**CON146 是12V LED/按键接口,不是TTL**。
+两板当前 CT 均使用 **B14/A15**;MRDIMM MCU I2C0 必须高阻。
+历史日期的 BIT、旧3轴和32队列说明保留溯源,不代表当前生产实现。
+
+---
+
 # Prod2U 固件主线(多目标)
 
 同一仓库、同一 `dev` 主线,两个独立目标:

+ 1 - 0
VERSION

@@ -0,0 +1 @@
+2.1.0

+ 29 - 35
VERSION.json

@@ -1,46 +1,40 @@
 {
-  "schema": "prod2u-version-v2",
-  "version": "PROD2U-MIN-20261012.r3",
-  "build_timestamp": "2026-10-12T01:40:00Z",
-  "git": {
-    "branch": "dev",
-    "commit_base": "758714858a7a077b92dce9723cd87c5e6baf5508",
-    "remote_origin": "/data/prod2u/git/cpld-temperature-control.git"
-  },
+  "schema": "prod2u-version-v3",
+  "version": "2.1.0",
+  "release_branch": "dev",
   "clock_hz": 25000000,
-  "host_baud": 115200,
-  "clks_per_bit": 217,
+  "host_baud": 921600,
+  "supported_build_bauds": [
+    921600,
+    460800,
+    230400,
+    115200
+  ],
+  "bmc_baud": 115200,
+  "baud_selection": "fixed at build; GUI baud must match the selected BIT",
+  "artifact_identity": "Actual commit, BIT/EXE SHA256, TD/test results live in release RUN.json and receipts; no fixed historical hashes here",
   "products": {
+    "6400-v2": {
+      "board": "FCB V2.0",
+      "source_closure": "products/6400-v2/source-closure.json",
+      "top_wrapper": "src/top/prod2u_6400_v2_top.v",
+      "constraints": "constraints/prod2u_6400_v2.adc",
+      "active_telemetry": true,
+      "autonomous_frame": "0x42 GET_DATA 83 bytes, nominal 5 second interval, no preceding ACK",
+      "ptc_count": 24,
+      "fan_count": 8
+    },
     "mrdimm-chamber": {
-      "release_id": "MRDIMM-V1.2-MIN-20261012.r3",
-      "display_name": "MRDIMM FCB V1.2 chamber controller",
       "board": "FCB V1.2",
-      "device": "EF2L45BG256B",
-      "top_wrapper": "src/top/prod2u_mrdimm_rs232_only_top.v",
       "source_closure": "products/mrdimm-chamber/source-closure.json",
+      "top_wrapper": "src/top/prod2u_mrdimm_rs232_only_top.v",
       "constraints": "constraints/prod2u_mrdimm.adc",
-      "timing_constraints": "constraints/prod2u_mrdimm.sdc",
-      "baud": 115200,
-      "clks_per_bit": 217,
       "active_telemetry": true,
-      "bitstream": "build/bitstreams/prod2u_mrdimm_20261012.r3.bit",
-      "bitstream_sha256": "55993492ba4a6bac4bcf2d80388051a9743b69b75eb7da11523f813d638ccd09",
-      "hardware_regression_status": "TD_QUALIFIED_HARDWARE_NOT_RUN"
-    },
-    "6400-v2": {
-      "release_id": "6400-V2.0-STABLE-20261021.24ptc",
-      "display_name": "6400 V2.0 high temp chamber controller",
-      "board": "fcb_fpga_mcu_v2_0_20260914",
-      "device": "EF2L45BG256B",
-      "top_wrapper": "src/top/prod2u_6400_v2_top.v",
-      "source_closure": "products/6400-v2/source-closure.json",
-      "constraints": "constraints/prod2u_6400_v2.adc",
-      "timing_constraints": "constraints/prod2u_6400_v2.sdc",
-      "baud": 115200,
-      "clks_per_bit": 217,
-      "active_telemetry": false,
-      "bitstream": "build/bitstreams/prod2u_6400_v2.bit",
-      "bitstream_sha256": "a76a92be6e764b7d175eb36a00e24d5575bbf5b13eb2d0d379e8e06895d593ac"
+      "autonomous_frame": "0x51 BEACON zero payload, nominal 5 second interval",
+      "motor_axes": 12,
+      "slots_per_axis": 1,
+      "concurrent_axes": true,
+      "synchronous_start_required": false
     }
   }
 }

+ 465 - 35
config/board_pin_clock_matrix.json

@@ -1,6 +1,6 @@
 {
   "schema": "prod2u-board-pin-clock-matrix-v1",
-  "generated_at": "2026-09-29T10:50:00Z",
+  "generated_at": "2026-10-23",
   "target_fpga": {
     "part": "EF2L45BG256B",
     "speed": "C7",
@@ -51,16 +51,56 @@
         "standard": "LVCMOS33"
       },
       "front_fans": [
-        {"id": 0, "pin": "B1", "connector": "CON25.7", "inverted": true},
-        {"id": 1, "pin": "C4", "connector": "CON8.7", "inverted": true},
-        {"id": 2, "pin": "B5", "connector": "CON24.7", "inverted": true},
-        {"id": 3, "pin": "A14", "connector": "CON26.7", "inverted": true}
+        {
+          "id": 0,
+          "pin": "B1",
+          "connector": "CON25.7",
+          "inverted": true
+        },
+        {
+          "id": 1,
+          "pin": "C4",
+          "connector": "CON8.7",
+          "inverted": true
+        },
+        {
+          "id": 2,
+          "pin": "B5",
+          "connector": "CON24.7",
+          "inverted": true
+        },
+        {
+          "id": 3,
+          "pin": "A14",
+          "connector": "CON26.7",
+          "inverted": true
+        }
       ],
       "rear_fans": [
-        {"id": 0, "pin": "P15", "connector": "CON64.4", "inverted": false},
-        {"id": 1, "pin": "N15", "connector": "CON66.4", "inverted": false},
-        {"id": 2, "pin": "M14", "connector": "CON62.4", "inverted": false},
-        {"id": 3, "pin": "P5", "connector": "CON60.4", "inverted": false}
+        {
+          "id": 0,
+          "pin": "P15",
+          "connector": "CON64.4",
+          "inverted": false
+        },
+        {
+          "id": 1,
+          "pin": "N15",
+          "connector": "CON66.4",
+          "inverted": false
+        },
+        {
+          "id": 2,
+          "pin": "M14",
+          "connector": "CON62.4",
+          "inverted": false
+        },
+        {
+          "id": 3,
+          "pin": "P5",
+          "connector": "CON60.4",
+          "inverted": false
+        }
       ],
       "ptc_outputs": {
         "count": 24,
@@ -86,7 +126,8 @@
         "format": "8N1",
         "tx_pin": "T14",
         "rx_pin": "R13",
-        "standard": "LVCMOS33"
+        "standard": "FPGA LVCMOS33 through RS-232 transceiver",
+        "connector_standard": "RS-232"
       },
       "host_ttl": {
         "connector": "CON12",
@@ -108,13 +149,38 @@
         "format": "8N1",
         "tx_pin": "L10",
         "rx_pin": "M9",
-        "standard": "LVCMOS33"
+        "standard": "FPGA LVCMOS33 through RS-232 transceiver",
+        "connector_standard": "RS-232"
       },
       "pwm_outputs": {
         "ptc_count": 24,
         "front_fan_count": 4,
         "rear_fan_count": 4,
         "pwm_freq_hz": 500
+      },
+      "supported_build_bauds": [
+        921600,
+        460800,
+        230400,
+        115200
+      ],
+      "ct_i2c": {
+        "scl_ball": "B14",
+        "sda_ball": "A15",
+        "populated_links": [
+          "R1888",
+          "R1889"
+        ],
+        "not_populated_links": [
+          "R744",
+          "R745",
+          "R800",
+          "R801"
+        ],
+        "devices": [
+          "U6"
+        ],
+        "ct_channels_present": 9
       }
     },
     "mrdimm-chamber": {
@@ -135,21 +201,26 @@
         "tx_pin": "M10",
         "rx_pin": "N11",
         "transceiver": "U23 TRSF3232E",
-        "standard": "LVCMOS33"
+        "standard": "FPGA LVCMOS33 through RS-232 transceiver",
+        "connector_standard": "RS-232"
       },
       "host_ttl": {
-        "connector": "CON146",
+        "connector": "CON140",
         "baud_target": 921600,
         "clks_per_bit": 27,
         "baud_actual": 925926,
         "baud_error_percent": 0.47,
         "format": "8N1",
-        "tx_pin": "H6",
-        "rx_pin": "N7",
-        "tx_connector_pin": "CON146.1",
-        "rx_connector_pin": "CON146.3",
-        "gnd_connector_pins": ["CON146.2", "CON146.4"],
-        "standard": "LVCMOS33"
+        "tx_pin": "T11",
+        "rx_pin": "P13",
+        "tx_connector_pin": "CON140.1",
+        "rx_connector_pin": "CON140.2",
+        "gnd_connector_pins": [
+          "CON77.3",
+          "CON77.4"
+        ],
+        "standard": "LVCMOS33",
+        "note": "CON140.3/4 are GPIO, not GND; CON146 is a 12V LED/key connector, not TTL UART"
       },
       "bmc_rs232": {
         "connector": "CON77",
@@ -160,29 +231,388 @@
         "format": "8N1",
         "tx_pin": "L10",
         "rx_pin": "M9",
-        "standard": "LVCMOS33"
+        "standard": "FPGA LVCMOS33 through RS-232 transceiver",
+        "connector_standard": "RS-232"
       },
       "chamber_heater_mapping": {
-        "chamber_1": {"connector": "CON18", "logical_ptc": 0, "physical_pins": ["E1", "E2"]},
-        "chamber_2": {"connector": "CON27", "logical_ptc": 1, "physical_pins": ["F5", "D1"]},
-        "chamber_3": {"connector": "CON28", "logical_ptc": 2, "physical_pins": ["E3", "C1"]},
-        "chamber_4": {"connector": "CON29", "logical_ptc": 3, "physical_pins": ["D3", "C2"]}
+        "physical_outputs": [
+          {
+            "index": 0,
+            "connector": "CON18.1",
+            "ball": "F16",
+            "net": "HEAT1",
+            "chamber": 1
+          },
+          {
+            "index": 1,
+            "connector": "CON18.3",
+            "ball": "G16",
+            "net": "HEAT2",
+            "chamber": 1
+          },
+          {
+            "index": 2,
+            "connector": "CON18.5",
+            "ball": "T4",
+            "net": "HEAT3",
+            "chamber": 1
+          },
+          {
+            "index": 3,
+            "connector": "CON18.7",
+            "ball": "R5",
+            "net": "HEAT4",
+            "chamber": 1
+          },
+          {
+            "index": 4,
+            "connector": "CON18.9",
+            "ball": "T6",
+            "net": "HEAT5",
+            "chamber": 1
+          },
+          {
+            "index": 5,
+            "connector": "CON18.11",
+            "ball": "R7",
+            "net": "HEAT6",
+            "chamber": 1
+          },
+          {
+            "index": 6,
+            "connector": "CON27.1",
+            "ball": "M1",
+            "net": "HEAT7",
+            "chamber": 2
+          },
+          {
+            "index": 7,
+            "connector": "CON27.3",
+            "ball": "N1",
+            "net": "HEAT8",
+            "chamber": 2
+          },
+          {
+            "index": 8,
+            "connector": "CON27.5",
+            "ball": "P1",
+            "net": "HEAT9",
+            "chamber": 2
+          },
+          {
+            "index": 9,
+            "connector": "CON27.7",
+            "ball": "R1",
+            "net": "HEAT10",
+            "chamber": 2
+          },
+          {
+            "index": 10,
+            "connector": "CON27.9",
+            "ball": "T2",
+            "net": "HEAT11",
+            "chamber": 2
+          },
+          {
+            "index": 11,
+            "connector": "CON27.11",
+            "ball": "R3",
+            "net": "HEAT12",
+            "chamber": 2
+          },
+          {
+            "index": 12,
+            "connector": "CON28.1",
+            "ball": "P16",
+            "net": "HEAT13",
+            "chamber": 3
+          },
+          {
+            "index": 13,
+            "connector": "CON28.3",
+            "ball": "R16",
+            "net": "HEAT14",
+            "chamber": 3
+          },
+          {
+            "index": 14,
+            "connector": "CON28.5",
+            "ball": "M16",
+            "net": "HEAT15",
+            "chamber": 3
+          },
+          {
+            "index": 15,
+            "connector": "CON28.7",
+            "ball": "N16",
+            "net": "HEAT16",
+            "chamber": 3
+          },
+          {
+            "index": 16,
+            "connector": "CON28.9",
+            "ball": "P8",
+            "net": "HEAT17",
+            "chamber": 3
+          },
+          {
+            "index": 17,
+            "connector": "CON28.11",
+            "ball": "P7",
+            "net": "HEAT18",
+            "chamber": 3
+          },
+          {
+            "index": 18,
+            "connector": "CON29.1",
+            "ball": "T9",
+            "net": "HEAT19",
+            "chamber": 4
+          },
+          {
+            "index": 19,
+            "connector": "CON29.3",
+            "ball": "P9",
+            "net": "HEAT20",
+            "chamber": 4
+          },
+          {
+            "index": 20,
+            "connector": "CON29.5",
+            "ball": "P10",
+            "net": "HEAT21",
+            "chamber": 4
+          },
+          {
+            "index": 21,
+            "connector": "CON29.7",
+            "ball": "R10",
+            "net": "HEAT22",
+            "chamber": 4
+          },
+          {
+            "index": 22,
+            "connector": "CON29.9",
+            "ball": "T13",
+            "net": "HEAT23",
+            "chamber": 4
+          },
+          {
+            "index": 23,
+            "connector": "CON29.11",
+            "ball": "T12",
+            "net": "HEAT24",
+            "chamber": 4
+          }
+        ]
       },
       "fans": [
-        {"id": 0, "pin": "B1", "connector": "CON25.7"},
-        {"id": 1, "pin": "C4", "connector": "CON8.7"},
-        {"id": 2, "pin": "B5", "connector": "CON24.7"},
-        {"id": 3, "pin": "A14", "connector": "CON26.7"}
+        {
+          "id": 0,
+          "pin": "B1",
+          "connector": "CON25.7"
+        },
+        {
+          "id": 1,
+          "pin": "C4",
+          "connector": "CON8.7"
+        },
+        {
+          "id": 2,
+          "pin": "B5",
+          "connector": "CON24.7"
+        },
+        {
+          "id": 3,
+          "pin": "A14",
+          "connector": "CON26.7"
+        }
       ],
       "motor_axes": {
         "logical_count": 12,
-        "queue_slots_per_axis": 32,
-        "physical_axes": {
-          "axis_x": {"step_pin": "H4", "dir_pin": "J6", "limit_lower": "CON105.1", "limit_upper": "CON105.2"},
-          "axis_y": {"step_pin": "E7", "dir_pin": "A4", "limit_lower": "CON106.1", "limit_upper": "CON106.2"},
-          "axis_z": {"step_pin": "B4", "dir_pin": "A12", "limit_lower": "CON107.1", "limit_upper": "CON107.2"}
-        }
-      }
+        "physical_count": 12,
+        "queue_slots_per_axis": 1,
+        "replacement": "latest_wins",
+        "physical_axes": [
+          {
+            "index": 0,
+            "name": "M1",
+            "step_ball": "C12",
+            "dir_ball": "B12",
+            "step_connector": "CON104.2",
+            "dir_connector": "CON104.3",
+            "lower_limit_ball": "A5",
+            "lower_limit_connector": "CON12.1",
+            "upper_limit_ball": "B6",
+            "upper_limit_connector": "CON12.2",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 1,
+            "name": "M2",
+            "step_ball": "L12",
+            "dir_ball": "J11",
+            "step_connector": "CON105.2",
+            "dir_connector": "CON105.3",
+            "lower_limit_ball": "C8",
+            "lower_limit_connector": "CON12.3",
+            "upper_limit_ball": "A8",
+            "upper_limit_connector": "CON12.4",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 2,
+            "name": "M3",
+            "step_ball": "L14",
+            "dir_ball": "K14",
+            "step_connector": "CON106.2",
+            "dir_connector": "CON106.3",
+            "lower_limit_ball": "D7",
+            "lower_limit_connector": "CON126.1",
+            "upper_limit_ball": "E7",
+            "upper_limit_connector": "CON126.2",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 3,
+            "name": "M4",
+            "step_ball": "G14",
+            "dir_ball": "G15",
+            "step_connector": "CON113.2",
+            "dir_connector": "CON113.3",
+            "lower_limit_ball": "A4",
+            "lower_limit_connector": "CON126.3",
+            "upper_limit_ball": "C5",
+            "upper_limit_connector": "CON126.4",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 4,
+            "name": "M5",
+            "step_ball": "L13",
+            "dir_ball": "K11",
+            "step_connector": "CON107.2",
+            "dir_connector": "CON107.3",
+            "lower_limit_ball": "A3",
+            "lower_limit_connector": "CON127.1",
+            "upper_limit_ball": "B4",
+            "upper_limit_connector": "CON127.2",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 5,
+            "name": "M6",
+            "step_ball": "K12",
+            "dir_ball": "K13",
+            "step_connector": "CON108.2",
+            "dir_connector": "CON108.3",
+            "lower_limit_ball": "A12",
+            "lower_limit_connector": "CON127.3",
+            "upper_limit_ball": "B11",
+            "upper_limit_connector": "CON127.4",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 6,
+            "name": "M7",
+            "step_ball": "J14",
+            "dir_ball": "J12",
+            "step_connector": "CON109.2",
+            "dir_connector": "CON109.3",
+            "lower_limit_ball": "L16",
+            "lower_limit_connector": "CON128.1",
+            "upper_limit_ball": "L15",
+            "upper_limit_connector": "CON128.2",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 7,
+            "name": "M8",
+            "step_ball": "G13",
+            "dir_ball": "F14",
+            "step_connector": "CON114.2",
+            "dir_connector": "CON114.3",
+            "lower_limit_ball": "K15",
+            "lower_limit_connector": "CON128.3",
+            "upper_limit_ball": "J16",
+            "upper_limit_connector": "CON128.4",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 8,
+            "name": "M9",
+            "step_ball": "H13",
+            "dir_ball": "J13",
+            "step_connector": "CON110.2",
+            "dir_connector": "CON110.3",
+            "lower_limit_ball": "K16",
+            "lower_limit_connector": "CON129.1",
+            "upper_limit_ball": "J15",
+            "upper_limit_connector": "CON129.2",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 9,
+            "name": "M10",
+            "step_ball": "H11",
+            "dir_ball": "H12",
+            "step_connector": "CON111.2",
+            "dir_connector": "CON111.3",
+            "lower_limit_ball": "H15",
+            "lower_limit_connector": "CON129.3",
+            "upper_limit_ball": "H16",
+            "upper_limit_connector": "CON129.4",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 10,
+            "name": "M11",
+            "step_ball": "G11",
+            "dir_ball": "H14",
+            "step_connector": "CON112.2",
+            "dir_connector": "CON112.3",
+            "lower_limit_ball": "T3",
+            "lower_limit_connector": "CON138.1",
+            "upper_limit_ball": "R4",
+            "upper_limit_connector": "CON138.2",
+            "evidence": "native_brd_path"
+          },
+          {
+            "index": 11,
+            "name": "M12",
+            "step_ball": "F12",
+            "dir_ball": "D15",
+            "step_connector": "CON115.2",
+            "dir_connector": "CON115.3",
+            "lower_limit_ball": "P4",
+            "lower_limit_connector": "CON138.3",
+            "upper_limit_ball": "T5",
+            "upper_limit_connector": "CON138.4",
+            "evidence": "native_brd_path"
+          }
+        ],
+        "concurrent_axes": true
+      },
+      "ct_i2c": {
+        "channels": 27,
+        "independent_bus": false,
+        "scl_ball": "B14",
+        "sda_ball": "A15",
+        "physical_path": "B14/R1123 and A15/R1124 to MUC_IIC0; populated CT links R800/R801, R843/R846, R873/R876",
+        "mcu_requirement": "MCU I2C0 pins must remain high-impedance; FPGA is the only I2C master",
+        "ct_addresses": [
+          "0x49",
+          "0x48",
+          "0x4B"
+        ],
+        "address_evidence": "existing MCU contract plus native AD0 straps; real ACK verification NOT_RUN"
+      },
+      "supported_build_bauds": [
+        921600,
+        460800,
+        230400,
+        115200
+      ]
     }
   }
 }

+ 75 - 84
config/board_viewer_annotations.fcb_fpga_mcu_v1_2.json

@@ -8612,105 +8612,113 @@
       }
     },
     "CON140": {
-      "summary": "外部 GPIO 扩展座(空余插座,Host TTL 已迁至 CON146);接触针到 FPGA U3 T11, P13, L3, N2",
+      "summary": "当前 Host 3.3V TTL:Pin1 TX=T11,Pin2 RX=P13;Pin3/4为GPIO,不能当GND;GND另接CON77.3/4。",
       "pins": {
         "1": {
-          "summary": "CON140.1 EX_GPIO29 → FPGA U3.T11 (BANK2_LVDS7_P)",
+          "summary": "CON140.1 Host TTL uart_tx → U3.T11",
           "path": [
             "CON140.1 EX_GPIO29",
             "R1261.2",
             "BANK2_LVDS7_P",
             "U3.T11"
           ],
-          "evidence_tier": "board_database",
+          "evidence_tier": "native_board_database",
           "sources": [
-            "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via resistors/BJT/UART transceiver"
+            "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+            "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
           ],
-          "direction": "unknown",
+          "direction": "output",
           "external_level": "3.3V FPGA I/O",
-          "function_category": "gpio",
-          "reserved": false,
+          "function_category": "uart_tx",
+          "reserved": true,
           "fixed_load_conflict": false,
           "fpga": {
             "ball": "T11",
             "board_signal": "EX_GPIO29",
             "io_standard": "LVCMOS33",
             "capabilities": [
+              "uart_tx",
               "gpio"
             ],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via resistors/BJT/UART transceiver"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           },
           "programming": {
-            "status": "board_only",
-            "conclusion": "物理路径到 FPGA U3.T11(网 BANK2_LVDS7_P);功能语义以板级网名 EX_GPIO29 为准,尚未做原理图交叉验证。",
+            "status": "active_production_pin",
+            "conclusion": "生产 Host TTL uart_tx,GPIO直连经已装0Ω电阻,3.3V逻辑。",
             "network_explanation": "CON140.1 EX_GPIO29 → R1261.2 → BANK2_LVDS7_P → U3.T11",
-            "hdl_guidance": "RTL 端口方向与电平按实际功能确认;LOC 约束到该球位。",
+            "hdl_guidance": "host_ttl_tx; LOCATION=T11; LVCMOS33",
             "connection_guidance": [
-              "板端为 3.3V 逻辑域,确认对端兼容。"
+              "TX接对端RX,RX接对端TX,地接CON77.3/4。CON140.3/4不是地。"
             ],
             "constraints": [
               "LOCATION = T11",
               "IOSTANDARD = LVCMOS33"
             ],
             "risks": [
-              "当前仅有 BRD/KiCad 网表追踪证据,未经原理图交叉验证页面复核。"
+              "实物921600眼图/误码测试NOT_RUN"
             ],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via resistors/BJT/UART transceiver"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           }
         },
         "2": {
-          "summary": "CON140.2 EX_GPIO30 → FPGA U3.P13 (BANK2_IO_R15N_2)",
+          "summary": "CON140.2 Host TTL uart_rx → U3.P13",
           "path": [
             "CON140.2 EX_GPIO30",
             "R1262.2",
             "BANK2_IO_R15N_2",
             "U3.P13"
           ],
-          "evidence_tier": "board_database",
+          "evidence_tier": "native_board_database",
           "sources": [
-            "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via resistors/BJT/UART transceiver"
+            "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+            "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
           ],
-          "direction": "unknown",
+          "direction": "input",
           "external_level": "3.3V FPGA I/O",
-          "function_category": "gpio",
-          "reserved": false,
+          "function_category": "uart_rx",
+          "reserved": true,
           "fixed_load_conflict": false,
           "fpga": {
             "ball": "P13",
             "board_signal": "EX_GPIO30",
             "io_standard": "LVCMOS33",
             "capabilities": [
+              "uart_rx",
               "gpio"
             ],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via resistors/BJT/UART transceiver"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           },
           "programming": {
-            "status": "board_only",
-            "conclusion": "物理路径到 FPGA U3.P13(网 BANK2_IO_R15N_2);功能语义以板级网名 EX_GPIO30 为准,尚未做原理图交叉验证。",
+            "status": "active_production_pin",
+            "conclusion": "生产 Host TTL uart_rx,GPIO直连经已装0Ω电阻,3.3V逻辑。",
             "network_explanation": "CON140.2 EX_GPIO30 → R1262.2 → BANK2_IO_R15N_2 → U3.P13",
-            "hdl_guidance": "RTL 端口方向与电平按实际功能确认;LOC 约束到该球位。",
+            "hdl_guidance": "host_ttl_rx; LOCATION=P13; LVCMOS33",
             "connection_guidance": [
-              "板端为 3.3V 逻辑域,确认对端兼容。"
+              "TX接对端RX,RX接对端TX,地接CON77.3/4。CON140.3/4不是地。"
             ],
             "constraints": [
               "LOCATION = P13",
               "IOSTANDARD = LVCMOS33"
             ],
             "risks": [
-              "当前仅有 BRD/KiCad 网表追踪证据,未经原理图交叉验证页面复核。"
+              "实物921600眼图/误码测试NOT_RUN"
             ],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via resistors/BJT/UART transceiver"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           }
         },
@@ -12735,10 +12743,10 @@
       }
     },
     "CON146": {
-      "summary": "Host TTL 串口座(MRDIMM V1.2 活动接口);Pin 1 TX → FPGA U3.H6 (host_ttl_tx / SW_KEYLED3),Pin 3 RX → FPGA U3.N7 (host_ttl_rx / KEY_3),Pin 2/4 GND",
+      "summary": "LED/按键连接器,不是UART。Pin1为12V高侧LED输出,禁止连接USB-TTL;Pin3带100nF按键滤波。",
       "pins": {
         "1": {
-          "summary": "CON146.1 KEYLED_V3 (TTL TX) → FPGA U3.H6 (host_ttl_tx / SW_KEYLED3)",
+          "summary": "CON146.1 KEYLED_V3:12V LED高侧输出,不是TTL TX",
           "path": [
             "CON146.1 KEYLED_V3",
             "Q10620.3",
@@ -12752,48 +12760,43 @@
           ],
           "evidence_tier": "board_database",
           "sources": [
-            "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via Q10620/Q10621 BJT buffer to U3.H6",
-            "contracts/mrdimm-wire.yaml",
-            "constraints/prod2u_mrdimm.adc"
+            "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+            "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
           ],
           "direction": "output",
-          "external_level": "3.3V LVCMOS",
-          "function_category": "uart_tx",
+          "external_level": "12V switched LED power",
+          "function_category": "led_power",
           "reserved": true,
-          "fixed_load_conflict": false,
+          "fixed_load_conflict": true,
           "fpga": {
             "ball": "H6",
             "board_signal": "SW_KEYLED3",
             "io_standard": "LVCMOS33",
             "capabilities": [
-              "uart_tx",
-              "digital_output"
+              "led_control"
             ],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via Q10620/Q10621 BJT buffer to U3.H6",
-              "contracts/mrdimm-wire.yaml"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           },
           "programming": {
-            "status": "board_only",
-            "conclusion": "MRDIMM Host TTL TX 端口(逻辑管脚 host_ttl_tx → FPGA U3.H6 / SW_KEYLED3),经 Q10621/Q10620 两级 NPN 反相缓冲同相输出至 CON146.1。",
-            "network_explanation": "CON146.1 KEYLED_V3 ← Q10620.3 ← N11034890 ← Q10621.3 ← R1297 ← SW_KEYLED3 ← R1301 ← U3.H6",
-            "hdl_guidance": "RTL 顶层端口 host_ttl_tx(输出),ADC 约束 LOCATION = H6; IOSTANDARD = LVCMOS33。",
+            "status": "not_uart",
+            "conclusion": "H6经Q10621 2N7002驱动Q10620 AO3415A PMOS;R1294已装0Ω接+12V。",
+            "network_explanation": "R1294 +12V→Q10620 source;Q10620 drain→KEYLED_V3→CON146.1;C468=1uF/C469=100nF;R1304为0Ω/NC。",
+            "hdl_guidance": "生产UART不驱动H6;板上R1298=10K下拉使LED关闭。",
             "connection_guidance": [
-              "板端 CON146.1 为 3.3V TTL TX 输出(R1304 4.7K 上拉至 +3V3),接外部 Host / USB-TTL 的 RXD。"
-            ],
-            "constraints": [
-              "LOCATION = H6",
-              "IOSTANDARD = LVCMOS33"
+              "此针是12V LED供电输出,不可接3.3V USB-TTL。"
             ],
+            "constraints": [],
             "risks": [
-              "CON146.1 经两级 BJT 缓冲仅支持输出(TX),不可与 Pin 3(RX)互换。"
+              "旧注释两级NPN/3.3V上拉错误,已由原生器件BOM及网表纠正。"
             ],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via Q10620/Q10621 BJT buffer to U3.H6",
-              "contracts/mrdimm-wire.yaml"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           }
         },
@@ -12831,7 +12834,7 @@
           }
         },
         "3": {
-          "summary": "CON146.3 KEY3_CON (TTL RX) → FPGA U3.N7 (host_ttl_rx / KEY_3)",
+          "summary": "CON146.3 KEY3_CON按键输入,带C467=100nF滤波,不是Host UART RX",
           "path": [
             "CON146.3 KEY3_CON",
             "R1293.2",
@@ -12842,15 +12845,14 @@
           ],
           "evidence_tier": "board_database",
           "sources": [
-            "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via R1293/R1110 to U3.N7",
-            "contracts/mrdimm-wire.yaml",
-            "constraints/prod2u_mrdimm.adc"
+            "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+            "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
           ],
           "direction": "input",
           "external_level": "3.3V LVCMOS",
-          "function_category": "uart_rx",
+          "function_category": "key_input",
           "reserved": true,
-          "fixed_load_conflict": false,
+          "fixed_load_conflict": true,
           "board_pull": "R1292 10K pull-up to +3V3",
           "adc_pulltype": "PULLUP",
           "fpga": {
@@ -12858,36 +12860,28 @@
             "board_signal": "KEY_3",
             "io_standard": "LVCMOS33",
             "capabilities": [
-              "uart_rx",
-              "digital_input",
-              "gpio"
+              "key_input"
             ],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via R1293/R1110 to U3.N7",
-              "contracts/mrdimm-wire.yaml"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           },
           "programming": {
-            "status": "board_only",
-            "conclusion": "MRDIMM Host TTL RX 端口(逻辑管脚 host_ttl_rx → FPGA U3.N7 / KEY_3),经 R1293/R1110 直通输入(板载 R1292 10K 上拉至 +3V3)。",
+            "status": "not_uart",
+            "conclusion": "按键输入带100nF滤波,不适合921600 UART。",
             "network_explanation": "CON146.3 KEY3_CON → R1293.2 → KEY3 (R1292 10K 上拉 +3V3) → R1110.2 → KEY_3 → U3.N7",
-            "hdl_guidance": "RTL 顶层端口 host_ttl_rx(输入),ADC 约束 LOCATION = N7; IOSTANDARD = LVCMOS33; PULLTYPE = PULLUP。",
+            "hdl_guidance": "生产host_ttl_rx在CON140.2/P13。",
             "connection_guidance": [
-              "板端 CON146.3 为 3.3V TTL RX 输入(含 R1292 10K 上拉保高),接外部 Host / USB-TTL 的 TXD。"
-            ],
-            "constraints": [
-              "LOCATION = N7",
-              "IOSTANDARD = LVCMOS33",
-              "PULLTYPE = PULLUP"
-            ],
-            "risks": [
-              "确认外部对端为 3.3V 逻辑域,禁止直接接入 RS-232 高压电平。"
+              "作为原设计按键输入使用;不要用作Host UART。"
             ],
+            "constraints": [],
+            "risks": [],
             "evidence_tier": "board_database",
             "sources": [
-              "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd; net-path trace via R1293/R1110 to U3.N7",
-              "contracts/mrdimm-wire.yaml"
+              "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+              "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
             ]
           }
         },
@@ -15123,20 +15117,17 @@
     },
     {
       "id": "host-ttl",
-      "name": "Host TTL 串口 (MRDIMM V1.2 CON146: Pin1 TX=H6, Pin3 RX=N7)",
-      "touchpoint": "CON146",
+      "name": "Host TTL (MRDIMM V1.2 CON140: Pin1 TX=T11, Pin2 RX=P13; GND elsewhere)",
+      "touchpoint": "CON140",
       "pins": [
         "1",
-        "2",
-        "3",
-        "4"
+        "2"
       ],
       "external_level": "3.3V LVCMOS",
       "evidence_tier": "board_database",
       "sources": [
-        "contracts/mrdimm-wire.yaml",
-        "constraints/prod2u_mrdimm.adc",
-        "KiCad 10.0.4 Allegro import of FCB_FPGA+MCU_V1.2_20260717.brd"
+        "Native Allegro BRD SHA256 269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb; 2026-10-23 complete parse, populated resistor/BOM trace",
+        "evidence/hardware/20261023/hardware-routing-review-2.1.0.md"
       ]
     },
     {

+ 9 - 2
config/current-product-tests.json

@@ -45,7 +45,13 @@
     "tests/test_review_serial.py",
     "tests/test_gui_integration_probe.py",
     "tests/unit/test_directed_mutations.py",
-    "tests/sim/full_chain_pty_e2e.py"
+    "tests/sim/full_chain_pty_e2e.py",
+    "tests/unit/test_gui_current_release.py",
+    "tests/unit/test_gui_stress_current.py",
+    "tests/unit/test_host_monitor_and_programmer.py",
+    "tests/unit/test_current_serial_tools.py",
+    "tests/unit/test_gui_motion_actions.py",
+    "tests/unit/test_release_analysis_bundle.py"
   ],
   "targets": {
     "6400-front-rear": {
@@ -65,7 +71,8 @@
         "frame_tx_tb",
         "prod2u_mrdimm_uart_e2e_tb",
         "prod2u_mrdimm_final_e2e_tb",
-        "prod2u_mrdimm_ttl_e2e_tb"
+        "prod2u_mrdimm_ttl_e2e_tb",
+        "mrdimm_actuator_timing_tb"
       ],
       "unit_tests": [
         "tests/unit/test_mrdimm_full_status_schema.py"

+ 380 - 62
config/pin_inventory.fcb_fpga_mcu_v2_0.json

@@ -2,7 +2,7 @@
   "schema": "cpld-pin-inventory-v1",
   "board_id": "fcb_fpga_mcu_v2_0_20260914",
   "board_role": "6400_v2_0_active_interface_evidence",
-  "status": "evidence_verified_20260923",
+  "status": "brd_and_pdf_reviewed_20261023_physical_test_pending",
   "clock_hz": 25000000,
   "clock_pin": "J1",
   "fpga_device": "EF2L45BG256B",
@@ -16,7 +16,7 @@
     {
       "kind": "schematic_pdf",
       "path": "reference/original/schematics/6400高温罩电气图V2.0.pdf",
-      "sha256": "f18a86cbd469ef5308aa69710c40403c5b93cff8e99dfc4a9b6b231df0ee144e",
+      "sha256": "a8309e680714a389c38ffdeefb2e6d11b8535d50feecdf4efd1f610e0c7fc42c",
       "confidence": "confirmed_by_schematic"
     }
   ],
@@ -28,103 +28,421 @@
     "vcc3v3_pin": 1,
     "target_mcu": "External STM32H7 Core Board",
     "target_mcu_tx_pin": "P1.25",
-    "target_mcu_rx_pin": "P1.26"
+    "target_mcu_rx_pin": "P1.26",
+    "fpga_tx_connector_pin": 3,
+    "fpga_rx_connector_pin": 4,
+    "baud": 921600
   },
   "con103_mcu_uart_note": {
     "connector": "CON103",
     "schematic_label": "-CON103 MCU串口连接器 (Page 4/9)",
-    "pcb_pin1_net": "CON103_RXD -> R1029 -> MCU_UART1_TX (GD32 U27.12 PA2) & R1921 -> CP2102 U33",
-    "pcb_pin2_net": "CON103_TXD -> R1030 -> MCU_UART1_RX (GD32 U27.13 PA3) & R1920 -> CP2102 U33",
+    "pcb_pin1_net": "CON103_RXD -> R1029 -> MCU_UART1_TX (STM32F103CBT6 U27.12 PA2) & R1921 -> CP2102 U33",
+    "pcb_pin2_net": "CON103_TXD -> R1030 -> MCU_UART1_RX (STM32F103CBT6 U27.13 PA3) & R1920 -> CP2102 U33",
     "fpga_connected": false,
-    "note": "CON103 routes to onboard MCU U27 (PA2/PA3) and USB-UART U33 on the PCB; external STM32H7 must use CON12 (U3.K2/J4) to reach FPGA U3 directly."
+    "note": "CON103 routes to onboard MCU U27 (PA2/PA3) and USB-UART U33 on the PCB; external STM32H7 must use CON12 (U3.K2/J4) to reach FPGA U3 directly.",
+    "pin3": "+3.3V",
+    "pin4": "GND"
   },
   "host_uart_con134_rs232": {
     "connector": "CON134",
     "fpga_tx_ball": "T14",
     "fpga_rx_ball": "R13",
-    "transceiver_pcb": "U31 (MAX3232)",
+    "transceiver_pcb": "U22 TRSF3232EIPWR channel 2",
     "baud": 921600
   },
   "bmc_uart_con77_rs232": {
     "connector": "CON77",
     "fpga_tx_ball": "L10",
     "fpga_rx_ball": "M9",
-    "transceiver_pcb": "U22 (MAX3232)",
+    "transceiver_pcb": "U22 TRSF3232EIPWR channel 1",
     "baud": 115200
   },
   "ct7428_u6": {
     "instance": "U6",
-    "scl_ball": "M8",
-    "sda_ball": "N9",
-    "unused_scl_ball": "B14",
-    "unused_sda_ball": "A15",
+    "scl_ball": "B14",
+    "sda_ball": "A15",
+    "unused_scl_ball": "M8",
+    "unused_sda_ball": "N9",
     "channels_scanned": 9,
     "channels_unpopulated_0xff": 18,
     "probes": {
       "ch0": "Local Temperature",
-      "ch1": "CON53 (DP1/DN, 1#腔室温度1 进风口)",
-      "ch2": "CON55 (DP2/DN, 1#腔室温度2 进风口)",
-      "ch3": "CON56 (DP3/DN, 2#腔室温度1 进风口)",
-      "ch4": "CON57 (DP4/DN, 2#腔室温度2 进风口)",
-      "ch5": "CON79 (DP5/DN, 3#腔室温度1 出风口)",
-      "ch6": "CON80 (DP6/DN, 3#腔室温度2 出风口)",
-      "ch7": "CON81 (DP7/DN, 4#腔室温度1 出风口)",
-      "ch8": "CON82 (DP8/DN, 4#腔室温度2 出风口)"
-    }
+      "ch1": "CON53 (CT1, 腔1进风口)",
+      "ch2": "CON55 (CT2, 腔1出风口)",
+      "ch3": "CON56 (CT3, 腔2进风口)",
+      "ch4": "CON57 (CT4, 腔2出风口)",
+      "ch5": "CON79 (CT5, 腔3进风口)",
+      "ch6": "CON80 (CT6, 腔3出风口)",
+      "ch7": "CON81 (CT7, 腔4进风口)",
+      "ch8": "CON82 (CT8, 腔4出风口)"
+    },
+    "physical_path": "B14 -> R1888 (0 ohm populated) -> U6.13; A15 -> R1889 (0 ohm populated) -> U6.12",
+    "unpopulated_jumps": [
+      "R744",
+      "R745",
+      "R800",
+      "R801"
+    ],
+    "mcu_bus_isolated": true
   },
   "ssr_fixed_on": {
-    "ssr1": {"connector": "CON165.1", "fpga_ball": "F3", "state": "ALWAYS_ON_HIGH", "resistor_path": "R1685 -> PE1 -> R1847", "load": "-1-7E (110W/24V 辅助加热块)"},
-    "ssr2": {"connector": "CON165.2", "fpga_ball": "F1", "state": "ALWAYS_ON_HIGH", "resistor_path": "R1686 -> PE2 -> R1849", "load": "-2-7E (220W/24V 辅助加热块)"},
-    "ssr4": {"connector": "CON165.4", "fpga_ball": "G4", "state": "ALWAYS_ON_HIGH", "resistor_path": "R1688 -> PE4 -> R1853", "load": "-4-7E (110W/24V 辅助加热块)"}
+    "ssr1": {
+      "connector": "CON165.1",
+      "fpga_ball": "F3",
+      "state": "ALWAYS_ON_HIGH",
+      "resistor_path": "R1685 -> PE1 -> R1847",
+      "load": "-1-7E (110W/24V 辅助加热块)"
+    },
+    "ssr2": {
+      "connector": "CON165.2",
+      "fpga_ball": "F1",
+      "state": "ALWAYS_ON_HIGH",
+      "resistor_path": "R1686 -> PE2 -> R1849",
+      "load": "-2-7E (220W/24V 辅助加热块)"
+    },
+    "ssr4": {
+      "connector": "CON165.4",
+      "fpga_ball": "G4",
+      "state": "ALWAYS_ON_HIGH",
+      "resistor_path": "R1688 -> PE4 -> R1853",
+      "load": "-4-7E (110W/24V 辅助加热块)"
+    }
   },
   "con159_damper_stepper_header": {
     "connector": "CON159",
     "schematic_page": "Page 3 (1#腔体步进控制, 2026-10-15) & Page 4 (-CON159 步进控制接口1 -> -U1 四轴驱动器)",
-    "ena1_pin": {"pin": 9, "net": "ENA1", "fpga_ball": "F3", "shared_with": "SSR1 (CON165.1 via R1847/R1685)"},
+    "ena1_pin": {
+      "pin": 9,
+      "net": "ENA1",
+      "fpga_ball": "F3",
+      "shared_with": "SSR1 (CON165.1 via R1847/R1685)"
+    },
     "gnd_pin": 10,
     "axes": [
-      {"axis": "X1", "step_pin": 1, "step_ball": "C12", "dir_pin": 2, "dir_ball": "B12", "load": "-M1 (1#前部风门)"},
-      {"axis": "Y1", "step_pin": 3, "step_ball": "L12", "dir_pin": 4, "dir_ball": "J11", "load": "-M2 (1#后部风门)"},
-      {"axis": "Z1", "step_pin": 5, "step_ball": "L14", "dir_pin": 6, "dir_ball": "K14", "load": "-M3 (1#顶部风门)"},
-      {"axis": "A1", "step_pin": 7, "step_ball": "L13", "dir_pin": 8, "dir_ball": "K11", "load": "-M4 (2#前部风门)"}
+      {
+        "axis": "X1",
+        "step_pin": 1,
+        "step_ball": "C12",
+        "dir_pin": 2,
+        "dir_ball": "B12",
+        "load": "-M1 (1#前部风门)"
+      },
+      {
+        "axis": "Y1",
+        "step_pin": 3,
+        "step_ball": "L12",
+        "dir_pin": 4,
+        "dir_ball": "J11",
+        "load": "-M2 (1#后部风门)"
+      },
+      {
+        "axis": "Z1",
+        "step_pin": 5,
+        "step_ball": "L14",
+        "dir_pin": 6,
+        "dir_ball": "K14",
+        "load": "-M3 (1#顶部风门)"
+      },
+      {
+        "axis": "A1",
+        "step_pin": 7,
+        "step_ball": "L13",
+        "dir_pin": 8,
+        "dir_ball": "K11",
+        "load": "-M4 (2#前部风门)"
+      }
     ],
     "firmware_policy": "6400 protocol (32B SET_ALL / 83B GET_DATA) is pure thermal control; STEP/DIR balls C12/B12/L12/J11/L14/K14/L13/K11 are unallocated in 6400-v2 RTL."
   },
   "ptc_heater_rating": "30W/24V per PTC heater block (-1-E1..6, -2-E1..6, -3-E1..6, -4-E1..6)",
   "ptc_channels": [
-    {"index": 0, "net": "PTC1", "connector": "CON147.1", "ball": "F16", "heater": "-1-E1 (30W/24V)"},
-    {"index": 1, "net": "PTC2", "connector": "CON147.3", "ball": "G16", "heater": "-1-E2 (30W/24V)"},
-    {"index": 2, "net": "PTC3", "connector": "CON147.5", "ball": "T4", "heater": "-1-E3 (30W/24V)"},
-    {"index": 3, "net": "PTC4", "connector": "CON147.7", "ball": "R5", "heater": "-1-E4 (30W/24V)"},
-    {"index": 4, "net": "PTC5", "connector": "CON147.9", "ball": "T6", "heater": "-1-E5 (30W/24V)"},
-    {"index": 5, "net": "PTC6", "connector": "CON147.11", "ball": "R7", "heater": "-1-E6 (30W/24V)"},
-    {"index": 6, "net": "PTC11", "connector": "CON148.1", "ball": "T2", "heater": "-2-E1 (30W/24V)"},
-    {"index": 7, "net": "PTC12", "connector": "CON148.3", "ball": "R3", "heater": "-2-E2 (30W/24V)"},
-    {"index": 8, "net": "PTC13", "connector": "CON148.5", "ball": "P16", "heater": "-2-E3 (30W/24V)"},
-    {"index": 9, "net": "PTC14", "connector": "CON148.7", "ball": "R16", "heater": "-2-E4 (30W/24V)"},
-    {"index": 10, "net": "PTC15", "connector": "CON148.9", "ball": "M16", "heater": "-2-E5 (30W/24V)"},
-    {"index": 11, "net": "PTC16", "connector": "CON148.11", "ball": "N16", "heater": "-2-E6 (30W/24V)"},
-    {"index": 12, "net": "PTC21", "connector": "CON149.1", "ball": "P10", "heater": "-3-E1 (30W/24V)"},
-    {"index": 13, "net": "PTC22", "connector": "CON149.3", "ball": "R10", "heater": "-3-E2 (30W/24V)"},
-    {"index": 14, "net": "PTC23", "connector": "CON149.5", "ball": "T13", "heater": "-3-E3 (30W/24V)"},
-    {"index": 15, "net": "PTC24", "connector": "CON149.7", "ball": "T12", "heater": "-3-E4 (30W/24V)"},
-    {"index": 16, "net": "PTC25", "connector": "CON149.9", "ball": "L3", "heater": "-3-E5 (30W/24V)"},
-    {"index": 17, "net": "PTC26", "connector": "CON149.11", "ball": "N2", "heater": "-3-E6 (30W/24V)"},
-    {"index": 18, "net": "PTC30", "connector": "CON149.19", "ball": "K5", "heater": "-4-E1 (30W/24V)", "note": "新电气图 Page 4 & 8: PTC4-1 位于 CON149.19 (U3.K5)"},
-    {"index": 19, "net": "PTC31", "connector": "CON150.1/3", "ball": "L4", "heater": "-4-E2 (30W/24V)", "note": "新电气图 Page 4 & 8: PTC4-2 位于 CON150.1 (U3.L4)"},
-    {"index": 20, "net": "PTC32", "connector": "CON150.5/7", "ball": "H4", "heater": "-4-E3 (30W/24V)", "note": "新电气图 Page 4 & 8: PTC4-3 位于 CON150.5 (U3.H4)"},
-    {"index": 21, "net": "PTC33", "connector": "CON150.9/11", "ball": "J6", "heater": "-4-E4 (30W/24V)", "note": "新电气图 Page 4 & 8: PTC4-4 位于 CON150.9 (U3.J6)"},
-    {"index": 22, "net": "PTC34", "connector": "CON150.13/15", "ball": "H5", "heater": "-4-E5 (30W/24V)", "note": "新电气图 Page 4 & 8: PTC4-5 位于 CON150.13 (U3.H5)"},
-    {"index": 23, "net": "PTC35", "connector": "CON150.17/19", "ball": "C15", "heater": "-4-E6 (30W/24V)", "note": "新电气图 Page 4 & 8: PTC4-6 位于 CON150.17 (U3.C15)"}
+    {
+      "index": 0,
+      "net": "PTC1",
+      "connector": "CON147.1",
+      "ball": "F16",
+      "heater": "-1-E1 (30W/24V)"
+    },
+    {
+      "index": 1,
+      "net": "PTC2",
+      "connector": "CON147.3",
+      "ball": "G16",
+      "heater": "-1-E2 (30W/24V)"
+    },
+    {
+      "index": 2,
+      "net": "PTC3",
+      "connector": "CON147.5",
+      "ball": "T4",
+      "heater": "-1-E3 (30W/24V)"
+    },
+    {
+      "index": 3,
+      "net": "PTC4",
+      "connector": "CON147.7",
+      "ball": "R5",
+      "heater": "-1-E4 (30W/24V)"
+    },
+    {
+      "index": 4,
+      "net": "PTC5",
+      "connector": "CON147.9",
+      "ball": "T6",
+      "heater": "-1-E5 (30W/24V)"
+    },
+    {
+      "index": 5,
+      "net": "PTC6",
+      "connector": "CON147.11",
+      "ball": "R7",
+      "heater": "-1-E6 (30W/24V)"
+    },
+    {
+      "index": 6,
+      "net": "PTC11",
+      "connector": "CON148.1",
+      "ball": "T2",
+      "heater": "-2-E1 (30W/24V)"
+    },
+    {
+      "index": 7,
+      "net": "PTC12",
+      "connector": "CON148.3",
+      "ball": "R3",
+      "heater": "-2-E2 (30W/24V)"
+    },
+    {
+      "index": 8,
+      "net": "PTC13",
+      "connector": "CON148.5",
+      "ball": "P16",
+      "heater": "-2-E3 (30W/24V)"
+    },
+    {
+      "index": 9,
+      "net": "PTC14",
+      "connector": "CON148.7",
+      "ball": "R16",
+      "heater": "-2-E4 (30W/24V)"
+    },
+    {
+      "index": 10,
+      "net": "PTC15",
+      "connector": "CON148.9",
+      "ball": "M16",
+      "heater": "-2-E5 (30W/24V)"
+    },
+    {
+      "index": 11,
+      "net": "PTC16",
+      "connector": "CON148.11",
+      "ball": "N16",
+      "heater": "-2-E6 (30W/24V)"
+    },
+    {
+      "index": 12,
+      "net": "PTC21",
+      "connector": "CON149.1",
+      "ball": "P10",
+      "heater": "-3-E1 (30W/24V)"
+    },
+    {
+      "index": 13,
+      "net": "PTC22",
+      "connector": "CON149.3",
+      "ball": "R10",
+      "heater": "-3-E2 (30W/24V)"
+    },
+    {
+      "index": 14,
+      "net": "PTC23",
+      "connector": "CON149.5",
+      "ball": "T13",
+      "heater": "-3-E3 (30W/24V)"
+    },
+    {
+      "index": 15,
+      "net": "PTC24",
+      "connector": "CON149.7",
+      "ball": "T12",
+      "heater": "-3-E4 (30W/24V)"
+    },
+    {
+      "index": 16,
+      "net": "PTC25",
+      "connector": "CON149.9",
+      "ball": "L3",
+      "heater": "-3-E5 (30W/24V)"
+    },
+    {
+      "index": 17,
+      "net": "PTC26",
+      "connector": "CON149.11",
+      "ball": "N2",
+      "heater": "-3-E6 (30W/24V)"
+    },
+    {
+      "index": 18,
+      "net": "PTC30",
+      "connector": "CON149.19",
+      "ball": "K5",
+      "heater": "-4-E1 (30W/24V)",
+      "note": "新电气图 Page 4 & 8: PTC4-1 位于 CON149.19 (U3.K5)"
+    },
+    {
+      "index": 19,
+      "net": "PTC31",
+      "connector": "CON150.1/3",
+      "ball": "L4",
+      "heater": "-4-E2 (30W/24V)",
+      "note": "新电气图 Page 4 & 8: PTC4-2 位于 CON150.1 (U3.L4)"
+    },
+    {
+      "index": 20,
+      "net": "PTC32",
+      "connector": "CON150.5/7",
+      "ball": "H4",
+      "heater": "-4-E3 (30W/24V)",
+      "note": "新电气图 Page 4 & 8: PTC4-3 位于 CON150.5 (U3.H4)"
+    },
+    {
+      "index": 21,
+      "net": "PTC33",
+      "connector": "CON150.9/11",
+      "ball": "J6",
+      "heater": "-4-E4 (30W/24V)",
+      "note": "新电气图 Page 4 & 8: PTC4-4 位于 CON150.9 (U3.J6)"
+    },
+    {
+      "index": 22,
+      "net": "PTC34",
+      "connector": "CON150.13/15",
+      "ball": "H5",
+      "heater": "-4-E5 (30W/24V)",
+      "note": "新电气图 Page 4 & 8: PTC4-5 位于 CON150.13 (U3.H5)"
+    },
+    {
+      "index": 23,
+      "net": "PTC35",
+      "connector": "CON150.17/19",
+      "ball": "C15",
+      "heater": "-4-E6 (30W/24V)",
+      "note": "新电气图 Page 4 & 8: PTC4-6 位于 CON150.17 (U3.C15)"
+    }
   ],
   "fan_channels": [
-    {"group": "front", "index": 0, "connector": "CON155.5", "ball": "P12", "nmos": "Q10695"},
-    {"group": "rear", "index": 0, "connector": "CON155.6", "ball": "A10", "nmos": "Q10696"},
-    {"group": "front", "index": 1, "connector": "CON155.11", "ball": "D8", "nmos": "Q10697"},
-    {"group": "rear", "index": 1, "connector": "CON155.12", "ball": "C7", "nmos": "Q10698"},
-    {"group": "front", "index": 2, "connector": "CON154.5", "ball": "C4", "nmos": "Q10691"},
-    {"group": "rear", "index": 2, "connector": "CON154.6", "ball": "B5", "nmos": "Q10692"},
-    {"group": "front", "index": 3, "connector": "CON154.11", "ball": "B1", "nmos": "Q10693"},
-    {"group": "rear", "index": 3, "connector": "CON154.12", "ball": "A14", "nmos": "Q10694"}
-  ]
+    {
+      "group": "front",
+      "index": 0,
+      "connector": "CON155.5",
+      "ball": "P12",
+      "nmos": "Q10695",
+      "chamber": 1,
+      "role": "intake",
+      "label": "进风(新风)",
+      "physical_pwm": 5,
+      "payload_offset": 24,
+      "connector_pwm_inverted": true
+    },
+    {
+      "group": "rear",
+      "index": 0,
+      "connector": "CON155.6",
+      "ball": "A10",
+      "nmos": "Q10696",
+      "chamber": 1,
+      "role": "exhaust",
+      "label": "排风(出风)",
+      "physical_pwm": 6,
+      "payload_offset": 28,
+      "connector_pwm_inverted": true
+    },
+    {
+      "group": "front",
+      "index": 1,
+      "connector": "CON155.11",
+      "ball": "D8",
+      "nmos": "Q10697",
+      "chamber": 2,
+      "role": "intake",
+      "label": "进风(新风)",
+      "physical_pwm": 7,
+      "payload_offset": 25,
+      "connector_pwm_inverted": true
+    },
+    {
+      "group": "rear",
+      "index": 1,
+      "connector": "CON155.12",
+      "ball": "C7",
+      "nmos": "Q10698",
+      "chamber": 2,
+      "role": "exhaust",
+      "label": "排风(出风)",
+      "physical_pwm": 8,
+      "payload_offset": 29,
+      "connector_pwm_inverted": true,
+      "role_evidence": "paired exhaust assignment; PDF FM4/FM8 label conflicts; physical direction pending"
+    },
+    {
+      "group": "front",
+      "index": 2,
+      "connector": "CON154.5",
+      "ball": "C4",
+      "nmos": "Q10691",
+      "chamber": 3,
+      "role": "intake",
+      "label": "进风(新风)",
+      "physical_pwm": 1,
+      "payload_offset": 26,
+      "connector_pwm_inverted": true
+    },
+    {
+      "group": "rear",
+      "index": 2,
+      "connector": "CON154.6",
+      "ball": "B5",
+      "nmos": "Q10692",
+      "chamber": 3,
+      "role": "exhaust",
+      "label": "排风(出风)",
+      "physical_pwm": 2,
+      "payload_offset": 30,
+      "connector_pwm_inverted": true
+    },
+    {
+      "group": "front",
+      "index": 3,
+      "connector": "CON154.11",
+      "ball": "B1",
+      "nmos": "Q10693",
+      "chamber": 4,
+      "role": "intake",
+      "label": "进风(新风)",
+      "physical_pwm": 3,
+      "payload_offset": 27,
+      "connector_pwm_inverted": true
+    },
+    {
+      "group": "rear",
+      "index": 3,
+      "connector": "CON154.12",
+      "ball": "A14",
+      "nmos": "Q10694",
+      "chamber": 4,
+      "role": "exhaust",
+      "label": "排风(出风)",
+      "physical_pwm": 4,
+      "payload_offset": 31,
+      "connector_pwm_inverted": true,
+      "role_evidence": "paired exhaust assignment; PDF FM4/FM8 label conflicts; physical direction pending"
+    }
+  ],
+  "component_values": {
+    "U3": "EF2L45BG256B",
+    "U27": "STM32F103CBT6",
+    "U22": "TRSF3232EIPWR",
+    "X1": "CO32H4-25.000-33JDTSN"
+  }
 }

+ 528 - 15
config/pin_inventory.prod2u_door_temp_v1_2.json

@@ -1,20 +1,16 @@
 {
   "schema": "cpld-pin-inventory-v1",
   "board_id": "fcb_fpga_mcu_v1_2_20260717",
-  "board_role": "prod2u_door_temp_active_interface_evidence",
-  "status": "evidence_matrix_v1_2_e2e",
+  "board_role": "mrdimm_v1_2_current_12axis_production",
+  "status": "native_brd_traced_hardware_not_run",
   "clock_hz": 25000000,
   "manual_verification_required": true,
   "product_thermal_gate_allowed": false,
   "matrix_doc": "docs/IO_EVIDENCE_MATRIX.zh-CN.md",
   "matrix_counts": {
-    "physical_path_confirmed_by_brd": 30,
-    "product_polarity_confirmed_by_electrical_staff": 30,
-    "hardware_measurement_not_run": 30,
-    "blocked": 1,
-    "total_active_rows": 30,
-    "total_rows_including_blocked": 31,
-    "legacy_mixed_confirmed_inferred_retired": true
+    "total_active_rows": 86,
+    "native_adc_bound_pins": 86,
+    "hardware_measurement_not_run": 86
   },
   "io_evidence_grades": {
     "physical_path": "confirmed_by_brd",
@@ -22,7 +18,7 @@
     "hardware_measurement": "not_run",
     "matrix_doc": "docs/IO_EVIDENCE_MATRIX.zh-CN.md"
   },
-  "electrical_boundary": "V1.2 CON104–106/120/12/129 used for product 3-axis motor and six-limit map. physical_path=confirmed_by_brd from V1.2 BRD/board-data; product_polarity=confirmed_by_electrical_staff from contract/electrical staff; hardware_measurement=not_run. FCB_FPGA+MCU0611.pdf is historical_schematic_side_evidence only and must not override those connectors. No V1.2 schematic PDF (missing_by_policy/not_provided).",
+  "electrical_boundary": "Current 12-axis production ADC plus native BRD trace. MCU I2C0 high impedance required. CON146 is LED/key, not TTL UART. Historical rows below are not production mapping.",
   "source_documents": [
     {
       "kind": "allegro_brd",
@@ -73,6 +69,527 @@
     }
   ],
   "pins": [
+    {
+      "port": "sys_clk",
+      "fpga_ball": "J1",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "host_rs232_tx",
+      "fpga_ball": "M10",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "host_rs232_rx",
+      "fpga_ball": "N11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "host_ttl_tx",
+      "fpga_ball": "T11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "host_ttl_rx",
+      "fpga_ball": "P13",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "bmc_rs232_tx",
+      "fpga_ball": "L10",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "bmc_rs232_rx",
+      "fpga_ball": "M9",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "temp_scl",
+      "fpga_ball": "B14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "temp_sda",
+      "fpga_ball": "A15",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[0]",
+      "fpga_ball": "F16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[1]",
+      "fpga_ball": "G16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[2]",
+      "fpga_ball": "T4",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[3]",
+      "fpga_ball": "R5",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[4]",
+      "fpga_ball": "T6",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[5]",
+      "fpga_ball": "R7",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[6]",
+      "fpga_ball": "M1",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[7]",
+      "fpga_ball": "N1",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[8]",
+      "fpga_ball": "P1",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[9]",
+      "fpga_ball": "R1",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[10]",
+      "fpga_ball": "T2",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[11]",
+      "fpga_ball": "R3",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[12]",
+      "fpga_ball": "P16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[13]",
+      "fpga_ball": "R16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[14]",
+      "fpga_ball": "M16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[15]",
+      "fpga_ball": "N16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[16]",
+      "fpga_ball": "P8",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[17]",
+      "fpga_ball": "P7",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[18]",
+      "fpga_ball": "T9",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[19]",
+      "fpga_ball": "P9",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[20]",
+      "fpga_ball": "P10",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[21]",
+      "fpga_ball": "R10",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[22]",
+      "fpga_ball": "T13",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "ptc_pwm_out[23]",
+      "fpga_ball": "T12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "fan_pwm_out[0]",
+      "fpga_ball": "B1",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "fan_pwm_out[1]",
+      "fpga_ball": "C4",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "fan_pwm_out[2]",
+      "fpga_ball": "B5",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "fan_pwm_out[3]",
+      "fpga_ball": "A14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_en_n",
+      "fpga_ball": "C11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[0]",
+      "fpga_ball": "C12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[1]",
+      "fpga_ball": "L12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[2]",
+      "fpga_ball": "L14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[3]",
+      "fpga_ball": "G14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[4]",
+      "fpga_ball": "L13",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[5]",
+      "fpga_ball": "K12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[6]",
+      "fpga_ball": "J14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[7]",
+      "fpga_ball": "G13",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[8]",
+      "fpga_ball": "H13",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[9]",
+      "fpga_ball": "H11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[10]",
+      "fpga_ball": "G11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_step_gate[11]",
+      "fpga_ball": "F12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[0]",
+      "fpga_ball": "B12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[1]",
+      "fpga_ball": "J11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[2]",
+      "fpga_ball": "K14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[3]",
+      "fpga_ball": "G15",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[4]",
+      "fpga_ball": "K11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[5]",
+      "fpga_ball": "K13",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[6]",
+      "fpga_ball": "J12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[7]",
+      "fpga_ball": "F14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[8]",
+      "fpga_ball": "J13",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[9]",
+      "fpga_ball": "H12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[10]",
+      "fpga_ball": "H14",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "motor_dir_gate[11]",
+      "fpga_ball": "D15",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[0]",
+      "fpga_ball": "A5",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[1]",
+      "fpga_ball": "C8",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[2]",
+      "fpga_ball": "D7",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[3]",
+      "fpga_ball": "A4",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[4]",
+      "fpga_ball": "A3",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[5]",
+      "fpga_ball": "A12",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[6]",
+      "fpga_ball": "L16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[7]",
+      "fpga_ball": "K15",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[8]",
+      "fpga_ball": "K16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[9]",
+      "fpga_ball": "H15",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[10]",
+      "fpga_ball": "T3",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_lower_raw[11]",
+      "fpga_ball": "P4",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[0]",
+      "fpga_ball": "B6",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[1]",
+      "fpga_ball": "A8",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[2]",
+      "fpga_ball": "E7",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[3]",
+      "fpga_ball": "C5",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[4]",
+      "fpga_ball": "B4",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[5]",
+      "fpga_ball": "B11",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[6]",
+      "fpga_ball": "L15",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[7]",
+      "fpga_ball": "J16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[8]",
+      "fpga_ball": "J15",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[9]",
+      "fpga_ball": "H16",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[10]",
+      "fpga_ball": "R4",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    },
+    {
+      "port": "limit_upper_raw[11]",
+      "fpga_ball": "T5",
+      "physical_path": "native_brd_confirmed",
+      "hardware_measurement": "NOT_RUN"
+    }
+  ],
+  "blocked_summary": [
+    "Actual board/JTAG/UART validation NOT_RUN: host 192.168.2.79 unavailable during this session"
+  ],
+  "historical_3axis_rows": [
     {
       "signal": "sys_clk",
       "fpga_ball": "J1",
@@ -942,9 +1459,5 @@
       }
     }
   ],
-  "blocked_summary": [
-    "V1.2 silkscreen CON30.3 for X limit (historical; product now uses CON12/129 six-limit map)",
-    "Legacy CON68/CON34 fan-tach limit remap (M6/F9) retired for 3-axis product",
-    "CON141 solenoid / intake actuator retired — byte 8 is Z motor"
-  ]
+  "current_project": "projects/mrdimm-chamber/project.json"
 }

+ 6 - 6
constraints/prod2u_6400_v2.adc

@@ -14,12 +14,12 @@ set_pin_assignment { host_rs232_tx } { LOCATION = T14; IOSTANDARD = LVCMOS33; PU
 set_pin_assignment { bmc_rs232_rx } { LOCATION = M9; IOSTANDARD = LVCMOS33; PULLTYPE = PULLUP; }
 set_pin_assignment { bmc_rs232_tx } { LOCATION = L10; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
 
-# CT7428 I2C Interface (Single chip U6: 0x49)
-set_pin_assignment { temp_scl } { LOCATION = M8; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
-set_pin_assignment { temp_sda } { LOCATION = N9; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
-# CT7428 Alternate Bus Pins (Reserved Hi-Z to prevent bus conflict)
-set_pin_assignment { temp_scl_alt } { LOCATION = B14; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
-set_pin_assignment { temp_sda_alt } { LOCATION = A15; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
+# CT7428 (U6 populated R1888/R1889 route is B14/A15; M8/N9 jumpers are NC) I2C Interface (Single chip U6: 0x49)
+set_pin_assignment { temp_scl } { LOCATION = B14; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
+set_pin_assignment { temp_sda } { LOCATION = A15; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
+# CT7428 (U6 populated R1888/R1889 route is B14/A15; M8/N9 jumpers are NC) Alternate Bus Pins (Reserved Hi-Z to prevent bus conflict)
+set_pin_assignment { temp_scl_alt } { LOCATION = M8; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
+set_pin_assignment { temp_sda_alt } { LOCATION = N9; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
 
 # Fixed Constant-ON SSR Outputs
 set_pin_assignment { ssr1_out } { LOCATION = F3; IOSTANDARD = LVCMOS33; }

+ 10 - 6
constraints/prod2u_mrdimm.adc

@@ -5,15 +5,19 @@
 # System Clock
 set_pin_assignment { sys_clk } { LOCATION = J1; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
 
-# Host RS232 (CON78) & Host TTL (CON146)
+# Host RS232 (CON78) & Host 3.3V TTL (CON140); CON146 is a 12V LED circuit
 set_pin_assignment { host_rs232_tx } { LOCATION = M10; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CON78.1
 set_pin_assignment { host_rs232_rx } { LOCATION = N11; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CON78.2
-set_pin_assignment { host_ttl_tx }   { LOCATION = H6;  IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CON146.1 (KEYLED_V3 / SW_KEYLED3)
-set_pin_assignment { host_ttl_rx }   { LOCATION = N7;  IOSTANDARD = LVCMOS33; PULLTYPE = PULLUP; }  # CON146.3 (KEY3_CON / KEY_3)
+set_pin_assignment { host_ttl_tx }   { LOCATION = T11; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CON140.1 via R1261 (0 ohm)
+set_pin_assignment { host_ttl_rx }   { LOCATION = P13; IOSTANDARD = LVCMOS33; PULLTYPE = PULLUP; }  # CON140.2 via R1262 (0 ohm)
 
-# CT7428 I2C Bus (3 chips: U6, U24, U25)
-set_pin_assignment { temp_scl } { LOCATION = M8; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CT7428 bus
-set_pin_assignment { temp_sda } { LOCATION = N9; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CT7428 bus
+# BMC RS232 via U22 TRSF3232E, CON77.3/4 = GND
+set_pin_assignment { bmc_rs232_tx } { LOCATION = L10; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CON77.1
+set_pin_assignment { bmc_rs232_rx } { LOCATION = M9; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CON77.2
+
+# CT7428 actual populated bus: B14/A15 via R1123/R1124; MCU I2C0 must be Hi-Z
+set_pin_assignment { temp_scl } { LOCATION = B14; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CT7428 bus
+set_pin_assignment { temp_sda } { LOCATION = A15; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # CT7428 bus
 
 # Chamber 1..4 Physical PTC Heaters (24 channels, active high)
 set_pin_assignment { ptc_pwm_out[0]  } { LOCATION = F16 ; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }  # HEAT1

+ 7 - 5
contracts/6400-wire.yaml

@@ -2,7 +2,7 @@ schema: prod2u-6400-manual-wire-v5
 clock_hz: 25000000
 device: EF2L45BG256B
 note: >-
-  Single wire protocol for the 6400 V1.1 product. There is exactly one frame
+  Single wire protocol for the 6400 V2.0 product. There is exactly one frame
   shape; no version field, product id, sequence number, tag or TLV, and no
   autodetection of any historical format.
 frame:
@@ -40,9 +40,11 @@ rx_path:
   overflow_policy: never_execute_a_partial_request_and_keep_a_bounded_recovery_path
 host_uart:
   baud: 921600
+  supported_build_bauds: [921600, 460800, 230400, 115200]
   format: 8N1
   fixed_candidate_clks_per_bit: 27
-  exact_baud: {div: 15625, mul: 576, relation: clock_hz_times_mul_over_div_equals_baud}
+  divider: nearest_integer_clock_hz_over_selected_baud
+  implemented_baud_at_921600: 925925.925926
   rs232: {connector: CON134, tx_connector_pin: 1, rx_connector_pin: 2, tx_ball: T14, rx_ball: R13, status: confirmed}
   ttl:
     connector: CON12
@@ -104,7 +106,7 @@ responses:
   SET_ACK: {type: 0x81, payload_length: 0}
   GET_ACK: {type: 0x82, payload_length: 0}
   HEARTBEAT_ACK: {type: 0x83, payload_length: 0_or_4}
-  BEACON: {type: 0x51, payload_length: 0, autonomous: true, feeds_watchdog: false}
+  AUTO_GET_DATA: {type: 0x42, payload_length: 83, autonomous: true, period_ms: 5000, feeds_watchdog: false, payload_contract: 6400-snapshot.yaml, note: "Emitted when the transaction core is idle; no preceding GET_ACK"}
   GET_DATA: {type: 0x42, payload_length: 83, payload_contract: 6400-snapshot.yaml}
   NACK:
     type: 0xC0
@@ -134,9 +136,9 @@ command_fifo: false
 watchdog:
   seconds: 30
   timebase: existing_shared_tick
-  feed_on: [successful_set_accept, legal_get_accept]
+  feed_on: [successful_set_accept, legal_get_accept, legal_heartbeat_accept]
   no_feed_on: [bad_request, nack, motor_done]
-  starts_at: first_successful_set_or_get
+  starts_at: first_successful_set_get_or_heartbeat
   expiry:
     stop_all_axes: true
     invalidate_segments_queues_unsent_dones: true

+ 11 - 10
contracts/channel-map.yaml

@@ -3,26 +3,27 @@ product: 6400-front-rear-v2
 board:
   id: fcb_fpga_mcu_v2_0_20260914
   evidence_source: docs/evidence/6400-v2-electrical-alignment.md
-  evidence_sha256: 4320cbdcbdf24adb1f1e1f27a1d6e15d88aa3d2a2b26fdddf145275fb35d3272
+  evidence_identity: hardware_files_sha256_below
   hardware_files:
     - {role: brd, path: reference/original/board/FCB_FPGA_MCU_V2.0_20260914/FCB_FPGA+MCU_V2.0_20260914.brd, sha256: c4a75fdc17746910989b76f2e10c357e57d67ec73bad79ad4310948c0e71fcfe, source: native_cadence_allegro}
-    - {role: schematic_pdf, path: reference/original/schematics/6400高温罩电气图V2.0.pdf, sha256: f18a86cbd469ef5308aa69710c40403c5b93cff8e99dfc4a9b6b231df0ee144e, source: native_schematic}
+    - {role: schematic_pdf, path: reference/original/schematics/6400高温罩电气图V2.0.pdf, sha256: a8309e680714a389c38ffdeefb2e6d11b8535d50feecdf4efd1f610e0c7fc42c, source: native_schematic}
   airflow_roles: USER_CONFIRMED_SYSTEM_MAP
 lanes:
   - {air_lane: 0, cpu: 0, cpu_slots: [0, 5], thermal_zone: 0, cohort: primary}
   - {air_lane: 1, cpu: 0, cpu_slots: [6, 11], thermal_zone: 1, cohort: primary}
   - {air_lane: 2, cpu: 1, cpu_slots: [0, 5], thermal_zone: 1, cohort: primary}
   - {air_lane: 3, cpu: 1, cpu_slots: [6, 11], thermal_zone: 2, cohort: holdout}
+# The main board inverts FPGA PWM before CON154/155; the daughterboard is passive.
 fan_output_vector_order: [front0, front1, front2, front3, rear0, rear1, rear2, rear3]
 fan_outputs:
-  - {output_index: 24, group: front, lane: 0, connector: CON155, pin: 5, net: FRONT_FAN0, fpga_ball: P12, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
-  - {output_index: 25, group: front, lane: 1, connector: CON155, pin: 11, net: FRONT_FAN1, fpga_ball: D8, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
-  - {output_index: 26, group: front, lane: 2, connector: CON154, pin: 5, net: FRONT_FAN2, fpga_ball: C4, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
-  - {output_index: 27, group: front, lane: 3, connector: CON154, pin: 11, net: FRONT_FAN3, fpga_ball: B1, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
-  - {output_index: 28, group: rear, lane: 0, connector: CON155, pin: 6, net: REAR_FAN0, fpga_ball: A10, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
-  - {output_index: 29, group: rear, lane: 1, connector: CON155, pin: 12, net: REAR_FAN1, fpga_ball: C7, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
-  - {output_index: 30, group: rear, lane: 2, connector: CON154, pin: 6, net: REAR_FAN2, fpga_ball: B5, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
-  - {output_index: 31, group: rear, lane: 3, connector: CON154, pin: 12, net: REAR_FAN3, fpga_ball: A14, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 24, group: front, lane: 0, connector: CON155, pin: 5, net: FRONT_FAN0, fpga_ball: P12, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 25, group: front, lane: 1, connector: CON155, pin: 11, net: FRONT_FAN1, fpga_ball: D8, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 26, group: front, lane: 2, connector: CON154, pin: 5, net: FRONT_FAN2, fpga_ball: C4, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 27, group: front, lane: 3, connector: CON154, pin: 11, net: FRONT_FAN3, fpga_ball: B1, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 28, group: rear, lane: 0, connector: CON155, pin: 6, net: REAR_FAN0, fpga_ball: A10, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 29, group: rear, lane: 1, connector: CON155, pin: 12, net: REAR_FAN1, fpga_ball: C7, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 30, group: rear, lane: 2, connector: CON154, pin: 6, net: REAR_FAN2, fpga_ball: B5, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
+  - {output_index: 31, group: rear, lane: 3, connector: CON154, pin: 12, net: REAR_FAN3, fpga_ball: A14, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v2_0}
 channels:
   - {logical_dimm: 0, cpu: 0, cpu_slot: 0, air_lane: 0, thermal_zone: 0, ptc_channel: 0, bmc_temperature_index: 0, ct7428_channel: unknown, front_fan_channel: 0, rear_fan_channel: 0, primary_cohort: true, enabled: true, physical_label: CPU0_DIMM0, evidence: {source: active-task-contract, location: topology, confidence: confirmed}}
   - {logical_dimm: 1, cpu: 0, cpu_slot: 1, air_lane: 0, thermal_zone: 0, ptc_channel: 1, bmc_temperature_index: 1, ct7428_channel: unknown, front_fan_channel: 0, rear_fan_channel: 0, primary_cohort: true, enabled: true, physical_label: CPU0_DIMM1, evidence: {source: active-task-contract, location: topology, confidence: confirmed}}

+ 3 - 3
contracts/mrdimm-status.yaml

@@ -44,12 +44,12 @@ output_defaults:
 fan_ptc_mapping:
   fan_count: 4
   logical_ptc_count: 4
-  physical_ptc_count: 8
-  ptc_map: logical PTC0..3 each drive two physical PTC outputs (chamber N = physical 2N, 2N+1)
+  physical_ptc_count: 24
+  ptc_map: logical PTC0..3 each drive six physical PTC outputs (chamber N = physical 6N through 6N+5)
   pwm_hz: 500
   fan_duty_semantics: connector_requested_duty_not_rpm_not_airflow
 motor_axes:
   axis_count: 12
-  axis_geometry: one_limit_pair_per_axis
+  axis_geometry: 12 logical axes; only PCB-bound limit pads are available in production
   limit_active_level: high
   live_limits_only: true

+ 21 - 18
contracts/mrdimm-wire.yaml

@@ -34,17 +34,23 @@ request_staging_bytes: 128
 inter_byte_timeout_clks: 250000
 inter_byte_timeout_us: 10000
 host_uart:
-  baud: 115200
+  baud: 921600
+  supported_build_bauds: [921600, 460800, 230400, 115200]
   format: 8N1
-  clks_per_bit: 217
+  clks_per_bit: 27
   rs232: {connector: CON78, tx_ball: M10, rx_ball: N11, status: confirmed}
   ttl:
     status: confirmed
-    connector: CON146
-    tx_ball: H6
-    rx_ball: N7
+    connector: CON140
+    tx_ball: T11
+    rx_ball: P13
+    tx_pin: 1
+    rx_pin: 2
+    ground: CON77.3_or_CON77.4_or_verified_board_GND
     note: >-
-      CON146 TTL UART port on H6 (Pin 1 TX, KEYLED_V3 / SW_KEYLED3) / N7 (Pin 3 RX, KEY3_CON / KEY_3) with Pin 2/4 GND, 115200 8N1, sharing the RS232 UART core.
+      CON140.1 TX (T11 via R1261 0 ohm), CON140.2 RX (P13 via R1262 0 ohm), 3.3V.
+      CON140.3/4 are GPIO, not ground. CON146 is a 12V LED/key circuit, never a UART.
+      Default 921600 8N1 with fixed-rate fallback builds; same TX stream as RS232.
   source_select: minimal_rx_source_select_with_broadcast_tx
   conflict_detection: none
   fair_arbitration: none
@@ -68,7 +74,7 @@ commands:
     payload_length: 68
     response: SET_ACK
     feeds_watchdog: true
-    admission: SET_ACCEPT_after_validation_and_queue_reservation
+    admission: SET_ACCEPT_after_validation_latest_wins_per_axis
     payload_fields:
       - {name: fan_duty_percent, offset: 0, count: 4, minimum: 0, maximum: 100, unit: percent}
       - {name: ptc_duty_percent, offset: 4, count: 4, minimum: 0, maximum: 100, unit: percent}
@@ -95,16 +101,14 @@ commands:
     half_period_nonzero_required: true
     speed_hz: "500000 / half_period_us"
     max_half_period_hz: 7.63
-    implemented_min_half_period_us: 10
+    implemented_min_half_period_us: 1
     implemented_min_note: >-
-      The contract can express 1..65535 us; the shared twelve-axis scanner
-      places an edge at the first visit after the microsecond boundary, so the
-      measured worst-case placement error is one rotation (480 ns). Halves below
-      the measured minimum are rejected with BAD_VALUE rather than silently
-      slowed, and are never a missed edge. The value is stated in this
-      generating contract and in the SDK.
+      Twelve independent counters use the shared 1 us tick. Each axis stores one
+      finite segment; a new PUSH replaces that axis immediately. Wait for DONE
+      when each segment must complete. Axes may run concurrently without a
+      synchronous start requirement.
     every_axis_is_variable_speed: true
-    stops_at_set_accept: true
+    stop_clear_timing: per_axis_during_sequential_application_after_validation
     fan_duty_meaning: connector_requested_duty_not_rpm_not_airflow
   GET_ALL:
     type: 0x02
@@ -128,7 +132,7 @@ responses:
   SET_ACK: {type: 0x81, payload_length: 0}
   GET_ACK: {type: 0x82, payload_length: 0}
   HEARTBEAT_ACK: {type: 0x83, payload_length: 0_or_4}
-  BEACON: {type: 0x51, payload_length: 0, autonomous: true, feeds_watchdog: false, active_telemetry: "Autonomous 500ms periodic burst with preamble, ASCII banner [PROD2U MRDIMM-V1.2 OK], and legal A5 5A 51 00 81 20 frame"}
+  BEACON: {type: 0x51, payload_length: 0, autonomous: true, period_ms: 5000, feeds_watchdog: false, active_telemetry: "Legal A5 5A 51 00 81 20 frame; no ASCII banner; emitted when the transaction core is idle"}
   GET_DATA: {type: 0x42, payload_length: 63, payload_contract: mrdimm-status.yaml}
   MOTOR_DONE:
     type: 0x50
@@ -155,7 +159,6 @@ host_response_order:
   GET_ALL: [GET_ACK, GET_DATA]
   HEARTBEAT: [HEARTBEAT_ACK]
   UNSUPPORTED: [NACK]
-  UNSUPPORTED: [NACK]
 invalid_behavior:
   bad_header_crc_partial_timeout_framing: silent_drop_and_recover
   complete_crc_valid_request: exactly_one_set_ack_get_ack_or_nack
@@ -171,7 +174,7 @@ command_fifo: false
 watchdog:
   seconds: 30
   timebase: existing_shared_tick
-  feed_on: [successful_set_accept, legal_get_accept]
+  feed_on: [successful_set_accept, legal_get_accept, legal_heartbeat_accept]
   no_feed_on: [bad_request, nack, motor_done]
   starts_at: first_successful_set_or_get
   expiry:

+ 95 - 166
docs/evidence/6400-v2-electrical-alignment.md

@@ -1,168 +1,97 @@
-# 6400 V2.0 电气网络核验与改线方案证据
-
-## 1. 原始文件与真值依据
-
-- **主板 Allegro BRD**: `reference/original/board/FCB_FPGA_MCU_V2.0_20260914/FCB_FPGA+MCU_V2.0_20260914.brd`
-  - SHA-256: `c4a75fdc17746910989b76f2e10c357e57d67ec73bad79ad4310948c0e71fcfe` (与用户要求完全一致)
-- **原理图图纸**: `reference/original/schematics/6400高温罩电气图V2.0.pdf` (已替换为最新 13 页《温控板测试V2.0电气图(1).pdf》,替代旧版存在严重错误的 12 页电气图)
-  - SHA-256: `f18a86cbd469ef5308aa69710c40403c5b93cff8e99dfc4a9b6b231df0ee144e` (`2,460,991` bytes, 13 pages)
-- **主要器件**:
-  - U3: CPLD/FPGA `EF2L45BG256B`
-  - U6: CT7428 8通道外部远程探头/1通道本地温度传感器
-  - U22 / U31: RS-232 电平转换器 (`CON77` 经 `U22`,`CON134` 在 PCB 上经 `U31`)
-  - U27: 主板集成 MCU (`GD32F303RCT6`,本 CPLD 工程明确不使用)
-  - 外部主机: 外接 STM32H7 核心板 (`-A3 H7核心板`)
-
----
-
-## 2. 串口网络与接线建议 (CON12、CON103 与 CON168)
-
-### 2.1 CON103 与 CON168 (直连板载 MCU U27,不进 FPGA U3)
-- **CON103 (`温控板测试V2.0电气图` 第 4/9 页标注 `-CON103 MCU串口连接器`)**:
-  - `CON103.1 (CON103_RXD)` → `R1029` → `MCU_UART1_TX` → `U27.12 (PA2)`,同时经 `R1921` → `U33 (CP2102)`
-  - `CON103.2 (CON103_TXD)` → `R1030` → `MCU_UART1_RX` → `U27.13 (PA3)`,同时经 `R1920` → `U33 (CP2102)`
-  - `CON103.3 / CON103.4`: `GND`
-- **CON168 (LCD 串口)**:
-  - `CON168.2 (CON_LCD_RX)` → `R1892` → `MCU_UART0_TX` → `U27.30 (PA9)`
-  - `CON168.3 (CON_LCD_TX)` → `R1893` → `MCU_UART0_RX` → `U27.31 (PA10)`
-- **结论**: 无论电气图第 9 页标注的 `-CON103` 还是旧方案曾尝试的 `CON168`,在 PCB (`FCB_FPGA+MCU_V2.0_20260914.brd`) 上均只进板载 `GD32 U27` 而不进 `FPGA U3`。若不烧录 `U27` 转发固件,外部 `-A3 H7核心板` 必须接 `CON12` 才能直达 `FPGA U3`。
-
-### 2.2 外接 STM32H7 串口方案 (CON12 直连 FPGA)
-- **板内通路(已确认)**:
-  - CON12.3: `EX_GPIO1` → R1875 → `CPLD_GPIO79` → FPGA `K2` (FPGA TX 输出)
-  - CON12.4: `EX_GPIO2` → R1876 → `CPLD_GPIO80` → FPGA `J4` (FPGA RX 输入)
-  - CON12.2: GND (地线直连)
-  - CON12.1: +3.3V (板内供电,跨板不并接电源)
-- **外部 H7 线束修改(状态:定义完成,待现场实物改线记录)**:
-  - 外接 H7 核心板 USART3_TX (PB10, P1.25) → 连接至主板 CON12.4 (FPGA J4 RX)
-  - 外接 H7 核心板 USART3_RX (PB11, P1.26) ← 连接至主板 CON12.3 (FPGA K2 TX)
-  - 外接 H7 核心板 GND (P1.19) ↔ 连接至主板 CON12.2 (GND)
-  - **重要边界**: 分别记录“板内通路已确认”和“H7线束已修改”。只有现场实际改线记录才可把后者置为已完成。
-
-### 2.3 RS-232 接口勘误与针脚说明
-电气图与 BRD 网络确认接口针脚定义为 **1=TX, 2=RX, 3/4=GND**(曾误标为 2=TX, 3=RX,若按旧定义接线,RX 将短接到地):
-- **CON77 (BMC UART 115200 8N1)**:
-  - CON77.1 TX: U3.L10 → R818 → U22.11 (T1IN) → U22.14 (T1OUT)
-  - CON77.2 RX: U22.13 (R1IN) → U22.12 (R1OUT) → R819 → U3.M9
-  - CON77.3 / CON77.4: 板级 GND
-- **CON134 (备用 Host RS232 921600 8N1)**:
-  - CON134.1 TX: U3.T14 → R1225 → PCB `U31` (MAX3232, 旧文档曾写作 U22 第二通道) → CON134.1
-  - CON134.2 RX: CON134.2 → PCB `U31` → R1226 → U3.R13
-  - CON134.3 / CON134.4: 板级 GND
-
----
-
-## 3. 单颗 CT7428 (U6) 与腔室进/出风口探头网络
-
-- U6 物理引脚:
-  - SCL: 13 脚, SDA: 12 脚, AD0: 9 脚, DN: 7 脚
-  - DP1..8: 6, 5, 4, 3, 2, 1, 16, 15 脚
-- 探头连接器与《温控板测试V2.0电气图》第 4 页腔室位置对应关系:
-  - CON53 (`1#腔室温度1 进风口`): DP1 (U6.6 via R569), DN (U6.7 via R568), Pin 2 GND
-  - CON55 (`1#腔室温度2 进风口`): DP2 (U6.5 via R588), DN (U6.7 via R589), Pin 2 GND
-  - CON56 (`2#腔室温度1 进风口`): DP3 (U6.4 via R590), DN (U6.7 via R591), Pin 2 GND
-  - CON57 (`2#腔室温度2 进风口`): DP4 (U6.3 via R592), DN (U6.7 via R593), Pin 2 GND
-  - CON79 (`3#腔室温度1 出风口`): DP5 (U6.2 via R822), DN (U6.7 via R823), Pin 2 GND
-  - CON80 (`3#腔室温度2 出风口`): DP6 (U6.1 via R824), DN (U6.7 via R825), Pin 2 GND
-  - CON81 (`4#腔室温度1 出风口`): DP7 (U6.16 via R826), DN (U6.7 via R827), Pin 2 GND
-  - CON82 (`4#腔室温度2 出风口`): DP8 (U6.15 via R828), DN (U6.7 via R829), Pin 2 GND
-- FPGA 连接:
-  - SCL: U3.M8 (经 R744)
-  - SDA: U3.N9 (经 R745)
-  - U3.B14/A15 保持高阻 Hi-Z。
-- 协议映射:
-  - U6 占用 CT 协议第 0..8 项(0 为芯片本地温度,1..8 为外部探头 1..8)。
-  - 第 9..26 项在 V2.0 无物理芯片,硬件扫描器不轮询不存在的 0x48/0x4B,GET 帧中固定返回 0xFF。
-
----
-
-## 4. 固化常开 SSR (CON165) 与外部辅助加热块
-
-- **SSR1**: CON165.1 → R1685 → `PE1` → R1847 → `CPLD_GPIO50` → `U3.F3`
-  - 电气图第 4 页负载: 经 `-K1` 驱动 `-1-7E (110W/24V)` 辅助加热块(注:`PE1 / U3.F3` 在 PCB 上同时连至 `CON159.9 ENA1`)
-- **SSR2**: CON165.2 → R1686 → `PE2` → R1849 → `CPLD_GPIO52` → `U3.F1`
-  - 电气图第 4 页负载: 经 `-K2` 驱动 `-2-7E (220W/24V)` 辅助加热块
-- **SSR4**: CON165.4 → R1688 → `PE4` → R1853 → `CPLD_GPIO54` → `U3.G4`
-  - 电气图第 4 页负载: 经 `-K3` 驱动 `-4-7E (110W/24V)` 辅助加热块
-- 负端: CON164.3 (GND1)
-- 控制策略:
-  - FPGA 配置完成后固定输出高电平 (1'b1);
-  - 不随 Host SET/GET 改变;
-  - 看门狗超时不复位 SSR;
-  - 控制系统复位不复位 SSR;
-  - 不增加协议字段。
-
----
-
-## 5. 24 通道 PTC (30W/24V) 与第四腔 (CON150) 同网分析
-
-### 5.1 前三腔 (完全独立,每路 `30W/24V` 加热块)
-- 腔 1 (CON147, `-1-E1..6`, 每块 `30W/24V`):
-  - PTC1..6: U3.F16, G16, T4, R5, T6, R7 (对应通道 0..5)
-- 腔 2 (CON148, `-2-E1..6`, 每块 `30W/24V`):
-  - PTC11..16: U3.T2, R3, P16, R16, M16, N16 (对应通道 6..11)
-- 腔 3 (CON149, `-3-E1..6`, 每块 `30W/24V`):
-  - PTC21..26: U3.P10, R10, T13, T12, L3, N2 (对应通道 12..17)
-
-### 5.2 第四腔 (CON150) 五加热块原生映射与第 24 路 (`CON149.13` / `P2`)
-- 原生网络连接 (`-4-E1..5`, 每块 `30W/24V`):
-  - CON150.1 与 CON150.3 同为 `PTC31` (U3.L4) → `ptc_pwm_out[18]` (`PTC18`)
-  - CON150.5 与 CON150.7 同为 `PTC32` (U3.H4) → `ptc_pwm_out[19]` (`PTC19`)
-  - CON150.9 与 CON150.11 同为 `PTC33` (U3.J6) → `ptc_pwm_out[20]` (`PTC20`)
-  - CON150.13 与 CON150.15 同为 `PTC34` (U3.H5) → `ptc_pwm_out[21]` (`PTC21`)
-  - CON150.17 与 CON150.19 同为 `PTC35` (U3.C15) → `ptc_pwm_out[22]` (`PTC22`)
-- **工程定案**: 第四腔体前 5 块加热块直接一一对应 `CON150` 上的 5 个独立物理通道(`PTC31..35` → `L4, H4, J6, H5, C15`,对应 `PTC18..22`);第 6 个逻辑槽位 `ptc_pwm_out[23]` (`PTC23`) 绑定于 `CON149.13` (`PTC27` / `U3.P2`,若需独立驱动第 24 块 `30W/24V` 加热片 `-4-E6` 可接 `CON149.13/14`)。
-
----
-
-## 6. 八组风扇映射与极性
-
-| 逻辑通道 | 主板连接器 | FPGA 引脚 | 主板 NMOS | 驱动腔体 | 极性说明 |
-|---|---|---|---|---|---|
-| Front0 | CON155.5 | P12 | Q10695 | 腔1 双风扇 | 主板漏极输出 (反相) |
-| Rear0 | CON155.6 | A10 | Q10696 | 腔1 单风扇 | 主板漏极输出 (反相) |
-| Front1 | CON155.11 | D8 | Q10697 | 腔2 双风扇 | 主板漏极输出 (反相) |
-| Rear1 | CON155.12 | C7 | Q10698 | 腔2 单风扇 | 主板漏极输出 (反相) |
-| Front2 | CON154.5 | C4 | Q10691 | 腔3 双风扇 | 主板漏极输出 (反相) |
-| Rear2 | CON154.6 | B5 | Q10692 | 腔3 单风扇 | 主板漏极输出 (反相) |
-| Front3 | CON154.11 | B1 | Q10693 | 腔4 双风扇 | 主板漏极输出 (反相) |
-| Rear3 | CON154.12 | A14 | Q10694 | 腔4 单风扇 | 主板漏极输出 (反相) |
-
-- **风扇极性传输链与闭环裁决 (2026-10-12 最终固化)**:
-  - **完整极性链**: `logical request -> FPGA Ball -> 主板 NMOS 反相器 -> 主板连接器 -> 线束 -> 风扇板 -> 风扇电机`
-  - 主板原生 8 路(Front 0..3: P12, D8, C4, B1; Rear 0..3: A10, C7, B5, A14)均经过 NMOS 放大驱动,FPGA 球位输出高电平时 NMOS 导通将连接器拉低为 0V,因此主板自身必然反相。
-  - **终端风扇板 PCB 审计结论**: 经对 `FCB_FAN_V2.0_20260914.brd` 原生布线与器件库深度分析,风扇板为**纯无源扩展板**(无任何晶体管、MOSFET 或反相器),PWM 信号从 `CON168` 直通各风扇插座 Pin 7。
-  - **裁决结论**: **假设 A(连接器端正极性)得到 100% 证实,假设 B 彻底排除**!
-  - **单一适配点**: Top 顶层参数固化为:
-    ```verilog
-    parameter [7:0] FAN_BOARD_INVERT_MASK = 8'hFF;
-    ```
-    逻辑 20% -> FPGA 球位输出低 20%(高 80%)-> 主板 NMOS 反相 -> 连接器端高电平 20% -> 风扇电机接收标准高有效 20% 占空比。
-  - 详细审计过程见 `docs/evidence/FCB_FAN_V2_0_ANALYSIS.md`。
-
----
-
-## 7. CON159 步进控制接口1 (《温控板测试V2.0电气图》第 3/4 页) 与固件边界
-
-- **电气图第 3 页 (`1#腔体步进控制`, 2026-10-15 新增页) 与第 4 页 (`-CON159 步进控制接口1`) 接线**:
-  - `CON159.1 (X-STEP1)` → R1839 → `U3.C12` | `CON159.2 (X-DIR1)` → R1840 → `U3.B12` → 经 `-U1 (X1/Y1/Z1/A1 四轴步进驱动器)` 驱动 `-M1 (1#前部风门)`
-  - `CON159.3 (Y-STEP1)` → R1841 → `U3.L12` | `CON159.4 (Y-DIR1)` → R1842 → `U3.J11` → 经 `-U1` 驱动 `-M2 (1#后部风门)`
-  - `CON159.5 (Z-STEP1)` → R1843 → `U3.L14` | `CON159.6 (Z-DIR1)` → R1844 → `U3.K14` → 经 `-U1` 驱动 `-M3 (1#顶部风门)`
-  - `CON159.7 (A-STEP1)` → R1845 → `U3.L13` | `CON159.8 (A-DIR1)` → R1846 → `U3.K11` → 经 `-U1` 驱动 `-M4 (2#前部风门)`
-  - `CON159.9 (ENA1)` → R1847 → `PE1 / CPLD_GPIO50` → `U3.F3` (与 `CON165.1 SSR1` 共用同一 FPGA 球位 `F3`)
-  - `CON159.10` → `GND`
-- **6400 协议与固件边界**:
-  - 按项目总则与 `contracts/6400-wire.yaml` / `products/6400-v2/source-closure.json`,6400 产品线协议固定为 **32 字节 `SET_ALL`(24 路 PTC + 4 路前风扇 + 4 路后风扇)** 与 **83 字节 `GET_DATA`**,属于纯温控固件(不包含步进轴控制命令,且 `source-closure.json` 明确禁止运动控制子串)。
-  - 因此 `U3.C12 / B12 / L12 / J11 / L14 / K14 / L13 / K11` 在 `6400-v2` RTL 顶层保持未分配状态(仅在电路板查看器与引脚清单中完整记录其物理走线供硬件核查),而 `CON159.9 (ENA1)` 因与 `SSR1` 共用 `U3.F3` 保持常高电平。
-
----
-
-## 8. CON173 / CON174 24V 主电源接口引脚分组说明
-
-- **PCB (`FCB_FPGA+MCU_V2.0_20260914.brd`) 物理网络**:
-  - `CON173.1..6` / `CON174.1..6`: `GND` (24V 电源地回流)
-  - `CON173.7..12` / `CON174.7..12`: `+24V_VIN` (24V 主电源正极输入)
-- **电气图第 4 页符号标注差异提醒**:
-  - 《温控板测试V2.0电气图》第 4 页 `-CON173 / -CON174` 符号框将 `1..6` 标为 `24V (P24)`、`7..12` 标为 `GND (N24)`,与 Allegro BRD 实板铜皮相反;现场压接 24V 电源线束时务必以 **PCB 实板铜皮与丝印 (`Pin 1..6 = GND, Pin 7..12 = +24V_VIN`)** 为准。
+# 6400 V2.0 电气映射(2026-10-23 重新核对)
 
+本文件记录设计数据库与线束图的对应关系。当前版本为 24 路 PTC、4 腔进风及排风各一路 PWM、单颗 CT7428 和独立 BMC UART。实际风向、接线与串口信号质量仍以本轮实板记录为准;软件回读占空比不能代替连接器波形测量。
 
+## 1. 原始资料和方法
+
+| 资料 | 仓库路径 | SHA-256 |
+|---|---|---|
+| 主板 Allegro BRD | reference/original/board/FCB_FPGA_MCU_V2.0_20260914/FCB_FPGA+MCU_V2.0_20260914.brd | c4a75fdc17746910989b76f2e10c357e57d67ec73bad79ad4310948c0e71fcfe |
+| 风扇子板 BRD | reference/original/board/FCB_FAN_V2.0_20260914/FCB_FAN_V2.0_20260914.brd | c5eb8c4eff2030211b60084c21fa050edc5e70a7a7f054dd701efbb1e06b30f1 |
+| 系统接线图,13页 | reference/original/schematics/6400高温罩电气图V2.0.pdf | a8309e680714a389c38ffdeefb2e6d11b8535d50feecdf4efd1f610e0c7fc42c |
+
+三份资料与本轮用户附件逐字节一致。两份 BRD 顺序解析到精确 EOF,提取主板 1457 个器件、3820 个实际焊盘及风扇板 33 个器件、118 个实际焊盘;PDF 全部13页已逐页检查。原始网表、BOM、对象偏移与审阅说明见 `evidence/hardware/20261023/`。这一覆盖说明不等于实物装配、模拟信号完整性或完整几何 DRC 已验证。
+
+实例物料值为 U3=EF2L45BG256B,U27=STM32F103CBT6,U22=TRSF3232EIPWR,U33=CP2102-GM。符号库名 GD32F103C / SP3232E 不能代替实例 BOM 值。旧文档的 U31/MAX3232、GD32F303RCT6 和旧 PDF SHA 已撤销。
+
+## 2. 时钟和 UART
+
+X1 为 25 MHz 有源晶振。默认路径 X1.3 -> R23(22Ω) -> U3.J1;通往 K1 的 R24 标注 /NC,不装。
+
+| 接口 | TX路径 | RX路径 | 业务 |
+|---|---|---|---|
+| CON12 TTL | U3.K2 -> CON12.3 -> 外置H7 P1.26/PB11 | H7 P1.25/PB10 -> CON12.4 -> U3.J4 | Host,默认921600 8N1 |
+| CON134 RS232 | U3.T14 -> R1225 -> U22.10/T2IN -> U22.7/T2OUT -> CON134.1 | CON134.2 -> U22.8/R2IN -> U22.9/R2OUT -> R1226 -> U3.R13 | Host,默认921600 8N1 |
+| CON77 RS232 | U3.L10 -> R818 -> U22.11/T1IN -> U22.14/T1OUT -> CON77.1 | CON77.2 -> U22.13/R1IN -> U22.12/R1OUT -> R819 -> U3.M9 | BMC,115200 8N1 |
+
+CON12.2=GND、CON12.1=3.3V;CON77/CON134 的3/4脚为GND。主板 RJ45 CON170 与 BMC 串口并联:3=TX、6=RX、4=GND。这里的主板 CON170 与风扇子板 CON170 不是同一器件。
+
+U22 是两通道 TRSF3232E,两只 RS232 连接器共用这颗芯片。TI 规格为最高1Mbps:https://www.ti.com/product/TRSF3232E 。这支持921600的设计选择,不能证明外置USB/RS232转换板、线缆或实际装配同样合格。
+
+Host 为编译时选择921600/460800/230400/115200,25MHz最近整数分频为27/54/109/217。RS232与TTL广播同一输出,用户/MCU一次只使用一个发送入口并等待一笔交易完成。BMC速率独立,不随Host降档。
+
+CON103 与主板 CON168 连接板载 MCU U27,并非 FPGA Host:
+- CON103.1=MCU_UART1_TX_CON,.2=MCU_UART1_RX_CON,.3=+3.3V,.4=GND。
+- U33 CP2102 接同一 MCU_UART1。
+- CON168.2/3 接 MCU_UART0_TX/RX。
+- 外置 H7 与 FPGA 的直连使用 CON12,不能按重复的 TX1/RX1 标签混接。
+
+## 3. 风扇:新风就是进风,排风就是出风
+
+协议保留 `Front[0..3]` / `Rear[0..3]` 作为字段名,界面统一显示“腔1..4 进风(新风)”和“腔1..4 排风(出风)”。索引0对应腔1。SET/GET payload 第24..27字节为四腔进风,第28..31字节为四腔排风。
+
+| 腔体 | 进风:payload / 球位 / 主板接口 / 物理PWM | 排风:payload / 球位 / 主板接口 / 物理PWM | 子板 |
+|---|---|---|---|
+| 腔1 | 24 / P12 / CON155.5 / 5 | 28 / A10 / CON155.6 / 6 | U3风扇板1 |
+| 腔2 | 25 / D8 / CON155.11 / 7 | 29 / C7 / CON155.12 / 8 | U3风扇板1 |
+| 腔3 | 26 / C4 / CON154.5 / 1 | 30 / B5 / CON154.6 / 2 | U4风扇板2 |
+| 腔4 | 27 / B1 / CON154.11 / 3 | 31 / A14 / CON154.12 / 4 | U4风扇板2 |
+
+主板 CON154 经D1线束接腔3/4,CON155经D2接腔1/2。每块子板局部PWM1..4从 CON168 输入,依次到 CON8、CON169、CON170、CON171 的7脚。四组双风机共用各自的进风PWM;单风机对应排风PWM。
+
+PDF第5/6页把腔2的FM4和腔4的FM8单风机也写作“新风”,与腔1/3及对称结构冲突;当前按进/排风成对定义处理,图纸这一文字冲突和实物风向仍须在实际逐路测试时记录。
+
+所有8路均经过主板2N7002反相,风扇子板为无源直通。唯一RTL补偿点为 `FAN_BOARD_INVERT_MASK=8'hFF`。请求20% -> FPGA低20% -> NMOS漏极/连接器高20%。不得在GUI或通道换序处再次反相。主板其余PWM9..20有硬件网络,但不属于本24-PTC/8-PWM产品协议。
+
+FG是独立反馈网络,当前固件未采集FG,界面不能把设定占空比叫作实测转速。PDF双风机红线显示FG1接FMx-2、FG2接FMx-1;线号文字有冲突,尚不能将FG后缀当作实物风机编号证明。
+
+## 4. 温度探头
+
+U6 CT7428:本地温度为协议CT0,八个远端探头为CT1..8,CT9..26不存在且返回FF。下表为线束用途,器件寄存器的实际温度转换仍由独立模型/实测验证。
+
+| 协议通道 | 连接器 | 位置 | U6 DP引脚 |
+|---|---|---|---|
+| CT1 | CON53 | 腔1进风 | 6 |
+| CT2 | CON55 | 腔1出风 | 5 |
+| CT3 | CON56 | 腔2进风 | 4 |
+| CT4 | CON57 | 腔2出风 | 3 |
+| CT5 | CON79 | 腔3进风 | 2 |
+| CT6 | CON80 | 腔3出风 | 1 |
+| CT7 | CON81 | 腔4进风 | 16 |
+| CT8 | CON82 | 腔4出风 | 15 |
+
+探头接口1=DP、3=DN;BRD接口2=GND,PDF线束未接2脚。DN经电阻连接U6.7。FPGA I2C固定使用B14/A15:B14经已装0Ω R1888接U6.13/SCL1,A15经已装0Ω R1889接U6.12/SDA1。M8/N9到CT的R744/R745为/NC,不能沿用旧约束。MCU到CT的R800/R801也为/NC,默认装配中MCU与CT总线隔离。未使用的M8/N9仍由alt端口保持高阻。同一B14/A15还连接U31 EEPROM,CT地址与其不同。
+
+## 5. PTC和辅助SSR
+
+当前主线为24路PTC,35路实验版本不属于本发布协议。
+
+| 腔体 | 逻辑PTC索引 | 主板连接器 | FPGA球位 |
+|---|---|---|---|
+| 腔1 | 0..5 | CON147.1/3/5/7/9/11 | F16,G16,T4,R5,T6,R7 |
+| 腔2 | 6..11 | CON148.1/3/5/7/9/11 | T2,R3,P16,R16,M16,N16 |
+| 腔3 | 12..17 | CON149.1/3/5/7/9/11 | P10,R10,T13,T12,L3,N2 |
+| 腔4首路 | 18 | CON149.19 | K5 |
+| 腔4其余五路 | 19..23 | CON150.1/5/9/13/17 | L4,H4,J6,H5,C15 |
+
+CON150每一路另有同网并联正端:1/3、5/7、9/11、13/15、17/19。旧“CON149.13作为第四腔第六路”已撤销。11个闲置PTC球位继续由`ptc_spare_zero`输出0;不挪作新通道。
+
+SSR1/2/4分别为CON165.1/F3、.2/F1、.4/G4,维持现有配置后固定高输出策略,不受SET/GET及看门狗影响。负载图示110W/220W/110W,温度仅采集,不在FPGA中增加温控算法。
+
+## 6. 其余已核实接口与产品范围
+
+CON159轴接口的STEP/DIR球位为C12/B12、L12/J11、L14/K14、L13/K11;ENA1的F3与SSR1共用。当前6400温控协议没有运动命令,此接口不应在GUI中显示为已受固件控制。MRDIMM的12轴是另一板型/固件。
+
+CON173与CON174的BRD物理网为1..6=GND,7..12=+24V_VIN;PDF符号标签与红线存在冲突。该记录只澄清原图差异,不改变现有接线。
+
+版本和验证状态由根目录`VERSION`、`VERSION.json`及对应构建/测试回执记录。图纸标签、约束、RTL、连接器波形、真实风向是不同层次的证据,不能用一个层次的通过替代其他层次。

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 86 - 0
docs/releases/v2.1.0.md


+ 34 - 0
evidence/hardware/20261023/fan_bom.csv

@@ -0,0 +1,34 @@
+reference,footprint,device_symbol,value,declared_nc,instance_key,device_key,component_key,component_offset
+C114,D6_3H7_7,C_MA35V100M6X8_1,CE/MA35V100M6X8,False,311,293,400,12796
+C472,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,315,294,404,13084
+C473,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,323,295,395,12436
+C474,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,324,295,393,12292
+C606,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,316,294,405,13156
+C607,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,325,295,394,12364
+C608,D6_3H7_7,C_MA35V100M6X8_1,CE/MA35V100M6X8,False,312,293,401,12868
+C609,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,317,294,406,13228
+C610,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,326,295,399,12724
+C611,D6_3H7_7,C_MA35V100M6X8_1,CE/MA35V100M6X8,False,313,293,402,12940
+C612,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,318,294,410,13516
+C613,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,327,295,392,12220
+C614,D6_3H7_7,C_MA35V100M6X8_1,CE/MA35V100M6X8,False,314,293,403,13012
+C615,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,319,294,409,13444
+C616,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,328,295,398,12652
+C617,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,320,294,408,13372
+C618,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,321,294,411,13588
+C619,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,329,295,397,12580
+C620,C0402,CAP_100nF_20%_25V_0402,C/100nF/50V/X7R/0402,False,330,295,396,12508
+C94,C0805,CAP_22uF_10%_16V_X5R_0805,C/10uF/50V/X5R/0805,False,322,294,407,13300
+CON168,CON_SMD_2D54_2X7P,CON_HX JN1.27-2x7 TP H4.9,CON_HX JN2.54-2x7P TP H8.9,False,331,296,412,13660
+CON169,CON_TH-2D54_8P,CON_PZGM_B03_08P,CON_X9556WV-08-N0V01,False,332,297,385,11716
+CON170,CON_TH-2D54_8P,CON_PZGM_B03_08P,CON_X9556WV-08-N0V01,False,333,297,384,11644
+CON171,CON_TH-2D54_8P,CON_PZGM_B03_08P,CON_X9556WV-08-N0V01,False,334,297,383,11572
+CON172,CON_TH_3_2X4P,CON_C22930_1084N_X_2,CON_X3025WV-2x04-46SN,False,309,291,4799,11428
+CON2,CON_TH_3_2X4P,CON_C22930_1084N_X_1,CON_X3025WV-2x04-46SN,False,310,292,4841,11356
+CON8,CON_TH-2D54_8P,CON_PZGM_B03_08P,CON_X9556WV-08-N0V01,False,335,297,382,11500
+ESD37,SMC,1N4148WS,ESD/SMCJ13CA/SMC,False,336,298,391,12148
+ESD61438,SMC,1N4148WS,ESD/SMCJ13CA/SMC,False,337,298,390,12076
+F132,F1206,FUSE_PPTC_1812_1.1A_8V,FUSE/BSMD1206C-2150T,False,338,299,389,12004
+F133,F1206,FUSE_PPTC_1812_1.1A_8V,FUSE/BSMD1206C-2150T,False,339,299,388,11932
+F134,F1206,FUSE_PPTC_1812_1.1A_8V,FUSE/BSMD1206C-2150T,False,340,299,387,11860
+F32,F1206,FUSE_PPTC_1812_1.1A_8V,FUSE/BSMD1206C-2150T,False,341,299,386,11788

+ 21 - 0
evidence/hardware/20261023/fan_channels.csv

@@ -0,0 +1,21 @@
+physical_channel,pwm_fpga_pin,fg1_fpga_pin,fg2_fpga_pin,pwm_connector_pin,fg1_connector_pin,fg2_connector_pin,chamber,role,role_evidence,pwm_inverted
+1,U3.C4,U3.D2,U3.D3,CON154.5,CON154.1,CON154.3,3,intake,PDF explicit,True
+2,U3.B5,U3.E6,U3.D6,CON154.6,CON154.2,CON154.4,3,exhaust,PDF explicit,True
+3,U3.B1,U3.C1,U3.C2,CON154.11,CON154.7,CON154.9,4,intake,PDF explicit,True
+4,U3.A14,U3.B3,U3.B13,CON154.12,CON154.8,CON154.10,4,exhaust,inferred; PDF typo,True
+5,U3.P12,U3.N10,U3.M11,CON155.5,CON155.1,CON155.3,1,intake,PDF explicit,True
+6,U3.A10,U3.R11,U3.B9,CON155.6,CON155.2,CON155.4,1,exhaust,PDF explicit,True
+7,U3.D8,U3.D10,U3.E10,CON155.11,CON155.7,CON155.9,2,intake,PDF explicit,True
+8,U3.C7,U3.E9,U3.B7,CON155.12,CON155.8,CON155.10,2,exhaust,inferred; PDF typo,True
+9,U3.F10,U3.F9,U3.E11,CON156.5,CON156.1,CON156.3,,unassigned by PDF,,True
+10,U3.L8,U3.D11,U3.M6,CON156.6,CON156.2,CON156.4,,unassigned by PDF,,True
+11,U3.C8,U3.A5,U3.B6,CON156.11,CON156.7,CON156.9,,unassigned by PDF,,True
+12,U3.E7,U3.A8,U3.D7,CON156.12,CON156.8,CON156.10,,unassigned by PDF,,True
+13,U3.A3,U3.A4,U3.C5,CON157.5,CON157.1,CON157.3,,unassigned by PDF,,True
+14,U3.B11,U3.B4,U3.A12,CON157.6,CON157.2,CON157.4,,unassigned by PDF,,True
+15,U3.K15,U3.L16,U3.L15,CON157.11,CON157.7,CON157.9,,unassigned by PDF,,True
+16,U3.J15,U3.J16,U3.K16,CON157.12,CON157.8,CON157.10,,unassigned by PDF,,True
+17,U3.T3,U3.H15,U3.H16,CON158.5,CON158.1,CON158.3,,unassigned by PDF,,True
+18,U3.T5,U3.R4,U3.P4,CON158.6,CON158.2,CON158.4,,unassigned by PDF,,True
+19,U3.T7,U3.R6,U3.R8,CON158.11,CON158.7,CON158.9,,unassigned by PDF,,True
+20,U3.P13,U3.P11,U3.T11,CON158.12,CON158.8,CON158.10,,unassigned by PDF,,True

+ 262 - 0
evidence/hardware/20261023/fan_channels.json

@@ -0,0 +1,262 @@
+[
+  {
+    "physical_channel": 1,
+    "pwm_fpga_pin": "U3.C4",
+    "fg1_fpga_pin": "U3.D2",
+    "fg2_fpga_pin": "U3.D3",
+    "pwm_connector_pin": "CON154.5",
+    "fg1_connector_pin": "CON154.1",
+    "fg2_connector_pin": "CON154.3",
+    "chamber": 3,
+    "role": "intake",
+    "role_evidence": "PDF explicit",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 2,
+    "pwm_fpga_pin": "U3.B5",
+    "fg1_fpga_pin": "U3.E6",
+    "fg2_fpga_pin": "U3.D6",
+    "pwm_connector_pin": "CON154.6",
+    "fg1_connector_pin": "CON154.2",
+    "fg2_connector_pin": "CON154.4",
+    "chamber": 3,
+    "role": "exhaust",
+    "role_evidence": "PDF explicit",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 3,
+    "pwm_fpga_pin": "U3.B1",
+    "fg1_fpga_pin": "U3.C1",
+    "fg2_fpga_pin": "U3.C2",
+    "pwm_connector_pin": "CON154.11",
+    "fg1_connector_pin": "CON154.7",
+    "fg2_connector_pin": "CON154.9",
+    "chamber": 4,
+    "role": "intake",
+    "role_evidence": "PDF explicit",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 4,
+    "pwm_fpga_pin": "U3.A14",
+    "fg1_fpga_pin": "U3.B3",
+    "fg2_fpga_pin": "U3.B13",
+    "pwm_connector_pin": "CON154.12",
+    "fg1_connector_pin": "CON154.8",
+    "fg2_connector_pin": "CON154.10",
+    "chamber": 4,
+    "role": "exhaust",
+    "role_evidence": "inferred; PDF typo",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 5,
+    "pwm_fpga_pin": "U3.P12",
+    "fg1_fpga_pin": "U3.N10",
+    "fg2_fpga_pin": "U3.M11",
+    "pwm_connector_pin": "CON155.5",
+    "fg1_connector_pin": "CON155.1",
+    "fg2_connector_pin": "CON155.3",
+    "chamber": 1,
+    "role": "intake",
+    "role_evidence": "PDF explicit",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 6,
+    "pwm_fpga_pin": "U3.A10",
+    "fg1_fpga_pin": "U3.R11",
+    "fg2_fpga_pin": "U3.B9",
+    "pwm_connector_pin": "CON155.6",
+    "fg1_connector_pin": "CON155.2",
+    "fg2_connector_pin": "CON155.4",
+    "chamber": 1,
+    "role": "exhaust",
+    "role_evidence": "PDF explicit",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 7,
+    "pwm_fpga_pin": "U3.D8",
+    "fg1_fpga_pin": "U3.D10",
+    "fg2_fpga_pin": "U3.E10",
+    "pwm_connector_pin": "CON155.11",
+    "fg1_connector_pin": "CON155.7",
+    "fg2_connector_pin": "CON155.9",
+    "chamber": 2,
+    "role": "intake",
+    "role_evidence": "PDF explicit",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 8,
+    "pwm_fpga_pin": "U3.C7",
+    "fg1_fpga_pin": "U3.E9",
+    "fg2_fpga_pin": "U3.B7",
+    "pwm_connector_pin": "CON155.12",
+    "fg1_connector_pin": "CON155.8",
+    "fg2_connector_pin": "CON155.10",
+    "chamber": 2,
+    "role": "exhaust",
+    "role_evidence": "inferred; PDF typo",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 9,
+    "pwm_fpga_pin": "U3.F10",
+    "fg1_fpga_pin": "U3.F9",
+    "fg2_fpga_pin": "U3.E11",
+    "pwm_connector_pin": "CON156.5",
+    "fg1_connector_pin": "CON156.1",
+    "fg2_connector_pin": "CON156.3",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 10,
+    "pwm_fpga_pin": "U3.L8",
+    "fg1_fpga_pin": "U3.D11",
+    "fg2_fpga_pin": "U3.M6",
+    "pwm_connector_pin": "CON156.6",
+    "fg1_connector_pin": "CON156.2",
+    "fg2_connector_pin": "CON156.4",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 11,
+    "pwm_fpga_pin": "U3.C8",
+    "fg1_fpga_pin": "U3.A5",
+    "fg2_fpga_pin": "U3.B6",
+    "pwm_connector_pin": "CON156.11",
+    "fg1_connector_pin": "CON156.7",
+    "fg2_connector_pin": "CON156.9",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 12,
+    "pwm_fpga_pin": "U3.E7",
+    "fg1_fpga_pin": "U3.A8",
+    "fg2_fpga_pin": "U3.D7",
+    "pwm_connector_pin": "CON156.12",
+    "fg1_connector_pin": "CON156.8",
+    "fg2_connector_pin": "CON156.10",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 13,
+    "pwm_fpga_pin": "U3.A3",
+    "fg1_fpga_pin": "U3.A4",
+    "fg2_fpga_pin": "U3.C5",
+    "pwm_connector_pin": "CON157.5",
+    "fg1_connector_pin": "CON157.1",
+    "fg2_connector_pin": "CON157.3",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 14,
+    "pwm_fpga_pin": "U3.B11",
+    "fg1_fpga_pin": "U3.B4",
+    "fg2_fpga_pin": "U3.A12",
+    "pwm_connector_pin": "CON157.6",
+    "fg1_connector_pin": "CON157.2",
+    "fg2_connector_pin": "CON157.4",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 15,
+    "pwm_fpga_pin": "U3.K15",
+    "fg1_fpga_pin": "U3.L16",
+    "fg2_fpga_pin": "U3.L15",
+    "pwm_connector_pin": "CON157.11",
+    "fg1_connector_pin": "CON157.7",
+    "fg2_connector_pin": "CON157.9",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 16,
+    "pwm_fpga_pin": "U3.J15",
+    "fg1_fpga_pin": "U3.J16",
+    "fg2_fpga_pin": "U3.K16",
+    "pwm_connector_pin": "CON157.12",
+    "fg1_connector_pin": "CON157.8",
+    "fg2_connector_pin": "CON157.10",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 17,
+    "pwm_fpga_pin": "U3.T3",
+    "fg1_fpga_pin": "U3.H15",
+    "fg2_fpga_pin": "U3.H16",
+    "pwm_connector_pin": "CON158.5",
+    "fg1_connector_pin": "CON158.1",
+    "fg2_connector_pin": "CON158.3",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 18,
+    "pwm_fpga_pin": "U3.T5",
+    "fg1_fpga_pin": "U3.R4",
+    "fg2_fpga_pin": "U3.P4",
+    "pwm_connector_pin": "CON158.6",
+    "fg1_connector_pin": "CON158.2",
+    "fg2_connector_pin": "CON158.4",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 19,
+    "pwm_fpga_pin": "U3.T7",
+    "fg1_fpga_pin": "U3.R6",
+    "fg2_fpga_pin": "U3.R8",
+    "pwm_connector_pin": "CON158.11",
+    "fg1_connector_pin": "CON158.7",
+    "fg2_connector_pin": "CON158.9",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  },
+  {
+    "physical_channel": 20,
+    "pwm_fpga_pin": "U3.P13",
+    "fg1_fpga_pin": "U3.P11",
+    "fg2_fpga_pin": "U3.T11",
+    "pwm_connector_pin": "CON158.12",
+    "fg1_connector_pin": "CON158.8",
+    "fg2_connector_pin": "CON158.10",
+    "chamber": "",
+    "role": "unassigned by PDF",
+    "role_evidence": "",
+    "pwm_inverted": true
+  }
+]

+ 119 - 0
evidence/hardware/20261023/fan_pins.csv

@@ -0,0 +1,119 @@
+reference,pin,net,pad_key,net_key,pad_offset,declared_nc,value
+CON2,,,4845,0,484672,False,CON_X3025WV-2x04-46SN
+CON2,,,4842,0,484496,False,CON_X3025WV-2x04-46SN
+CON172,,,4803,0,482720,False,CON_X3025WV-2x04-46SN
+CON172,,,4800,0,482544,False,CON_X3025WV-2x04-46SN
+CON2,1,GND,4023,428,442304,False,CON_X3025WV-2x04-46SN
+CON2,2,GND,4021,428,442192,False,CON_X3025WV-2x04-46SN
+CON2,3,GND,4019,428,442080,False,CON_X3025WV-2x04-46SN
+CON2,4,GND,4017,428,441968,False,CON_X3025WV-2x04-46SN
+CON2,5,+12V,4015,427,441856,False,CON_X3025WV-2x04-46SN
+CON2,6,+12V,4013,427,441744,False,CON_X3025WV-2x04-46SN
+CON2,7,+12V,4011,427,441632,False,CON_X3025WV-2x04-46SN
+CON2,8,+12V,4009,427,441520,False,CON_X3025WV-2x04-46SN
+CON172,1,GND,3678,428,424432,False,CON_X3025WV-2x04-46SN
+CON172,2,GND,3676,428,424320,False,CON_X3025WV-2x04-46SN
+CON172,3,GND,3674,428,424208,False,CON_X3025WV-2x04-46SN
+CON172,4,GND,3672,428,424096,False,CON_X3025WV-2x04-46SN
+CON172,5,+12V,3670,427,423984,False,CON_X3025WV-2x04-46SN
+CON172,6,+12V,3668,427,423872,False,CON_X3025WV-2x04-46SN
+CON172,7,+12V,3666,427,423760,False,CON_X3025WV-2x04-46SN
+CON172,8,+12V,3664,427,423648,False,CON_X3025WV-2x04-46SN
+C114,1,+12V_FAN1,794,414,256920,False,CE/MA35V100M6X8
+C114,2,GND,792,428,256812,False,CE/MA35V100M6X8
+C608,1,+12V_FAN2,789,431,256664,False,CE/MA35V100M6X8
+C608,2,GND,788,428,256580,False,CE/MA35V100M6X8
+C611,1,+12V_FAN3,785,430,256432,False,CE/MA35V100M6X8
+C611,2,GND,784,428,256348,False,CE/MA35V100M6X8
+C614,1,+12V_FAN4,781,429,256200,False,CE/MA35V100M6X8
+C614,2,GND,780,428,256116,False,CE/MA35V100M6X8
+C472,1,+12V,773,427,255848,False,C/10uF/50V/X5R/0805
+C472,2,GND,772,428,255764,False,C/10uF/50V/X5R/0805
+C606,1,GND,769,428,255616,False,C/10uF/50V/X5R/0805
+C606,2,+12V_FAN1,768,414,255532,False,C/10uF/50V/X5R/0805
+C609,1,GND,765,428,255384,False,C/10uF/50V/X5R/0805
+C609,2,+12V_FAN2,764,431,255300,False,C/10uF/50V/X5R/0805
+C612,1,GND,761,428,255152,False,C/10uF/50V/X5R/0805
+C612,2,+12V_FAN3,760,430,255068,False,C/10uF/50V/X5R/0805
+C615,1,GND,757,428,254920,False,C/10uF/50V/X5R/0805
+C615,2,+12V_FAN4,756,429,254836,False,C/10uF/50V/X5R/0805
+C617,1,GND,753,428,254688,False,C/10uF/50V/X5R/0805
+C617,2,+12V,752,427,254604,False,C/10uF/50V/X5R/0805
+C618,1,+12V,749,427,254456,False,C/10uF/50V/X5R/0805
+C618,2,GND,748,428,254372,False,C/10uF/50V/X5R/0805
+C94,1,GND,745,428,254224,False,C/10uF/50V/X5R/0805
+C94,2,+12V,744,427,254140,False,C/10uF/50V/X5R/0805
+C473,1,GND,737,428,253872,False,C/100nF/50V/X7R/0402
+C473,2,+12V,736,427,253788,False,C/100nF/50V/X7R/0402
+C474,1,+12V,733,427,253640,False,C/100nF/50V/X7R/0402
+C474,2,GND,732,428,253556,False,C/100nF/50V/X7R/0402
+C607,1,GND,729,428,253408,False,C/100nF/50V/X7R/0402
+C607,2,+12V_FAN1,728,414,253324,False,C/100nF/50V/X7R/0402
+C610,1,GND,725,428,253176,False,C/100nF/50V/X7R/0402
+C610,2,+12V_FAN2,724,431,253092,False,C/100nF/50V/X7R/0402
+C613,1,GND,721,428,252944,False,C/100nF/50V/X7R/0402
+C613,2,+12V_FAN3,720,430,252860,False,C/100nF/50V/X7R/0402
+C616,1,GND,717,428,252712,False,C/100nF/50V/X7R/0402
+C616,2,+12V_FAN4,716,429,252628,False,C/100nF/50V/X7R/0402
+C619,1,GND,713,428,252480,False,C/100nF/50V/X7R/0402
+C619,2,+12V,712,427,252396,False,C/100nF/50V/X7R/0402
+C620,1,+12V,709,427,252248,False,C/100nF/50V/X7R/0402
+C620,2,GND,708,428,252164,False,C/100nF/50V/X7R/0402
+CON168,1,CON_FG1_1,689,426,251512,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,10,CON_FG4_2,687,424,251404,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,11,CON_PWM3,685,421,251296,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,12,CON_PWM4,684,419,251212,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,13,GND,683,428,251128,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,14,GND,682,428,251044,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,2,CON_FG2_1,681,418,250960,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,3,CON_FG1_2,679,417,250852,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,4,CON_FG2_2,677,420,250744,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,5,CON_PWM1,676,415,250660,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,6,CON_PWM2,675,416,250576,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,7,CON_FG3_1,673,422,250468,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,8,CON_FG4_1,672,425,250384,False,CON_HX JN2.54-2x7P TP H8.9
+CON168,9,CON_FG3_2,671,423,250300,False,CON_HX JN2.54-2x7P TP H8.9
+CON169,1,+12V_FAN2,633,431,249000,False,CON_X9556WV-08-N0V01
+CON169,2,+12V_FAN2,632,431,248916,False,CON_X9556WV-08-N0V01
+CON169,3,GND,631,428,248832,False,CON_X9556WV-08-N0V01
+CON169,4,GND,630,428,248748,False,CON_X9556WV-08-N0V01
+CON169,5,CON_FG2_1,629,418,248664,False,CON_X9556WV-08-N0V01
+CON169,6,CON_FG2_2,628,420,248580,False,CON_X9556WV-08-N0V01
+CON169,7,CON_PWM2,626,416,248472,False,CON_X9556WV-08-N0V01
+CON169,8,GND,625,428,248388,False,CON_X9556WV-08-N0V01
+CON170,1,+12V_FAN3,616,430,248048,False,CON_X9556WV-08-N0V01
+CON170,2,+12V_FAN3,615,430,247964,False,CON_X9556WV-08-N0V01
+CON170,3,GND,614,428,247880,False,CON_X9556WV-08-N0V01
+CON170,4,GND,613,428,247796,False,CON_X9556WV-08-N0V01
+CON170,5,CON_FG3_1,612,422,247712,False,CON_X9556WV-08-N0V01
+CON170,6,CON_FG3_2,610,423,247604,False,CON_X9556WV-08-N0V01
+CON170,7,CON_PWM3,608,421,247496,False,CON_X9556WV-08-N0V01
+CON170,8,GND,606,428,247388,False,CON_X9556WV-08-N0V01
+CON171,1,+12V_FAN4,597,429,247048,False,CON_X9556WV-08-N0V01
+CON171,2,+12V_FAN4,596,429,246964,False,CON_X9556WV-08-N0V01
+CON171,3,GND,595,428,246880,False,CON_X9556WV-08-N0V01
+CON171,4,GND,594,428,246796,False,CON_X9556WV-08-N0V01
+CON171,5,CON_FG4_1,593,425,246712,False,CON_X9556WV-08-N0V01
+CON171,6,CON_FG4_2,591,424,246604,False,CON_X9556WV-08-N0V01
+CON171,7,CON_PWM4,590,419,246520,False,CON_X9556WV-08-N0V01
+CON171,8,GND,588,428,246412,False,CON_X9556WV-08-N0V01
+CON8,1,+12V_FAN1,579,414,246072,False,CON_X9556WV-08-N0V01
+CON8,2,+12V_FAN1,578,414,245988,False,CON_X9556WV-08-N0V01
+CON8,3,GND,577,428,245904,False,CON_X9556WV-08-N0V01
+CON8,4,GND,576,428,245820,False,CON_X9556WV-08-N0V01
+CON8,5,CON_FG1_1,575,426,245736,False,CON_X9556WV-08-N0V01
+CON8,6,CON_FG1_2,574,417,245652,False,CON_X9556WV-08-N0V01
+CON8,7,CON_PWM1,573,415,245568,False,CON_X9556WV-08-N0V01
+CON8,8,GND,571,428,245460,False,CON_X9556WV-08-N0V01
+ESD37,2,GND,538,428,244220,False,ESD/SMCJ13CA/SMC
+ESD37,1,+12V,537,427,244136,False,ESD/SMCJ13CA/SMC
+ESD61438,2,GND,534,428,243988,False,ESD/SMCJ13CA/SMC
+ESD61438,1,+12V,533,427,243904,False,ESD/SMCJ13CA/SMC
+F132,1,+12V,526,427,243636,False,FUSE/BSMD1206C-2150T
+F132,2,+12V_FAN2,525,431,243552,False,FUSE/BSMD1206C-2150T
+F133,1,+12V,522,427,243404,False,FUSE/BSMD1206C-2150T
+F133,2,+12V_FAN3,521,430,243320,False,FUSE/BSMD1206C-2150T
+F134,1,+12V,518,427,243172,False,FUSE/BSMD1206C-2150T
+F134,2,+12V_FAN4,517,429,243088,False,FUSE/BSMD1206C-2150T
+F32,1,+12V,514,427,242940,False,FUSE/BSMD1206C-2150T
+F32,2,+12V_FAN1,513,414,242856,False,FUSE/BSMD1206C-2150T

+ 133 - 0
evidence/hardware/20261023/hardware-routing-review-2.1.0.md

@@ -0,0 +1,133 @@
+# 2.1.0 原生板文件与实际硬件路由审阅
+
+日期:2026-10-23。独立审阅者:board_review。本文给出原生板文件中的元件值、装配标记、焊盘与网表路径,以及和生产 RTL/约束之间的差异。它不是实物装配验收报告;尚未对板上电压、波形和焊接状态作独立测量。
+
+## 结论与修正方向
+
+1. **MRDIMM CON146.1 是 12 V LED 电源开关输出,不能作为 3.3 V TTL TX。** 既有“两级 NPN、3.3 V、4.7 kΩ 上拉”说明与原生 BOM/网表冲突。软件取反不能解决。
+2. **CON140.1/T11 与 CON140.2/P13 是真正的无缓冲 FPGA GPIO,可分配为 TTL TX/RX。** 3、4 脚也是 GPIO,不能作为 GND。
+3. **MRDIMM BMC UART 硬件路径完整且不与现有功能冲突。** U3.L10/M9 经 U22 TRSF3232E 到 CON77;生产 physical wrapper 却把 RX 绑高并丢弃 TX,故需恢复导出。
+4. **两版 CT7428 的原装配可达总线均为 U3.B14/A15,而非当前生产约束 M8/N9。** V2.0 已把 MCU 与 CT 总线隔离;MRDIMM V1.2 仍与 MCU I2C0 共线,需要规定 MCU 对应引脚高阻、FPGA 为唯一主机。
+5. MRDIMM 当前 generator 的 24 条 STEP/DIR、24 条限位、24 路加热、4 路风扇及 1 条全局使能共 **77 条物理路径全部与原生网表一致**。极性和线束角色的证据边界详见后文。
+
+## 原始资料和解析覆盖
+
+| 板文件 | SHA-256 | 原生解析范围 |
+|---|---|---|
+| FCB_FPGA+MCU_V2.0_20260914(1).brd | `c4a75fdc17746910989b76f2e10c357e57d67ec73bad79ad4310948c0e71fcfe` | 12,445,148 bytes;解析到 EOF;1,457 已放置元件;3,820 已放置焊盘;862 个有连接的网络;未解析类型/未解析引用为 0 |
+| FCB_FAN_V2.0_20260914(1).brd | `c5eb8c4eff2030211b60084c21fa050edc5e70a7a7f054dd701efbb1e06b30f1` | 1,674,564 bytes;解析到 EOF;33 元件;118 已放置焊盘;18 个有连接网络 |
+| FCB_FPGA+MCU_V1.2_20260717.brd | `269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb` | 根代理以同一 netdump/extract_bom 解析,11,263,312 bytes 到 EOF;1,317 元件、3,694 已放置焊盘、未解析引用 0;本次独立读取其完整派生 pins/BOM 文件并按信号追踪 |
+
+格式为 Cadence Allegro 17.4 二进制,magic `0x00140902`。使用 `brd_parser` MIT 实现(bernayigit fork,commit `f38fb8f48031eb78d654a78a79453e580b634f93`)及本地 `netdump.cpp`/`extract_bom.py` 提取对象、实例、器件属性、放置焊盘和实际网络。器件 **value** 与 `/NC` 装配标记单独解码,不以旧符号名代替 BOM。仅 `strings` 输出不构成此处依据。
+
+这里“完整解析”指对象结构与引用闭合,不代表逐条走线几何/DRC、层叠、电磁/模拟性能、器件实装型号和外部线束均已验证。V1.2 原生文件由根代理在远程解析,本地使用派生 CSV/JSON;未把其旧 annotations 的“confirmed”标签当证明。
+
+## MRDIMM:撤销 CON146 TTL 定义
+
+从 `offline-mrdimm-hardware/main_pins.csv` 和 `main_bom.json` 逐网跟踪:
+
+| 节点 | 原生事实 |
+|---|---|
+| FPGA U3.H6 | `BANK5_IO_BE10N_5` → R1301 0 Ω → `SW_KEYLED3` → R1297 220 Ω → Q10621.1 |
+| Q10621 | `NMOS/2N7002/SOT23`;pin 1 gate,pin 2 GND,pin 3 `N11034890` |
+| Q10620 | value `AO3415A`,旧库符号 `ZVP2110/TO_0`;pin 1 接 Q10621 drain,pin 2 `N11034732`,pin 3 `KEYLED_V3` |
+| 电源选择 | R1294 0 Ω **已装**:`+12V` → `N11034732`;R1295 0 Ω `/NC`:`+5V` 备选未装 |
+| 栅极恢复 | R1296 10 kΩ 从 Q10620 source 到 gate;C470 1 nF 同跨 source/gate |
+| 外部输出 | CON146.1=`KEYLED_V3`;C468 1 µF 与 C469 100 nF 对地,均已装 |
+| FPGA 低电平默认 | Q10621 gate 经 R1298 10 kΩ 下拉 GND;撤出 UART 后浮空 FPGA 端由外部下拉保持高边开关关断,实板仍应核对与 TD unused-pin 设置 |
+| 被误写的 R1304 | 实际是 `R / 0 /1%/0402/NC`,从 `KEY3` 到 `N11034890`,并非 4.7 kΩ 上拉 |
+| 外部输入 | CON146.3=`KEY3_CON` → R1293 0 Ω → `KEY3` → R1110 0 Ω → `KEY_3` → U3.N7 |
+| 输入负载 | R1292 10 kΩ 上拉 +3V3;C467 100 nF 对地,属于按键输入滤波 |
+| GND | CON146.2/.4 为信号接地;封装 pad 5/.6 也为 GND |
+
+NMOS 控制 P-MOS 高边开关,逻辑上 FPGA 高会使外部输出上电,但外部是约 12 V 电源节点且带 1.1 µF 电容,既不是推挽 TTL,也没有正常 UART 低电平放电通路。必须停止把 CON146.1 接 USB-TTL RX。这里风险由实际电路证据直接支持,不是假设性边界检查。
+
+## MRDIMM:CON140 真正 TTL 端口
+
+| 可插信号针 | 原生网络 | 已装串阻 | FPGA ball | 建议用途 |
+|---|---|---|---|---|
+| 1 | EX_GPIO29 | R1261 0 Ω | T11 | host_ttl_tx |
+| 2 | EX_GPIO30 | R1262 0 Ω | P13 | host_ttl_rx,约束内部 PULLUP |
+| 3 | EX_GPIO31 | R1263 0 Ω | L3 | 仍为 GPIO,不能接地 |
+| 4 | EX_GPIO32 | R1264 0 Ω | N2 | 仍为 GPIO,不能接地 |
+
+R1333..R1336 为各路 10 kΩ 上拉但全部 `/NC`。以上八个串阻两侧网络已检查:没有晶体管、并联电容或其它外设。U3 相关 I/O 供电网络为 +3V3。T11/P13/L3/N2 在被审阅的当前 MRDIMM ADC 中没有其它 LOC 使用。
+
+原生连接器值是 4P,封装含 pad 5/6 接地固定焊盘;不要把固定焊盘写成普通可插第 5/6 针。TTL 地线应接明确的板地,例如 CON77.3/.4 或已确认 GND 测试点。TX/RX 不需 FPGA 逻辑反相。
+
+## BMC / RS232 与实际器件值
+
+MRDIMM V1.2:
+
+- TX:U3.L10 (`BANK2_GPIO52`) → R818 0 Ω → UART1_TX → U22.11;U22.14 → RS232_TX1 → CON77.1。
+- RX:CON77.2 → RS232_RX1 → U22.13;U22.12 → UART1_RX → R819 0 Ω → U3.M9 (`BANK2_GPIO53`)。
+- CON77.3/.4 为 GND;U22.16 为 +3.3V、.15 为 GND。
+- U22 **value 是 TRSF3232EIPWR**,`SP3232E` 只是旧库符号;V2.0 U22 同样为 TRSF3232EIPWR。
+- MRDIMM 当前 host RS232 为 CON78,U23(同为 TRSF3232EIPWR),FPGA M10/N11。
+- 当前生产约束没有 LOC=L10/M9 冲突。注释中的“M9”是第 9 电机名称,不是 ball M9。
+- 被审阅 wrapper `src/top/prod2u_mrdimm_rs232_only_top.v` 把 `.bmc_rs232_rx(1'b1)` 并把 TX 接 unused。恢复两个端口和两个约束能恢复现存 BMC 功能,无需重写 parser。
+
+器件速率资料应按实际 BOM 查询。TI TRSF3232E 官方产品页给出 1 Mbps 级速率;它不证明外接 USB/RS232 模块、线缆、供电与整条实物链路都能稳定 921600。外接模块问题与 FPGA 端口路由问题需分别测量。
+
+## CT7428 正确总线
+
+### 6400 V2.0
+
+原生 BOM 仅 U6 一颗 CT7428,local+8 remote 共 9 温度,现 RTL 的 CHANNEL_LAST=8 与 CT_ACTIVE_COUNT=9 一致。
+
+| 线路 | 默认已装路径 |
+|---|---|
+| SCL | U3.B14 `BANK0_IO1_12` → R1888 0 Ω → SCL1 → U6.13 |
+| SDA | U3.A15 `BANK0_IO1_13` → R1889 0 Ω → SDA1 → U6.12 |
+| 同总线 EEPROM | B14 经 R1233 到 U31.6;A15 经 R1239 到 U31.5 |
+| 原 M8/N9 路线 | TEMP_SCL/TEMP_SDA 到 CT 的 R744/R745 均 NC,无默认通路 |
+| MCU 隔离 | MUC_IIC0_SCL/SDA 到 CT 的 R800/R801 均 NC;U27.42/43 仅经 R1121/R1122 到 U12 EEPROM |
+
+因此只需把主 temp_scl/temp_sda 约束改为 B14/A15,原 alt 信号移到 M8/N9 并继续高阻。不能仅交换 RTL 信号名却保留原错误 LOC。
+
+### MRDIMM V1.2
+
+| 线路 | 默认已装路径 |
+|---|---|
+| FPGA SCL | U3.B14 → R1123 0 Ω → MUC_IIC0_SCL |
+| FPGA SDA | U3.A15 → R1124 0 Ω → MUC_IIC0_SDA |
+| CT U6 | 经 R800/R801 到 SCL1/SDA1,再到 U6.13/.12 |
+| CT U24 | 经 R843/R846 到 SCL2/SDA2,再到 U24.13/.12 |
+| CT U25 | 经 R873/R876 到 SCL3/SDA3,再到 U25.13/.12 |
+| MCU 同网 | U27.42=MUC_IIC0_SCL;U27.43=MUC_IIC0_SDA |
+| EEPROM 同网 | 经 R1121/R1122 到 U12.6/.5 |
+| 原 M8/N9 | TEMP_SCL/TEMP_SDA 经 R1233/R1239 只到 U31 EEPROM |
+| 未装到 CT 的支路 | R744/R745、R842/R847、R872/R877 均 0 Ω/NC |
+
+最简正常使用条件:FPGA 扫描 B14/A15,MCU I2C0 高阻、不得同时当总线主机。无需加入动态识别、双总线扫描或多主仲裁。
+
+### 地址 strap 与温度格式的证据边界
+
+| 产品/器件 | AD0 pin 9 已装选择 | 其它选择 | 当前 RTL 7-bit 地址 |
+|---|---|---|---|
+| 6400 U6 | R578 0 Ω 到 +3.3V | R579/GND、R830/SCL、R832/SDA 全 NC | 0x49 |
+| MRDIMM U6 | R578 0 Ω 到 +3V3 | R579/GND、R830/SCL、R832/SDA 全 NC | 0x49 |
+| MRDIMM U24 | R852 0 Ω 到 GND | R850/VCC、R853/SCL、R854/SDA 全 NC | 0x48 |
+| MRDIMM U25 | R883 0 Ω 到 SCL3 | R880/VCC、R882/GND、R884/SDA 全 NC | 0x4B |
+
+当前 scanner 不是 0x4C/0x4D/0x4E。每颗读取寄存器 0..8,温度转换保留 `raw[15:7]` 的非负整数;响应错误、负值、结果 ≥255 返回 FF。
+
+官方公开 CT7428 6 页 brief 确认 AD0 为 pin 9、可接 VCC/GND/SCL/SDA、标准与 -A 有两组地址、13 bit/0.0625℃,但没有公布数字地址表、完整寄存器 packing/byte order。0x49/0x48/0x4B、reg0..8 与 raw>>7 目前依据仓库历史 MCU 协议和 `contracts/ct7428-format.json`,该合同明确 `physical_validation: NOT_RUN`。因此不能把同样假设的 BFM 测试说成芯片完整物理验证;应在实板补充 ACK 地址和合理温度读值证据。
+
+官方资料:https://www.sensylink.com/upload/1/net.sensylink.portal/1689833429513.pdf (Aug.2020 Rev.1.0,6页);https://www.ti.com/product/TRSF3232E 。
+
+## MRDIMM 77 条执行器路径核对
+
+详细逐信号证据在 `mrdimm_signal_paths.csv` / `.json`,脚本 `check_mrdimm_paths.py` 依据原生放置焊盘网络追踪已装 0Ω/小串阻并显式穿过晶体管控制关系;没有把 NC 电阻当实际通路。
+
+- 12 轴 STEP 与 DIR 共 24 条均符合 generator 指定 ball 与 connector,含非顺序 M4→CON113、M8→CON114、M12→CON115。所有输出均通过 2N7002 NMOS 共源下拉,外部电平相对 FPGA 反相;FPGA step 高表示向 STEP- 灌电流。实际驱动器采用哪一沿和方向的机械意义仍依赖驱动器/线束。
+- 全局使能 C11→R663→R1095→Q145(2N7002)→CON120.2。FPGA 高时外部低。旧“NPN”注释应改为 NMOS。
+- 24 条限位均经 0Ω 从指定连接器直通 FPGA,无板级反相。RTL active-high 与外部传感器的触发电平一致性无法由裸板网表单独证明;内部 PULLUP 使悬空为 1。
+- 24 路 PTC 均 NMOS 驱动 P-MOS 高边,FPGA 高使外部 12V 供电导通,RTL正极性正确。每腔 6 路复制来自现设计选择。
+- 风扇:ch1/B1→Q101→CON25.7;ch2/C4→Q99→CON8.7;ch3/B5→Q100→CON24.7;ch4/A14→Q102→CON26.7。Q99..102 实际 MMBT2222AT NPN,单级反相,`~pwm_bitmap[3:0]` 与连接器高电平占空比一致。腔体角色应由既有线束图确认,不可由CON编号顺序猜测。
+
+## 源码审阅范围及独立修复
+
+截至本文首版,已逐行读取生产 UART/CRC封装、MRDIMM top/transaction/actuator/arbiter、6400v2 top/transaction、PWM/duty、CT scanner/temp RAM/GET assembler/相关小模块等;精确完整/部分范围见 `rtl-review-coverage.json`。其余 active closure 正在继续,并未宣称全仓审阅已完成。
+
+发现并提供隔离修复的正常并行缺陷:MRDIMM DONE 与普通回复共用 reply RAM[0..3] 导致 payload 被覆盖;DONE 发完才 ack 可清掉同轴新段的新 DONE。补丁 `done_fix/mrdimm_done_snapshot.patch` 在选中时快照事件并消费 pending,用小寄存器字节 mux 发 DONE,取消其共享 RAM 写。根代理已报告两种定向位级 UART TB 均 PASS;测试检查重叠 GET、同轴再次完成、每字节内容、顺序与 CRC。

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1458 - 0
evidence/hardware/20261023/main_bom.csv


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 3821 - 0
evidence/hardware/20261023/main_pins.csv


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1318 - 0
evidence/hardware/20261023/mrdimm/main_bom.csv


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 14489 - 0
evidence/hardware/20261023/mrdimm/main_bom.json


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 3695 - 0
evidence/hardware/20261023/mrdimm/main_pins.csv


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 68854 - 0
evidence/hardware/20261023/mrdimm/main_u3_neighbors.json


+ 78 - 0
evidence/hardware/20261023/mrdimm_signal_paths.csv

@@ -0,0 +1,78 @@
+kind,index,logical,ball,path,value,polarity,verified
+motor_step,0,M1,C12,U3.C12 -> R674 -> R1063 -> Q113.1(G) -> Q113.3(D) -> CON104.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,0,M1,B12,U3.B12 -> R675 -> R1064 -> Q114.1(G) -> Q114.3(D) -> CON104.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,1,M2,L12,U3.L12 -> R677 -> R1065 -> Q115.1(G) -> Q115.3(D) -> CON105.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,1,M2,J11,U3.J11 -> R678 -> R1066 -> Q116.1(G) -> Q116.3(D) -> CON105.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,2,M3,L14,U3.L14 -> R679 -> R1067 -> Q117.1(G) -> Q117.3(D) -> CON106.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,2,M3,K14,U3.K14 -> R680 -> R1068 -> Q118.1(G) -> Q118.3(D) -> CON106.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,3,M4,G14,U3.G14 -> R693 -> R1081 -> Q131.1(G) -> Q131.3(D) -> CON113.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,3,M4,G15,U3.G15 -> R694 -> R1082 -> Q132.1(G) -> Q132.3(D) -> CON113.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,4,M5,L13,U3.L13 -> R681 -> R1069 -> Q119.1(G) -> Q119.3(D) -> CON107.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,4,M5,K11,U3.K11 -> R682 -> R1070 -> Q120.1(G) -> Q120.3(D) -> CON107.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,5,M6,K12,U3.K12 -> R683 -> R1077 -> Q121.1(G) -> Q121.3(D) -> CON108.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,5,M6,K13,U3.K13 -> R684 -> R1078 -> Q122.1(G) -> Q122.3(D) -> CON108.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,6,M7,J14,U3.J14 -> R685 -> R1075 -> Q123.1(G) -> Q123.3(D) -> CON109.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,6,M7,J12,U3.J12 -> R686 -> R1076 -> Q124.1(G) -> Q124.3(D) -> CON109.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,7,M8,G13,U3.G13 -> R695 -> R1083 -> Q133.1(G) -> Q133.3(D) -> CON114.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,7,M8,F14,U3.F14 -> R696 -> R1084 -> Q134.1(G) -> Q134.3(D) -> CON114.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,8,M9,H13,U3.H13 -> R687 -> R1073 -> Q125.1(G) -> Q125.3(D) -> CON110.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,8,M9,J13,U3.J13 -> R688 -> R1074 -> Q126.1(G) -> Q126.3(D) -> CON110.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,9,M10,H11,U3.H11 -> R689 -> R1071 -> Q127.1(G) -> Q127.3(D) -> CON111.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,9,M10,H12,U3.H12 -> R690 -> R1072 -> Q128.1(G) -> Q128.3(D) -> CON111.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,10,M11,G11,U3.G11 -> R691 -> R1079 -> Q129.1(G) -> Q129.3(D) -> CON112.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,10,M11,H14,U3.H14 -> R692 -> R1080 -> Q130.1(G) -> Q130.3(D) -> CON112.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_step,11,M12,F12,U3.F12 -> R697 -> R1085 -> Q135.1(G) -> Q135.3(D) -> CON115.2,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+motor_dir,11,M12,D15,U3.D15 -> R698 -> R1086 -> Q136.1(G) -> Q136.3(D) -> CON115.3,2N7002,one inversion; source=GND; gate high pulls external STEP-/DIR- low,True
+LIMITS_LS,0,LS1,A5,U3.A5 -> R1195 -> CON12.1,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,1,LS2,C8,U3.C8 -> R1197 -> CON12.3,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,2,LS3,D7,U3.D7 -> R1199 -> CON126.1,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,3,LS4,A4,U3.A4 -> R1201 -> CON126.3,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,4,LS5,A3,U3.A3 -> R1203 -> CON127.1,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,5,LS6,A12,U3.A12 -> R1205 -> CON127.3,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,6,LS7,L16,U3.L16 -> R1207 -> CON128.1,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,7,LS8,K15,U3.K15 -> R1209 -> CON128.3,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,8,LS9,K16,U3.K16 -> R1211 -> CON129.1,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,9,LS10,H15,U3.H15 -> R1213 -> CON129.3,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,10,LS11,T3,U3.T3 -> R1253 -> CON138.1,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_LS,11,LS12,P4,U3.P4 -> R1255 -> CON138.3,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,0,HS1,B6,U3.B6 -> R1196 -> CON12.2,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,1,HS2,A8,U3.A8 -> R1198 -> CON12.4,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,2,HS3,E7,U3.E7 -> R1200 -> CON126.2,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,3,HS4,C5,U3.C5 -> R1202 -> CON126.4,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,4,HS5,B4,U3.B4 -> R1204 -> CON127.2,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,5,HS6,B11,U3.B11 -> R1206 -> CON127.4,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,6,HS7,L15,U3.L15 -> R1208 -> CON128.2,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,7,HS8,J16,U3.J16 -> R1210 -> CON128.4,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,8,HS9,J15,U3.J15 -> R1212 -> CON129.2,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,9,HS10,H16,U3.H16 -> R1214 -> CON129.4,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,10,HS11,R4,U3.R4 -> R1254 -> CON138.2,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+LIMITS_HS,11,HS12,T5,U3.T5 -> R1256 -> CON138.4,passive zero-ohm path,non-inverting; connector contact polarity requires sensor/wiring evidence,True
+heater,0,HEAT1,F16,U3.F16 -> R451 -> R381 -> Q1.1(G) -> Q1.3(D) -> Q52.4(G) -> PTC1 -> CON18.1,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,1,HEAT2,G16,U3.G16 -> R452 -> R383 -> Q54.1(G) -> Q54.3(D) -> Q53.4(G) -> PTC2 -> CON18.3,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,2,HEAT3,T4,U3.T4 -> R453 -> R386 -> Q56.1(G) -> Q56.3(D) -> Q55.4(G) -> PTC3 -> CON18.5,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,3,HEAT4,R5,U3.R5 -> R454 -> R389 -> Q58.1(G) -> Q58.3(D) -> Q57.4(G) -> PTC4 -> CON18.7,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,4,HEAT5,T6,U3.T6 -> R455 -> R392 -> Q60.1(G) -> Q60.3(D) -> Q59.4(G) -> PTC5 -> CON18.9,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,5,HEAT6,R7,"U3.R7 -> R456 -> R395 -> Q62.1(G) -> Q62.3(D) -> Q61.4(G) -> PTC6 -> CON18.11,CON18.13",NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,6,HEAT7,M1,U3.M1 -> R457 -> R398 -> Q64.1(G) -> Q64.3(D) -> Q63.4(G) -> PTC7 -> CON27.1,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,7,HEAT8,N1,U3.N1 -> R458 -> R401 -> Q66.1(G) -> Q66.3(D) -> Q65.4(G) -> PTC8 -> CON27.3,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,8,HEAT9,P1,U3.P1 -> R459 -> R404 -> Q68.1(G) -> Q68.3(D) -> Q67.4(G) -> PTC9 -> CON27.5,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,9,HEAT10,R1,U3.R1 -> R460 -> R407 -> Q70.1(G) -> Q70.3(D) -> Q69.4(G) -> PTC10 -> CON27.7,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,10,HEAT11,T2,U3.T2 -> R461 -> R410 -> Q72.1(G) -> Q72.3(D) -> Q71.4(G) -> PTC11 -> CON27.9,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,11,HEAT12,R3,"U3.R3 -> R462 -> R413 -> Q74.1(G) -> Q74.3(D) -> Q73.4(G) -> PTC12 -> CON27.11,CON27.13",NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,12,HEAT13,P16,U3.P16 -> R463 -> R417 -> Q77.1(G) -> Q77.3(D) -> Q75.4(G) -> PTC13 -> CON28.1,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,13,HEAT14,R16,U3.R16 -> R464 -> R423 -> Q81.1(G) -> Q81.3(D) -> Q79.4(G) -> PTC14 -> CON28.3,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,14,HEAT15,M16,U3.M16 -> R465 -> R429 -> Q85.1(G) -> Q85.3(D) -> Q83.4(G) -> PTC15 -> CON28.5,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,15,HEAT16,N16,U3.N16 -> R466 -> R435 -> Q89.1(G) -> Q89.3(D) -> Q87.4(G) -> PTC16 -> CON28.7,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,16,HEAT17,P8,U3.P8 -> R467 -> R441 -> Q93.1(G) -> Q93.3(D) -> Q91.4(G) -> PTC17 -> CON28.9,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,17,HEAT18,P7,"U3.P7 -> R468 -> R447 -> Q97.1(G) -> Q97.3(D) -> Q95.4(G) -> PTC18 -> CON28.11,CON28.13",NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,18,HEAT19,T9,U3.T9 -> R469 -> R418 -> Q78.1(G) -> Q78.3(D) -> Q76.4(G) -> PTC19 -> CON29.1,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,19,HEAT20,P9,U3.P9 -> R470 -> R424 -> Q82.1(G) -> Q82.3(D) -> Q80.4(G) -> PTC20 -> CON29.3,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,20,HEAT21,P10,U3.P10 -> R471 -> R430 -> Q86.1(G) -> Q86.3(D) -> Q84.4(G) -> PTC21 -> CON29.5,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,21,HEAT22,R10,U3.R10 -> R472 -> R436 -> Q90.1(G) -> Q90.3(D) -> Q88.4(G) -> PTC22 -> CON29.7,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,22,HEAT23,T13,U3.T13 -> R473 -> R442 -> Q94.1(G) -> Q94.3(D) -> Q92.4(G) -> PTC23 -> CON29.9,NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+heater,23,HEAT24,T12,"U3.T12 -> R474 -> R448 -> Q98.1(G) -> Q98.3(D) -> Q96.4(G) -> PTC24 -> CON29.11,CON29.13",NMOS/2N7002/SOT23 / Q_MCG30P03-TP,gate high enables PMOS +12V heater output (two inversions),True
+fan,0,chamber1 fan,B1,U3.B1 -> R652 -> Q101.1(B) -> Q101.3(C) -> CON25.7,Q/MMBT2222AT/SOT523,one NPN inversion; board high output when gate/base low,True
+fan,1,chamber2 fan,C4,U3.C4 -> R646 -> Q99.1(B) -> Q99.3(C) -> CON8.7,Q/MMBT2222AT/SOT523,one NPN inversion; board high output when gate/base low,True
+fan,2,chamber3 fan,B5,U3.B5 -> R649 -> Q100.1(B) -> Q100.3(C) -> CON24.7,Q/MMBT2222AT/SOT523,one NPN inversion; board high output when gate/base low,True
+fan,3,chamber4 fan,A14,U3.A14 -> R655 -> Q102.1(B) -> Q102.3(C) -> CON26.7,Q/MMBT2222AT/SOT523,one NPN inversion; board high output when gate/base low,True
+motor_enable,0,enable,C11,U3.C11 -> R663 -> R1095 -> Q145.1(G) -> Q145.3(D) -> CON120.2,2N7002,one NMOS inversion; FPGA high pulls CON120.2 low,True

+ 52 - 0
evidence/hardware/20261023/parser/README.md

@@ -0,0 +1,52 @@
+# 原生 Allegro BRD 网表复现(2026-10-23)
+
+上游:<https://github.com/bernayigit/brd_parser>,固定 commit `f38fb8f48031eb78d654a78a79453e580b634f93`(MIT)。以下方法用于本次三份 Allegro 17.4 BRD,不宣称通用的所有版本 CAD 转换。
+
+本目录需保留 `netdump.cpp`、`extract_bom_cli.py`、`compare_viewer_netlist.py`、`build_netdump.sh`、`parser_eof_receipt.patch` 和 `compat/boost/{version.hpp,interprocess/file_mapping.hpp,interprocess/mapped_region.hpp}`。不需要打包上游构建树。shim 只把 Boost 只读映射 API 换为内存字节缓冲;没有替换 BRD 解析逻辑。EOF patch 只加终止偏移日志,没有改变解析流程。
+
+## 获取和编译
+
+```bash
+git clone https://github.com/bernayigit/brd_parser.git /tmp/prod2u-brd-parser
+git -C /tmp/prod2u-brd-parser checkout f38fb8f48031eb78d654a78a79453e580b634f93
+git -C /tmp/prod2u-brd-parser apply /absolute/path/native_repro/parser_eof_receipt.patch
+bash /absolute/path/native_repro/build_netdump.sh /tmp/prod2u-brd-parser
+```
+
+依赖:支持 C++20 的 `c++` 编译器、标准 C++ 库、Python 3;CSV/BOM 提取只用 Python 标准库。比较查看器时需要其正常 Python 依赖(包括 jsonschema)。`netdump` 写 stdout TSV、stderr 解析日志,不修改 BRD。
+
+## 执行
+
+```bash
+mkdir -p /tmp/prod2u-native-main
+/absolute/path/native_repro/netdump '/absolute/path/FCB_FPGA+MCU_V2.0_20260914.brd' \
+  > /tmp/prod2u-native-main/main_netlist.tsv \
+  2> /tmp/prod2u-native-main/main_parse.log
+python3 /absolute/path/native_repro/extract_bom_cli.py \
+  '/absolute/path/FCB_FPGA+MCU_V2.0_20260914.brd' \
+  /tmp/prod2u-native-main/main_netlist.tsv --out /tmp/prod2u-native-main --label main
+```
+
+MRDIMM 换成 V1.2 原件;风扇板换成 FAN 原件和 `--label fan`。输出 `<label>_pins.csv`、`<label>_bom.csv/json`。`--label main` 还输出 `main_u3_neighbors.json`;该文件只列直接同网及经已装电阻的邻接,不把它当作跨晶体管导通证明。
+
+核对日志:`PARSER_END offset` 必须等于 `size`、`next_type=-1`;`unnamed=0`、`unresolved_net_links=0`。placed pad 与模板 pad 分开计数。BOM `/NC` 由原生器件属性解出;这证明设计文件装配选项,不等于已经对实物进行测量。
+
+| BRD | SHA-256 | 字节/EOF | 元件 | placed pads |
+|---|---|---:|---:|---:|
+| FCB_FPGA+MCU_V1.2_20260717.brd | `269b5bab2f2e1215b9392079a003badc34238ae3cbe8e5094c9a11bba8b84ebb` | 11263312 | 1317 | 3694 |
+| FCB_FPGA+MCU_V2.0_20260914.brd | `c4a75fdc17746910989b76f2e10c357e57d67ec73bad79ad4310948c0e71fcfe` | 12445148 | 1457 | 3820 |
+| FCB_FAN_V2.0_20260914.brd | `c5eb8c4eff2030211b60084c21fa050edc5e70a7a7f054dd701efbb1e06b30f1` | 1674564 | 33 | 118 |
+
+上传原件文件名带 `(1)`,字节/SHA 与表中相同;只改文件名不会改变解析。
+
+## 对照查看器引脚解析
+
+```bash
+python3 /absolute/path/native_repro/compare_viewer_netlist.py \
+  --viewer /workspace/cpld-temperature-control/tools/board-viewer/generate_v2_0_assets.py \
+  --brd '/absolute/path/FCB_FPGA+MCU_V2.0_20260914.brd' \
+  --pins /tmp/prod2u-native-main/main_pins.csv \
+  --out /tmp/prod2u-native-main/viewer-comparison.json
+```
+
+FAN 原件同样执行一次。已得到 V2 主板 3819、FAN 116 个唯一 `(reference,pin,net)` 三元组,missing/extra 全 0。原始 placed pad 数分别为3820/118;同名机械 pad 会在集合比较中合并。这是引脚/网络内容的独立对照,不是 SVG 几何、IPC-D-356 或真实电气时序校验。MRDIMM 的硬件结论直接来自上述 native CSV/BOM;本次没有声称其通过这个 V2 专用查看器的比较。

+ 13 - 0
evidence/hardware/20261023/parser/build_netdump.sh

@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+set -euo pipefail
+here="$(cd "$(dirname "$0")" && pwd)"
+parser_dir="${1:?usage: build_netdump.sh /path/to/brd_parser}"
+c++ -std=c++20 -O0 -I"$here/compat" -I"$parser_dir/src" \
+  "$here/netdump.cpp" \
+  "$parser_dir/src/lib/parser/parser.cpp" \
+  "$parser_dir/src/lib/structure/types.cpp" \
+  "$parser_dir/src/lib/structure/cadence_fp.cpp" \
+  "$parser_dir/src/lib/structure/utils.cpp" \
+  "$parser_dir/src/lib/printing/printers.cpp" \
+  "$parser_dir/src/lib/printing/utils.cpp" \
+  -o "$here/netdump"

+ 19 - 0
evidence/hardware/20261023/parser/compare_viewer_netlist.py

@@ -0,0 +1,19 @@
+"""Compare viewer ref/pin/net tuples against independent native-parser placed pads."""
+import argparse,csv,importlib.util,json,sys
+from pathlib import Path
+p=argparse.ArgumentParser(description=__doc__)
+p.add_argument('--viewer',type=Path,required=True)
+p.add_argument('--brd',type=Path,required=True)
+p.add_argument('--pins',type=Path,required=True)
+p.add_argument('--out',type=Path)
+a=p.parse_args()
+sys.path.insert(0,str(a.viewer.parent))
+spec=importlib.util.spec_from_file_location('v20_parser_comparison',a.viewer)
+m=importlib.util.module_from_spec(spec);spec.loader.exec_module(m)
+board,_=m.parse_allegro_brd(a.brd)
+actual={(fp.reference,str(pad.number),pad.net or '') for fp in board.footprints for pad in fp.pads}
+native={(r['reference'],r['pin'],r['net']) for r in csv.DictReader(a.pins.open())}
+missing=sorted(native-actual);extra=sorted(actual-native)
+report={'status':'PASS' if not missing and not extra else 'FAIL','viewer_footprints':len(board.footprints),'viewer_placed_pads':sum(len(fp.pads) for fp in board.footprints),'native_unique_ref_pin_net':len(native),'viewer_unique_ref_pin_net':len(actual),'missing':missing,'extra':extra,'limits':'Set comparison covers ref/pin/net only; repeated identical mechanical-pad tuples are deduplicated. It does not establish geometry or actual assembled circuit behavior.'}
+if a.out:a.out.write_text(json.dumps(report,indent=2,ensure_ascii=False)+'\n')
+print(json.dumps(report,ensure_ascii=False));raise SystemExit(bool(missing or extra))

+ 1 - 0
evidence/hardware/20261023/parser/compat/boost/interprocess/file_mapping.hpp

@@ -0,0 +1 @@
+#include "mapped_region.hpp"

+ 28 - 0
evidence/hardware/20261023/parser/compat/boost/interprocess/mapped_region.hpp

@@ -0,0 +1,28 @@
+#pragma once
+#include <cstring>
+#include <memory>
+#include <vector>
+#include <fstream>
+#include <stdexcept>
+#include <iterator>
+namespace boost { namespace interprocess {
+enum mode_t { read_only };
+using interprocess_exception=std::runtime_error;
+class file_mapping {
+ public: std::string path;
+ file_mapping() = default;
+ file_mapping(const char* p, mode_t):path(p) {}
+};
+class mapped_region {
+ std::shared_ptr<std::vector<char>> bytes;
+ public:
+ mapped_region()=default;
+ mapped_region(const file_mapping& f, mode_t){
+  std::ifstream in(f.path,std::ios::binary);
+  if(!in) throw interprocess_exception("Cannot read "+f.path);
+  bytes=std::make_shared<std::vector<char>>(std::istreambuf_iterator<char>(in),std::istreambuf_iterator<char>());
+ }
+ void* get_address() const{return bytes->data();}
+ size_t get_size() const{return bytes->size();}
+};
+}}

+ 1 - 0
evidence/hardware/20261023/parser/compat/boost/version.hpp

@@ -0,0 +1 @@
+#define BOOST_VERSION 107400

+ 64 - 0
evidence/hardware/20261023/parser/extract_bom_cli.py

@@ -0,0 +1,64 @@
+"""Read verified Allegro record offsets exported by netdump; no board writes."""
+import csv,json,struct,hashlib
+from pathlib import Path
+from collections import defaultdict,Counter
+import argparse
+parser=argparse.ArgumentParser(description=__doc__)
+parser.add_argument("brd",type=Path)
+parser.add_argument("netlist",type=Path)
+parser.add_argument("--out",type=Path,required=True)
+parser.add_argument("--label",default="main")
+args=parser.parse_args()
+BASE=args.out
+BASE.mkdir(parents=True,exist_ok=True)
+for label,name in [(args.label,args.brd)]:
+    b=name.read_bytes()
+    rows=[l.split('\t') for l in args.netlist.read_text().splitlines()]
+    objects={int(r[1]):(int(r[2]),int(r[3])) for r in rows if r[0]=='OBJECT'}
+    components={r[1]:r for r in rows if r[0]=='COMP'}
+    def word(key,offset):
+        return struct.unpack_from('<I',b,objects[key][1]+offset)[0]
+    def device_attributes(key):
+        # Allegro 17.4 x03 string record, proven by upstream parser layout.
+        seen=set();out=[]
+        while key in objects and objects[key][0]==3 and key not in seen:
+            seen.add(key);offset=objects[key][1];sub=b[offset+16];size=int.from_bytes(b[offset+18:offset+20],'little')
+            if sub in (0x68,0x6b,0x6d,0x6e,0x6f,0x71,0x73,0x78):
+                out.append(b[offset+24:offset+24+size].split(b'\0')[0].decode('utf-8',errors='replace'))
+            key=word(key,8)
+        return out
+    bom=[]
+    for ref,row in sorted(components.items()):
+        ck=int(row[2]);inst=word(ck,40);device=word(inst,12)
+        if objects[inst][0]!=7 or objects[device][0]!=6:
+            raise RuntimeError((ref,inst,device))
+        attrs=device_attributes(word(device,32))
+        bom.append(dict(reference=ref,footprint=row[7] if len(row)>7 else '',device_symbol=attrs[0] if attrs else '',value=attrs[1] if len(attrs)>1 else '',declared_nc=any('/NC' in a.upper() for a in attrs),instance_key=inst,device_key=device,component_key=ck,component_offset=objects[ck][1]))
+    values={r['reference']:r for r in bom}
+    pins=[];nets=defaultdict(list)
+    for row in rows:
+        if row[0]!='PIN' or len(row)<9 or row[7]!='placed':continue
+        ref,pin=row[1].split('.',1)
+        rec=dict(reference=ref,pin=pin,net=row[2],pad_key=int(row[3]),net_key=int(row[4]),pad_offset=objects[int(row[3])][1],declared_nc=values[ref]['declared_nc'],value=values[ref]['value'])
+        pins.append(rec);nets[rec['net']].append(rec)
+    for suffix,data in [('bom',bom),('pins',pins)]:
+        with (BASE/f'{label}_{suffix}.csv').open('w',newline='') as f:
+            w=csv.DictWriter(f,fieldnames=list(data[0]));w.writeheader();w.writerows(data)
+    (BASE/f'{label}_bom.json').write_text(json.dumps(bom,ensure_ascii=False,indent=2))
+    if label=='main':
+        byref=defaultdict(list)
+        for r in pins:byref[r['reference']].append(r)
+        out=[]
+        for r in byref['U3']:
+            peers=[p for p in nets[r['net']] if p['reference']!='U3'] if r['net'] else []
+            neighbors=[]
+            for p in peers:
+                if p['reference'].startswith('R') and not p['declared_nc']:
+                    for q in byref[p['reference']]:
+                        if q['pin']!=p['pin']:
+                            neighbors.append(dict(resistor=p['reference'],value=p['value'],other_net=q['net'],other_pins=[x['reference']+'.'+x['pin'] for x in nets[q['net']]]))
+            out.append(dict(pin=r['pin'],net=r['net'],peers=[p['reference']+'.'+p['pin'] for p in peers],through_populated_resistor=neighbors))
+        (BASE/'main_u3_neighbors.json').write_text(json.dumps(out,ensure_ascii=False,indent=2))
+    print(label,'sha256',hashlib.sha256(b).hexdigest(),'components',len(bom),'placed_pads',len(pins),'populated_declared',sum(not r['declared_nc'] for r in bom),'connected_pads',sum(bool(r['net']) for r in pins),'unique_nets',len(set(r['net'] for r in pins if r['net'])))
+    for r in bom:
+        if r['reference'] in ['X1','Y1','U3','U22','U27','U33','R23','R24','R1487']:print(r)

+ 30 - 0
evidence/hardware/20261023/parser/netdump.cpp

@@ -0,0 +1,30 @@
+#include <cstdio>
+#include <iostream>
+#include <map>
+#include "lib/parser/parser.h"
+#include "lib/structure/utils.h"
+int main(int argc,char** argv){
+ if(argc!=2)return 2; auto opt=parse_file(argv[1]);if(!opt)return 3;auto& f=*opt;
+ std::map<int,size_t> counts;size_t n=0,unnamed=0,unmapped=0;
+ for(auto &kv:f.ptrs){auto k=kv.first;auto p=kv.second;auto t=*(uint8_t*)p;counts[t]++;
+  std::cout<<"OBJECT\t"<<k<<"\t"<<(int)t<<"\t"<<((char*)p-(char*)f.region.get_address())<<"\n";
+  if(t==0x32){auto pad=f.get_x32(k);auto name=x32_pin_name(k,&f).value_or("?");std::string net="";uint32_t nk=0;
+   if(pad.ptr1){if(f.is_type(pad.ptr1,0x04)){auto assign=f.get_x04(pad.ptr1);nk=assign.ptr1;char* ns=x1B_net_name(nk,&f);if(ns)net=ns;else unmapped++;}else unmapped++;}
+   if(name.find('?')!=std::string::npos)unnamed++;
+   std::cout<<"PIN\t"<<name<<"\t"<<net<<"\t"<<k<<"\t"<<nk<<"\t"<<pad.coords[0]<<"\t"<<pad.coords[1]<<"\t"<<(f.is_type(pad.ptr3,0x2D)?"placed":"template")<<"\t"<<pad.ptr3<<"\n";n++;
+  }else if(t==0x1B){auto net=f.get_x1B(k);char* ns=x1B_net_name(k,&f);std::cout<<"NET\t"<<(ns?ns:"")<<"\t"<<k<<"\n";}
+  else if(t==0x2D){auto comp=f.get_x2D(k);auto name=x2D_refdes(k,&f).value_or("?");std::cout<<"COMP\t"<<name<<"\t"<<k<<"\t"<<comp.coords[0]<<"\t"<<comp.coords[1]<<"\t"<<comp.rotation<<"\t"<<(int)comp.layer;
+   if(f.is_type(comp.un4,0x2B)){auto def=f.get_x2B(comp.un4);std::cout<<"\t"<<x2B_footprint(&def,&f).value_or("");}
+   std::cout<<"\n";
+   if(f.is_type(comp.inst_ref,0x07)){auto ci=f.get_x07(comp.inst_ref);
+    if(f.is_type(ci.ptr0,0x06)){auto cd=f.get_x06(ci.ptr0);auto ds=str_lookup(cd.ptr1,f);auto vs=str_lookup(cd.ptr2,f);std::cout<<"DEVICE\t"<<name<<"\t"<<(ds?ds:"")<<"\t"<<(vs?vs:"")<<"\n";}
+    auto ak=ci.ptr3;int ag=0;while(f.is_type(ak,0x03)&&ag++<100){auto a=f.get_x03(ak);std::cout<<"ATTR\t"<<name<<"\t"<<(int)a.subtype.t<<"\t"<<(int)a.subtype.un3<<"\t"<<a.s<<"\t"<<a.ptr<<"\n";ak=a.next;}
+   }
+   uint32_t tk=comp.ptr3;int guard=0;
+   while(f.is_type(tk,0x30) && guard++<100){auto tx=f.get_x30(tk);if(f.is_type(tx.str_graphic_ptr,0x31)){auto str=f.get_x31(tx.str_graphic_ptr);std::cout<<"FIELD\t"<<name<<"\t"<<(int)tx.subtype<<"\t"<<(int)tx.layer<<"\t"<<str.s<<"\n";}tk=tx.next;}
+  }else if(t==0x31){auto tx=f.get_x31(k);std::cout<<"TEXT\t"<<k<<"\t"<<(int)tx.subtype<<"\t"<<(int)tx.layer<<"\t"<<tx.s<<"\n";}
+ }
+ std::cerr<<"HEADER objects="<<f.hdr->object_count<<" strings="<<f.hdr->strings_count<<"\n";
+ std::cerr<<"PARSED ptrs="<<f.ptrs.size()<<" strings="<<f.strings.size()<<" pads="<<n<<" unnamed="<<unnamed<<" unresolved_net_links="<<unmapped<<"\n";
+ for(auto [t,c]:counts)std::cerr<<"TYPE "<<t<<" count="<<c<<"\n";
+}

+ 13 - 0
evidence/hardware/20261023/parser/parser_eof_receipt.patch

@@ -0,0 +1,13 @@
+diff --git a/src/lib/parser/parser.cpp b/src/lib/parser/parser.cpp
+index 8e5001c..f8181bb 100644
+--- a/src/lib/parser/parser.cpp
++++ b/src/lib/parser/parser.cpp
+@@ -502,7 +502,7 @@ File<A_174> parse_file_raw(mapped_region region) {
+         }
+     }
+ 
+-    // log(base_addr_glb, cur_addr, "Magic = %08X\n", fs.hdr->magic);
++    std::cerr << "PARSER_END offset=" << ((char*)cur_addr - (char*)base_addr) << " size=" << size << " next_type=" << (cur_addr < (char*)base_addr+size ? (int)*(unsigned char*)cur_addr : -1) << "\n";
+     fs.layer_count = layer_count(&fs);
+ 
+     return fs;

+ 95 - 0
evidence/hardware/20261023/review_notes.md

@@ -0,0 +1,95 @@
+# 两份 V2.0 BRD 的可复核分析
+
+## 覆盖和方法
+
+原附件只读,未改写。两个文件都是 Cadence Allegro 17.4 的二进制板文件,头部 magic `0x00140902`,尾部最后保存程序为 `allegro 17.4 S039 - 11/4/2023`。
+
+- 主板 `FCB_FPGA+MCU_V2.0_20260914(1).brd`:12,445,148 bytes,SHA256 `c4a75fdc17746910989b76f2e10c357e57d67ec73bad79ad4310948c0e71fcfe`。
+- 风扇板 `FCB_FAN_V2.0_20260914(1).brd`:1,674,564 bytes,SHA256 `c5eb8c4eff2030211b60084c21fa050edc5e70a7a7f054dd701efbb1e06b30f1`。
+
+用开源 `bernayigit/brd_parser`(原作者 Jeff Wheeler)commit `f38fb8f48031eb78d654a78a79453e580b634f93`,保留其 17.4 二进制记录解析逻辑。因为本机没有 Boost,临时用标准库文件读取/内存缓冲替换了它的内存映射封装;不改变磁盘字节解释。所有对象顺序读取均精确到文件 EOF,没有未知 block 停止,也没有未识别 pin/net 指针。
+
+主板抽出 1457 个实际放置器件、3820 个实际放置焊盘(另有549模板焊盘)、862 个有焊盘的命名网络;3769 个实际焊盘有网络。物料声明99个器件 `/NC`。风扇板为33器件、118实际焊盘(另有42模板焊盘)、18网络;114实际焊盘有网络。机械/无连接焊盘为空网正常。
+
+这能验证设计数据库的连接关系、物料值和布线对象覆盖,不能替代制造实物的装配核对、完整几何 DRC、线缆接错检查、模拟信号完整性测量。解析器依据逆向格式,不能称官方 Cadence 等价语义验证。源文件的每一个字节已走过解析器,未声称每条几何线段都做了人工审图。
+
+## 必须使用物料值,而非旧符号库名
+
+| 器件 | 数据库物料值 | 符号名中的容易混淆处 |
+|---|---|---|
+| U3 | EF2L45BG256B / LFBGA256 | 本附件的 FPGA,不可仅凭工程名假定为别的 FPGA |
+| U27 | STM32F103CBT6 / LQFP48 | 符号名仍是 GD32F103C |
+| U22 | TRSF3232EIPWR / TSSOP16 | 符号名仍是 SP3232E |
+| U33 | CP2102-GM | 连接 U27 的 MCU_UART1,不是直接 FPGA UART1 |
+| X1 | CO32H4-25.000-33JDTSN / SMD3225-4P | 25 MHz 有源晶振 |
+| Y1 | X322512MSB4SI | MCU 晶振,不能仅凭型号断言其频率 |
+
+X1.3 → R23(22Ω,装配)→ SYS_CLK25 → U3.J1。
+并行 X1.3 → R24 → SYS_CLK25_EXT → U3.K1,但 **R24 物料含 `/NC`,默认不装**。
+
+## FPGA/风扇连接器映射
+
+完整20路表在 `fan_channels.csv` 和 `fan_channels.json`,主板所有实际焊盘网表在 `main_pins.csv`;全部物料值在 `main_bom.csv`。每项保留 Allegro key / 文件偏移供追查。
+
+| 主板接口 | 物理通道 | PWM针脚 | FG1针脚 | FG2针脚 |
+|---|---|---|---|---|
+| CON154 | 1,2,3,4 | 5,6,11,12 | 1,2,7,8 | 3,4,9,10 |
+| CON155 | 5,6,7,8 | 5,6,11,12 | 1,2,7,8 | 3,4,9,10 |
+| CON156 | 9,10,11,12 | 5,6,11,12 | 1,2,7,8 | 3,4,9,10 |
+| CON157 | 13,14,15,16 | 5,6,11,12 | 1,2,7,8 | 3,4,9,10 |
+| CON158 | 17,18,19,20 | 5,6,11,12 | 1,2,7,8 | 3,4,9,10 |
+
+每个主板14针接口的13/14=GND。风扇子板 CON168 相同编号一一对应:局部通道1→CON8,2→CON169,3→CON170,4→CON171。每只8针风扇输出:1/2=+12V(经通道保险),3/4/8=GND,5=FG1,6=FG2,7=PWM。
+
+| 物理通道 | U3 PWM | U3 FG1 | U3 FG2 | PDF线束角色 |
+|---|---|---|---|---|
+| 1 | C4 | D2 | D3 | 腔3进风 |
+| 2 | B5 | E6 | D6 | 腔3排风 |
+| 3 | B1 | C1 | C2 | 腔4进风 |
+| 4 | A14 | B3 | B13 | 腔4排风,PDF文字误写新风,需实物确认 |
+| 5 | P12 | N10 | M11 | 腔1进风 |
+| 6 | A10 | R11 | B9 | 腔1排风 |
+| 7 | D8 | D10 | E10 | 腔2进风 |
+| 8 | C7 | E9 | B7 | 腔2排风,PDF文字误写新风,需实物确认 |
+
+角色来源是另一代理对附件 PDF 第4–6页逐线视觉审核:主板 CON154/D1 接风扇板2(腔3/4);CON155/D2 接风扇板1(腔1/2)。**不能按物理通道自然顺序直接赋腔1/2/3/4。** 9..20 具有硬件连接,但所给线束PDF未赋本机腔体用途。
+
+双风机组的FG1/FG2到FMx-1/2的对应也需注意:PDF绘制的红色导线将输出pin5/FG1接FMx-2,pin6/FG2接FMx-1,某些线号文字又反向。此处存在图纸内部冲突,不应把后缀1/2当作已获实物证实的风机编号。
+
+## PWM 极性与上拉
+
+20路一致为 FPGA输出 → 0Ω映射电阻 → FAN_PWMn → 22Ω → 2N7002 gate;source=GND,drain=CON_PWMn;drain经10k拉至+5V。gate有10k下拉。连接器PWM电压相对FPGA gate逻辑反相,软件/RTL只能补偿一次。
+
+以第1路为例:U3.C4/BANK0_IO1_2 → R1768(0Ω) → FAN_PWM1 → R1486(22Ω) → Q10691.1;Q10691.2=GND,Q10691.3=CON_PWM1,R894(10k)上拉+5V。R1487(4.7k)是从CON_PWM1到地的预留支路,但物料明确 `/NC`,默认不装,不能错误计入分压。FG信号在连接器端有4.7k拉+3V3,经22Ω和0Ω回FPGA,逻辑链路不反相。
+
+## UART链路
+
+| 功能 | FPGA pin | 逻辑网 | U22逻辑pin | U22线路pin | 外部接口 |
+|---|---|---|---|---|---|
+| UART1 TX | U3.L10 经R818 | UART1_TX | 11 T1IN | 14 T1OUT | CON77.1,另经R1898→RJ45 CON170.3 |
+| UART1 RX | U3.M9 经R819 | UART1_RX | 12 R1OUT | 13 R1IN | CON77.2,另经R1899→RJ45 CON170.6 |
+| UART3 TX | U3.T14 经R1225 | UART3_TX | 10 T2IN | 7 T2OUT | CON134.1 |
+| UART3 RX | U3.R13 经R1226 | UART3_RX | 9 R2OUT | 8 R2IN | CON134.2 |
+
+U22供电pin16=+3.3V,pin15=GND。设计物料 TRSF3232E 由TI标为1Mbps,可支持921600的器件等级;旧SP3232E符号名不能用来断言该板设计只支持低速。实物是否按BOM装配另行检查。
+
+MCU独立串口:U27.12/13 的 MCU_UART1_TX/RX,经R1029/1030→CON103.1/2;另经R1921/1920→U33(CP2102) RXD25/TXD26。MCU_UART0_TX/RX=U27.30/31,经R1892/1893去LCD接口CON168.2/3。这里的同名连接器要区分主板/子板,禁止跨板混用CON168或CON170。
+
+## 数据和复现
+
+- `netdump.cpp`:导出record key/type/offset、实际/模板pins、nets、components、文本字段。
+- `brd_parser/`:上述固定commit的上游解析器,仅加解析结束offset日志。
+- `compat/`:仅替代Boost文件映射,不改变BRD格式逻辑。
+- `extract_bom.py`:基于导出key-offset和17.4记录结构读取完整物料属性,识别`/NC`。
+- `main_bom.csv/json`、`main_pins.csv`、`fan_bom.csv/json`、`fan_pins.csv`:全实际器件/焊盘。
+- `main_u3_neighbors.json`:U3各pin网络及通过已装配串阻的一跳邻居;排除NC电阻。用于与约束文件逐项比较。
+- `fan_channels.csv/json`:20路风扇硬件通道及8路PDF用途。
+- `main_parse.log`、`fan_parse.log`:精确EOF和对象计数。
+
+## 外部一手资料(根代理引用前自行open)
+
+- KiCad官方Allegro importer格式/限制:https://dev-docs.kicad.org/en/import-formats/allegro/ (检索ref turn1view0)。
+- 解析库作者源码:https://github.com/bernayigit/brd_parser (fork, MIT;使用本地commit)。
+- TI TRSF3232E产品页,1Mbps:https://www.ti.com/product/TRSF3232E (ref turn2search0)。
+- MaxLinear SP3232E产品页,满载保证120kbps,https://www.maxlinear.com/product/interface/serial-transceivers/rs-232/sp3232e (ref turn2search1)。此资料只为解释符号名差别,不是本板实际器件规格。
+- MaxLinear典型235kbps数据手册:https://www.maxlinear.com/ds/sp3222e_sp3232e.pdf (ref turn2search24)。

+ 155 - 0
evidence/hardware/20261023/schematic_review.md

@@ -0,0 +1,155 @@
+# 温控板 V2.0 电气图审阅记录(临时分析)
+
+来源:`upload/温控板测试V2.0电气图(1).pdf`。全部 13 个 PDF 页面均已渲染并查看;1–11 页有文字层,12–13 页是无文字的三维器件示意图。图框页总数写 11,与 PDF 总页数 13 不同。下文页码均指 PDF 页码,1–11 与图框一致。
+
+## 最影响固件映射的发现
+
+1. **主板接口编号与腔室顺序不是递增对应。** p4 主板 CON154(风扇控制接口1)的 D1/1-14 线束跨页到 p6 U4 风扇板2,服务腔室3、4;CON155(接口2)的 D2/1-14 到 p5 U3 风扇板1,服务腔室1、2。
+2. p5 的 FM4 和 p6 的 FM8 都写成“新风风扇”;它们在布局/接线上对应各板第二个单风机,与腔1/3明确写出的“排风”对应物一致。这是高度可疑的复制标签错误,不能将推断冒充实测结论。
+3. **加热器也有跨连接器和跳号接线。** 腔4第1路接在 CON149 的最后一对 pin19/20;其余五路使用 CON150 的 pin1/2、5/6、9/10、13/14、17/18。
+4. p4 第一加热器连接器写 CON47,p10 PCB 丝印写 CON147。需用 BRD/netlist 决定正式工程名。
+5. 本 PDF 是系统接线图及布局图,不是完整板级电路原理图。没有 FPGA/MCU 具体型号、振荡器频率、UART收发器芯片型号、驱动/反馈晶体管和电阻网络;无法由此确定 PWM/FG 的逻辑反相关系和 UART 波特率上限。
+
+## 风扇接线:确认层与待交叉验证层
+
+### 主板和风扇板的共同 2×7 控制接口
+
+| pin | 标签 | pin | 标签 |
+|---|---|---|---|
+|1|FG1_1|2|FG2_1|
+|3|FG1_2|4|FG2_2|
+|5|PWM1|6|PWM2|
+|7|FG3_1|8|FG4_1|
+|9|FG3_2|10|FG4_2|
+|11|PWM3|12|PWM4|
+|13|GND|14|GND|
+
+p4 主板 CON154–CON158 都使用以上标签;p5/p6 风扇板控制接口 CON168 使用同样标签。图纸仅以 D1/D2 的 1–14 整束跨页线表示线束,没有画出线束内部交叉,按同号直连理解,但实际排线需检查。
+
+### 物理风扇输出(以下外部接线由 p5/p6 直接确认)
+
+|腔室|用途文字|主板线束/连接器|风扇板|输出连接器|风机标号|物理风机数|
+|---|---|---|---|---|---|---|
+|1|新风(进风)|D2 / CON155|U3 板1|CON8|FM1-1、FM1-2|2,共用PWM、两个FG|
+|1|排风(出风)|D2 / CON155|U3 板1|CON169|FM2|1|
+|2|新风(进风)|D2 / CON155|U3 板1|CON170|FM3-1、FM3-2|2,共用PWM、两个FG|
+|2|图中文字仍为“新风”,推定排风待确认|D2 / CON155|U3 板1|CON171|FM4|1|
+|3|新风(进风)|D1 / CON154|U4 板2|CON8|FM5-1、FM5-2|2,共用PWM、两个FG|
+|3|排风(出风)|D1 / CON154|U4 板2|CON169|FM6|1|
+|4|新风(进风)|D1 / CON154|U4 板2|CON170|FM7-1、FM7-2|2,共用PWM、两个FG|
+|4|图中文字仍为“新风”,推定排风待确认|D1 / CON154|U4 板2|CON171|FM8|1|
+
+**不能仅靠本 PDF 证明** CON168 PWM1/2/3/4 在风扇板内部依次通到 CON8/169/170/171;图中省略了内部连接。并行 `board_review` 代理已从 BRD 完整解析确认此内部顺序,并确认主板 CON154 使用FPGA PWM1–4、CON155使用PWM5–8。由此得到物理PWM1–8的腔室顺序为腔3进/出、腔4进/出、腔1进/出、腔2进/出(腔2/4“出”角色仍待FM4/FM8实物确认)。PWM极性、FG反相、开漏/推挽、脉冲每转数在PDF未给出。
+
+### 风扇输出连接器针脚(四个输出连接器相同)
+
+|输出pin|信号|双风机组实际红线(FM1/3/5/7)|单风机组|
+|---|---|---|---|
+|1|POWER|风机-2 pin1,橙线|风机pin1,红线|
+|2|POWER|风机-1 pin1,红线|未接|
+|3|GND1|风机-2 pin2,棕线|风机pin2,黑线|
+|4|GND2|风机-1 pin2,黑线|未接|
+|5|FG1|风机-2 pin3,白线|风机pin3,黄线|
+|6|FG2|风机-1 pin3,黄线|未接|
+|7|PWM|风机-1 pin4蓝线、风机-2 pin4绿线并在一起|风机pin4,蓝线|
+|8|GND3|图中未外接|图中未外接|
+
+**重要:双风机组的-1/-2后缀与FG1/FG2相反。** 上表按高倍率裁图实际红线逐条追踪,不是按线号猜测;线号401/403等给人的顺序直觉与图线也不一致。应把该矛盾带到实物核验,不能直接声称FG1就是第一颗物理风机。见本目录p5-output.png、p5-con170.png、p6-output.png、p6-con170.png。
+
+单风机 FM2/4/6/8 标 7.5W/12VDC。新风双风机未标型号/功率。板输入 CON172 标 pin1–4 为0V、pin5–8 为12V;CON2同标签但图中未接电源。
+
+### 风扇图纸其他复制错误
+
+- p6 FM5第二路 POWER 线标504,与 PWM 的504重复,按 p5 对应模式应为505,但不可据推断直接改实际线号。
+- p6 FM8 四线仍标431–434,沿用 p5 FM4 的线号。
+
+## 温度、加热和步进映射
+
+### 温度(p4)
+
+CON53=腔1进风温度1;CON55=腔1出风温度2;CON56=腔2进风;CON57=腔2出风;CON79=腔3进风;CON80=腔3出风;CON81=腔4进风;CON82=腔4出风。
+
+所有连接器 pin1=DP、pin3=DN,pin2无信号标签/未接。外接器件 V1–V8 的 x3→DP,x1→DN,x2图中未接;器件型号未给出,因此不能单由此认定是某款温度传感器或二极管接法。
+
+### 加热(p4+p8)
+
+每对奇数 pin 为 PTC 正端、紧邻偶数 pin 为该路负端(图纸标GNDn)。
+
+|腔室和路号|主板连接器及正/负针脚|
+|---|---|
+|腔1 路1–6|CON47(布局图作CON147):1/2、3/4、5/6、7/8、9/10、11/12|
+|腔2 路1–6|CON148:1/2、3/4、5/6、7/8、9/10、11/12|
+|腔3 路1–6|CON149:1/2、3/4、5/6、7/8、9/10、11/12|
+|腔4 路1|CON149:19/20|
+|腔4 路2–6|CON150:1/2、5/6、9/10、13/14、17/18|
+
+p8 各腔六个贴片加热器均标30W/24V,共24路。腔1第7个辅助加热110W/24V,经SSR1;腔2辅助加热220W/24V,经SSR2;腔4辅助加热110W/24V,经SSR4;未画腔3辅助加热。SSR1/4标10A,SSR2标40A;输入3–32VDC,输出5–220VDC。固件不能用统一4腔×7路连续物理输出假设。
+
+p4 CON165 pin1(IO1)→SSR1,pin2(IO2)→SSR2,pin4(IO4)→SSR4,pin5(IO5)←EPB1。pin3(IO3)未画外接线。SSR负输入公共 GND1 来自主板 CON164 pin3。
+
+### 步进(p3+p4)
+
+实际绘出的驱动板为 CNC SHIELD V3.00 图形,12–36V电机电源;有四个轴槽。CON159 pin1/2→X-STEP/X-DIR→1#前部风门M1;pin3/4→Y→1#后部M2;pin5/6→Z→1#顶部M3;pin7/8→A→2#前部M4;pin9→EN;pin10标签NC但外接驱动板GND;pin13→GND6;pin14→5V/P6。主板另有 CON160–163 同格式步进接口但图中未接负载。
+
+微步表 p3 中“有/有/无”写1/6步,明显可疑,需实际驱动器型号验证;不能直接假定A4988或者按此定义固件微步换算。图纸没有给STEP最小宽度、DIR建立保持、ENA有效极性。
+
+## UART、调试和电源(p4+p9)
+
+### 外置MCU到FPGA的实际图示链路
+
+|MCU核心板 P1|线名|温控主板CON12|
+|---|---|---|
+|pin25 PB10|TX1|pin4 IO2|
+|pin26 PB11|RX1|pin3 IO1|
+|pin19 GND|GND3|pin2 GND|
+
+CON12 pin1标3.3V,图中未接至核心板。p9 MCU核心板供电来自主板 CON164 pin1 5V→核心板P2 pin2,以及 CON164 pin2 GND→核心板P2 pin1;PB10/PB11的电平值本图未具体定义。该TTL类连接不是CON77的RS232连接,不应因TX1/RX1重名误判为同一电气网络。
+
+### 主板其它串口/调试连接器
+
+- CON77 RS232连接器1:pin1 TX1、pin2 RX1、pin3/4 GND。
+- CON134 RS232连接器2:pin1 TX2、pin2 RX2、pin3/4 GND。
+- CON103 MCU串口:pin1 TX1、pin2 RX1、pin3 3.3V、pin4 GND。
+- CON168 MCU串口屏:pin1 GND、pin2 RX、pin3 TX、pin4 5V。
+- CON70 RS485:pin1 RS485+、pin2 RS485-、pin3/4 GND。
+- J3 FPGA JTAG:1 TCK、2 GND、3 TDO、4 3.3V、5 TMS、6 NC、7 NC、8 NC、9 TDI、10 GND。
+- J25 MCU DEBUG:1 GND、2 SWCK、3 SWD、4 3.3V、5 RESET。
+- J19标“FPGA预留SW”:1 3.3V、2 GND、3 SWD、4 SWCK、5 GND;不能仅凭此认定FPGA真正支持SWD。
+- p9 外置 MCU SWD:1 SWDIO、2 SWCLK、3 GND、4 VCC。
+- CON54 BMC:1 SCL、2 SDA、3 PRSNT、4 GND。
+
+### 电源来源及图纸错误
+
+p2 TV1=PSR-2000-24,图标输出24V/80A;TV2=NSP-500-12,图标输出12V/42A。主板24V;风扇板12V;外置MCU和步进逻辑5V;图纸仅标主板3.3V、5V输出,没有稳压芯片型号或时钟数值。
+
+p4 CON173 的pin1–6都标24V、7–12都标GND,但红线将pin4–6接N24、pin7–9接P24,和标签冲突。CON174红线与pin标签也冲突。不能按此图重新接电源,需BRD/netlist或实物确认;这一发现不是要求增加固件安全逻辑,而是不能把错误图纸当硬件真值。
+
+## 逐页覆盖
+
+|PDF页|内容|核对结果/限制|
+|---|---|---|
+|1|封面|V2.0,日期2026-09-08,图号100-21-D0002-00|
+|2|电源分配|24V/12V两路及主板/风扇/步进/传感器分配;有重复“风扇控制板电源1”文字|
+|3|四轴步进/CNC shield|风门轴映射、使能和微步表;1/6步标签可疑|
+|4|温控板外部接线|风扇/温度/加热/SSR/UART/MCU/JTAG完整接口表;存在若干图线与标签冲突|
+|5|风扇板1/U3|腔1/2;D2→CON155;FM4新风标签可疑|
+|6|风扇板2/U4|腔3/4;D1→CON154;FM8标签、线号复制错误|
+|7|信号源|24V限位传感器B1/B2、开合按钮SB1/SB2、开合指示H1/H2、EPB1;未给传感器型号和逻辑极性|
+|8|加热器|24路30W及3路辅助加热;SSR1/2/4关系|
+|9|触摸屏/MCU核心板|4.3寸屏,40P/0.5间距300mm FFC,PB10/PB11 UART、5V供电、USB typeC到IPC|
+|10|主板连接器布局|确认连接器物理丝印位置;CON147与p4 CON47不一致;芯片仅位号|
+|11|风扇板布局/钻孔表|确认CON8/169/170/171输出,CON168控制,CON172/2电源位置;无逻辑原理图|
+|12|三维器件图|单个无文字壳体/插脚器件示意,无可核实型号/电气参数|
+|13|三维器件图|两个无文字器件/底座示意,无可核实型号/电气参数|
+
+## 还需要从源码/BRD/实物提取的关键真值
+
+- FPGA实际型号、封装、PLL/晶振频率、串口时钟约束及可用LUT/Slice资源上限。
+- CON154/155 到FPGA端口/管脚映射;CON168到输出CON8/169/170/171的内部网表、PWM驱动反相、FG输入反相/电压。
+- RS232收发器完整料号及厂家数据手册:速率保证值与负载条件;实际USB转串口桥芯片、线缆和外接板。
+- 温度传感器和模拟前端完整料号及协议/时序。
+- 实际步进驱动模块完整料号,确认微步表、ENA极性、STEP/DIR时序。
+- 6400 2.0 实装风扇风向和FM4/FM8物理用途;旋转速度脉冲每转数。
+- 附件未包含MRDIMM1.2板级图,不能将6400 2.0电气图的网表直接用于MRDIMM1.2。
+
+本目录PNG和提取文字均为可重建的临时分析材料。未改动任何附件或远程工程。

+ 41 - 0
evidence/hardware/20261023/viewer-native-comparison.json

@@ -0,0 +1,41 @@
+{
+  "method": "Run original parse_allegro_brd only. The optional jsonschema import and package initialization were omitted in an isolated harness because jsonschema is unavailable; no schema validation is claimed. Compare ref/pin/net with independent native record parser CSV.",
+  "main": {
+    "viewer_footprints": 1457,
+    "viewer_pads": 3820,
+    "native_ref_pin_net_unique": 3819,
+    "viewer_ref_pin_net_unique": 3819,
+    "missing_count": 0,
+    "extra_count": 0,
+    "missing": [],
+    "extra": [],
+    "meta_keys": [
+      "comp_pins",
+      "net_to_pins",
+      "silk_front_segs",
+      "silk_back_segs",
+      "cline_front_segs",
+      "cline_back_segs",
+      "unassigned_holes"
+    ]
+  },
+  "fan": {
+    "viewer_footprints": 33,
+    "viewer_pads": 118,
+    "native_ref_pin_net_unique": 116,
+    "viewer_ref_pin_net_unique": 116,
+    "missing_count": 0,
+    "extra_count": 0,
+    "missing": [],
+    "extra": [],
+    "meta_keys": [
+      "comp_pins",
+      "net_to_pins",
+      "silk_front_segs",
+      "silk_back_segs",
+      "cline_front_segs",
+      "cline_back_segs",
+      "unassigned_holes"
+    ]
+  }
+}

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/6400/channel-map.json


+ 1 - 1
generated/6400/contract-sha256.txt

@@ -1 +1 @@
-2943f675d18cf1a97c0a72da87d455c5171675cbd75a3912157d0007f9c6b4ef
+9a6b6cc216c290dab7f6348f0c642f5da08065db8746182e9b07c75411b72f0a

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/6400/fan-control-parameters.json


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/6400/golden-vectors.json


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/6400/host-contract.json


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/6400/manual-uart-contract.json


+ 1 - 1
generated/6400/prod2u_6400_v1_params.vh

@@ -1,6 +1,6 @@
 `ifndef PROD2U_6400_V1_PARAMS_VH
 `define PROD2U_6400_V1_PARAMS_VH
-// Generated from raw manual/wire/snapshot/fan/channel-map contracts; SHA256 2943f675d18cf1a97c0a72da87d455c5171675cbd75a3912157d0007f9c6b4ef
+// Generated from raw manual/wire/snapshot/fan/channel-map contracts; SHA256 9a6b6cc216c290dab7f6348f0c642f5da08065db8746182e9b07c75411b72f0a
 `define FB_CLOCK_HZ 25000000
 `define FB_PTC_COUNT 24
 `define FB_FRONT_FAN_COUNT 4

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/6400/snapshot-layout.json


+ 1 - 1
generated/mrdimm/contract-sha256.txt

@@ -1 +1 @@
-3e9418e98f94da70dcbd548ee413fa03efc04199fbcf993bf04e744d30bcc0e5
+f0dddb226c396e49a2ee2c17630a94fb8ffce62dc85f62d4c87e4d4bb8e476b6

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/mrdimm/golden-vectors.json


+ 4 - 4
generated/mrdimm/prod2u_mrdimm_params.vh

@@ -1,9 +1,9 @@
 `ifndef PROD2U_MRDIMM_PARAMS_VH
 `define PROD2U_MRDIMM_PARAMS_VH
-// Generated from raw wire/status/project contracts; SHA256 3e9418e98f94da70dcbd548ee413fa03efc04199fbcf993bf04e744d30bcc0e5
+// Generated from raw wire/status/project contracts; SHA256 f0dddb226c396e49a2ee2c17630a94fb8ffce62dc85f62d4c87e4d4bb8e476b6
 `define MR_CLOCK_HZ 25000000
-`define MR_HOST_BAUD 115200
-`define MR_HOST_CLKS_PER_BIT 217
+`define MR_HOST_BAUD 921600
+`define MR_HOST_CLKS_PER_BIT 27
 `define MR_BMC_BAUD 115200
 `define MR_BMC_CLKS_PER_BIT 217
 `define MR_FRAME_LENGTH_WIDTH 8
@@ -23,7 +23,7 @@
 `define MR_GET_DATA_BYTES 63
 `define MR_MOTOR_DONE_BYTES 4
 `define MR_AXIS_COUNT 12
-`define MR_SLOTS_PER_AXIS 32
+`define MR_SLOTS_PER_AXIS 1
 `define MR_SLOT_BYTES 5
 `define MR_AXIS_SLOT_BASE 8
 `define MR_FAN_COUNT 4

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
generated/mrdimm/snapshot-layout.json


+ 16 - 2
products/6400-v2/project.json

@@ -8,7 +8,7 @@
   "source_closure": "products/6400-v2/source-closure.json",
   "board_id": "fcb_fpga_mcu_v2_0_20260914",
   "board_evidence": "docs/evidence/6400-v2-electrical-alignment.md",
-  "board_evidence_sha256": "a7ae71e67d91bde03020b3207bd1d6cc39d6f4637b4ea9110892ab94d26ecb09",
+  "board_evidence_sha256": "e1cd99354130f3699117f64161ca028df02f1836745ceeff4e219d7cb9242b94",
   "hardware_files": [
     {
       "role": "brd",
@@ -72,5 +72,19 @@
     "SSR2_EN(F1)",
     "SSR4_EN(G4)"
   ],
-  "pll": false
+  "pll": false,
+  "host_baud": 921600,
+  "ct_i2c": {
+    "scl_ball": "B14",
+    "sda_ball": "A15",
+    "unused_hiz_balls": [
+      "M8",
+      "N9"
+    ],
+    "ct_instances": [
+      "U6"
+    ],
+    "source": "native BRD populated R1888/R1889; R744/R745/R800/R801 are NC",
+    "hardware_measurement": "NOT_RUN"
+  }
 }

+ 1 - 0
products/6400-v2/source-closure.json

@@ -3,6 +3,7 @@
   "project_id": "6400-v2",
   "top_module": "prod2u_6400_v2_top",
   "sources": [
+    "src/common/prod2u_build_config.vh",
     "src/common/uart_rx_byte.v",
     "src/common/uart_tx_byte.v",
     "src/common/uart_rx_byte_fractional.v",

+ 2 - 1
products/mrdimm-chamber/source-closure.json

@@ -20,6 +20,7 @@
   "project_id": "mrdimm-chamber",
   "top_module": "prod2u_mrdimm_rs232_only_top",
   "sources": [
+    "src/common/prod2u_build_config.vh",
     "src/rtl/prod2u_por.v",
     "src/common/uart_rx_byte.v",
     "src/common/uart_tx_byte.v",
@@ -44,4 +45,4 @@
     "src/top/prod2u_mrdimm_final_top.v",
     "src/top/prod2u_mrdimm_rs232_only_top.v"
   ]
-}
+}

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 437 - 58
projects/mrdimm-chamber/project.json


+ 9 - 6
projects/mrdimm-chamber/requirements.zh-CN.md

@@ -4,7 +4,9 @@
 `project.json`、`contracts/mrdimm-wire.yaml` 和 `contracts/mrdimm-status.yaml`。
 `projects/registry.json` 只负责入口映射,不是另一份行为合同。
 
-- EF2L45BG256B,25 MHz 单时钟域;主机 UART 支持 CON78 RS232(M10/N11)与 CON146 Host TTL(Pin 1 TX = H6 / KEYLED_V3,Pin 3 RX = N7 / KEY3_CON,Pin 2/4 = GND)。
+- EF2L45BG256B,25 MHz 单时钟域;主机 UART 支持 CON78 RS232(M10/N11)与 CON140 Host TTL(Pin 1 TX = T11、Pin 2 RX = P13,3.3V;另接 CON77.3/4 或已确认板级 GND;CON140.3/4 是 GPIO,不能接地)。
+- 主机默认 921600 8N1;固定编译备选为 460800、230400、115200。串口适配器与固件必须选择同一档,没有自动切换。BMC 保持 115200。
+- 固件在无上位机触发时每5秒自动输出 CRC 正确的 BEACON(0x51、零载荷),不喂看门狗。HEARTBEAT(0x03、0或4字节)用于快速链路检查。
 - 唯一帧格式 `A5 5A | TYPE:u8 | LENGTH:u8 | PAYLOAD | CRC_L | CRC_H`,
   CRC-16/CCITT-FALSE 覆盖 TYPE+LENGTH+PAYLOAD;无版本、序号、Tag 或自动识别。
 - SET_ALL `01`(68字节):FAN4、逻辑 PTC4、十二个 5 字节轴槽(轴 i 在 8+5*i:
@@ -12,16 +14,17 @@
   02 PUSH_UP、FF STOP_CLEAR;PUSH 步数 1..65535、半周期非零,速度 = 500000/半周期。
 - GET_ALL `02`:GET_ACK `82` 后紧跟 GET_DATA `42`(63字节)。SET_ACK `81`、NACK `C0`、
   MOTOR_DONE `50`(axis、reason、steps_done:u16le)。NACK reason 01..05。
-- FAN4、逻辑 PTC4(复制到物理 PTC8),500 Hz;复位、SET 前和看门狗到期为 FAN20/PTC0。
-- 12 个逻辑轴、每轴 32 个槽(含正在执行的段与等待发送 DONE 的段);只支持有限段,
+- FAN4、逻辑 PTC4(每腔复制到6路,共物理 PTC24),500 Hz;复位、SET 前和看门狗到期为 FAN20/PTC0。
+- 12 个逻辑轴、每轴仅一个执行段,新 PUSH 直接替换该轴旧任务;若要每段完整执行,MCU 等待该轴 MOTOR_DONE 后再下发。不同轴可同时使能,不要求同步起动。只支持有限段,
   没有上电自动寻限位,没有共同 START、位置/计数设置、事件环或 Tag。
-  限位每轴一对;限位、STOP、看门狗与真实 STEP 边沿计数规则以原始合同为准。
+  限位仅支持 PCB 实际绑定的输入;限位、STOP、看门狗与真实 STEP 边沿计数规则以原始合同为准。
 - GET_DATA 63字节:0..3 FAN、4..7 逻辑 PTC、8..31 BMC24、32..58 CT27、
   59..60 lower-limit mask、61..62 upper-limit mask(低12位 = Axis0..11,高4位为0)。
+  CT固定使用原装配可达的B14/A15(通过R1123/R1124与MCU I2C0共网);MCU对应GPIO必须高阻,由FPGA作为唯一主机。
   BMC/CT 只提供遥测,不覆盖本产品人工输出或电机任务;温度无效为 FF。
 
-生产封装为 `src/top/prod2u_mrdimm_final_top.v`(另保留 `src/top/prod2u_mrdimm_rs232_only_top.v` 兼容封装),约束为
-`constraints/prod2u_mrdimm.adc` 和 `.sdc`。CON78 RS232(M10/N11)、CON146 Host TTL(H6/N7)、CT 总线、输出和 12 轴电机/限位按 V1.2 证据绑定;Host I2C 接口在本产品不存在。
+生产物理封装为 `src/top/prod2u_mrdimm_rs232_only_top.v`,内部核心为 `src/top/prod2u_mrdimm_final_top.v`,约束为
+`constraints/prod2u_mrdimm.adc` 和 `.sdc`。CON78 RS232(M10/N11)、CON140 Host TTL(T11/P13)、CT 总线、输出和 12 轴电机/限位按 V1.2 证据绑定;BMC CON77(L10/M9)也在物理顶层导出。Host I2C 接口在本产品不存在。CON146 为12V LED/按键电路,不能作为TTL串口。
 
 Linux 精确源码快照中的公开入口:
 

+ 47 - 26
schemas/board_viewer_build_info.schema.json

@@ -69,46 +69,67 @@
       ],
       "properties": {
         "ipcd356": {
-          "type": "object",
-          "additionalProperties": false,
-          "required": [
-            "numbered_pads",
-            "matched_pads",
-            "record_types",
-            "tolerance_mm"
-          ],
-          "properties": {
-            "numbered_pads": {
-              "type": "integer",
-              "minimum": 0
-            },
-            "matched_pads": {
-              "type": "integer",
-              "minimum": 0
-            },
-            "record_types": {
+          "oneOf": [
+            {
               "type": "object",
               "additionalProperties": false,
               "required": [
-                "317",
-                "327"
+                "numbered_pads",
+                "matched_pads",
+                "record_types",
+                "tolerance_mm"
               ],
               "properties": {
-                "317": {
+                "numbered_pads": {
                   "type": "integer",
                   "minimum": 0
                 },
-                "327": {
+                "matched_pads": {
                   "type": "integer",
                   "minimum": 0
+                },
+                "record_types": {
+                  "type": "object",
+                  "additionalProperties": false,
+                  "required": [
+                    "317",
+                    "327"
+                  ],
+                  "properties": {
+                    "317": {
+                      "type": "integer",
+                      "minimum": 0
+                    },
+                    "327": {
+                      "type": "integer",
+                      "minimum": 0
+                    }
+                  }
+                },
+                "tolerance_mm": {
+                  "type": "number",
+                  "exclusiveMinimum": 0
                 }
               }
             },
-            "tolerance_mm": {
-              "type": "number",
-              "exclusiveMinimum": 0
+            {
+              "type": "object",
+              "additionalProperties": false,
+              "required": [
+                "status",
+                "reason"
+              ],
+              "properties": {
+                "status": {
+                  "const": "not_run"
+                },
+                "reason": {
+                  "type": "string",
+                  "minLength": 1
+                }
+              }
             }
-          }
+          ]
         },
         "side_views": {
           "type": "object",

+ 41 - 13
src/acquisition/bmc_ascii_poll.v

@@ -63,6 +63,8 @@ module bmc_ascii_poll #(
     localparam [2:0] ST_DRAIN  = 3'd2;
     localparam [2:0] ST_RECV   = 3'd3;
     localparam [2:0] ST_COMMIT = 3'd4;
+    localparam [2:0] ST_COMMIT_PRIME = 3'd5;
+    localparam [2:0] ST_COMMIT_READ = 3'd6;
 
     localparam [8*42-1:0] CMD_BASE = "ipmitool raw 0x36 0x6c 0xdf 0xdd 0x00 0x03";
 
@@ -80,10 +82,22 @@ module bmc_ascii_poll #(
     reg [ROUND_BITS-1:0] round_counter;
     reg [DRAIN_BITS-1:0] drain_counter;
 
-    // Buffer for 24 channels (temperature in integer Celsius)
-    reg [7:0] round_bytes [0:23];
+    // One small block RAM replaces the resettable 24-byte FF array. The
+    // completed-pair count defines the valid prefix, so RAM needs no reset.
+    reg       round_we;
+    reg [4:0] round_waddr;
+    reg [7:0] round_wdata;
+    wire [7:0] round_rdata;
     reg [4:0] commit_index;
 
+    ef2_bram_dp #(.DATA_WIDTH(8), .ADDR_WIDTH(5), .DATA_DEPTH(24)) u_round_ram (
+        .clk(clk),
+        .a_en(round_we), .a_we(round_we), .a_addr(round_waddr),
+        .a_wdata(round_wdata), .a_rdata(),
+        .b_en(1'b1), .b_we(1'b0), .b_addr(commit_index),
+        .b_wdata(8'd0), .b_rdata(round_rdata)
+    );
+
     // Word accumulator & pair decoder
     reg [3:0] cur_word_len;
     reg       cur_word_hex;
@@ -92,8 +106,6 @@ module bmc_ascii_poll #(
     reg       pair_is_second;
     reg [7:0] temp_first_byte;
 
-    integer i;
-
     // Character indexing for command + fixed standard EOL
     function [7:0] get_cmd_byte;
         input [5:0] idx;
@@ -143,13 +155,15 @@ module bmc_ascii_poll #(
                     end else begin
                         pair_is_second <= 1'b0;
                         if (pair_index < 6'd24) begin
+                            round_we <= 1'b1;
+                            round_waddr <= pair_index[4:0];
                             if (temp_first_byte == 8'hff) begin
-                                round_bytes[pair_index] <= 8'hff; // empty DIMM slot
+                                round_wdata <= 8'hff; // empty DIMM slot
                             end else if (temp_first_byte <= 8'd125) begin
-                                round_bytes[pair_index] <= temp_first_byte; // valid temperature reading
+                                round_wdata <= temp_first_byte; // valid temperature reading
                                 valid_count <= valid_count + 1'b1;
                             end else begin
-                                round_bytes[pair_index] <= 8'hff; // abnormal reading filtered
+                                round_wdata <= 8'hff; // abnormal reading filtered
                             end
                             pair_index <= pair_index + 1'b1;
                         end
@@ -194,8 +208,11 @@ module bmc_ascii_poll #(
             pair_is_second  <= 1'b0;
             temp_first_byte <= 8'hff;
             commit_index    <= 5'd0;
-            for (i = 0; i < 24; i = i + 1) round_bytes[i] <= 8'hff;
+            round_we        <= 1'b0;
+            round_waddr     <= 5'd0;
+            round_wdata     <= 8'hff;
         end else begin
+            round_we   <= 1'b0;
             wr_en      <= 1'b0;
             poll_start <= 1'b0;
             poll_done  <= 1'b0;
@@ -266,29 +283,39 @@ module bmc_ascii_poll #(
                         end else begin
                             pair_is_second <= 1'b0;
                             if (pair_index < 6'd24) begin
+                                round_we <= 1'b1;
+                                round_waddr <= pair_index[4:0];
                                 if (temp_first_byte == 8'hff) begin
-                                    round_bytes[pair_index] <= 8'hff;
+                                    round_wdata <= 8'hff;
                                 end else if (temp_first_byte <= 8'd125) begin
-                                    round_bytes[pair_index] <= temp_first_byte;
+                                    round_wdata <= temp_first_byte;
                                     valid_count <= valid_count + 1'b1;
                                 end else begin
-                                    round_bytes[pair_index] <= 8'hff;
+                                    round_wdata <= 8'hff;
                                 end
                                 pair_index <= pair_index + 1'b1;
                             end
                         end
                     end
                     commit_index <= 5'd0;
-                    state        <= ST_COMMIT;
+                    state        <= ST_COMMIT_PRIME;
                 end else begin
                     round_counter <= round_counter + 1'b1;
                 end
             end
 
+            // The timeout may have queued the last pair write. Let that
+            // registered write reach RAM, then wait for its synchronous read.
+            ST_COMMIT_PRIME: state <= ST_COMMIT_READ;
+            ST_COMMIT_READ: state <= ST_COMMIT;
+
             ST_COMMIT: begin
                 wr_en   <= 1'b1;
                 wr_addr <= {1'b0, commit_index};
-                wr_data <= round_bytes[commit_index];
+                // Only completed pairs from this poll are current; an absent
+                // or short reply must not republish last round's tail.
+                wr_data <= ({1'b0, commit_index} < pair_index) ?
+                    round_rdata : 8'hff;
                 if (commit_index == 5'd23) begin
                     commit_index <= 5'd0;
                     poll_count   <= poll_count + 1'b1;
@@ -298,6 +325,7 @@ module bmc_ascii_poll #(
                     state        <= ST_WAIT;
                 end else begin
                     commit_index <= commit_index + 1'b1;
+                    state        <= ST_COMMIT_READ;
                 end
             end
 

+ 6 - 5
src/acquisition/ct7428_scan.v

@@ -63,7 +63,8 @@ module ct7428_scan #(
 
     reg [1:0] state;
     reg [4:0] channel;
-    reg [15:0] gap_counter;
+    localparam integer GAP_COUNTER_BITS = (GAP_CLKS <= 1) ? 1 : $clog2(GAP_CLKS);
+    reg [GAP_COUNTER_BITS-1:0] gap_counter;
 
     reg request_valid;
     reg [6:0] request_device_addr;
@@ -77,7 +78,7 @@ module ct7428_scan #(
     wire [3:0] response_error;
 
     localparam [5:0] TEMP_BASE_ADDR = TEMP_BASE[5:0];
-    localparam [15:0] GAP_LAST = GAP_CLKS[15:0] - 16'd1;
+    localparam [GAP_COUNTER_BITS-1:0] GAP_LAST = GAP_CLKS - 1;
 
     // raw >> 7 with the sign bit kept in the 9-bit candidate so that the
     // negative and >= 255 C checks happen before any truncation.
@@ -133,7 +134,7 @@ module ct7428_scan #(
         if (!rst_n) begin
             state <= ST_GAP;
             channel <= 5'd0;
-            gap_counter <= 16'd0;
+            gap_counter <= {GAP_COUNTER_BITS{1'b0}};
             request_valid <= 1'b0;
             request_device_addr <= DEVICE_49;
             request_register <= 8'd0;
@@ -145,7 +146,7 @@ module ct7428_scan #(
             ST_GAP: begin
                 request_valid <= 1'b0;
                 if (gap_counter >= GAP_LAST) begin
-                    gap_counter <= 16'd0;
+                    gap_counter <= {GAP_COUNTER_BITS{1'b0}};
                     request_device_addr <= channel_device(channel);
                     request_register <= channel_register(channel);
                     request_valid <= 1'b1;
@@ -169,7 +170,7 @@ module ct7428_scan #(
                     end else begin
                         channel <= channel + 1'b1;
                     end
-                    gap_counter <= 16'd0;
+                    gap_counter <= {GAP_COUNTER_BITS{1'b0}};
                     state <= ST_GAP;
                 end
             end

+ 4 - 4
src/actuator/fan_board_output_adapter.v

@@ -2,7 +2,8 @@
 
 // The only logical-to-board fan polarity adapter.
 // Vector order is {rear3..rear0, front3..front0}; bit 0..3 are the four
-// transistor-inverted front outputs, while bit 4..7 are direct rear outputs.
+// front outputs, while bit 4..7 are rear outputs. V1.1 uses 0x0F;
+// V2.0 has one board inversion on every channel and uses 0xFF.
 module fan_board_output_adapter #(
     parameter [7:0] BOARD_INVERT_MASK = 8'h0F
 ) (
@@ -17,9 +18,8 @@ module fan_board_output_adapter #(
 
 `ifdef FORMAL
     always @* begin
-        assert(BOARD_INVERT_MASK == 8'h0F);
-        assert(front_fan_ball == ~logical_fan_on[3:0]);
-        assert(rear_fan_ball == logical_fan_on[7:4]);
+        assert(front_fan_ball == (logical_fan_on[3:0] ^ BOARD_INVERT_MASK[3:0]));
+        assert(rear_fan_ball == (logical_fan_on[7:4] ^ BOARD_INVERT_MASK[7:4]));
     end
 `endif
 endmodule

+ 11 - 5
src/actuator/mrdimm_actuator_core.v

@@ -110,6 +110,12 @@ module mrdimm_actuator_core #(
     assign done_steps_10 = gen_steps_done[10];
     assign done_steps_11 = gen_steps_done[11];
 
+    // A single input subtractor is shared by all twelve axes. Each axis
+    // stores half_period-1 and uses a zero-detect downcounter; no per-axis
+    // timer+1 magnitude comparison is required.
+    wire [15:0] enqueue_period_reload = (enqueue_half_period_us == 16'd0) ?
+        16'd0 : enqueue_half_period_us - 16'd1;
+
     genvar i;
     generate
         for (i = 0; i < 12; i = i + 1) begin : g_axis
@@ -177,8 +183,8 @@ module mrdimm_actuator_core #(
                             r_active      <= 1'b1;
                             r_dir         <= enqueue_dir;
                             r_rem_steps   <= enqueue_steps;
-                            r_half_period <= (enqueue_half_period_us == 16'd0) ? 16'd1 : enqueue_half_period_us;
-                            r_timer       <= 16'd0;
+                            r_half_period <= enqueue_period_reload;
+                            r_timer       <= enqueue_period_reload;
                             r_setup_timer <= 4'd10; // 10 us DIR setup time
                             r_phase       <= 1'b0;
                             r_step        <= 1'b0;
@@ -206,8 +212,8 @@ module mrdimm_actuator_core #(
                             r_step        <= 1'b0;
                         end else begin
                             // Half period pulse timer
-                            if (r_timer + 16'd1 >= r_half_period) begin
-                                r_timer <= 16'd0;
+                            if (r_timer == 16'd0) begin
+                                r_timer <= r_half_period;
                                 if (!r_phase) begin
                                     // High phase (pulse start)
                                     r_phase      <= 1'b1;
@@ -229,7 +235,7 @@ module mrdimm_actuator_core #(
                                     end
                                 end
                             end else begin
-                                r_timer <= r_timer + 16'd1;
+                                r_timer <= r_timer - 16'd1;
                             end
                         end
                     end

+ 3 - 1
src/common/frame_rx.v

@@ -132,7 +132,9 @@ module frame_rx #(
             gap_counter <= {GAP_BITS{1'b0}};
         end else begin
             payload_wr_en <= 1'b0;
-            if (state != ST_WAIT_A5 && state != ST_WAIT_5A && !receive_byte) begin
+            // A lone A5 also starts the inter-byte timer. Otherwise WAIT_5A
+            // can hold endpoint ownership forever after an interrupted header.
+            if (state != ST_WAIT_A5 && !receive_byte) begin
                 if (INTER_BYTE_TIMEOUT_CYCLES <= 1 || gap_expired) begin
                     state <= ST_WAIT_A5;
                     gap_counter <= {GAP_BITS{1'b0}};

+ 8 - 0
src/common/prod2u_build_config.vh

@@ -0,0 +1,8 @@
+// Build-time choice only: no baud detection or runtime switching logic.
+// Override with -DPROD2U_HOST_BAUD=460800 (also 230400 or 115200).
+`ifndef PROD2U_BUILD_CONFIG_VH
+`define PROD2U_BUILD_CONFIG_VH
+`ifndef PROD2U_HOST_BAUD
+`define PROD2U_HOST_BAUD 921600
+`endif
+`endif

+ 2 - 2
src/control/mrdimm_transaction_core.v

@@ -142,7 +142,7 @@ module mrdimm_transaction_core #(
             nack_reply_we <= 1'b0;
             req_ready <= 1'b0;
 
-            // Autonomous periodic beacon timer (1 Hz by default)
+            // Autonomous periodic beacon timer (5 s at 25 MHz by default)
             if (BEACON_PERIOD != 32'd0) begin
                 if (beacon_cnt >= BEACON_PERIOD - 1) begin
                     beacon_cnt <= 32'd0;
@@ -211,7 +211,7 @@ module mrdimm_transaction_core #(
                             state <= ST_NACK_WRITE;
                         end
                     end else if (beacon_trigger) begin
-                        // Autonomous periodic beacon (1 Hz) - dedicated frame TYPE 0x51, DOES NOT reload watchdog!
+                        // Autonomous periodic beacon (5 s at 25 MHz) - dedicated frame TYPE 0x51, DOES NOT reload watchdog!
                         beacon_cnt <= 32'd0;
                         beacon_trigger <= 1'b0;
                         group_type <= 8'h51;

+ 1 - 1
src/diag/prod2u_mrdimm_uart_diag_115200_top.v

@@ -5,7 +5,7 @@
 // Target: EF2L45BG256B @ 25 MHz
 // Fixed safe outputs:
 //   - PTC 0..23 = 0 (OFF, 0% power)
-//   - motor_en_n = 1 (motor driver disabled), all STEP/DIR low
+//   - motor_en_n = 0 (board NMOS off; connector EN released), all STEP/DIR low
 //   - FAN outputs safe default
 // Fixed periodic burst: 55 AA 00 FF + ASCII banner + legal A5 5A frame
 // =============================================================================

+ 1 - 1
src/diag/prod2u_mrdimm_uart_diag_921600_top.v

@@ -5,7 +5,7 @@
 // Target: EF2L45BG256B @ 25 MHz
 // Fixed safe outputs:
 //   - PTC 0..23 = 0 (OFF, 0% power)
-//   - motor_en_n = 1 (motor driver disabled), all STEP/DIR low
+//   - motor_en_n = 0 (board NMOS off; connector EN released), all STEP/DIR low
 //   - FAN outputs safe default
 // Fixed periodic burst: 55 AA 00 FF + ASCII banner + legal A5 5A frame
 // =============================================================================

+ 12 - 12
src/diag/prod2u_mrdimm_uart_diag_top.v

@@ -8,7 +8,7 @@
 //
 // Safety Guarantees:
 //   1. All 24 physical PTC pins are explicitly driven LOW (0% duty, OFF).
-//   2. All motor STEP lines are LOW, DIR lines LOW, motor_en_n = 1 (DISABLED).
+//   2. All motor STEP lines are LOW, DIR lines LOW, motor_en_n = 0 (board NMOS off; connector EN released).
 //   3. All FAN PWM outputs driven to safe default.
 //   4. Periodic fixed-pattern transmission: 55 / AA / 00 / FF + ASCII banner + Frame.
 //   5. RX byte counter and direct loopback on RS-232 / TTL.
@@ -53,8 +53,8 @@ module prod2u_mrdimm_uart_diag_top #(
     // PTC is active-high: 0 is completely OFF (no heater power).
     assign ptc_pwm_out = 24'b0;
 
-    // Motor driver is disabled (motor_en_n = 1) and no step pulses
-    assign motor_en_n  = 1'b1;
+    // C11 drives an inverting NMOS: 0 releases CON120.2; no STEP pulses.
+    assign motor_en_n  = 1'b0;
     assign x_step      = 1'b0;
     assign x_dir       = 1'b0;
     assign y_step      = 1'b0;
@@ -62,8 +62,8 @@ module prod2u_mrdimm_uart_diag_top #(
     assign z_step      = 1'b0;
     assign z_dir       = 1'b0;
 
-    // Fan PWM: Safe hold (low / 0%)
-    assign fan_pwm_out = 4'b0;
+    // Fan board inverts: FPGA 1 -> connector PWM low (0% request).
+    assign fan_pwm_out = 4'b1111;
 
     // I2C high-Z
     assign temp_scl = 1'bz;
@@ -181,7 +181,7 @@ module prod2u_mrdimm_uart_diag_top #(
     // [24..25]: "\r\n"
     // [26..31]: Standard 6-byte beacon frame: A5 5A 51 00 CRC_L CRC_H
     // CRC-16/CCITT-FALSE over (51 00):
-    // 51 00 -> CRC = 0x5D3E -> CRC_L = 3E, CRC_H = 5D
+    // 51 00 -> CRC = 0x2081 -> CRC_L = 81, CRC_H = 20
     reg [7:0] rom_data [0:31];
     initial begin
         rom_data[0]  = 8'h55; rom_data[1]  = 8'h55; rom_data[2]  = 8'h55; rom_data[3]  = 8'h55;
@@ -189,12 +189,12 @@ module prod2u_mrdimm_uart_diag_top #(
         rom_data[8]  = 8'h00; rom_data[9]  = 8'h00;
         rom_data[10] = 8'hFF; rom_data[11] = 8'hFF;
         rom_data[12] = "D";   rom_data[13] = "I";   rom_data[14] = "A";   rom_data[15] = "G";
-        rom_data[16] = "=";   rom_data[17] = (BAUD_RATE == 921600) ? "9" : "1";
-        rom_data[18] = (BAUD_RATE == 921600) ? "2" : "1";
-        rom_data[19] = (BAUD_RATE == 921600) ? "1" : "5";
-        rom_data[20] = (BAUD_RATE == 921600) ? "6" : "2";
-        rom_data[21] = (BAUD_RATE == 921600) ? "0" : "0";
-        rom_data[22] = (BAUD_RATE == 921600) ? "0" : "0";
+        rom_data[16] = "=";   rom_data[17] = "0" + ((BAUD_RATE / 100000) % 10);
+        rom_data[18] = "0" + ((BAUD_RATE / 10000) % 10);
+        rom_data[19] = "0" + ((BAUD_RATE / 1000) % 10);
+        rom_data[20] = "0" + ((BAUD_RATE / 100) % 10);
+        rom_data[21] = "0" + ((BAUD_RATE / 10) % 10);
+        rom_data[22] = "0" + ((BAUD_RATE / 1) % 10);
         rom_data[23] = "\r";  rom_data[24] = "\n";
         rom_data[25] = 8'hA5; rom_data[26] = 8'h5A; // Preamble
         rom_data[27] = 8'h51; // TYPE: DIAG_BEACON

+ 50 - 47
src/rtl/prod2u_p4_i2c_stop_start_read.v

@@ -57,8 +57,11 @@ module prod2u_p4_i2c_stop_start_read #(
     reg [1:0] sda_sync;
     (* keep = "true", syn_encoding = "sequential", fsm_encoding = "none" *)
     reg [4:0] state;
-    reg [31:0] phase_count;
-    reg [31:0] timeout_count;
+    // Production values 125/25000 require only 7/15 counter bits.
+    localparam integer PHASE_COUNT_BITS = (HALF_PERIOD_CLKS <= 1) ? 1 : $clog2(HALF_PERIOD_CLKS);
+    localparam integer TIMEOUT_COUNT_BITS = (TIMEOUT_CLKS <= 1) ? 1 : $clog2(TIMEOUT_CLKS);
+    reg [PHASE_COUNT_BITS-1:0] phase_count;
+    reg [TIMEOUT_COUNT_BITS-1:0] timeout_count;
     reg [6:0] device_addr;
     reg [7:0] register_addr;
     reg [7:0] tx_byte;
@@ -102,8 +105,8 @@ module prod2u_p4_i2c_stop_start_read #(
     always @(posedge clk or negedge rst_n) begin
         if (!rst_n) begin
             state <= ST_IDLE;
-            phase_count <= 32'd0;
-            timeout_count <= 32'd0;
+            phase_count <= {PHASE_COUNT_BITS{1'b0}};
+            timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
             device_addr <= 7'd0;
             register_addr <= 8'd0;
             tx_byte <= 8'd0;
@@ -125,8 +128,8 @@ module prod2u_p4_i2c_stop_start_read #(
                 response_valid <= 1'b0;
                 response_data <= 16'd0;
                 response_error <= ERROR_NONE;
-                phase_count <= 32'd0;
-                timeout_count <= 32'd0;
+                phase_count <= {PHASE_COUNT_BITS{1'b0}};
+                timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
                 if (state == ST_IDLE) begin
                     state <= ST_IDLE;
                     scl_drive_low <= 1'b0;
@@ -141,8 +144,8 @@ module prod2u_p4_i2c_stop_start_read #(
                          state != ST_ABORT_SCL_HIGH && state != ST_ABORT_RELEASE &&
                          timeout_count >= TIMEOUT_CLKS - 1) begin
                 state <= ST_RESPONSE;
-                phase_count <= 32'd0;
-                timeout_count <= 32'd0;
+                phase_count <= {PHASE_COUNT_BITS{1'b0}};
+                timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
                 response_valid <= 1'b1;
                 response_data <= 16'd0;
                 response_error <= ((state == ST_BUS_WAIT_WRITE) || (state == ST_BUS_WAIT_READ)) ?
@@ -151,15 +154,15 @@ module prod2u_p4_i2c_stop_start_read #(
                 sda_drive_low <= 1'b0;
             end else begin
                 if (state != ST_IDLE && state != ST_RESPONSE) begin
-                    timeout_count <= timeout_count + 32'd1;
+                    timeout_count <= timeout_count + 1'b1;
                 end
 
                 case (state)
                 ST_IDLE: begin
                     scl_drive_low <= 1'b0;
                     sda_drive_low <= 1'b0;
-                    phase_count <= 32'd0;
-                    timeout_count <= 32'd0;
+                    phase_count <= {PHASE_COUNT_BITS{1'b0}};
+                    timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
                     if (request_valid) begin
                         device_addr <= request_device_addr;
                         register_addr <= request_register;
@@ -178,44 +181,44 @@ module prod2u_p4_i2c_stop_start_read #(
                     sda_drive_low <= 1'b0;
                     if (scl_sample && sda_sample) begin
                         if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             sda_drive_low <= 1'b1;
                             tx_stage <= (state == ST_BUS_WAIT_WRITE) ?
                                 TX_WRITE_ADDRESS : TX_READ_ADDRESS;
                             state <= ST_START_HOLD;
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end else begin
-                        phase_count <= 32'd0;
+                        phase_count <= {PHASE_COUNT_BITS{1'b0}};
                     end
                 end
 
                 ST_START_HOLD: begin
                     if (scl_sample) begin
                         if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             tx_byte <= (tx_stage == TX_READ_ADDRESS) ?
                                 {device_addr, 1'b1} : {device_addr, 1'b0};
                             bit_index <= 3'd7;
                             scl_drive_low <= 1'b1;
                             state <= ST_TX_BIT_LOW;
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end
                 end
 
                 ST_TX_BIT_LOW: begin
-                    if (phase_count == 32'd0) begin
+                    if (phase_count == 0) begin
                         sda_drive_low <= ~tx_byte[bit_index];
                     end
                     if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                        phase_count <= 32'd0;
+                        phase_count <= {PHASE_COUNT_BITS{1'b0}};
                         scl_drive_low <= 1'b0;
                         state <= ST_TX_BIT_HIGH;
                     end else begin
-                        phase_count <= phase_count + 32'd1;
+                        phase_count <= phase_count + 1'b1;
                     end
                 end
 
@@ -223,14 +226,14 @@ module prod2u_p4_i2c_stop_start_read #(
                     if (scl_sample) begin
                         if (tx_byte[bit_index] && !sda_sample) begin
                             state <= ST_RESPONSE;
-                            timeout_count <= 32'd0;
+                            timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
                             response_valid <= 1'b1;
                             response_data <= 16'd0;
                             response_error <= ERROR_ARBITRATION_LOST;
                             scl_drive_low <= 1'b0;
                             sda_drive_low <= 1'b0;
                         end else if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             scl_drive_low <= 1'b1;
                             if (bit_index == 3'd0) begin
                                 state <= ST_TX_ACK_LOW;
@@ -239,28 +242,28 @@ module prod2u_p4_i2c_stop_start_read #(
                                 state <= ST_TX_BIT_LOW;
                             end
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end
                 end
 
                 ST_TX_ACK_LOW: begin
-                    if (phase_count == 32'd0) begin
+                    if (phase_count == 0) begin
                         sda_drive_low <= 1'b0;
                     end
                     if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                        phase_count <= 32'd0;
+                        phase_count <= {PHASE_COUNT_BITS{1'b0}};
                         scl_drive_low <= 1'b0;
                         state <= ST_TX_ACK_HIGH;
                     end else begin
-                        phase_count <= phase_count + 32'd1;
+                        phase_count <= phase_count + 1'b1;
                     end
                 end
 
                 ST_TX_ACK_HIGH: begin
                     if (scl_sample) begin
                         if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             scl_drive_low <= 1'b1;
                             if (sda_sample) begin
                                 case (tx_stage)
@@ -286,28 +289,28 @@ module prod2u_p4_i2c_stop_start_read #(
                                 state <= ST_RX_BIT_LOW;
                             end
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end
                 end
 
                 ST_RX_BIT_LOW: begin
-                    if (phase_count == 32'd0) begin
+                    if (phase_count == 0) begin
                         sda_drive_low <= 1'b0;
                     end
                     if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                        phase_count <= 32'd0;
+                        phase_count <= {PHASE_COUNT_BITS{1'b0}};
                         scl_drive_low <= 1'b0;
                         state <= ST_RX_BIT_HIGH;
                     end else begin
-                        phase_count <= phase_count + 32'd1;
+                        phase_count <= phase_count + 1'b1;
                     end
                 end
 
                 ST_RX_BIT_HIGH: begin
                     if (scl_sample) begin
                         if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             rx_shift <= {rx_shift[14:0], sda_sample};
                             scl_drive_low <= 1'b1;
                             if (bit_index == 3'd0) begin
@@ -317,28 +320,28 @@ module prod2u_p4_i2c_stop_start_read #(
                                 state <= ST_RX_BIT_LOW;
                             end
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end
                 end
 
                 ST_RX_ACK_LOW: begin
-                    if (phase_count == 32'd0) begin
+                    if (phase_count == 0) begin
                         sda_drive_low <= (rx_byte_index == 1'b0);
                     end
                     if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                        phase_count <= 32'd0;
+                        phase_count <= {PHASE_COUNT_BITS{1'b0}};
                         scl_drive_low <= 1'b0;
                         state <= ST_RX_ACK_HIGH;
                     end else begin
-                        phase_count <= phase_count + 32'd1;
+                        phase_count <= phase_count + 1'b1;
                     end
                 end
 
                 ST_RX_ACK_HIGH: begin
                     if (scl_sample) begin
                         if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             scl_drive_low <= 1'b1;
                             if (rx_byte_index == 1'b0) begin
                                 rx_byte_index <= 1'b1;
@@ -350,7 +353,7 @@ module prod2u_p4_i2c_stop_start_read #(
                                 state <= ST_STOP_LOW;
                             end
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end
                 end
@@ -359,22 +362,22 @@ module prod2u_p4_i2c_stop_start_read #(
                     scl_drive_low <= 1'b1;
                     sda_drive_low <= 1'b1;
                     if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                        phase_count <= 32'd0;
+                        phase_count <= {PHASE_COUNT_BITS{1'b0}};
                         scl_drive_low <= 1'b0;
                         state <= ST_STOP_SCL_HIGH;
                     end else begin
-                        phase_count <= phase_count + 32'd1;
+                        phase_count <= phase_count + 1'b1;
                     end
                 end
 
                 ST_STOP_SCL_HIGH: begin
                     if (scl_sample) begin
                         if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             sda_drive_low <= 1'b0;
                             state <= ST_STOP_RELEASE;
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end
                 end
@@ -384,7 +387,7 @@ module prod2u_p4_i2c_stop_start_read #(
                     sda_drive_low <= 1'b0;
                     if (scl_sample && sda_sample) begin
                         if (phase_count >= HALF_PERIOD_CLKS - 1) begin
-                            phase_count <= 32'd0;
+                            phase_count <= {PHASE_COUNT_BITS{1'b0}};
                             if (after_stop_read && pending_error == ERROR_NONE) begin
                                 after_stop_read <= 1'b0;
                                 state <= ST_BUS_WAIT_READ;
@@ -393,13 +396,13 @@ module prod2u_p4_i2c_stop_start_read #(
                                 response_valid <= 1'b1;
                                 response_data <= (pending_error == ERROR_NONE) ? rx_shift : 16'd0;
                                 response_error <= pending_error;
-                                timeout_count <= 32'd0;
+                                timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
                             end
                         end else begin
-                            phase_count <= phase_count + 32'd1;
+                            phase_count <= phase_count + 1'b1;
                         end
                     end else begin
-                        phase_count <= 32'd0;
+                        phase_count <= {PHASE_COUNT_BITS{1'b0}};
                     end
                 end
 
@@ -416,7 +419,7 @@ module prod2u_p4_i2c_stop_start_read #(
                     scl_drive_low <= 1'b0;
                     sda_drive_low <= 1'b1;
                     if (scl_sample || timeout_count >= TIMEOUT_CLKS - 1) begin
-                        timeout_count <= 32'd0;
+                        timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
                         state <= ST_ABORT_RELEASE;
                     end
                 end
@@ -424,7 +427,7 @@ module prod2u_p4_i2c_stop_start_read #(
                 ST_ABORT_RELEASE: begin
                     scl_drive_low <= 1'b0;
                     sda_drive_low <= 1'b0;
-                    timeout_count <= 32'd0;
+                    timeout_count <= {TIMEOUT_COUNT_BITS{1'b0}};
                     state <= ST_IDLE;
                     abort_done <= 1'b1;
                 end

+ 14 - 8
src/top/prod2u_6400_v2_top.v

@@ -1,13 +1,15 @@
 `timescale 1ns/1ps
+`include "src/common/prod2u_build_config.vh"
 
 // 6400 V2.0 Top Module (FCB_FPGA+MCU_V2.0_20260914.brd & 温控板测试V2.0电气图)
 //
 // Key features:
 // 1. External STM32H7 UART connected via CON12 TTL (J4 RX, K2 TX; CON103/CON168 route to onboard GD32 U27).
-//    Backup Host RS232 on CON134 via PCB U31 (R13 RX, T14 TX).
+//    Backup Host RS232 on CON134 via U22 channel 2 (R13 RX, T14 TX).
 //    Shared host_uart_endpoint with independent RX/TX CRC accumulators.
 // 2. BMC RS232 on CON77 via PCB U22 (M9 RX, L10 TX) with fixed prompt handling.
-// 3. Single CT7428 U6 sensor scan (9 channels: local + 8 remote on CON53/55/56/57 inlet & CON79/80/81/82 outlet).
+// 3. Single CT7428 U6 sensor scan (local + 8 remote: chamber 1 in/out = CON53/55,
+//    chamber 2 = CON56/57, chamber 3 = CON79/80, chamber 4 = CON81/82).
 //    Channels 9..26 in temp_ram return 0xFF without polling non-existent chips.
 // 4. Fixed-ON SSR1, SSR2, SSR4 outputs (F3, F1, G4 -> 110W/220W/110W auxiliary heaters) constantly driven high (1'b1).
 // 5. Dual-bank duty register architecture: u_duty_bank dedicated to PWM scanning,
@@ -16,6 +18,7 @@
 //    CT and BMC writes are never lost.
 // 7. 30-second watchdog invalidating duty outputs on timeout; direct SET recovery.
 module prod2u_6400_v2_top #(
+    parameter integer HOST_BAUD = `PROD2U_HOST_BAUD,
     parameter [7:0] FAN_BOARD_INVERT_MASK = 8'hFF,
     parameter integer WD_TIMEOUT_CLKS = 750000000
 ) (
@@ -74,7 +77,10 @@ module prod2u_6400_v2_top #(
     wire        host_rs232_tx_core;
     wire        host_ttl_tx_core;
 
-    host_uart_endpoint u_host (
+    // Nearest integer divisor at 25 MHz: 27/54/109/217 clocks per bit.
+    // Host and BMC use separate baud parameters; the BMC stays at 115200.
+    localparam integer HOST_CLKS_PER_BIT = (25000000 + HOST_BAUD / 2) / HOST_BAUD;
+    host_uart_endpoint #(.CLKS_PER_BIT(HOST_CLKS_PER_BIT)) u_host (
         .clk(sys_clk), .rst_n(sys_rst_n),
         .rs232_rx(host_rs232_rx), .rs232_tx(host_rs232_tx_core),
         .ttl_rx(host_ttl_rx), .ttl_tx(host_ttl_tx_core),
@@ -122,10 +128,10 @@ module prod2u_6400_v2_top #(
     wire [7:0]  pwm_duty;
     wire [4:0]  pwm_addr;
     wire        stage_we;
-    wire [4:0]  stage_addr;
+    wire [5:0]  stage_addr;
     wire [7:0]  stage_data;
     wire        bank_valid;
-    wire [4:0]  gd_bank_addr;
+    wire [5:0]  gd_bank_addr;
     wire [7:0]  gd_bank_duty;
 
     // ---------- PWM period-boundary commit handshake & late invalidate guard ----------
@@ -179,7 +185,7 @@ module prod2u_6400_v2_top #(
     ) u_duty_bank (
         .clk(sys_clk), .rst_n(sys_rst_n),
         .pwm_addr(pwm_addr), .pwm_duty(pwm_duty),
-        .stage_we(stage_we), .stage_addr(stage_addr), .stage_data(stage_data),
+        .stage_we(stage_we), .stage_addr(stage_addr[4:0]), .stage_data(stage_data),
         .commit(duty_commit_r), .invalidate(duty_invalidate),
         .valid(bank_valid), .active_bank()
     );
@@ -193,8 +199,8 @@ module prod2u_6400_v2_top #(
         .DEFAULT_PTC_MASK(32'h00FFFFFF)
     ) u_telemetry_bank (
         .clk(sys_clk), .rst_n(sys_rst_n),
-        .pwm_addr(gd_bank_addr), .pwm_duty(gd_bank_duty),
-        .stage_we(stage_we), .stage_addr(stage_addr), .stage_data(stage_data),
+        .pwm_addr(gd_bank_addr[4:0]), .pwm_duty(gd_bank_duty),
+        .stage_we(stage_we), .stage_addr(stage_addr[4:0]), .stage_data(stage_data),
         .commit(duty_commit_r), .invalidate(duty_invalidate),
         .valid(), .active_bank()
     );

+ 21 - 18
src/top/prod2u_mrdimm_final_top.v

@@ -1,4 +1,5 @@
 `timescale 1ns/1ps
+`include "src/common/prod2u_build_config.vh"
 
 // =============================================================================
 // Product:       Prod2U MRDIMM / 8000 FCB V1.2
@@ -9,7 +10,7 @@
 
 module prod2u_mrdimm_final_top #(
     parameter integer CLOCK_HZ = 25000000,
-    parameter integer HOST_BAUD = 115200,
+    parameter integer HOST_BAUD = `PROD2U_HOST_BAUD,
     parameter integer BMC_BAUD = 115200,
     parameter integer PWM_PERIOD_CLKS = 50000,
     parameter integer PWM_CLKS_PER_PERCENT = 500,
@@ -44,8 +45,8 @@ module prod2u_mrdimm_final_top #(
     output wire [11:0] motor_step_gate,
     output wire [11:0] motor_dir_gate
 );
-    localparam integer HOST_CLKS_PER_BIT = CLOCK_HZ / HOST_BAUD;
-    localparam integer BMC_CLKS_PER_BIT  = CLOCK_HZ / BMC_BAUD;
+    localparam integer HOST_CLKS_PER_BIT = (CLOCK_HZ + HOST_BAUD / 2) / HOST_BAUD;
+    localparam integer BMC_CLKS_PER_BIT  = (CLOCK_HZ + BMC_BAUD / 2) / BMC_BAUD;
 
     wire rst_n;
     prod2u_por #(.POR_CYCLES(1024)) u_por (
@@ -135,23 +136,25 @@ module prod2u_mrdimm_final_top #(
     );
 
     // Reply RAM (128 bytes)
-    wire arb_rep_wr_en, gd_reply_we, tc_nack_reply_we;
-    wire [7:0] arb_rep_wr_addr, gd_reply_addr, tc_nack_reply_addr;
-    wire [7:0] arb_rep_wr_data, gd_reply_data, tc_nack_reply_data;
-
-    wire rep_wr_en = arb_rep_wr_en | gd_reply_we | tc_nack_reply_we;
-    wire [7:0] rep_wr_addr = arb_rep_wr_en   ? arb_rep_wr_addr :
-                             gd_reply_we     ? gd_reply_addr   :
-                             tc_nack_reply_addr;
-    wire [7:0] rep_wr_data = arb_rep_wr_en   ? arb_rep_wr_data :
-                             gd_reply_we     ? gd_reply_data   :
-                             tc_nack_reply_data;
+    wire gd_reply_we, tc_nack_reply_we;
+    wire [7:0] gd_reply_addr, tc_nack_reply_addr;
+    wire [7:0] gd_reply_data, tc_nack_reply_data;
+    wire [7:0] ordinary_reply_data, done_payload_data;
+
+    wire rep_wr_en = gd_reply_we | tc_nack_reply_we;
+    wire [7:0] rep_wr_addr = gd_reply_we ? gd_reply_addr : tc_nack_reply_addr;
+    wire [7:0] rep_wr_data = gd_reply_we ? gd_reply_data : tc_nack_reply_data;
+
+    // DONE uses its captured four-byte event; ordinary reply RAM can be
+    // filled concurrently without altering the active DONE frame.
+    assign tx_ram_rd_data = (arb_tx_type == 8'h50) ?
+        done_payload_data : ordinary_reply_data;
 
     reply_ram #(.DEPTH(128), .ADDR_WIDTH(8)) u_reply_ram (
         .clk(sys_clk),
         .wr_en(rep_wr_en), .wr_addr(rep_wr_addr), .wr_data(rep_wr_data),
         .rd_addr(tx_ram_rd_addr + arb_tx_base),
-        .rd_data(tx_ram_rd_data)
+        .rd_data(ordinary_reply_data)
     );
 
     // ------------------------------------------------------------------------
@@ -481,9 +484,9 @@ module prod2u_mrdimm_final_top #(
         .done_steps_8(done_steps_8),     .done_steps_9(done_steps_9),
         .done_steps_10(done_steps_10),   .done_steps_11(done_steps_11),
         .done_ack(done_ack),
-        .rep_wr_en(arb_rep_wr_en),
-        .rep_wr_addr(arb_rep_wr_addr),
-        .rep_wr_data(arb_rep_wr_data),
+        .rep_wr_en(), .rep_wr_addr(), .rep_wr_data(),
+        .done_payload_addr(tx_ram_rd_addr[1:0]),
+        .done_payload_data(done_payload_data),
         .tx_start(arb_tx_start),
         .tx_type(arb_tx_type),
         .tx_length(arb_tx_length),

+ 8 - 7
src/top/prod2u_mrdimm_rs232_only_top.v

@@ -1,20 +1,23 @@
 `timescale 1ns/1ps
+`include "src/common/prod2u_build_config.vh"
 
 // =============================================================================
 // Product:       Prod2U MRDIMM / 8000 FCB V1.2
 // Module:        prod2u_mrdimm_rs232_only_top (Physical Top for TD synthesis)
-// Description:   Physical top wrapper binding all 84 confirmed physical pins
-//                (12 motors, 24 limits, 24 heaters, 4 fans, I2C, dual UART).
+// Description:   Physical top wrapper binding all 86 confirmed physical pins
+//                (12 motors, 24 limits, 24 heaters, 4 fans, I2C, host RS232/TTL and BMC RS232).
 // =============================================================================
 
 module prod2u_mrdimm_rs232_only_top #(
-    parameter integer HOST_BAUD = 115200
+    parameter integer HOST_BAUD = `PROD2U_HOST_BAUD
 ) (
     input  wire        sys_clk,
     input  wire        host_rs232_rx,
     output wire        host_rs232_tx,
     input  wire        host_ttl_rx,
     output wire        host_ttl_tx,
+    input  wire        bmc_rs232_rx,
+    output wire        bmc_rs232_tx,
     inout  wire        temp_scl,
     inout  wire        temp_sda,
     input  wire [11:0] limit_lower_raw,
@@ -25,8 +28,6 @@ module prod2u_mrdimm_rs232_only_top #(
     output wire [11:0] motor_step_gate,
     output wire [11:0] motor_dir_gate
 );
-    wire bmc_rs232_tx_unused;
-
     prod2u_mrdimm_final_top #(
         .HOST_BAUD(HOST_BAUD)
     ) core (
@@ -35,8 +36,8 @@ module prod2u_mrdimm_rs232_only_top #(
         .host_rs232_tx(host_rs232_tx),
         .host_ttl_rx(host_ttl_rx),
         .host_ttl_tx(host_ttl_tx),
-        .bmc_rs232_rx(1'b1),                // absent BMC: UART idle
-        .bmc_rs232_tx(bmc_rs232_tx_unused), // not exported
+        .bmc_rs232_rx(bmc_rs232_rx),
+        .bmc_rs232_tx(bmc_rs232_tx),
         .temp_scl(temp_scl),
         .temp_sda(temp_sda),
         .limit_lower_raw(limit_lower_raw),

+ 2 - 2
src/top/prod2u_mrdimm_uart_diag_115200_top.v

@@ -1,4 +1,6 @@
 `timescale 1ns/1ps
+// Compatibility file: choose this wrapper OR the same-named src/diag wrapper.
+// This diagnostic core has no BMC interface and is outside production closures.
 
 module prod2u_mrdimm_uart_diag_115200_top (
     input  wire        sys_clk,
@@ -27,8 +29,6 @@ module prod2u_mrdimm_uart_diag_115200_top (
         .host_rs232_tx(host_rs232_tx),
         .host_ttl_rx(host_ttl_rx),
         .host_ttl_tx(host_ttl_tx),
-        .bmc_rs232_rx(1'b1),
-        .bmc_rs232_tx(),
         .temp_scl(temp_scl),
         .temp_sda(temp_sda),
         .limit_lower_raw(limit_lower_raw),

+ 2 - 2
src/top/prod2u_mrdimm_uart_diag_921600_top.v

@@ -1,4 +1,6 @@
 `timescale 1ns/1ps
+// Compatibility file: choose this wrapper OR the same-named src/diag wrapper.
+// This diagnostic core has no BMC interface and is outside production closures.
 
 module prod2u_mrdimm_uart_diag_921600_top (
     input  wire        sys_clk,
@@ -27,8 +29,6 @@ module prod2u_mrdimm_uart_diag_921600_top (
         .host_rs232_tx(host_rs232_tx),
         .host_ttl_rx(host_ttl_rx),
         .host_ttl_tx(host_ttl_tx),
-        .bmc_rs232_rx(1'b1),
-        .bmc_rs232_tx(),
         .temp_scl(temp_scl),
         .temp_sda(temp_sda),
         .limit_lower_raw(limit_lower_raw),

+ 35 - 59
src/transport/host_uart_endpoint.v

@@ -95,9 +95,12 @@ module host_uart_endpoint #(
     reg rs232_rx_prev, ttl_rx_prev;
     wire rs232_falling = !rs232_rx_sync1 && rs232_rx_prev;
     wire ttl_falling = !ttl_rx_sync1 && ttl_rx_prev;
-    reg [23:0] owner_idle_counter;
-    localparam [23:0] OWNER_IDLE_TIMEOUT = (INTER_BYTE_TIMEOUT_CYCLES > 0) ?
-        INTER_BYTE_TIMEOUT_CYCLES[23:0] : 24'd250000;
+    localparam integer OWNER_TIMEOUT = (INTER_BYTE_TIMEOUT_CYCLES > 0) ?
+        INTER_BYTE_TIMEOUT_CYCLES : 250000;
+    localparam integer OWNER_COUNTER_BITS = (OWNER_TIMEOUT < 2) ? 1 :
+        $clog2(OWNER_TIMEOUT + 1);
+    localparam [OWNER_COUNTER_BITS-1:0] OWNER_IDLE_TIMEOUT = OWNER_TIMEOUT;
+    reg [OWNER_COUNTER_BITS-1:0] owner_idle_counter;
     wire owner_timed_out = (owner_idle_counter >= OWNER_IDLE_TIMEOUT);
 
     wire rs232_active_traffic = (rx_owner == OWNER_RS232) &&
@@ -200,7 +203,7 @@ module host_uart_endpoint #(
             rs232_rx_prev <= 1'b1;
             ttl_rx_prev <= 1'b1;
             parser_busy_seen <= 1'b0;
-            owner_idle_counter <= 24'd0;
+            owner_idle_counter <= {OWNER_COUNTER_BITS{1'b0}};
             req_valid <= 1'b0;
             req_type <= 8'd0;
             req_length <= 8'd0;
@@ -216,16 +219,16 @@ module host_uart_endpoint #(
             // preventing line noise or stuck low from freezing ownership.
             if (rx_owner == OWNER_RS232) begin
                 if (rs232_byte_valid)
-                    owner_idle_counter <= 24'd0;
+                    owner_idle_counter <= {OWNER_COUNTER_BITS{1'b0}};
                 else if (!owner_timed_out)
-                    owner_idle_counter <= owner_idle_counter + 24'd1;
+                    owner_idle_counter <= owner_idle_counter + 1'b1;
             end else if (rx_owner == OWNER_TTL) begin
                 if (ttl_byte_valid)
-                    owner_idle_counter <= 24'd0;
+                    owner_idle_counter <= {OWNER_COUNTER_BITS{1'b0}};
                 else if (!owner_timed_out)
-                    owner_idle_counter <= owner_idle_counter + 24'd1;
+                    owner_idle_counter <= owner_idle_counter + 1'b1;
             end else begin
-                owner_idle_counter <= 24'd0;
+                owner_idle_counter <= {OWNER_COUNTER_BITS{1'b0}};
             end
 
             if (!parser_hunting)
@@ -314,24 +317,19 @@ module host_uart_endpoint #(
         .crc_value_i(tx_crc_value)
     );
 
-    wire rs232_tx_busy, ttl_tx_busy;
+    wire uart_tx_busy;
     reg tx_stage_valid;
-    assign tx_busy = frame_tx_busy || tx_stage_valid || rs232_tx_busy || ttl_tx_busy;
+    assign tx_busy = frame_tx_busy || tx_stage_valid || uart_tx_busy;
     assign tx_ram_rd_addr = frame_tx_payload_addr[ADDR_WIDTH-1:0];
 
-    wire rs232_tx_byte_done, ttl_tx_byte_done;
-    wire rs232_tx_line, ttl_tx_line;
+    wire uart_tx_line;
 
-    // The two line drivers sample the shared byte stream together: the
-    // shared stream advances only when both drivers take the byte in the
-    // same cycle, so the two broadcast copies never diverge.  A
-    // one-deep staging flop holds the byte (it is the driver's shift
-    // register while busy) so the frame source can move on as soon as
-    // both drivers have latched it.
+    // One UART shift register drives both output pins. The external RS232
+    // transceiver performs the electrical conversion; no second byte
+    // serializer or lockstep-completion state is needed inside the FPGA.
+    // Keep the existing one-byte staging handshake with frame_tx.
     reg [7:0] tx_stage_data;
-    wire rs232_take = tx_stage_valid && !rs232_tx_busy;
-    wire ttl_take = tx_stage_valid && !ttl_tx_busy;
-    wire tx_stage_take = rs232_take && ttl_take;
+    wire tx_stage_take = tx_stage_valid && !uart_tx_busy;
     assign tx_byte_ready = !tx_stage_valid || tx_stage_take;
 
     always @(posedge clk or negedge rst_n) begin
@@ -352,52 +350,30 @@ module host_uart_endpoint #(
         end
     end
 
-    uart_tx_byte #(.CLKS_PER_BIT(CLKS_PER_BIT)) u_rs232_tx (
+    uart_tx_byte #(.CLKS_PER_BIT(CLKS_PER_BIT)) u_tx (
         .clk(clk), .rst_n(rst_n),
         .byte_valid(tx_stage_take), .byte_data(tx_stage_data),
-        .tx_o(rs232_tx_line), .busy(rs232_tx_busy),
-        .byte_done(rs232_tx_byte_done)
+        .tx_o(uart_tx_line), .busy(uart_tx_busy),
+        .byte_done()
     );
+    assign rs232_tx = uart_tx_line;
+    assign ttl_tx = uart_tx_line;
 
-    uart_tx_byte #(.CLKS_PER_BIT(CLKS_PER_BIT)) u_ttl_tx (
-        .clk(clk), .rst_n(rst_n),
-        .byte_valid(tx_stage_take), .byte_data(tx_stage_data),
-        .tx_o(ttl_tx_line), .busy(ttl_tx_busy),
-        .byte_done(ttl_tx_byte_done)
-    );
-    assign rs232_tx = rs232_tx_line;
-    assign ttl_tx = ttl_tx_line;
-
-    // tx_done is the one-cycle event at the real last stop bit on the
-    // wire: it fires when the frame source has finished AND the staged
-    // last byte has fully left both line drivers (both byte_done pulses
-    // latched, both drivers idle, staging flop empty).  arming once per
-    // frame keeps it a single pulse even though the flags stay set; the
-    // next tx_busy re-arms and clears them.
-    reg rs232_last_done, ttl_last_done;
-    reg tx_done_armed;
+    // Complete only after the final stop bit: frame source, stage and
+    // physical serializer must all be idle. One pending bit produces
+    // exactly one completion pulse for each accepted tx_start.
+    reg tx_frame_pending;
     always @(posedge clk or negedge rst_n) begin
         if (!rst_n) begin
             tx_done <= 1'b0;
-            rs232_last_done <= 1'b0;
-            ttl_last_done <= 1'b0;
-            tx_done_armed <= 1'b1;
+            tx_frame_pending <= 1'b0;
         end else begin
             tx_done <= 1'b0;
-            if (tx_busy) begin
-                rs232_last_done <= 1'b0;
-                ttl_last_done <= 1'b0;
-                tx_done_armed <= 1'b1;
-            end else if (tx_done_armed) begin
-                if (rs232_tx_byte_done)
-                    rs232_last_done <= 1'b1;
-                if (ttl_tx_byte_done)
-                    ttl_last_done <= 1'b1;
-                if (rs232_last_done && ttl_last_done &&
-                    !rs232_tx_busy && !ttl_tx_busy && !tx_stage_valid) begin
-                    tx_done <= 1'b1;
-                    tx_done_armed <= 1'b0;
-                end
+            if (tx_start) begin
+                tx_frame_pending <= 1'b1;
+            end else if (tx_frame_pending && !tx_busy) begin
+                tx_done <= 1'b1;
+                tx_frame_pending <= 1'b0;
             end
         end
     end

+ 40 - 58
src/transport/unified_tx_arbiter.v

@@ -40,10 +40,13 @@ module unified_tx_arbiter #(
     input  wire [15:0] done_steps_8,   done_steps_9,   done_steps_10,  done_steps_11,
     output reg  [11:0] done_ack,
 
-    // Reply RAM write port (for writing 4-byte DONE payload at 0..3)
-    output reg         rep_wr_en,
-    output reg  [ADDR_WIDTH-1:0] rep_wr_addr,
-    output reg  [7:0]  rep_wr_data,
+    // Legacy write outputs are idle: DONE owns a small register snapshot,
+    // so an ordinary reply builder may use the reply RAM during its TX.
+    output wire        rep_wr_en,
+    output wire [ADDR_WIDTH-1:0] rep_wr_addr,
+    output wire [7:0]  rep_wr_data,
+    input  wire [1:0]  done_payload_addr,
+    output reg  [7:0]  done_payload_data,
 
     // Wire-side transmitter interface (to host_uart_endpoint / frame_tx)
     output reg         tx_start,
@@ -57,20 +60,33 @@ module unified_tx_arbiter #(
     localparam [2:0] ST_GROUP_FIRST   = 3'd1;
     localparam [2:0] ST_GROUP_SECOND  = 3'd2;
     localparam [2:0] ST_GROUP_RELEASE = 3'd3;
-    localparam [2:0] ST_DONE_LOAD     = 3'd4;
-    localparam [2:0] ST_DONE_WAIT     = 3'd5;
-    localparam [2:0] ST_DONE_RELEASE  = 3'd6;
+    localparam [2:0] ST_DONE_WAIT     = 3'd4;
 
     reg [2:0] state;
     reg [3:0] sel_axis;
-    reg [1:0] load_step;
     reg [3:0] rr_ptr;
+    reg [1:0] snapshot_reason;
+    reg [15:0] snapshot_steps;
+    reg [3:0] next_done_axis;
+    reg has_done;
+
+    assign rep_wr_en = 1'b0;
+    assign rep_wr_addr = {ADDR_WIDTH{1'b0}};
+    assign rep_wr_data = 8'd0;
+    always @(*) begin
+        case (done_payload_addr)
+            2'd0: done_payload_data = {4'd0, sel_axis};
+            2'd1: done_payload_data = {6'd0, snapshot_reason};
+            2'd2: done_payload_data = snapshot_steps[7:0];
+            default: done_payload_data = snapshot_steps[15:8];
+        endcase
+    end
 
     // Multiplex selected axis's reason and steps
     reg [1:0]  sel_reason;
     reg [15:0] sel_steps;
     always @(*) begin
-        case (sel_axis)
+        case (next_done_axis)
             4'd0:  begin sel_reason = done_reason_0;  sel_steps = done_steps_0;  end
             4'd1:  begin sel_reason = done_reason_1;  sel_steps = done_steps_1;  end
             4'd2:  begin sel_reason = done_reason_2;  sel_steps = done_steps_2;  end
@@ -87,8 +103,6 @@ module unified_tx_arbiter #(
     end
 
     // Round-robin selection among pending DONEs
-    reg [3:0] next_done_axis;
-    reg       has_done;
     integer k;
     reg [3:0] candidate;
     always @(*) begin
@@ -108,20 +122,17 @@ module unified_tx_arbiter #(
             state <= ST_IDLE;
             group_done <= 1'b0;
             done_ack <= 12'd0;
-            rep_wr_en <= 1'b0;
-            rep_wr_addr <= {ADDR_WIDTH{1'b0}};
-            rep_wr_data <= 8'd0;
             tx_start <= 1'b0;
             tx_type <= 8'd0;
             tx_length <= 8'd0;
             tx_base <= {ADDR_WIDTH{1'b0}};
             sel_axis <= 4'd0;
-            load_step <= 2'd0;
+            snapshot_reason <= 2'd0;
+            snapshot_steps <= 16'd0;
             rr_ptr <= 4'd0;
         end else begin
             group_done <= 1'b0;
             done_ack <= 12'd0;
-            rep_wr_en <= 1'b0;
             tx_start <= 1'b0;
 
             case (state)
@@ -137,8 +148,16 @@ module unified_tx_arbiter #(
                         // Priority 2: Launch MOTOR_DONE for next_done_axis
                         sel_axis <= next_done_axis;
                         rr_ptr <= (next_done_axis == 4'd11) ? 4'd0 : next_done_axis + 4'd1;
-                        load_step <= 2'd0;
-                        state <= ST_DONE_LOAD;
+                        snapshot_reason <= sel_reason;
+                        snapshot_steps <= sel_steps;
+                        // Consume this event now. A later completion of the
+                        // same axis remains pending while this frame is sent.
+                        done_ack[next_done_axis] <= 1'b1;
+                        tx_type <= 8'h50;
+                        tx_length <= 8'd4;
+                        tx_base <= {ADDR_WIDTH{1'b0}};
+                        tx_start <= 1'b1;
+                        state <= ST_DONE_WAIT;
                     end
                 end
 
@@ -168,47 +187,10 @@ module unified_tx_arbiter #(
                     if (!group_valid) state <= ST_IDLE;
                 end
 
-                ST_DONE_LOAD: begin
-                    // Write 4 bytes into reply_ram at 0..3:
-                    // 0: axis, 1: reason, 2: steps_done[7:0], 3: steps_done[15:8]
-                    rep_wr_en <= 1'b1;
-                    rep_wr_addr <= {{(ADDR_WIDTH-2){1'b0}}, load_step};
-                    case (load_step)
-                        2'd0: begin
-                            rep_wr_data <= {4'b0, sel_axis};
-                            load_step <= 2'd1;
-                        end
-                        2'd1: begin
-                            rep_wr_data <= {6'b0, sel_reason};
-                            load_step <= 2'd2;
-                        end
-                        2'd2: begin
-                            rep_wr_data <= sel_steps[7:0];
-                            load_step <= 2'd3;
-                        end
-                        2'd3: begin
-                            rep_wr_data <= sel_steps[15:8];
-                            // Start transmission of TYPE 0x50, LENGTH 0x04
-                            tx_type <= 8'h50;
-                            tx_length <= 8'h04;
-                            tx_base <= {ADDR_WIDTH{1'b0}};
-                            tx_start <= 1'b1;
-                            state <= ST_DONE_WAIT;
-                        end
-                    endcase
-                end
-
                 ST_DONE_WAIT: begin
-                    if (tx_done) begin
-                        // Wire transmission completely done (final stop bit on wire)
-                        done_ack[sel_axis] <= 1'b1;
-                        state <= ST_DONE_RELEASE;
-                    end
-                end
-
-                ST_DONE_RELEASE: begin
-                    // Wait 1 cycle for actuator core to clear done_pending
-                    state <= ST_IDLE;
+                    // The captured event was already consumed at selection;
+                    // completion must never clear a newer axis event.
+                    if (tx_done) state <= ST_IDLE;
                 end
 
                 default: state <= ST_IDLE;

+ 1 - 1
td/prod2u_mrdimm.prj

@@ -5,5 +5,5 @@
         <Family>EF2</Family>
         <Device>EF2L45BG256B</Device>
     </HardWare>
-    <Note>mrdimm-chamber V1.2 Production; constrained CON78 Host RS-232-only physical top. BMC/Host-I2C/Host-TTL pads unproven on V1.2: held idle in the wrapper, not exported.</Note>
+    <Note>MRDIMM FCB V1.2: CON78 host RS232, CON140.1/2 3.3V host TTL (separate board GND), CON77 BMC RS232. Native BRD verified; hardware measurement remains NOT RUN.</Note>
 </Project>

+ 7 - 1
td/syn/prod2u_6400_v2.tcl

@@ -11,7 +11,13 @@ proc src {relative} {
 }
 proc analyze_src {relative} {
     global source_root
-    analyze -file [src $relative] -include_dir $source_root -define PROD2U_TD_VENDOR_RAM
+    # TD analyze silently drops a multi-macro -define list. Keep the RAM
+    # macro literal and pass the baud through a generated global include.
+    if {[info exists ::env(PROD2U_BUILD_INCLUDE)]} {
+        analyze -file [src $relative] -include_dir $source_root -define PROD2U_TD_VENDOR_RAM -global_include $::env(PROD2U_BUILD_INCLUDE)
+    } else {
+        analyze -file [src $relative] -include_dir $source_root -define PROD2U_TD_VENDOR_RAM
+    }
 }
 
 import_device ef2_4.db -package EF2L45BG256B

+ 7 - 1
td/syn/prod2u_mrdimm.tcl

@@ -12,7 +12,13 @@ proc src {relative} {
 }
 proc analyze_src {relative} {
     global source_root
-    analyze -file [src $relative] -include_dir $source_root -define PROD2U_TD_VENDOR_RAM
+    # TD analyze silently drops a multi-macro -define list. Keep the RAM
+    # macro literal and pass the baud through a generated global include.
+    if {[info exists ::env(PROD2U_BUILD_INCLUDE)]} {
+        analyze -file [src $relative] -include_dir $source_root -define PROD2U_TD_VENDOR_RAM -global_include $::env(PROD2U_BUILD_INCLUDE)
+    } else {
+        analyze -file [src $relative] -include_dir $source_root -define PROD2U_TD_VENDOR_RAM
+    }
 }
 
 import_device ef2_4.db -package EF2L45BG256B

+ 74 - 0
tests/sim/README-physical-verification.md

@@ -0,0 +1,74 @@
+# Production endpoint and physical connector verification
+
+These tests drive production Verilog through external UART and I2C pins. They
+do not write DUT memories, force internal state, or substitute a behavioral
+transaction core. Each runner records exact source hashes, commands and logs.
+
+## Correct CT7428 physical path
+
+The 6400 V2 board has one active CT7428, **U6**. Its SCL/SDA reach FPGA balls
+**B14/A15** through populated R1888/R1889. The apparent alternative M8/N9
+path contains **R744/R745 marked NC**, so it must not be used as the default
+physical sensor connection. The corresponding unused top-level branch stays
+high impedance. The acquisition fixture reads the actual ADC and connects the
+BFM to physical B14/A15; an incorrect ADC does not get silently corrected by
+the test fixture.
+
+U6 AD0 is **pin 9**, tied to VCC through populated R578=0 ohm. R579 to GND,
+R830 to SCL and R832 to SDA are NC. It is a single four-choice address strap,
+not a pair of A0/A1 pins. The historical MCU/RTL contract assigns this strap
+7-bit address **0x49**, reads registers 0..8 and converts the 16-bit raw word
+with `raw >> 7` after invalid/sign checks. The available vendor brief confirms
+the pin choices and 13-bit/0.0625 C capability but does not fully publish the
+numeric address table or register packing. Therefore the BFM validates that
+recorded digital contract; it does not independently establish the missing
+parts of the chip datasheet.
+
+MRDIMM uses the same physical B14/A15 shared I2C path. Its U6/U24/U25 address
+straps are VCC/GND/SCL, corresponding to the historical 0x49/0x48/0x4B map.
+Another connected MCU must release the shared bus to high impedance while
+the FPGA master is used. The 6400 acquisition BFM does not claim coverage of
+the other two MRDIMM chips.
+
+## Tests
+
+1. `run_uart_nominal.py`: 921600/460800/230400/115200, two RX ports, one
+   broadcast TX, nominal independent wire timing, simultaneous RX/TX CRC,
+   synchronous RAM and exactly one `tx_done` after each complete final stop.
+2. `run_6400_connector.py`: actual ADC assignments, 2N7002 digital sink and
+   pull-up model, eight distinct fan duties, 24 distinct PTC duties, all
+   unused PTC pads, SSR1/2/4 and complete GET/ACK CRC validation.
+3. `run_6400_acquisition.py`: actual ADC connects a real open-drain U6 BFM;
+   nine nonidentical raw temperature registers include fractions and zero.
+   Full production I2C master/scanner/arbiter/RAM/GET paths must return
+   CT0..8 = 0/25/40/70/100/15/16/17/18 and CT9..26 = FF. A BMC BFM first
+   verifies the exact 43-byte command over actual 115200 UART bits, then sends
+   an echo, 48 hex tokens across three lines, and a prompt. GET must contain
+   all 24 expected BMC values. The next poll receives no response; every
+   previously returned BMC value must become FF while CT continues normally.
+
+The acquisition test accelerates **only** two elaboration-time BMC timers:
+POLL_SECONDS=0 and ROUND_TIMEOUT_CLKS=750000 (30 ms). The physical clock is
+still 25 MHz, host UART is 921600, BMC UART is 115200 and I2C half-period is
+125 clocks. The protocol, state machines and storage paths run unmodified.
+
+For a repository layout with runners under tools and Verilog under tests/sim:
+
+```bash
+python3 tools/run_uart_nominal.py --repo . --out /tmp/uart-nominal
+python3 tools/run_6400_connector.py --repo . --out /tmp/6400-connectors
+python3 tools/run_6400_acquisition.py --repo . --out /tmp/6400-acquisition
+```
+
+The old `ct7428_scan_single_tb.v` did not implement an ACK/data-returning
+slave despite its comments. It connected the master to its own inverted
+drive-low signals and checked only read-valid, so all-NACK/FF could pass.
+The new acquisition BFM requires actual address, register order, ACK/NACK
+timing, raw bytes and exact final temperatures through external ports.
+
+## Limits
+
+Passing a digital fixture does not prove analog RS232 margins, USB adapter
+quality, real I2C rise times, physical fan direction/FG harness identity, or
+temperature accuracy on fitted silicon. These tests keep those unmeasured
+claims separate from reproducible RTL and wiring checks.

+ 116 - 0
tests/sim/bmc_round_bram_tb.v

@@ -0,0 +1,116 @@
+`timescale 1ns/1ps
+// Public-interface regression for the synchronous round buffer. No force of
+// parser or RAM internals. Exercises complete/empty/short rounds and timeout
+// flushing of the very first pair (read-before-write risk) without a delimiter.
+module bmc_round_bram_tb;
+    reg clk=0;
+    always #20 clk=~clk;
+    reg rst_n=0,rx_valid=0;
+    reg [7:0] rx_data=0;
+    wire tx_valid,wr_en,round_failed,poll_start,poll_done,raw_rx_valid;
+    wire [7:0] tx_data,wr_data,raw_rx_data;
+    wire [5:0] wr_addr;
+    wire [15:0] poll_count;
+    wire [1:0] eol_mode;
+    wire [4:0] valid_count;
+    bmc_ascii_poll #(.CLOCK_HZ(115200),.POLL_SECONDS(1),
+        .ROUND_TIMEOUT_CLKS(2000)) dut(
+        .clk(clk),.rst_n(rst_n),.tx_valid(tx_valid),.tx_data(tx_data),.tx_ready(1'b1),
+        .rx_valid(rx_valid),.rx_data(rx_data),.wr_en(wr_en),.wr_addr(wr_addr),.wr_data(wr_data),
+        .poll_count(poll_count),.round_failed(round_failed),.eol_mode(eol_mode),
+        .poll_start(poll_start),.poll_done(poll_done),.valid_count(valid_count),
+        .raw_rx_valid(raw_rx_valid),.raw_rx_data(raw_rx_data));
+    reg [7:0] captured[0:23],expected[0:23];
+    integer writes=0,rounds=0,i;
+    always @(negedge clk) if(rst_n && wr_en) begin
+        if(wr_addr !== writes[5:0] || writes>=24) begin
+            $display("FAIL BMC write ordering round=%0d addr=%0d expected=%0d",rounds,wr_addr,writes);
+            $fatal(1);
+        end
+        captured[wr_addr]=wr_data;
+        writes=writes+1;
+    end
+    function [7:0] hexchar;
+        input [3:0] nibble;
+        begin hexchar=(nibble<10) ? "0"+nibble : "a"+nibble-10; end
+    endfunction
+    task byte_in;
+        input [7:0] value;
+        begin
+            @(negedge clk);rx_data=value;rx_valid=1;
+            @(negedge clk);rx_valid=0;
+        end
+    endtask
+    task token;
+        input [7:0] value;
+        input delimiter;
+        begin
+            byte_in(hexchar(value[7:4]));byte_in(hexchar(value[3:0]));
+            if(delimiter)byte_in(" ");
+        end
+    endtask
+    task pair;
+        input [7:0] first,second;
+        input delimiter;
+        begin token(first,1'b1);token(second,delimiter); end
+    endtask
+    task begin_round;
+        begin
+            @(posedge poll_start);
+            writes=0;
+            for(i=0;i<24;i=i+1)expected[i]=8'hff;
+            // 43 command bytes plus fixed 10-clock drain have completed.
+            repeat(60)@(posedge clk);
+        end
+    endtask
+    task check_round;
+        input integer good;
+        begin
+            @(posedge poll_done);
+            @(negedge clk);#1;
+            if(writes!==24 || valid_count!==good[4:0] || round_failed!==(good==0) || poll_count!==rounds+1) begin
+                $display("FAIL BMC metadata r=%0d writes=%0d valid=%0d fail=%b count=%0d",rounds,writes,valid_count,round_failed,poll_count);
+                $fatal(1);
+            end
+            for(i=0;i<24;i=i+1)if(captured[i]!==expected[i])begin
+                $display("FAIL BMC round=%0d index=%0d got=%02x want=%02x",rounds,i,captured[i],expected[i]);
+                $fatal(1);
+            end
+            rounds=rounds+1;
+        end
+    endtask
+    initial begin
+        repeat(5)@(posedge clk);@(negedge clk);rst_n=1;
+        // Full normal round fills every address, making stale tail reuse visible.
+        begin_round;
+        for(i=0;i<24;i=i+1)begin expected[i]=30+i;pair(30+i,0,1);end
+        check_round(24);
+        // No response must replace all previous values with FF.
+        begin_round;check_round(0);
+        // First complete pair ends at timeout, without any trailing delimiter.
+        begin_round;expected[0]=8'd77;pair(77,0,0);check_round(1);
+        // Short response plus empty/out-of-range DIMMs; unwritten tail stays FF.
+        begin_round;
+        expected[0]=8'd25;pair(25,0,1);
+        pair(8'hff,8'hff,1);
+        pair(126,0,1);
+        expected[3]=8'd125;pair(125,99,1);
+        check_round(2);
+        // Unmatched first token is not a completed pair.
+        begin_round;token(55,1);check_round(0);
+        // Full range with final pair flushed by timeout, rather than delimiter.
+        begin_round;
+        for(i=0;i<24;i=i+1)begin expected[i]=80+i;pair(80+i,0,i!=23);end
+        check_round(24);
+        // Another empty round proves previous full data is masked again.
+        begin_round;check_round(0);
+        // Zero Celsius remains a valid sample.
+        begin_round;expected[0]=0;pair(0,0,1);check_round(1);
+        $display("PASS bmc_round_bram_tb rounds=%0d",rounds);
+        $finish;
+    end
+    initial begin
+        repeat(2000000)@(posedge clk);
+        $display("FAIL BMC test timeout");$fatal(1);
+    end
+endmodule

+ 108 - 0
tests/sim/bmc_uart_normal_bfm.v

@@ -0,0 +1,108 @@
+`timescale 1ns/1ps
+
+// Normal BMC shell model at nominal 115200 8N1.  The 43-byte command must
+// arrive through the real UART pin before echo/data/prompt are transmitted.
+module bmc_uart_normal_bfm #(
+    parameter integer RESPOND_ROUNDS = 1
+) (
+    input wire rx_from_fpga,
+    output reg tx_to_fpga = 1,
+    output reg [31:0] commands_seen = 0,
+    output reg [31:0] replies_sent = 0
+);
+    localparam real BIT_NS = 1000000000.0 / 115200.0;
+    localparam [8*43-1:0] COMMAND =
+        {"ipmitool raw 0x36 0x6c 0xdf 0xdd 0x00 0x03", 8'h0a};
+    localparam [8*13-1:0] PROMPT = "root@test:~# ";
+    reg [7:0] captured;
+    integer bit_index, command_index = 0;
+    event command_complete;
+
+    function [7:0] expected_temperature;
+        input integer index;
+        begin
+            case (index)
+                0: expected_temperature = 0;
+                1: expected_temperature = 40;
+                2: expected_temperature = 42;
+                3: expected_temperature = 43;
+                4: expected_temperature = 8'hff;
+                default: expected_temperature = 30 + index;
+            endcase
+        end
+    endfunction
+    function [7:0] hex_digit;
+        input [3:0] digit;
+        begin
+            hex_digit = digit < 10 ? 8'h30 + digit : 8'h41 + digit - 10;
+        end
+    endfunction
+    task send_char;
+        input [7:0] ch;
+        integer b;
+        begin
+            tx_to_fpga = 0;
+            #(BIT_NS);
+            for (b = 0; b < 8; b = b + 1) begin
+                tx_to_fpga = ch[b];
+                #(BIT_NS);
+            end
+            tx_to_fpga = 1;
+            #(BIT_NS);
+        end
+    endtask
+    task send_hex;
+        input [7:0] value;
+        begin
+            send_char(hex_digit(value[7:4]));
+            send_char(hex_digit(value[3:0]));
+        end
+    endtask
+
+    initial begin
+        forever begin
+            @(negedge rx_from_fpga);
+            #(1.5 * BIT_NS);
+            for (bit_index = 0; bit_index < 8; bit_index = bit_index + 1) begin
+                captured[bit_index] = rx_from_fpga;
+                #(BIT_NS);
+            end
+            if (rx_from_fpga !== 1'b1) $fatal(1, "BMC command UART stop bit error");
+            if (captured !== COMMAND[8*(42-command_index) +: 8])
+                $fatal(1, "BMC physical TX command byte %0d=%h expected=%h",
+                       command_index, captured, COMMAND[8*(42-command_index) +: 8]);
+            command_index = command_index + 1;
+            if (command_index == 43) begin
+                #(0.5 * BIT_NS);
+                command_index = 0;
+                commands_seen = commands_seen + 1;
+                -> command_complete;
+            end
+        end
+    end
+    integer i;
+    reg [7:0] fraction;
+    initial begin
+        forever begin
+            @command_complete;
+            if (commands_seen <= RESPOND_ROUNDS) begin
+            #(2.13 * BIT_NS);
+            // Full command echo, then three lines of sixteen hex tokens.
+            for (i = 0; i < 43; i = i + 1)
+                send_char(COMMAND[8*(42-i) +: 8]);
+            for (i = 0; i < 24; i = i + 1) begin
+                send_hex(expected_temperature(i));
+                send_char(" ");
+                fraction = i == 4 ? 8'hff : (i*7)%100;
+                send_hex(fraction);
+                if ((i % 8) == 7) begin
+                    send_char(8'h0d); send_char(8'h0a);
+                end else send_char(" ");
+            end
+            for (i = 0; i < 13; i = i + 1)
+                send_char(PROMPT[8*(12-i) +: 8]);
+            replies_sent = replies_sent + 1;
+            end // later commands are received but the BMC sends no reply
+        end
+    end
+endmodule

+ 142 - 0
tests/sim/ct7428_normal_slave_bfm.v

@@ -0,0 +1,142 @@
+`timescale 1ns/1ps
+
+// Minimal normal-operation CT7428 bus model.  Only external SCL/SDA are
+// observed; the model ACKs address/pointer writes and sends two raw bytes.
+// Derived from the existing bit-level tests/sim/ct7428_scan_tb.v model.
+// Address 0x49 and registers 0..8/raw packing follow the historical MCU
+// contract; the available vendor brief does not fully specify that map.
+module ct7428_normal_slave_bfm #(
+    parameter [6:0] I2C_ADDRESS = 7'h49
+) (
+    input wire scl,
+    inout wire sda,
+    output reg [31:0] completed_reads = 0,
+    output reg [8:0] registers_seen = 0
+);
+    localparam [1:0] S_IDLE=0, S_RX=1, S_TX=2;
+    reg [1:0] state = S_IDLE;
+    reg sda_low = 0;
+    assign sda = sda_low ? 1'b0 : 1'bz;
+    reg [3:0] sample_count = 0;
+    reg ack_window = 0;
+    reg [3:0] tx_bit_index = 0;
+    reg [7:0] shift = 0;
+    reg byte_index = 0;
+    reg read_phase = 0;
+    reg [7:0] register_pointer = 0;
+    reg [7:0] tx_byte = 0;
+    reg tx_low_phase = 0;
+    reg master_ack = 0;
+
+    function [15:0] raw_register;
+        input [7:0] pointer;
+        begin
+            case (pointer)
+                0: raw_register = 16'h0000; // 0 C
+                1: raw_register = 16'h0cb0; // 25.375 C -> 25
+                2: raw_register = 16'h1400; // 40 C
+                3: raw_register = 16'h2378; // 70.9375 C -> 70
+                4: raw_register = 16'h3200; // 100 C
+                5: raw_register = 16'h07c0; // 15.5 C -> 15
+                6: raw_register = 16'h0820; // 16.25 C -> 16
+                7: raw_register = 16'h08e0; // 17.75 C -> 17
+                8: raw_register = 16'h0900; // 18 C
+                default: raw_register = 16'hffff;
+            endcase
+        end
+    endfunction
+    wire [15:0] current_raw = raw_register(register_pointer);
+
+    always @(negedge sda) begin
+        if (scl === 1'b1) begin
+            state <= S_RX;
+            sample_count <= 0;
+            ack_window <= 0;
+            shift <= 0;
+            byte_index <= 0;
+            read_phase <= 0;
+        end
+    end
+    always @(posedge sda) begin
+        if (scl === 1'b1) begin
+            state <= S_IDLE;
+            sample_count <= 0;
+            ack_window <= 0;
+            tx_bit_index <= 0;
+            sda_low <= 0;
+        end
+    end
+    always @(posedge scl) begin
+        if (state == S_RX && !ack_window && sample_count < 8) begin
+            if (sda !== 0 && sda !== 1) $fatal(1, "CT7428 bus contention/unknown SDA");
+            shift <= {shift[6:0], sda};
+            sample_count <= sample_count + 1'b1;
+        end
+        if (state == S_TX && tx_bit_index == 8)
+            master_ack <= ~sda;
+    end
+    always @(negedge scl) begin
+        case (state)
+            S_RX: begin
+                if (ack_window) begin
+                    ack_window <= 0;
+                    sample_count <= 0;
+                    if (!byte_index) begin
+                        if (read_phase) begin
+                            if (register_pointer > 8)
+                                $fatal(1, "CT7428 unexpected register %0d", register_pointer);
+                            if (register_pointer != completed_reads % 9)
+                                $fatal(1, "CT7428 wrong register scan order: %0d after %0d reads", register_pointer, completed_reads);
+                            tx_byte <= current_raw[15:8];
+                            tx_bit_index <= 7;
+                            tx_low_phase <= 0;
+                            sda_low <= ~current_raw[15];
+                            state <= S_TX;
+                        end else begin
+                            byte_index <= 1;
+                            sda_low <= 0;
+                        end
+                    end else begin
+                        state <= S_IDLE; // pointer persisted across STOP/START
+                        sda_low <= 0;
+                    end
+                end else if (sample_count == 8) begin
+                    ack_window <= 1;
+                    if (!byte_index) begin
+                        if (shift[7:1] !== I2C_ADDRESS)
+                            $fatal(1, "6400 single-U6 scan addressed %02h, expected %02h", shift[7:1], I2C_ADDRESS);
+                        read_phase <= shift[0];
+                        sda_low <= 1;
+                    end else begin
+                        register_pointer <= shift;
+                        sda_low <= 1;
+                    end
+                end
+            end
+            S_TX: begin
+                if (tx_bit_index > 0 && tx_bit_index < 8) begin
+                    tx_bit_index <= tx_bit_index - 1'b1;
+                    sda_low <= ~tx_byte[tx_bit_index - 1'b1];
+                end else if (tx_bit_index == 0) begin
+                    tx_bit_index <= 8;
+                    sda_low <= 0; // master ACK/NACK window
+                end else begin
+                    if (!tx_low_phase) begin
+                        if (master_ack !== 1'b1) $fatal(1, "CT7428 first byte not ACKed by master");
+                        tx_low_phase <= 1;
+                        tx_byte <= current_raw[7:0];
+                        tx_bit_index <= 7;
+                        sda_low <= ~current_raw[7];
+                    end else begin
+                        if (master_ack !== 1'b0) $fatal(1, "CT7428 final byte not NACKed by master");
+                        completed_reads <= completed_reads + 1;
+                        registers_seen[register_pointer] <= 1;
+                        state <= S_IDLE;
+                        sda_low <= 0;
+                    end
+                end
+            end
+            default: sda_low <= 0;
+        endcase
+    end
+endmodule

+ 8 - 8
tests/sim/ct7428_scan_single_tb.v

@@ -1,10 +1,11 @@
 `timescale 1ns/1ps
 
-// Testbench for ct7428_scan parameterized for single-device (U6 only, CHANNEL_LAST=8).
-// Verifies:
-// 1. Only device 0x49 registers 0..8 are queried.
-// 2. Devices 0x48 and 0x4b are NEVER queried.
-// 3. In temp_ram, channels 0..8 have the expected temperatures; channels 9..26 are 0xFF.
+// Historical single-device absent-slave smoke test (CHANNEL_LAST=8).
+// No slave drives ACK or data. This checks that two failed scan rounds finish,
+// addressable channel bytes remain readable, and untouched CT9..26 stay FF.
+// model_raw/seen_* below are unused scaffolding; this file does not check
+// slave-address order, successful sensor reads or expected temperatures.
+// Use prod2u_6400_v2_acquisition_tb for real external-pin ACK/data coverage.
 module ct7428_scan_single_tb;
     localparam integer HALF_PERIOD_CLKS = 8;
     localparam integer TIMEOUT_CLKS = 2000;
@@ -70,8 +71,7 @@ module ct7428_scan_single_tb;
         .rd_valid(temp_rd_valid)
     );
 
-    // Virtual I2C slave model for 0x49
-    // Monitors bus and answers 0x49, records any access to other devices
+    // Historical value scaffolding only; no slave ACK/data implementation.
     initial begin
         for (i = 0; i < 9; i = i + 1) begin
             model_raw[i] = (i + 1) * 16'h0800; // (i+1)*16 deg C: candidate = (raw >> 7) = (i+1)*16
@@ -94,7 +94,7 @@ module ct7428_scan_single_tb;
             end
         end
 
-        // Verify channels 0..8 have valid data (or at least round completed)
+        // rd_valid here means an addressable channel, not a successful sample.
         for (i = 0; i < 9; i = i + 1) begin
             temp_rd_addr = 32 + i;
             #10;

+ 7 - 4
tests/sim/full_chain_pty_e2e.py

@@ -5,8 +5,11 @@ Architecture:
 - Host side: Real production StreamReceiver and TransactionTracker communicating over Linux PTY.
 - Transport side: Linux pseudo-terminal pair (pty.openpty() via VPI raw mode).
 - Hardware side: Real production top wrapper (prod2u_mrdimm_rs232_only_top.v)
-  exercised via 921600 baud UART BFM in Icarus Verilog.
-- Peripheral models: Limits, PWM duty, step counters, CT7428 I2C.
+  exercised via an explicitly selected 115200 baud UART BFM in Icarus Verilog.
+- Peripheral stimuli: automatic Y lower limit after three STEP edges; CT I2C
+  has pull-ups only (no responding sensor model), and BMC is absent.
+- Assertions cover command/reply tracking, reported duties and motor completion;
+  this PTY test does not measure connector PWM or analog electrical behavior.
 """
 from __future__ import annotations
 
@@ -38,7 +41,7 @@ class FullChainPtyE2ETest(unittest.TestCase):
 
         # 1. Compile VPI module
         vpi_cmd = ["iverilog-vpi", str(ROOT / "tests/sim/vpi_pty.c")]
-        vpi_res = subprocess.run(vpi_cmd, cwd=str(ROOT), capture_output=True, text=True, env=env)
+        vpi_res = subprocess.run(vpi_cmd, cwd=str(cls.vvp_path.parent), capture_output=True, text=True, env=env)
         if vpi_res.returncode != 0:
             raise RuntimeError(f"iverilog-vpi compilation failed:\n{vpi_res.stderr}")
 
@@ -93,7 +96,7 @@ class FullChainPtyE2ETest(unittest.TestCase):
         env["TMPDIR"] = str(self.run_dir)
 
         self.proc = subprocess.Popen(
-            ["vvp", "-M.", "-mvpi_pty", str(self.vvp_path), f"+PTY_PATH={self.slave_file}"],
+            ["vvp", f"-M{self.vvp_path.parent}", "-mvpi_pty", str(self.vvp_path), f"+PTY_PATH={self.slave_file}"],
             cwd=str(ROOT),
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,

+ 383 - 0
tests/sim/host_uart_endpoint_nominal_tb.v

@@ -0,0 +1,383 @@
+`timescale 1ns/1ps
+
+// Independent, wire-level endpoint regression.  The sender and monitor use
+// exactly 1e9 / BAUD ns, not the DUT's integer divider.  A 25 MHz clock is
+// supplied to the real production endpoint, UARTs, frame codecs and CRCs.
+// No DUT state is forced or used to calculate expected bytes or completion.
+module host_uart_endpoint_nominal_case #(
+    parameter integer BAUD = 921600
+) (output reg done);
+    localparam integer DUT_DIVIDER = (25000000 + BAUD/2) / BAUD;
+    localparam real BIT_NS = 1000000000.0 / BAUD;
+    reg clk = 0;
+    always #20 clk = ~clk;
+    reg rst_n = 0;
+    reg rs232_rx = 1, ttl_rx = 1;
+    wire rs232_tx, ttl_tx;
+    wire req_valid;
+    reg req_ready = 0;
+    wire [7:0] req_type, req_length;
+    wire req_wr_en;
+    wire [7:0] req_wr_addr, req_wr_data, req_rd_addr;
+    reg [7:0] req_rd_data;
+    reg tx_start = 0;
+    reg [7:0] tx_type = 0, tx_length = 0;
+    wire tx_busy, tx_done;
+    wire [7:0] tx_rd_addr;
+    reg [7:0] tx_rd_data;
+    reg [7:0] req_mem [0:255];
+    reg [7:0] tx_mem [0:255];
+    reg [7:0] request_payload [0:127];
+    reg [7:0] expected_tx [0:255];
+    integer expected_tx_count = 0;
+    integer captured_tx_count = 0;
+    integer tx_done_count = 0;
+    integer next_done_count = 0;
+    integer accepted_count = 0;
+    integer reply_count = 0;
+    reg checking_tx = 0;
+    reg previous_tx_done = 0;
+    realtime measured_bit_ns = 0.0;
+    realtime final_stop_end_ns = 0.0;
+    realtime byte_start_ns;
+    reg [7:0] captured_byte;
+    integer bit_number;
+    integer i, axis;
+
+    host_uart_endpoint #(
+        .CLKS_PER_BIT(DUT_DIVIDER),
+        .INTER_BYTE_TIMEOUT_CYCLES(250000),
+        .MAX_PAYLOAD(128), .ADDR_WIDTH(8)
+    ) dut (
+        .clk(clk), .rst_n(rst_n),
+        .rs232_rx(rs232_rx), .rs232_tx(rs232_tx),
+        .ttl_rx(ttl_rx), .ttl_tx(ttl_tx),
+        .req_valid(req_valid), .req_ready(req_ready),
+        .req_type(req_type), .req_length(req_length),
+        .req_ram_wr_en(req_wr_en), .req_ram_wr_addr(req_wr_addr),
+        .req_ram_wr_data(req_wr_data),
+        .req_ram_rd_addr(req_rd_addr), .req_ram_rd_data(req_rd_data),
+        .tx_start(tx_start), .tx_type(tx_type), .tx_length(tx_length),
+        .tx_busy(tx_busy), .tx_done(tx_done),
+        .tx_ram_rd_addr(tx_rd_addr), .tx_ram_rd_data(tx_rd_data)
+    );
+
+    // Real one-cycle synchronous memory semantics, including undefined
+    // contents before a write.  The test never assumes power-on RAM zeros.
+    always @(posedge clk) begin
+        if (req_wr_en) req_mem[req_wr_addr] <= req_wr_data;
+        req_rd_data <= req_mem[req_rd_addr];
+        tx_rd_data <= tx_mem[tx_rd_addr];
+        if (rst_n && req_valid && req_ready)
+            accepted_count = accepted_count + 1;
+    end
+
+    function [15:0] reference_crc_byte;
+        input [15:0] prior;
+        input [7:0] value;
+        reg [15:0] result;
+        integer b;
+        begin
+            result = prior ^ {value, 8'h00};
+            for (b = 0; b < 8; b = b + 1)
+                result = result[15] ? ((result << 1) ^ 16'h1021)
+                                    : (result << 1);
+            reference_crc_byte = result;
+        end
+    endfunction
+
+    task automatic set_rx;
+        input integer port_number;
+        input value;
+        begin
+            if (port_number == 0) rs232_rx = value;
+            else ttl_rx = value;
+        end
+    endtask
+
+    task automatic send_byte;
+        input integer port_number;
+        input [7:0] value;
+        integer b;
+        begin
+            set_rx(port_number, 0);
+            #(BIT_NS);
+            for (b = 0; b < 8; b = b + 1) begin
+                set_rx(port_number, value[b]);
+                #(BIT_NS);
+            end
+            set_rx(port_number, 1);
+            #(BIT_NS);
+        end
+    endtask
+
+    task automatic send_request;
+        input integer port_number;
+        input [7:0] kind;
+        input integer count;
+        reg [15:0] crc;
+        integer p;
+        begin
+            crc = reference_crc_byte(16'hffff, kind);
+            crc = reference_crc_byte(crc, count[7:0]);
+            send_byte(port_number, 8'ha5);
+            send_byte(port_number, 8'h5a);
+            send_byte(port_number, kind);
+            send_byte(port_number, count[7:0]);
+            for (p = 0; p < count; p = p + 1) begin
+                send_byte(port_number, request_payload[p]);
+                crc = reference_crc_byte(crc, request_payload[p]);
+            end
+            send_byte(port_number, crc[7:0]);
+            send_byte(port_number, crc[15:8]);
+        end
+    endtask
+
+    task automatic accept_request;
+        input [7:0] kind;
+        input integer count;
+        integer p, wait_cycles;
+        begin
+            wait_cycles = 0;
+            while (!req_valid && wait_cycles < 1000) begin
+                @(negedge clk);
+                wait_cycles = wait_cycles + 1;
+            end
+            if (!req_valid || req_type !== kind || req_length !== count[7:0])
+                $fatal(1, "baud=%0d bad request valid=%b type=%h length=%0d expected=%h/%0d",
+                       BAUD, req_valid, req_type, req_length, kind, count);
+            for (p = 0; p < count; p = p + 1)
+                if (req_mem[p] !== request_payload[p])
+                    $fatal(1, "baud=%0d request payload[%0d]=%h expected=%h",
+                           BAUD, p, req_mem[p], request_payload[p]);
+            @(negedge clk);
+            req_ready = 1;
+            @(negedge clk);
+            req_ready = 0;
+            repeat (5) @(negedge clk);
+            if (req_valid) $fatal(1, "baud=%0d duplicate request publication", BAUD);
+        end
+    endtask
+
+    task automatic begin_reply;
+        input [7:0] kind;
+        input integer count;
+        reg [15:0] crc;
+        integer p;
+        begin
+            if (tx_busy || checking_tx)
+                $fatal(1, "baud=%0d test attempted overlapping reply frames", BAUD);
+            expected_tx[0] = 8'ha5;
+            expected_tx[1] = 8'h5a;
+            expected_tx[2] = kind;
+            expected_tx[3] = count[7:0];
+            crc = reference_crc_byte(16'hffff, kind);
+            crc = reference_crc_byte(crc, count[7:0]);
+            for (p = 0; p < count; p = p + 1) begin
+                expected_tx[4+p] = tx_mem[p];
+                crc = reference_crc_byte(crc, tx_mem[p]);
+            end
+            expected_tx[4+count] = crc[7:0];
+            expected_tx[5+count] = crc[15:8];
+            // Published protocol golden values are independent sanity
+            // anchors for the reference implementation itself.
+            if (kind == 8'h82 && count == 0 && crc !== 16'h60f5)
+                $fatal(1, "GET_ACK golden CRC mismatch in test reference");
+            if (kind == 8'h81 && count == 0 && crc !== 16'h35a6)
+                $fatal(1, "SET_ACK golden CRC mismatch in test reference");
+            expected_tx_count = count + 6;
+            captured_tx_count = 0;
+            final_stop_end_ns = 0.0;
+            measured_bit_ns = 0.0;
+            next_done_count = tx_done_count + 1;
+            checking_tx = 1;
+            reply_count = reply_count + 1;
+            @(negedge clk);
+            tx_type = kind;
+            tx_length = count[7:0];
+            tx_start = 1;
+            @(negedge clk);
+            tx_start = 0;
+        end
+    endtask
+
+    task automatic finish_reply;
+        integer wait_cycles;
+        begin
+            wait_cycles = 0;
+            while (tx_done_count < next_done_count && wait_cycles < 300000) begin
+                @(negedge clk);
+                wait_cycles = wait_cycles + 1;
+            end
+            if (tx_done_count !== next_done_count ||
+                captured_tx_count !== expected_tx_count || tx_busy)
+                $fatal(1, "baud=%0d incomplete reply done=%0d target=%0d bytes=%0d/%0d busy=%b",
+                       BAUD, tx_done_count, next_done_count,
+                       captured_tx_count, expected_tx_count, tx_busy);
+            checking_tx = 0;
+            repeat (5) @(negedge clk);
+        end
+    endtask
+
+    // Independent UART decoder.  It samples at nominal receiver baud.
+    // Only for the physical-stop completion assertion, measure the start
+    // bit directly from the first 0xa5 byte (data bit 0 is high).  This
+    // permits integer-divider baud error without assuming its bit length.
+    initial begin
+        forever begin
+            @(negedge rs232_tx);
+            if (rst_n) begin
+                if (!checking_tx || captured_tx_count >= expected_tx_count)
+                    $fatal(1, "baud=%0d unexpected TX byte", BAUD);
+                byte_start_ns = $realtime;
+                if (captured_tx_count == 0) begin
+                    @(posedge rs232_tx);
+                    measured_bit_ns = $realtime - byte_start_ns;
+                    if (measured_bit_ns < BIT_NS * 0.98 ||
+                        measured_bit_ns > BIT_NS * 1.02)
+                        $fatal(1, "baud=%0d TX bit duration %0.3f ns outside nominal tolerance", BAUD, measured_bit_ns);
+                    #(1.5 * BIT_NS - measured_bit_ns);
+                end else begin
+                    #(1.5 * BIT_NS);
+                end
+                for (bit_number = 0; bit_number < 8; bit_number = bit_number + 1) begin
+                    captured_byte[bit_number] = rs232_tx;
+                    #(BIT_NS);
+                end
+                if (rs232_tx !== 1'b1)
+                    $fatal(1, "baud=%0d TX missing stop bit, byte=%0d", BAUD, captured_tx_count);
+                if (captured_byte !== expected_tx[captured_tx_count])
+                    $fatal(1, "baud=%0d TX byte[%0d]=%h expected=%h",
+                           BAUD, captured_tx_count, captured_byte, expected_tx[captured_tx_count]);
+                captured_tx_count = captured_tx_count + 1;
+                if (captured_tx_count == expected_tx_count)
+                    final_stop_end_ns = byte_start_ns + 10.0 * measured_bit_ns;
+            end
+        end
+    end
+
+    // Observe after NBA updates, so the completion pulse and pins belong
+    // to the same edge.  One measured full stop bit must have elapsed.
+    always @(posedge clk) begin
+        #1;
+        if (rst_n) begin
+            if (rs232_tx !== ttl_tx)
+                $fatal(1, "baud=%0d RS232/TTL broadcast diverged", BAUD);
+            if (tx_done) begin
+                if (previous_tx_done || !checking_tx ||
+                    captured_tx_count != expected_tx_count || final_stop_end_ns <= 0.0)
+                    $fatal(1, "baud=%0d premature/duplicate tx_done", BAUD);
+                if ($realtime + 0.001 < final_stop_end_ns)
+                    $fatal(1, "baud=%0d tx_done precedes full final stop: now=%0.3f deadline=%0.3f",
+                           BAUD, $realtime, final_stop_end_ns);
+                if ($realtime > final_stop_end_ns + 161.0)
+                    $fatal(1, "baud=%0d completion delayed more than four clocks", BAUD);
+                if (tx_busy || rs232_tx !== 1'b1)
+                    $fatal(1, "baud=%0d tx_done while wire/serializer busy", BAUD);
+                tx_done_count = tx_done_count + 1;
+            end
+            previous_tx_done = tx_done;
+        end else begin
+            previous_tx_done = 0;
+        end
+    end
+    always @(rs232_tx or ttl_tx) begin
+        #0.001;
+        if (rst_n && rs232_tx !== ttl_tx)
+            $fatal(1, "baud=%0d TX broadcast differs between clock samples", BAUD);
+    end
+
+    initial begin
+        done = 0;
+        if (reference_crc_byte(reference_crc_byte(16'hffff, 8'h02), 8'h00) !== 16'h7b6d)
+            $fatal(1, "GET request golden CRC mismatch in test reference");
+        repeat (10) @(negedge clk);
+        rst_n = 1;
+        #(2.37 * BIT_NS);  // unrelated phase to the 25 MHz clock
+
+        // RS232 GET; full GET_ACK followed by a real-length 83-byte DATA.
+        send_request(0, 8'h02, 0);
+        accept_request(8'h02, 0);
+        begin_reply(8'h82, 0);
+        finish_reply;
+        for (i = 0; i < 83; i = i + 1)
+            tx_mem[i] = (i * 29 + 37) & 255;
+        tx_mem[32] = 0;
+        tx_mem[55] = 8'hff;
+        tx_mem[82] = 8'hff;
+        for (i = 0; i < 32; i = i + 1)
+            request_payload[i] = (i * 11 + 3) % 101;
+        begin_reply(8'h42, 83);
+        // RX and TX CRC streams intentionally overlap.  RX uses nominal
+        // wire timing and a different payload from the TX synchronous RAM.
+        #(3.23 * BIT_NS);
+        send_request(1, 8'h01, 32);
+        accept_request(8'h01, 32);
+        finish_reply;
+        begin_reply(8'h81, 0);
+        finish_reply;
+
+        // RS232 full 68-byte MRDIMM SET, with valid finite axis slots and
+        // embedded A5 5A in a step count.  The endpoint must preserve it.
+        for (i = 0; i < 8; i = i + 1)
+            request_payload[i] = (i * 13 + 7) % 101;
+        for (axis = 0; axis < 12; axis = axis + 1) begin
+            request_payload[8 + axis*5] = (axis % 2) ? 8'h02 : 8'h01;
+            request_payload[9 + axis*5] = 8'ha5 - axis;
+            request_payload[10 + axis*5] = 8'h5a;
+            request_payload[11 + axis*5] = 20 + axis;
+            request_payload[12 + axis*5] = 0;
+        end
+        #(1.19 * BIT_NS);
+        send_request(0, 8'h01, 68);
+        accept_request(8'h01, 68);
+        begin_reply(8'h81, 0);
+        finish_reply;
+        send_request(1, 8'h02, 0);
+        accept_request(8'h02, 0);
+        begin_reply(8'h82, 0);
+        finish_reply;
+        // A lone sync byte must time out in WAIT_5A and release ownership.
+        // The next complete request comes from the other physical port.
+        // Use the actual production 250000-clock (10 ms) gap, with only a
+        // short external guard; no parser/owner state is inspected or forced.
+        send_byte(0, 8'ha5);
+        repeat (250500) @(negedge clk);
+        send_request(1, 8'h02, 0);
+        accept_request(8'h02, 0);
+        begin_reply(8'h82, 0);
+        finish_reply;
+        send_byte(1, 8'ha5);
+        repeat (250500) @(negedge clk);
+        send_request(0, 8'h02, 0);
+        accept_request(8'h02, 0);
+        begin_reply(8'h82, 0);
+        finish_reply;
+        #(30 * BIT_NS);
+        if (accepted_count != 6 || tx_done_count != 7 || reply_count != 7)
+            $fatal(1, "baud=%0d wrong totals requests=%0d completed=%0d replies=%0d",
+                   BAUD, accepted_count, tx_done_count, reply_count);
+        if (req_valid || tx_busy || tx_done || rs232_tx !== 1 || ttl_tx !== 1)
+            $fatal(1, "baud=%0d endpoint did not return idle", BAUD);
+        $display("PASS nominal UART baud=%0d divider=%0d RX=RS232+TTL requests=6 replies=7 full_stop_done=7 broadcast=identical synchronous_RAM=checked concurrent_CRC=checked half_A5_timeout=RS232_to_TTL+TTL_to_RS232",
+                 BAUD, DUT_DIVIDER);
+        done = 1;
+    end
+endmodule
+
+module host_uart_endpoint_nominal_tb;
+    wire [3:0] done;
+    host_uart_endpoint_nominal_case #(.BAUD(921600)) t921600(.done(done[0]));
+    host_uart_endpoint_nominal_case #(.BAUD(460800)) t460800(.done(done[1]));
+    host_uart_endpoint_nominal_case #(.BAUD(230400)) t230400(.done(done[2]));
+    host_uart_endpoint_nominal_case #(.BAUD(115200)) t115200(.done(done[3]));
+    initial begin
+        wait (&done);
+        $display("PASS host_uart_endpoint_nominal_tb: four nominal baud rates, both RX ports, full final stop, independent CRC and synchronous RAM");
+        $finish;
+    end
+    initial begin
+        #100000000;
+        $fatal(1, "host_uart_endpoint_nominal_tb timeout");
+    end
+endmodule

+ 12 - 8
tests/sim/host_uart_endpoint_tb.v

@@ -1,5 +1,8 @@
 `timescale 1ns/1ps
-// host_uart_endpoint testbench: drives real UART bit timing (CLKS_PER_BIT=27
+// Extended endpoint regression using integer 27-clock UART timing.
+// The nominal four-rate test independently checks baud and complete final stop.
+// This older fixture uses combinational request/reply TB RAM.
+// host_uart_endpoint testbench: drives UART bit timing (CLKS_PER_BIT=27
 // for 921600 baud at 25 MHz, plus one wrong-bit-period case and jittered
 // cases) into both RX lines and decodes both TX lines at the bit level.
 // All frame bytes below are the final 8-bit protocol images from the
@@ -403,12 +406,13 @@ module host_uart_endpoint_tb;
             begin
                 integer clr_guard;
                 clr_guard = 0;
-                while ((tx_busy || dut.tx_stage_valid || dut.rs232_tx_busy ||
-                    dut.ttl_tx_busy) && clr_guard < 400000) begin
+                while (tx_busy && clr_guard < 400000) begin
                     @(posedge clk);
                     clr_guard = clr_guard + 1;
                 end
                 if (clr_guard >= 400000) $fatal(1, "TX never went idle");
+                if (rs232_tx !== 1'b1 || ttl_tx !== 1'b1)
+                    $fatal(1, "public idle TX pins must both be high");
             end
             tx_done_reset;
             tx_type = rtype;
@@ -459,12 +463,12 @@ module host_uart_endpoint_tb;
         begin
             guard = 0;
             if (use_ttl) begin
-                while (dut.ttl_tx !== 1'b0 && guard < 200000) begin
+                while (ttl_tx !== 1'b0 && guard < 200000) begin
                     @(posedge clk);
                     guard = guard + 1;
                 end
             end else begin
-                while (dut.rs232_tx !== 1'b0 && guard < 200000) begin
+                while (rs232_tx !== 1'b0 && guard < 200000) begin
                     @(posedge clk);
                     guard = guard + 1;
                 end
@@ -663,7 +667,7 @@ module host_uart_endpoint_tb;
                 // reply owns the wire right now.
                 wait_for_tx_start_edge();
                 if (!tx_busy) $fatal(1, "reply not on wire at injection");
-                if (dut.rs232_last_done && dut.ttl_last_done)
+                if (tx_done || tx_done_seen)
                     $fatal(1, "reply already done at injection");
                 send_get();
                 await_req(8'h02, 8'd0);
@@ -671,8 +675,8 @@ module host_uart_endpoint_tb;
                 // iff the reply's wire is still busy at this point (the
                 // frame source may already be quiet while the last bytes
                 // are still shifting out).
-                if (!tx_busy && !tx_done && !tx_done_seen)
-                    $fatal(1, "reply left the wire too early");
+                if (!tx_busy || tx_done || tx_done_seen)
+                    $fatal(1, "reply completed before overlapping GET was parsed");
                 fork_stim_done = 1'b1;
             end
         join

+ 94 - 0
tests/sim/mrdimm_actuator_timing_tb.v

@@ -0,0 +1,94 @@
+`timescale 1ns/1ps
+module mrdimm_actuator_timing_tb;
+    reg clk=0;
+    always #20 clk=~clk;
+    reg rst_n=0, enqueue_we=0, watchdog_expired=0;
+    reg [3:0] enqueue_axis=0;
+    reg [15:0] enqueue_steps=0, enqueue_half_period_us=0;
+    reg enqueue_dir=0;
+    reg [11:0] stop_clear_mask=0, lower=0, upper=0, done_ack=0;
+    wire [11:0] steps, dirs, done, full;
+    wire [15:0] done_steps[0:11];
+    wire [1:0] reasons[0:11];
+    mrdimm_actuator_core dut(
+        .clk(clk),.rst_n(rst_n),.tick_us(1'b1),.watchdog_expired(watchdog_expired),
+        .enqueue_we(enqueue_we),.enqueue_axis(enqueue_axis),.enqueue_steps(enqueue_steps),
+        .enqueue_half_period_us(enqueue_half_period_us),.enqueue_dir(enqueue_dir),
+        .stop_clear_mask(stop_clear_mask),.axis_queue_full(full),
+        .limit_lower_raw(lower),.limit_upper_raw(upper),.limit_lower_sync(),.limit_upper_sync(),
+        .step_out(steps),.dir_out(dirs),.done_pending(done),.done_ack(done_ack),
+        .done_reason_0(reasons[0]),.done_steps_0(done_steps[0]),
+        .done_reason_1(reasons[1]),.done_steps_1(done_steps[1]),
+        .done_reason_2(reasons[2]),.done_steps_2(done_steps[2]),
+        .done_reason_3(reasons[3]),.done_steps_3(done_steps[3]),
+        .done_reason_4(reasons[4]),.done_steps_4(done_steps[4]),
+        .done_reason_5(reasons[5]),.done_steps_5(done_steps[5]),
+        .done_reason_6(reasons[6]),.done_steps_6(done_steps[6]),
+        .done_reason_7(reasons[7]),.done_steps_7(done_steps[7]),
+        .done_reason_8(reasons[8]),.done_steps_8(done_steps[8]),
+        .done_reason_9(reasons[9]),.done_steps_9(done_steps[9]),
+        .done_reason_10(reasons[10]),.done_steps_10(done_steps[10]),
+        .done_reason_11(reasons[11]),.done_steps_11(done_steps[11])
+    );
+    integer cycle=0, i, active_at_once=0, max_active=0;
+    integer half_period[0:11], goal[0:11], accept_cycle[0:11];
+    integer last_edge[0:11], rise_count[0:11];
+    reg [11:0] prev=0, monitor=0, finished=0;
+    always @(posedge clk) cycle=cycle+1;
+    always @(negedge clk) begin
+        if (rst_n) begin
+            active_at_once=0;
+            for (i=0;i<12;i=i+1) begin
+                if (monitor[i] && !finished[i]) active_at_once=active_at_once+1;
+                if (monitor[i]) begin
+                    if (steps[i] && !prev[i]) begin
+                        rise_count[i]=rise_count[i]+1;
+                        if (rise_count[i]==1) begin
+                            if(cycle-accept_cycle[i] != 10+half_period[i])
+                                $fatal(1,"axis%0d DIR/first edge timing got %0d want %0d",i,cycle-accept_cycle[i],10+half_period[i]);
+                        end else if(cycle-last_edge[i] != half_period[i])
+                            $fatal(1,"axis%0d low width got %0d want %0d",i,cycle-last_edge[i],half_period[i]);
+                        last_edge[i]=cycle;
+                    end
+                    if (!steps[i] && prev[i]) begin
+                        if(cycle-last_edge[i] != half_period[i])
+                            $fatal(1,"axis%0d high width got %0d want %0d",i,cycle-last_edge[i],half_period[i]);
+                        last_edge[i]=cycle;
+                    end
+                    if (done[i] && !finished[i]) begin
+                        if(steps[i] || reasons[i]!==0 || done_steps[i]!==goal[i] || rise_count[i]!=goal[i])
+                            $fatal(1,"axis%0d DONE mismatch reason=%0d count=%0d physical_edges=%0d expected=%0d",i,reasons[i],done_steps[i],rise_count[i],goal[i]);
+                        finished[i]=1;
+                    end
+                end
+            end
+            if(active_at_once>max_active)max_active=active_at_once;
+            prev=steps;
+        end
+    end
+    task issue;
+        input integer axis,n,hp;
+        begin
+            @(negedge clk); #1;
+            half_period[axis]=hp;goal[axis]=n;rise_count[axis]=0;last_edge[axis]=0;
+            finished[axis]=0;monitor[axis]=1;accept_cycle[axis]=cycle+1;
+            enqueue_axis=axis;enqueue_steps=n;enqueue_half_period_us=hp;enqueue_we=1;
+            @(negedge clk); #1;enqueue_we=0;
+        end
+    endtask
+    initial begin
+        for(i=0;i<12;i=i+1)begin half_period[i]=0;goal[i]=0;rise_count[i]=0;last_edge[i]=0;accept_cycle[i]=0;end
+        repeat(5)@(negedge clk);#1;rst_n=1;
+        issue(0,3,1);issue(1,3,2);issue(2,3,3);issue(3,3,7);
+        issue(4,3,17);issue(5,3,257);issue(6,3,1024);issue(7,3,4095);
+        issue(8,3,32768);issue(9,3,65535);issue(10,3,51);issue(11,3,123);
+        wait(finished==12'hfff);@(negedge clk);#1;
+        if(max_active<8)$fatal(1,"independent concurrent axes not exercised");
+        monitor=0;done_ack=12'hfff;@(negedge clk);#1;done_ack=0;
+        issue(0,65535,1);wait(finished[0]);@(negedge clk);#1;monitor=0;
+        // STOP and limit behavior is checked by the production-top end-to-end suite.
+        $display("mrdimm_actuator_timing_tb PASS: all12 axes, half-period 1..65535, 65535 edges, full final high, concurrent=%0d",max_active);
+        $finish;
+    end
+    initial begin #25000000;$fatal(1,"timeout");end
+endmodule

+ 218 - 0
tests/sim/mrdimm_done_parallel_tb.v

@@ -0,0 +1,218 @@
+`timescale 1ns/1ps
+// Real actuator + arbiter + host frame/UART path. The ordinary reply builder
+// writes while an older DONE is on the wire and the same axis finishes again.
+// Define DONE_SNAPSHOT_FIX for the patched interface; omit for the baseline.
+module mrdimm_done_parallel_tb;
+    localparam integer BIT_CLKS = 27;
+    reg clk = 0;
+    always #20 clk = ~clk;
+    reg rst_n = 0;
+    reg [4:0] us_count = 0;
+    wire tick_us = (us_count == 24);
+    always @(posedge clk) begin
+        if (!rst_n || tick_us) us_count <= 0;
+        else us_count <= us_count + 1'b1;
+    end
+    reg enqueue_we = 0;
+    reg [15:0] enqueue_steps = 0;
+    wire [11:0] pending, ack;
+    wire [1:0] reason [0:11];
+    wire [15:0] steps [0:11];
+    mrdimm_actuator_core actuator (
+        .clk(clk), .rst_n(rst_n), .tick_us(tick_us), .watchdog_expired(1'b0),
+        .enqueue_we(enqueue_we), .enqueue_axis(4'd5),
+        .enqueue_steps(enqueue_steps), .enqueue_half_period_us(16'd1),
+        .enqueue_dir(1'b0), .stop_clear_mask(12'd0), .axis_queue_full(),
+        .limit_lower_raw(12'd0), .limit_upper_raw(12'd0),
+        .limit_lower_sync(), .limit_upper_sync(), .step_out(), .dir_out(),
+        .done_pending(pending), .done_ack(ack),
+        .done_reason_0(reason[0]), .done_steps_0(steps[0]),
+        .done_reason_1(reason[1]), .done_steps_1(steps[1]),
+        .done_reason_2(reason[2]), .done_steps_2(steps[2]),
+        .done_reason_3(reason[3]), .done_steps_3(steps[3]),
+        .done_reason_4(reason[4]), .done_steps_4(steps[4]),
+        .done_reason_5(reason[5]), .done_steps_5(steps[5]),
+        .done_reason_6(reason[6]), .done_steps_6(steps[6]),
+        .done_reason_7(reason[7]), .done_steps_7(steps[7]),
+        .done_reason_8(reason[8]), .done_steps_8(steps[8]),
+        .done_reason_9(reason[9]), .done_steps_9(steps[9]),
+        .done_reason_10(reason[10]), .done_steps_10(steps[10]),
+        .done_reason_11(reason[11]), .done_steps_11(steps[11])
+    );
+    reg group_valid = 0;
+    wire group_done, tx_start, tx_busy, tx_done;
+    wire [7:0] tx_type, tx_length, tx_base, payload_addr, payload_data;
+    wire old_wr_en;
+    wire [7:0] old_wr_addr, old_wr_data;
+    wire [7:0] snapshot_data;
+    unified_tx_arbiter arbiter (
+        .clk(clk), .rst_n(rst_n),
+        .group_valid(group_valid), .group_second(1'b1),
+        .group_type(8'h82), .group_length(8'd0),
+        .second_type(8'h42), .second_length(8'd63),
+        .group_base(8'd0), .second_base(8'd0), .group_done(group_done),
+        .done_pending(pending), .done_ack(ack),
+        .done_reason_0(reason[0]), .done_steps_0(steps[0]),
+        .done_reason_1(reason[1]), .done_steps_1(steps[1]),
+        .done_reason_2(reason[2]), .done_steps_2(steps[2]),
+        .done_reason_3(reason[3]), .done_steps_3(steps[3]),
+        .done_reason_4(reason[4]), .done_steps_4(steps[4]),
+        .done_reason_5(reason[5]), .done_steps_5(steps[5]),
+        .done_reason_6(reason[6]), .done_steps_6(steps[6]),
+        .done_reason_7(reason[7]), .done_steps_7(steps[7]),
+        .done_reason_8(reason[8]), .done_steps_8(steps[8]),
+        .done_reason_9(reason[9]), .done_steps_9(steps[9]),
+        .done_reason_10(reason[10]), .done_steps_10(steps[10]),
+        .done_reason_11(reason[11]), .done_steps_11(steps[11]),
+        .rep_wr_en(old_wr_en), .rep_wr_addr(old_wr_addr), .rep_wr_data(old_wr_data),
+`ifdef DONE_SNAPSHOT_FIX
+        .done_payload_addr(payload_addr[1:0]), .done_payload_data(snapshot_data),
+`endif
+        .tx_start(tx_start), .tx_type(tx_type), .tx_length(tx_length),
+        .tx_base(tx_base), .tx_busy(tx_busy), .tx_done(tx_done)
+    );
+    reg builder_we = 0;
+    reg [7:0] builder_addr = 0, builder_data = 0;
+    wire [7:0] ordinary_data;
+    reply_ram ram (
+        .clk(clk), .wr_en(old_wr_en | builder_we),
+        .wr_addr(old_wr_en ? old_wr_addr : builder_addr),
+        .wr_data(old_wr_en ? old_wr_data : builder_data),
+        .rd_addr(payload_addr + tx_base), .rd_data(ordinary_data)
+    );
+`ifdef DONE_SNAPSHOT_FIX
+    assign payload_data = (tx_type == 8'h50) ? snapshot_data : ordinary_data;
+`else
+    assign payload_data = ordinary_data;
+`endif
+    wire serial_tx, ttl_tx;
+    host_uart_endpoint #(.CLKS_PER_BIT(BIT_CLKS)) endpoint (
+        .clk(clk), .rst_n(rst_n), .rs232_rx(1'b1), .rs232_tx(serial_tx),
+        .ttl_rx(1'b1), .ttl_tx(ttl_tx), .req_valid(), .req_ready(1'b1),
+        .req_type(), .req_length(), .req_ram_wr_en(), .req_ram_wr_addr(),
+        .req_ram_wr_data(), .req_ram_rd_addr(), .req_ram_rd_data(8'd0),
+        .tx_start(tx_start), .tx_type(tx_type), .tx_length(tx_length),
+        .tx_busy(tx_busy), .tx_done(tx_done),
+        .tx_ram_rd_addr(payload_addr), .tx_ram_rd_data(payload_data)
+    );
+    wire rx_valid, rx_error;
+    wire [7:0] rx_data;
+    uart_rx_byte #(.CLKS_PER_BIT(BIT_CLKS)) receiver (
+        .clk(clk), .rst_n(rst_n), .rx_i(serial_tx),
+        .byte_valid(rx_valid), .byte_data(rx_data), .framing_error(rx_error)
+    );
+    reg [7:0] received [0:127];
+    integer rx_count = 0, launch_count = 0, ack_count = 0;
+    always @(posedge clk) begin
+        if (rst_n) begin
+            if (rx_error) $fatal(1, "UART framing error");
+            if (serial_tx !== ttl_tx) $fatal(1, "TX broadcast diverged");
+            if (rx_valid) begin
+                received[rx_count] = rx_data;
+                rx_count = rx_count + 1;
+            end
+            if (tx_start) launch_count = launch_count + 1;
+            if (ack[5]) ack_count = ack_count + 1;
+        end
+    end
+    function [15:0] crc_of;
+        input integer start_index;
+        input integer byte_count;
+        integer i, bit_no;
+        reg [15:0] crc;
+        begin
+            crc = 16'hffff;
+            for (i = start_index; i < start_index + byte_count; i = i + 1)
+                for (bit_no = 7; bit_no >= 0; bit_no = bit_no - 1)
+                    crc = (crc[15] ^ received[i][bit_no]) ?
+                        {crc[14:0], 1'b0} ^ 16'h1021 : {crc[14:0], 1'b0};
+            crc_of = crc;
+        end
+    endfunction
+    task check_frame;
+        input integer offset;
+        input [7:0] wanted_type;
+        input integer wanted_length;
+        reg [15:0] crc;
+        begin
+            if (received[offset] !== 8'ha5 || received[offset+1] !== 8'h5a ||
+                received[offset+2] !== wanted_type || received[offset+3] !== wanted_length[7:0])
+                $fatal(1, "frame header at %0d: %02x %02x %02x %02x", offset,
+                       received[offset], received[offset+1], received[offset+2], received[offset+3]);
+            crc = crc_of(offset+2, wanted_length+2);
+            if ({received[offset+5+wanted_length], received[offset+4+wanted_length]} !== crc)
+                $fatal(1, "frame CRC at %0d", offset);
+        end
+    endtask
+    task check_done;
+        input integer offset;
+        input [15:0] wanted_steps;
+        begin
+            check_frame(offset, 8'h50, 4);
+            if (received[offset+4] !== 8'd5 || received[offset+5] !== 8'd0 ||
+                {received[offset+7], received[offset+6]} !== wanted_steps)
+                $fatal(1, "DONE overwritten/lost at %0d: axis=%0d reason=%0d steps=%0d wanted=%0d",
+                       offset, received[offset+4], received[offset+5],
+                       {received[offset+7], received[offset+6]}, wanted_steps);
+        end
+    endtask
+    task enqueue;
+        input [15:0] count;
+        begin
+            @(negedge clk); enqueue_we = 1; enqueue_steps = count;
+            @(negedge clk); enqueue_we = 0;
+        end
+    endtask
+    integer i;
+    reg no_get;
+    initial begin
+        no_get = $test$plusargs("no_get_write");
+        repeat (6) @(negedge clk);
+        rst_n = 1;
+        enqueue(16'd2);
+        wait(tx_start && tx_type == 8'h50);
+        fork
+            begin
+                // This second segment completes in about 16us, well before
+                // the first 10-byte DONE finishes at about 108us.
+                enqueue(16'd3);
+            end
+            begin
+                if (!no_get) begin
+                    for (i = 0; i < 63; i = i + 1) begin
+                        @(negedge clk);
+                        builder_we = 1; builder_addr = i; builder_data = 8'ha0 + i;
+                    end
+                    @(negedge clk); builder_we = 0; group_valid = 1;
+                    wait(group_done);
+                    @(negedge clk); group_valid = 0;
+                end
+            end
+        join
+        if (no_get) begin
+            wait(rx_count == 20);
+            check_done(0, 16'd2);
+            check_done(10, 16'd3);
+        end else begin
+            wait(rx_count >= 10);
+            check_done(0, 16'd2);
+            wait(rx_count == 95);
+            check_frame(10, 8'h82, 0);
+            check_frame(16, 8'h42, 63);
+            for (i = 0; i < 63; i = i + 1)
+                if (received[20+i] !== (8'ha0 + i) % 256)
+                    $fatal(1, "GET payload collision at %0d got=%02x", i, received[20+i]);
+            check_done(85, 16'd3);
+        end
+        repeat (2*BIT_CLKS) @(negedge clk);
+        if (pending !== 0 || ack_count != 2 || launch_count != (no_get ? 2 : 4))
+            $fatal(1, "event count wrong pending=%h ack=%0d launches=%0d", pending, ack_count, launch_count);
+        $display("PASS mrdimm_done_parallel no_get=%0d bytes=%0d frames=%0d acknowledgements=%0d", no_get, rx_count, launch_count, ack_count);
+        $finish;
+    end
+    initial begin
+        #2000000;
+        $fatal(1, "timeout: bytes=%0d frames=%0d ack=%0d pending=%h (old TX ack may have cleared newer DONE)",
+               rx_count, launch_count, ack_count, pending);
+    end
+endmodule

+ 5 - 1
tests/sim/mrdimm_pwm_commit_race_tb.v

@@ -1,5 +1,9 @@
 `timescale 1ns/1ps
 
+// Historical diagnostic for the retired mrdimm_output_core. This is a
+// reproduction script, not a current production-top acceptance gate: it prints
+// any mixed-image observation and exits normally even when one is found.
+
 module mrdimm_pwm_commit_race_tb;
     reg clk = 0;
     always #20 clk = ~clk; // 25 MHz
@@ -57,7 +61,7 @@ module mrdimm_pwm_commit_race_tb;
 
     initial begin
         $display("=== Starting MRDIMM PWM Commit Race Reproduction ===");
-        // Sweep commit arrival across all 500 clocks of a PWM phase
+        // Sweep50 arrival offsets with the local accelerated PWM parameters
         for (sweep_offset = 0; sweep_offset < 50; sweep_offset = sweep_offset + 1) begin
             // Reset DUT
             rst_n = 0;

+ 172 - 0
tests/sim/prod2u_6400_v2_acquisition_tb.v

@@ -0,0 +1,172 @@
+`timescale 1ns/1ps
+
+// All data enters production RTL through physical connector ports.
+// No hierarchy force, RAM writes, byte-valid injection or parser bypass.
+module prod2u_6400_v2_acquisition_tb;
+    localparam real HOST_BIT_NS = 1000000000.0 / 921600.0;
+    reg clk = 0;
+    always #20 clk = ~clk;
+    reg host_rx = 1;
+    wire host_tx, bmc_rx, bmc_tx;
+    tri1 physical_ct_scl, physical_ct_sda;
+    wire nc_ct_scl, nc_ct_sda;
+    wire [23:0] ptc;
+    wire [31:0] ct_reads, bmc_commands, bmc_replies;
+    wire [8:0] ct_registers;
+
+    prod2u_6400_v2_acquisition_fixture board (
+        .clk(clk), .host_rx(host_rx), .host_tx(host_tx),
+        .bmc_rx(bmc_rx), .bmc_tx(bmc_tx),
+        .physical_ct_scl(physical_ct_scl), .physical_ct_sda(physical_ct_sda),
+        .nc_ct_scl(nc_ct_scl), .nc_ct_sda(nc_ct_sda), .ptc(ptc)
+    );
+    ct7428_normal_slave_bfm #(.I2C_ADDRESS(7'h49)) ct_u6 (
+        .scl(physical_ct_scl), .sda(physical_ct_sda),
+        .completed_reads(ct_reads), .registers_seen(ct_registers)
+    );
+    bmc_uart_normal_bfm bmc (
+        .rx_from_fpga(bmc_tx), .tx_to_fpga(bmc_rx),
+        .commands_seen(bmc_commands), .replies_sent(bmc_replies)
+    );
+    reg [7:0] received [0:255];
+    reg [7:0] captured;
+    integer received_count = 0, bit_index, i;
+    reg [15:0] crc;
+
+    function [7:0] expected_ct;
+        input integer index;
+        begin
+            case (index)
+                0: expected_ct = 0;
+                1: expected_ct = 25;
+                2: expected_ct = 40;
+                3: expected_ct = 70;
+                4: expected_ct = 100;
+                5: expected_ct = 15;
+                6: expected_ct = 16;
+                7: expected_ct = 17;
+                8: expected_ct = 18;
+                default: expected_ct = 8'hff;
+            endcase
+        end
+    endfunction
+    function [7:0] expected_bmc;
+        input integer index;
+        begin
+            case (index)
+                0: expected_bmc = 0;
+                1: expected_bmc = 40;
+                2: expected_bmc = 42;
+                3: expected_bmc = 43;
+                4: expected_bmc = 8'hff;
+                default: expected_bmc = 30 + index;
+            endcase
+        end
+    endfunction
+    function [15:0] crc_byte;
+        input [15:0] prior;
+        input [7:0] value;
+        reg [15:0] c;
+        integer b;
+        begin
+            c = prior ^ {value, 8'h00};
+            for (b = 0; b < 8; b = b + 1)
+                c = c[15] ? (c << 1) ^ 16'h1021 : c << 1;
+            crc_byte = c;
+        end
+    endfunction
+    task host_byte;
+        input [7:0] value;
+        integer b;
+        begin
+            host_rx = 0;
+            #(HOST_BIT_NS);
+            for (b = 0; b < 8; b = b + 1) begin
+                host_rx = value[b];
+                #(HOST_BIT_NS);
+            end
+            host_rx = 1;
+            #(HOST_BIT_NS);
+        end
+    endtask
+    initial begin
+        forever begin
+            @(negedge host_tx);
+            #(1.5 * HOST_BIT_NS);
+            for (bit_index = 0; bit_index < 8; bit_index = bit_index + 1) begin
+                captured[bit_index] = host_tx;
+                #(HOST_BIT_NS);
+            end
+            if (host_tx !== 1'b1) $fatal(1, "Host TX stop bit error");
+            if (received_count >= 256) $fatal(1, "Unexpected Host TX overflow");
+            received[received_count] = captured;
+            received_count = received_count + 1;
+        end
+    end
+    always @(negedge clk) begin
+        if ($time > 100000) begin
+            if (nc_ct_scl !== 1'bz || nc_ct_sda !== 1'bz)
+                $fatal(1, "Unpopulated M8/N9 CT branch must stay high impedance");
+            if (ptc !== 24'd0)
+                $fatal(1, "Temperature acquisition unexpectedly changed PTC output");
+        end
+    end
+
+    task get_and_check_snapshot;
+        input missing_bmc;
+        begin
+        received_count = 0;
+        host_byte(8'ha5); host_byte(8'h5a); host_byte(8'h02);
+        host_byte(8'h00); host_byte(8'h6d); host_byte(8'h7b);
+        wait (received_count >= 95);
+        #(HOST_BIT_NS);
+        if (received_count != 95) $fatal(1, "Unexpected GET reply length %0d", received_count);
+        if (received[0] !== 8'ha5 || received[1] !== 8'h5a ||
+            received[2] !== 8'h82 || received[3] !== 0 ||
+            received[4] !== 8'hf5 || received[5] !== 8'h60)
+            $fatal(1, "GET_ACK fixed golden mismatch");
+        if (received[6] !== 8'ha5 || received[7] !== 8'h5a ||
+            received[8] !== 8'h42 || received[9] !== 83)
+            $fatal(1, "GET_DATA header mismatch");
+        for (i = 0; i < 24; i = i + 1)
+            if (received[10+i] !== 0) $fatal(1, "PTC telemetry changed during acquisition");
+        for (i = 0; i < 8; i = i + 1)
+            if (received[34+i] !== 20) $fatal(1, "Fan telemetry changed during acquisition");
+        for (i = 0; i < 24; i = i + 1)
+            if (received[42+i] !== (missing_bmc ? 8'hff : expected_bmc(i)))
+                $fatal(1, "BMC channel %0d after_missing=%b GET=%h expected=%h", i, missing_bmc,
+                       received[42+i], missing_bmc ? 8'hff : expected_bmc(i));
+        for (i = 0; i < 27; i = i + 1)
+            if (received[66+i] !== expected_ct(i))
+                $fatal(1, "CT channel %0d GET=%h expected=%h", i, received[66+i], expected_ct(i));
+        crc = 16'hffff;
+        for (i = 8; i < 93; i = i + 1) crc = crc_byte(crc, received[i]);
+        if ({received[94], received[93]} !== crc) $fatal(1, "GET_DATA CRC mismatch");
+        end
+    endtask
+    initial begin
+        // Production timer-only elaboration overrides in the fixture:
+        // first poll immediately, commit after 30 ms.  Real 25 MHz clock,
+        // real 115200 BMC UART and real 100 kHz I2C are unchanged.
+        wait (bmc_commands >= 1);
+        #32000000;
+        if (bmc_replies < 1) $fatal(1, "BMC did not complete physical UART reply");
+        if (ct_reads < 18 || ct_registers !== 9'h1ff)
+            $fatal(1, "No two complete physical U6 scans: reads=%0d register_mask=%h", ct_reads, ct_registers);
+        if (received_count != 0) $fatal(1, "Unexpected Host telemetry before GET");
+        get_and_check_snapshot(0);
+        $display("PASS acquisition first round: real U6 and BMC ports -> complete GET temperatures");
+        // A subsequent normal disconnected BMC must invalidate its prior
+        // values.  CT remains connected and continues to update normally.
+        wait (bmc_commands >= 2);
+        #32000000;
+        if (bmc_replies != 1) $fatal(1, "BMC model unexpectedly replied during disconnected round");
+        get_and_check_snapshot(1);
+        $display("PASS prod2u_6400_v2_acquisition_tb: U6=0x49 physical B14/A15 open drain reads=%0d regs=0..8 integer/fraction conversion; CT9..26=FF; BMC command43/echo/48tokens/prompt over115200 ->24temperatures; next unanswered poll ->allFF; GET83 CRC", ct_reads);
+        $finish;
+    end
+    initial begin
+        #85000000;
+        $fatal(1, "prod2u_6400_v2_acquisition_tb timeout");
+    end
+endmodule

+ 202 - 0
tests/sim/prod2u_6400_v2_connector_tb.v

@@ -0,0 +1,202 @@
+`timescale 1ns/1ps
+
+// Production-top UART -> actual ADC pad assignment -> PCB MOSFET/connector
+// model.  The runner generates only the actual pad wiring from the current
+// ADC.  Expected physical connector order below is fixed from BRD + PDF.
+module prod2u_6400_v2_connector_tb;
+    localparam real BIT_NS = 1000000000.0 / 921600.0;
+    localparam integer MEASURE_CYCLES = 100000; // two real 500 Hz periods
+    reg clk = 0;
+    always #20 clk = ~clk;
+    reg host_ttl_rx = 1, host_rs232_rx = 1;
+    wire host_ttl_tx, host_rs232_tx;
+    wire [7:0] fan_connector_pwm;
+    wire [23:0] ptc_connector_pwm;
+    wire [10:0] spare_connector_pwm;
+    wire [2:0] ssr_connector;
+    prod2u_6400_v2_physical_fixture board (
+        .clk(clk), .host_ttl_rx(host_ttl_rx), .host_rs232_rx(host_rs232_rx),
+        .host_ttl_tx(host_ttl_tx), .host_rs232_tx(host_rs232_tx),
+        .fan_connector_pwm(fan_connector_pwm), .ptc_connector_pwm(ptc_connector_pwm),
+        .spare_connector_pwm(spare_connector_pwm), .ssr_connector(ssr_connector)
+    );
+    reg [7:0] set_payload [0:31];
+    reg [7:0] rx_bytes [0:255];
+    reg [7:0] rx_byte;
+    integer rx_count = 0;
+    integer rx_bit;
+    integer expected_fan [0:7];
+    integer expected_ptc [0:23];
+    integer fan_high [0:7];
+    integer ptc_high [0:23];
+    integer i, j, cycle_count;
+    reg [15:0] get_crc;
+
+    function [15:0] crc_byte;
+        input [15:0] prior;
+        input [7:0] data;
+        reg [15:0] c;
+        integer b;
+        begin
+            c = prior ^ {data, 8'h00};
+            for (b = 0; b < 8; b = b + 1)
+                c = c[15] ? ((c << 1) ^ 16'h1021) : (c << 1);
+            crc_byte = c;
+        end
+    endfunction
+
+    task send_byte;
+        input [7:0] data;
+        integer b;
+        begin
+            host_ttl_rx = 0;
+            #(BIT_NS);
+            for (b = 0; b < 8; b = b + 1) begin
+                host_ttl_rx = data[b];
+                #(BIT_NS);
+            end
+            host_ttl_rx = 1;
+            #(BIT_NS);
+        end
+    endtask
+
+    task send_set;
+        reg [15:0] c;
+        integer p;
+        begin
+            c = crc_byte(crc_byte(16'hffff, 8'h01), 8'd32);
+            send_byte(8'ha5); send_byte(8'h5a);
+            send_byte(8'h01); send_byte(8'd32);
+            for (p = 0; p < 32; p = p + 1) begin
+                send_byte(set_payload[p]);
+                c = crc_byte(c, set_payload[p]);
+            end
+            send_byte(c[7:0]); send_byte(c[15:8]);
+        end
+    endtask
+
+    task wait_bytes;
+        input integer count;
+        integer cycles;
+        begin
+            cycles = 0;
+            while (rx_count < count && cycles < 250000) begin
+                @(negedge clk);
+                cycles = cycles + 1;
+            end
+            if (rx_count != count)
+                $fatal(1, "6400 connector test received %0d bytes, expected %0d", rx_count, count);
+            #(BIT_NS); // include the whole last stop bit
+        end
+    endtask
+
+    task measure_connectors;
+        integer k, n;
+        begin
+            for (k = 0; k < 8; k = k + 1) fan_high[k] = 0;
+            for (k = 0; k < 24; k = k + 1) ptc_high[k] = 0;
+            // Window starts at arbitrary external clock phase; its exact
+            // length covers two periods without inspecting DUT PWM state.
+            for (n = 0; n < MEASURE_CYCLES; n = n + 1) begin
+                @(negedge clk);
+                if (spare_connector_pwm !== 11'b0 || ssr_connector !== 3'b111)
+                    $fatal(1, "spare PTC/SSR connector output changed: %b/%b", spare_connector_pwm, ssr_connector);
+                for (k = 0; k < 8; k = k + 1) begin
+                    if (fan_connector_pwm[k] !== 0 && fan_connector_pwm[k] !== 1)
+                        $fatal(1, "undefined fan connector channel %0d", k+1);
+                    if (fan_connector_pwm[k]) fan_high[k] = fan_high[k] + 1;
+                end
+                for (k = 0; k < 24; k = k + 1) begin
+                    if (ptc_connector_pwm[k] !== 0 && ptc_connector_pwm[k] !== 1)
+                        $fatal(1, "undefined PTC connector channel %0d", k+1);
+                    if (ptc_connector_pwm[k]) ptc_high[k] = ptc_high[k] + 1;
+                end
+            end
+            for (k = 0; k < 8; k = k + 1)
+                if (fan_high[k] != expected_fan[k] * (MEASURE_CYCLES/100))
+                    $fatal(1, "physical FAN_PWM%0d high clocks=%0d expected=%0d (%0d percent); check ADC permutation and one MOS inversion",
+                           k+1, fan_high[k], expected_fan[k]*(MEASURE_CYCLES/100), expected_fan[k]);
+            for (k = 0; k < 24; k = k + 1)
+                if (ptc_high[k] != expected_ptc[k] * (MEASURE_CYCLES/100))
+                    $fatal(1, "physical PTC chamber=%0d lane=%0d high clocks=%0d expected=%0d",
+                           k/6+1, k%6+1, ptc_high[k], expected_ptc[k]*(MEASURE_CYCLES/100));
+        end
+    endtask
+
+    initial begin
+        forever begin
+            @(negedge host_ttl_tx);
+            #(1.5 * BIT_NS);
+            for (rx_bit = 0; rx_bit < 8; rx_bit = rx_bit + 1) begin
+                rx_byte[rx_bit] = host_ttl_tx;
+                #(BIT_NS);
+            end
+            if (host_ttl_tx !== 1'b1) $fatal(1, "6400 TX stop-bit error at nominal 921600");
+            if (rx_count >= 256) $fatal(1, "unexpected autonomous TX before 5 second beacon period");
+            rx_bytes[rx_count] = rx_byte;
+            rx_count = rx_count + 1;
+        end
+    end
+
+    initial begin
+        // Let POR and the first full PWM period finish; undefined physical
+        // BRAM state is not replaced by zero-filled test memories.
+        repeat (60000) @(negedge clk);
+        for (i = 0; i < 8; i = i + 1) expected_fan[i] = 20;
+        for (i = 0; i < 24; i = i + 1) expected_ptc[i] = 0;
+        measure_connectors;
+        $display("PASS 6400 connector boot: all 8 fan terminals 20 percent, all 24 PTC zero, 11 spares zero, SSR1/2/4 high");
+
+        for (i = 0; i < 24; i = i + 1) begin
+            set_payload[i] = 5 + 3*i;
+            expected_ptc[i] = 5 + 3*i;
+        end
+        // Protocol order: all four intakes, then all four exhausts.
+        set_payload[24] = 0;   set_payload[25] = 100;
+        set_payload[26] = 1;   set_payload[27] = 99;
+        set_payload[28] = 20;  set_payload[29] = 40;
+        set_payload[30] = 60;  set_payload[31] = 80;
+        // Physical order: CON154 -> chambers 3/4; CON155 -> chambers 1/2.
+        // Per connector: intake, exhaust, intake, exhaust.  These values
+        // are deliberately independent of generated ADC fixture wiring.
+        expected_fan[0] = 1;   expected_fan[1] = 60;
+        expected_fan[2] = 99;  expected_fan[3] = 80;
+        expected_fan[4] = 0;   expected_fan[5] = 20;
+        expected_fan[6] = 100; expected_fan[7] = 40;
+        rx_count = 0;
+        send_set;
+        wait_bytes(6);
+        if (rx_bytes[0] !== 8'ha5 || rx_bytes[1] !== 8'h5a ||
+            rx_bytes[2] !== 8'h81 || rx_bytes[3] !== 0 ||
+            rx_bytes[4] !== 8'ha6 || rx_bytes[5] !== 8'h35)
+            $fatal(1, "6400 SET_ACK is not complete known CRC-correct golden frame");
+        repeat (50000) @(negedge clk);
+        measure_connectors;
+        $display("PASS 6400 connector SET: eight distinct fan duties including 0/1/99/100, 24 distinct PTC duties, actual ADC and one physical NMOS inversion");
+
+        rx_count = 0;
+        send_byte(8'ha5); send_byte(8'h5a); send_byte(8'h02);
+        send_byte(0); send_byte(8'h6d); send_byte(8'h7b);
+        wait_bytes(95);
+        if (rx_bytes[0] !== 8'ha5 || rx_bytes[1] !== 8'h5a ||
+            rx_bytes[2] !== 8'h82 || rx_bytes[3] !== 0 ||
+            rx_bytes[4] !== 8'hf5 || rx_bytes[5] !== 8'h60)
+            $fatal(1, "6400 GET_ACK golden mismatch");
+        if (rx_bytes[6] !== 8'ha5 || rx_bytes[7] !== 8'h5a ||
+            rx_bytes[8] !== 8'h42 || rx_bytes[9] !== 8'd83)
+            $fatal(1, "6400 GET_DATA header mismatch");
+        for (i = 0; i < 32; i = i + 1)
+            if (rx_bytes[10+i] !== set_payload[i])
+                $fatal(1, "GET protocol lane %0d did not match measured connector setting", i);
+        get_crc = 16'hffff;
+        for (i = 8; i < 93; i = i + 1) get_crc = crc_byte(get_crc, rx_bytes[i]);
+        if ({rx_bytes[94], rx_bytes[93]} !== get_crc)
+            $fatal(1, "6400 GET_DATA CRC mismatch: wire=%h%h expected=%h", rx_bytes[94], rx_bytes[93], get_crc);
+        $display("PASS prod2u_6400_v2_connector_tb: physical PWM, PTC, spares, SSR, nominal UART, ACK/DATA CRC and GET readback");
+        $finish;
+    end
+    initial begin
+        #50000000;
+        $fatal(1, "prod2u_6400_v2_connector_tb timeout");
+    end
+endmodule

+ 4 - 2
tests/sim/prod2u_6400_v2_tb.v

@@ -10,8 +10,10 @@
 //      - 24 PTC duties match set duties.
 //      - 4 Front and 4 Rear fan duties match set duties.
 //      - CT sensor channels 9..26 (offsets 65..82) return 0xFF.
-//   4. Dual-bank duty register eliminates PWM reading conflicts during GET.
-//   5. SSRs remain 1'b1 throughout transactions.
+//   4. GET returns the expected duty-bank bytes after each SET.
+//   5. SSRs are high at the explicit checkpoints below.
+// This test uses integer UART timing and response-header checks. It does not
+// verify response CRCs, physical ADC mapping or the first PWM commit edge.
 module prod2u_6400_v2_tb;
     localparam integer CLKS_PER_BIT = 27;
     localparam integer BIT_CLKS = CLKS_PER_BIT;

+ 4 - 1
tests/sim/prod2u_6400_v2_temp_arb_tb.v

@@ -1,6 +1,9 @@
 `timescale 1ns/1ps
 
-// Cycle-accurate temperature write arbitration testbench for Prod2U 6400 V2.0.
+// Historical stand-alone arbitration-model test for Prod2U6400V2.
+// The queue logic below is copied into the TB; only temp_ram is production RTL.
+// Passing this file does not verify arbitration inside the production top.
+// External CT/BMC acquisition coverage is provided by the acquisition BFM.
 // Verifies:
 // 1. Cycle N:   BMC + CT0 simultaneous write -> BMC has priority, CT0 buffered.
 // 2. Cycle N+1: CT1 write + pending CT0 retirement -> CT0 written to RAM, CT1 buffered.

+ 5 - 3
tests/sim/pty_bridge_tb.v

@@ -35,7 +35,9 @@ module pty_bridge_tb;
     pullup(temp_sda);
 
     // Production physical top
-    prod2u_mrdimm_rs232_only_top dut (
+    // This PTY regression intentionally stays at 115200; production defaults
+    // may change independently. Both BFMs below use the matching 217 clocks.
+    prod2u_mrdimm_rs232_only_top #(.HOST_BAUD(115200)) dut (
         .sys_clk(sys_clk),
         .host_rs232_rx(host_rs232_rx),
         .host_rs232_tx(host_rs232_tx),
@@ -87,7 +89,7 @@ module pty_bridge_tb;
     end
 
     // ------------------------------------------------------------------------
-    // UART TX BFM (PTY -> host_rs232_rx @ 921600 baud 8N1)
+    // UART TX BFM (PTY -> host_rs232_rx @ 115200 baud 8N1)
     // ------------------------------------------------------------------------
     integer pty_byte;
     integer pty_valid;
@@ -117,7 +119,7 @@ module pty_bridge_tb;
     end
 
     // ------------------------------------------------------------------------
-    // UART RX BFM (host_rs232_tx -> PTY @ 921600 baud 8N1)
+    // UART RX BFM (host_rs232_tx -> PTY @ 115200 baud 8N1)
     // ------------------------------------------------------------------------
     integer rx_clk_cnt = 0;
     reg [3:0] rx_bit = 0;

+ 19 - 22
tests/sim/pwm_commit_handshake_tb.v

@@ -1,21 +1,18 @@
 `timescale 1ns/1ps
 
-// PWM Period-Boundary Atomic Commit & Watchdog Expiry/Recovery Testbench
+// Production-top duty readback and accelerated watchdog recovery regression.
 //
-// Verifies:
-//   1. Full PWM period atomic commit across all 32 channels (zero channel mixing):
-//      - Transitions from All 0% -> All 100% duty.
-//      - Confirms that duty updates occur strictly at the whole-period boundary (phase 0).
-//      - Confirms that SET_ACK is asserted only after the new settings actually drive output pins.
-//   2. Watchdog expiry & direct recovery (100 accelerated rounds):
-//      - Watchdog timeout immediately drives outputs to default (PTC 0%, FAN 20%).
-//      - Direct SET A (identical bytes) restores outputs without prior GET or serial reopen.
-//      - Direct SET B (different bytes) updates outputs correctly.
-//      - GET after expiry reloads timer but maintains safe defaults (never restores stale duty).
-//      - Consecutive GET calls do not restore stale pre-expiry banks.
-//      - SSR1, SSR2, SSR4 remain constant 1'b1 throughout all operations.
-//      - Coincident expiry and SET/GET admission: valid admission wins, zero late invalidations.
-//      - Bad CRC and NACK frames do not reload watchdog.
+// Drives UART SET/GET, checks response headers and selected duty bytes, checks
+// duty-bank validity over ten accelerated expiry/recovery rounds, and samples
+// SSR1/2/4 at the beginning and end. Bad-CRC input is followed by eventual
+// expiry and a successful GET.
+//
+// Scope: this bench does not monitor the first PWM output transition, prove
+// period-boundary channel atomicity, calculate response CRCs, measure connector
+// duty, or drive SET/GET exactly on watchdog expiry. The bad-CRC case waits a
+// whole timeout after injection, so it does not prove the exact reload edge.
+// The independent connector and nominal-UART fixtures supply their stated
+// physical-pin, full-period-duty, CRC and complete-stop checks separately.
 module pwm_commit_handshake_tb;
     localparam integer CLKS_PER_BIT = 27; // 921600 baud at 25 MHz
     localparam integer BIT_CLKS     = CLKS_PER_BIT;
@@ -253,8 +250,8 @@ module pwm_commit_handshake_tb;
             $display("PASS: Initial defaults confirmed (PTC 0%%, FAN 20%%)");
         end
 
-        // Test 3: Whole-period atomic commit (All 0 -> All 100)
-        $display("--- Testing Atomic Whole-Period Commit (All 0 -> All 100) ---");
+        // Test 3: SET all channels to100 and check subsequent GET readback
+        $display("--- Testing All-100 Duty Commit Readback ---");
         send_set_all_uniform(8'd100, 8'd100, 8'd100);
         wait_for_set_ack(ack_ok);
         if (!ack_ok) begin
@@ -355,8 +352,8 @@ module pwm_commit_handshake_tb;
             $display("PASS: SET B output applied cleanly");
         end
 
-        // Test 7: Bad CRC does NOT reload watchdog
-        $display("--- Testing Bad CRC Discard & Watchdog ---");
+        // Test 7: Bad CRC followed by eventual watchdog expiry and legal GET
+        $display("--- Testing Bad CRC Input, Eventual Expiry and Recovery GET ---");
         // Frame with bad CRC
         tx_buf[0] = 8'hA5; tx_buf[1] = 8'h5A; tx_buf[2] = 8'h01; tx_buf[3] = 8'd32;
         for (round = 0; round < 32; round = round + 1) tx_buf[4 + round] = 8'd99;
@@ -366,10 +363,10 @@ module pwm_commit_handshake_tb;
         send_get_all();
         wait_for_get_reply(ack_ok);
         if (!ack_ok || rx_buf[10] !== 8'd0 || rx_buf[34] !== 8'd20) begin
-            $display("FAIL: Bad CRC improperly reloaded watchdog!");
+            $display("FAIL: Output did not reach defaults after bad CRC and full timeout!");
             failures = failures + 1;
         end else begin
-            $display("PASS: Bad CRC did not feed watchdog; safely defaulted");
+            $display("PASS: Defaults observed after bad CRC input and full timeout");
         end
 
         // Test 8: Accelerated Expiry & Direct Recovery Rounds
@@ -415,7 +412,7 @@ module pwm_commit_handshake_tb;
             $display("FAIL: SSRs dropped during tests");
             failures = failures + 1;
         end else begin
-            $display("PASS: SSRs remained 1'b1 throughout all tests");
+            $display("PASS: SSRs were 1'b1 at the final check");
         end
 
         #2000;

+ 8 - 0
tests/sim/vpi_pty.c

@@ -32,6 +32,14 @@ static int pty_init_calltf(char *user_data) {
         return -1;
     }
 
+    // Start from the PTY settings before changing its raw-mode flags.
+    if (tcgetattr(slave_fd, &tio) < 0) {
+        vpi_printf("FATAL: tcgetattr failed\n");
+        close(master_fd);
+        close(slave_fd);
+        master_fd = slave_fd = -1;
+        return -1;
+    }
     // Configure raw mode (no echo, no translation)
     cfmakeraw(&tio);
     tcsetattr(master_fd, TCSANOW, &tio);

+ 18 - 7
tests/unit/test_6400_v2_electrical_contract.py

@@ -155,8 +155,8 @@ def test_v2_ptc_pins_and_uniqueness():
         "TTL_RX": "J4", "TTL_TX": "K2",
         "RS_RX": "R13", "RS_TX": "T14",
         "BMC_RX": "M9", "BMC_TX": "L10",
-        "CT_SCL": "M8", "CT_SDA": "N9",
-        "CT_SCL_ALT": "B14", "CT_SDA_ALT": "A15",
+        "CT_SCL": "B14", "CT_SDA": "A15",
+        "CT_SCL_ALT": "M8", "CT_SDA_ALT": "N9",
         "SSR1": "F3", "SSR2": "F1", "SSR4": "G4",
         "F0": "P12", "F1": "D8", "F2": "C4", "F3": "B1",
         "R0": "A10", "R1": "C7", "R2": "B5", "R3": "A14"
@@ -166,10 +166,12 @@ def test_v2_ptc_pins_and_uniqueness():
 
 
 def test_ct_unused_alias_pins_hiz():
-    """Verify CT alias pins B14 and A15 are constrained and tri-stated (Hi-Z)."""
+    """Verify unused CT jumpers M8 and N9 are constrained and tri-stated (Hi-Z)."""
     adc_text = (ROOT / "constraints/prod2u_6400_v2.adc").read_text(encoding="utf-8")
-    assert "set_pin_assignment { temp_scl_alt } { LOCATION = B14;" in adc_text
-    assert "set_pin_assignment { temp_sda_alt } { LOCATION = A15;" in adc_text
+    assert "set_pin_assignment { temp_scl } { LOCATION = B14;" in adc_text
+    assert "set_pin_assignment { temp_sda } { LOCATION = A15;" in adc_text
+    assert "set_pin_assignment { temp_scl_alt } { LOCATION = M8;" in adc_text
+    assert "set_pin_assignment { temp_sda_alt } { LOCATION = N9;" in adc_text
 
     top_text = (ROOT / "src/top/prod2u_6400_v2_top.v").read_text(encoding="utf-8")
     assert "assign temp_scl_alt = 1'bz;" in top_text
@@ -278,8 +280,17 @@ def test_v2_schematic_20261015_authority_and_inventory_alignment():
 
     # 2. CT7428 U6 inlet/outlet probe labels
     probes = inv["ct7428_u6"]["probes"]
-    assert "进风口" in probes["ch1"] and "进风口" in probes["ch4"]
-    assert "出风口" in probes["ch5"] and "出风口" in probes["ch8"]
+    # Independent PDF page 4 wiring: each chamber has an inlet/outlet pair.
+    expected = ((1, "CON53", 1, "进风口"), (2, "CON55", 1, "出风口"),
+                (3, "CON56", 2, "进风口"), (4, "CON57", 2, "出风口"),
+                (5, "CON79", 3, "进风口"), (6, "CON80", 3, "出风口"),
+                (7, "CON81", 4, "进风口"), (8, "CON82", 4, "出风口"))
+    for channel, connector, chamber, airflow in expected:
+        label = probes[f"ch{channel}"]
+        assert connector in label and f"腔{chamber}" in label and airflow in label
+    assert con103["pin3"] == "+3.3V" and con103["pin4"] == "GND"
+    assert inv["host_uart_con134_rs232"]["transceiver_pcb"] == "U22 TRSF3232EIPWR channel 2"
+    assert inv["bmc_uart_con77_rs232"]["transceiver_pcb"] == "U22 TRSF3232EIPWR channel 1"
 
     # 3. SSR1/2/4 auxiliary heater loads & resistor paths
     ssr = inv["ssr_fixed_on"]

+ 0 - 0
tests/unit/test_current_serial_tools.py


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio