Преглед изворни кода

fix-6400-v11-fan-rs232-only-release

root пре 3 месеци
родитељ
комит
4a140b10e4
37 измењених фајлова са 420 додато и 145 уклоњено
  1. 1 1
      constraints/prod2u_6400_front_back.adc
  2. 14 8
      contracts/channel-map.yaml
  3. 3 3
      docs/architecture/6400-v1-design-lock.md
  4. 14 12
      docs/electrical/rear-fan-evidence-lock.md
  5. 1 1
      docs/generated/6400-channel-map.md
  6. 1 1
      docs/prod2u-6400-front-back-protocol.zh-CN.md
  7. 40 9
      generated/6400/channel-map.json
  8. 1 1
      generated/6400/contract-sha256.txt
  9. 1 1
      generated/6400/controller-coefficients.json
  10. 1 1
      generated/6400/fan-control-parameters.json
  11. 1 1
      generated/6400/fixed-point.json
  12. 1 1
      generated/6400/golden-vectors.json
  13. 42 11
      generated/6400/host-contract.json
  14. 5 2
      generated/6400/prod2u_6400_v1_params.vh
  15. 1 1
      generated/6400/snapshot-layout.json
  16. 9 4
      products/6400-control/project.json
  17. 3 2
      products/6400-control/source-closure.json
  18. 3 0
      products/6400-identification/project.json
  19. 5 3
      projects/registry.json
  20. 5 4
      src/control/thermal_control_core.v
  21. 3 3
      src/top/prod2u_6400_identification_top.v
  22. 35 0
      src/top/prod2u_6400_rs232_only_top.v
  23. 6 2
      src/top/prod2u_6400_v1_top.v
  24. 2 5
      td/bitgen/prod2u_6400_front_back.tcl
  25. 2 3
      td/bitgen/prod2u_6400_identification.tcl
  26. 1 1
      td/prod2u_6400_front_back.prj
  27. 1 1
      td/prod2u_6400_identification.prj
  28. 2 1
      td/syn/prod2u_6400_front_back.tcl
  29. 1 0
      td/syn/prod2u_6400_identification.tcl
  30. 24 10
      tests/unit/test_6400_profile_package.py
  31. 11 13
      tests/unit/test_6400_td_parser.py
  32. 64 0
      tests/unit/test_6400_v1_contract.py
  33. 7 4
      tests/unit/test_6400_v1_source_closure.py
  34. 22 10
      tools/generate_6400_v1.py
  35. 65 18
      tools/package_target.py
  36. 6 3
      tools/run_6400_td.py
  37. 16 4
      tools/run_6400_v1.py

+ 1 - 1
constraints/prod2u_6400_front_back.adc

@@ -1,4 +1,4 @@
-# 6400-front-rear-v1 confirmed pins. TTL Host remains deliberately unbound.
+# 6400-front-rear-v1 V1.1 confirmed pins for the CON78 RS-232-only physical top.
 set_pin_assignment { sys_clk } { LOCATION = J1; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
 set_pin_assignment { bmc_rs232_tx } { LOCATION = L10; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
 set_pin_assignment { bmc_rs232_rx } { LOCATION = M9; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }

+ 14 - 8
contracts/channel-map.yaml

@@ -1,5 +1,11 @@
 schema: prod2u-6400-channel-map-v1
 product: 6400-front-rear-v1
+board:
+  id: fcb_fpga_mcu_v1_1_20260625
+  evidence_source: external:FCB_FPGA+MCU_V1.1_20260625.brd
+  evidence_sha256: db02938f7943b2ae532aa18208f61588364d32a70a0cc72f74b4a94aaab7e258
+  independent_v1_1_schematic_pdf: NOT_FOUND
+  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}
@@ -7,14 +13,14 @@ lanes:
   - {air_lane: 3, cpu: 1, cpu_slots: [6, 11], thermal_zone: 2, cohort: holdout}
 fan_output_vector_order: [front0, front1, front2, front3, rear0, rear1, rear2, rear3]
 fan_outputs:
-  - {output_index: 24, group: front, lane: 0, connector: CON25, pin: 7, net: FAN_PWM3, board_stage: Q101, fpga_ball: B1, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
-  - {output_index: 25, group: front, lane: 1, connector: CON8, pin: 7, net: FAN_PWM1, board_stage: Q99, fpga_ball: C4, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
-  - {output_index: 26, group: front, lane: 2, connector: CON24, pin: 7, net: FAN_PWM2, board_stage: Q100, fpga_ball: B5, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
-  - {output_index: 27, group: front, lane: 3, connector: CON26, pin: 7, net: FAN_PWM4, board_stage: Q102, fpga_ball: A14, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
-  - {output_index: 28, group: rear, lane: 0, connector: CON64, pin: 4, net: FAN_GPIO44, board_stage: R704_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: P15, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
-  - {output_index: 29, group: rear, lane: 1, connector: CON66, pin: 4, net: FAN_GPIO46, board_stage: R706_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: N15, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
-  - {output_index: 30, group: rear, lane: 2, connector: CON62, pin: 4, net: FAN_GPIO42, board_stage: R702_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: M14, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
-  - {output_index: 31, group: rear, lane: 3, connector: CON60, pin: 4, net: FAN_GPIO40, board_stage: R700_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: P5, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 24, group: front, lane: 0, connector: CON25, pin: 7, net: FAN_PWM3, fpga_net: BANK5_IO1_8, series_element: R652, connector_net: N10451185, board_stage: Q101, fpga_ball: B1, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 25, group: front, lane: 1, connector: CON8, pin: 7, net: FAN_PWM1, fpga_net: BANK0_IO1_2, series_element: R646, connector_net: N9745627, board_stage: Q99, fpga_ball: C4, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 26, group: front, lane: 2, connector: CON24, pin: 7, net: FAN_PWM2, fpga_net: BANK0_IO1_5, series_element: R649, connector_net: N10449541, board_stage: Q100, fpga_ball: B5, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 27, group: front, lane: 3, connector: CON26, pin: 7, net: FAN_PWM4, fpga_net: BANK0_IO1_11, series_element: R655, connector_net: N10452692, board_stage: Q102, fpga_ball: A14, board_inverts: true, ball_active_level: low, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 28, group: rear, lane: 0, connector: CON64, pin: 4, net: FAN_GPIO44, fpga_net: BANK2_GPIO44, series_element: R704, connector_net: FAN_GPIO44, board_stage: R704_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: P15, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 29, group: rear, lane: 1, connector: CON66, pin: 4, net: FAN_GPIO46, fpga_net: BANK2_GPIO46, series_element: R706, connector_net: FAN_GPIO46, board_stage: R706_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: N15, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 30, group: rear, lane: 2, connector: CON62, pin: 4, net: FAN_GPIO42, fpga_net: BANK2_GPIO42, series_element: R702, connector_net: FAN_GPIO42, board_stage: R702_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: M14, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
+  - {output_index: 31, group: rear, lane: 3, connector: CON60, pin: 4, net: FAN_GPIO40, fpga_net: BANK2_GPIO40, series_element: R700, connector_net: FAN_GPIO40, board_stage: R700_0R_DESIGN_INTENT_POPULATION_UNVERIFIED, fpga_ball: P5, board_inverts: false, ball_active_level: high, connector_active_level: high, evidence: confirmed_board_v1_1}
 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
docs/architecture/6400-v1-design-lock.md

@@ -15,8 +15,8 @@ Status: FROZEN for this task after the five audits in `docs/audits/`. Changes re
 
 - BMC RS-232: UART1 / CON77, FPGA TX L10 and RX M9, 115200 8N1.
 - Host RS-232: UART2 / CON78, FPGA TX M10 and RX N11, 921600 8N1.
-- Host TTL: complete `host_ttl_rx`/`host_ttl_tx` 3.3 V interface in RTL. Its connector and balls are deliberately unbound until evidence proves them.
-- Host RS-232 and TTL RX each have a two-flop synchronizer. The first detected start bit selects one port for the complete request/response transaction. Only the selected TX toggles; the other remains high. Simultaneous use is out of contract.
+- Host TTL: the shared logical core retains complete `host_ttl_rx`/`host_ttl_tx` 3.3 V support, but V1.1 evidence does not prove a connector or balls. Production and Identification hardware therefore use explicit RS-232-only physical tops: TTL RX is held at UART idle and TTL TX is not exported to a package port. TD auto-placement of TTL is forbidden.
+- In simulation/debug variants that expose both ports, Host RS-232 and TTL RX each have a two-flop synchronizer. The first detected start bit selects one port for the complete request/response transaction. Only the selected TX toggles; the other remains high. Simultaneous use is out of contract.
 - CT7428: one open-drain I2C master on M8/N9; three devices 0x49, 0x48, 0x4B; nine registers each; all 27 values are retained with raw, converted, valid, age, source index, and epoch.
 - BMC poll command is exactly `ipmitool raw 0x36 0x6c 0xdf 0xdd 0x00 0x03\n`. The streaming parser accepts case-insensitive hex separated by whitespace/CR/LF, rejects malformed or non-48-byte replies, and never commits a partial snapshot. Each two-byte `FF FF` value is invalid, never 0 C.
 
@@ -89,4 +89,4 @@ This proves only deterministic electrical override after a sampled condition. Ph
 - CT physical channel-to-DIMM mapping where current board evidence is insufficient.
 - BMC fractional byte scaling pending protocol evidence; raw bytes remain canonical.
 
-Unknowns are generated as explicit unbound/unknown fields and do not block logic simulation, Host software, lab replay, or the remaining known-pin production closure. A production TD run cannot claim a complete TTL physical interface until those pins are resolved.
+Unknowns are generated as explicit unbound/unknown fields and do not block logic simulation, Host software, lab replay, or the known-pin RS-232-only production closure. No hardware package may expose or auto-place a Host TTL port until those pins are resolved.

+ 14 - 12
docs/electrical/rear-fan-evidence-lock.md

@@ -1,6 +1,8 @@
 # 6400 V1.1 front/rear fan electrical evidence lock
 
-Status: board-level mapping CONFIRMED; assembled pull-ups, exact fan model, and system harness order remain unresolved.
+Status: V1.1 board-level mapping CONFIRMED; intake/exhaust roles and lane order
+are `USER_CONFIRMED_SYSTEM_MAP`; assembled pull-ups, exact fan model, resistor
+population, and an independent 6400 harness drawing remain unresolved.
 
 ## Evidence sources
 
@@ -9,7 +11,7 @@ Status: board-level mapping CONFIRMED; assembled pull-ups, exact fan model, and
 - V1.1 physical authority: `reference/original/board/FCB_FPGA_MCU_V1.1_20260625/FCB_FPGA+MCU_V1.1_20260625.brd`, SHA-256 `DB02938F7943B2AE532AA18208F61588364D32A70A0CC72F74B4A94AAAB7E258`, plus its IPC-D-356 connectivity audit.
 - Raw V1.1 resistor pads bind `R700: BANK2_GPIO40 <-> FAN_GPIO40`, `R702: BANK2_GPIO42 <-> FAN_GPIO42`, `R704: BANK2_GPIO44 <-> FAN_GPIO44`, and `R706: BANK2_GPIO46 <-> FAN_GPIO46`. Their `component_value` is blank and `assembly_status` is unknown, so value and population remain unverified.
 - An independent V1.1 schematic PDF was not found: `NOT FOUND`. Therefore exact V1.1 refdes, connector-pin, and ball claims come from BRD/IPC-D-356-derived connectivity; the 0611 PDF is topology-only corroboration.
-- User-confirmed airflow roles: CON25/8/24/26 are intake; CON64/66/62/60 are exhaust. A matching 6400 assembly/harness drawing was not found, so physical board connectivity is confirmed while system-level lane/harness order remains `UNRESOLVED_USER_CONFIRMED`.
+- User-confirmed airflow roles and lane order: CON25/8/24/26 are Front0..3 intake; CON64/66/62/60 are Rear0..3 exhaust. A matching 6400 assembly/harness drawing was not found, so this is `USER_CONFIRMED_SYSTEM_MAP`, not drawing-verified harness evidence.
 - The 8000 V2 drawing with CON31/32/33/34/35/68 is a different harness and is explicitly excluded from this 6400 mapping.
 
 ## Locked output vector and board path
@@ -18,16 +20,16 @@ The sole production vector order is `front0..front3, rear0..rear3`, correspondin
 
 For rear outputs, the topology-page column identifies the 0611 cross-check only. Exact V1.1 connector, stage refdes, net, and FPGA ball values in the remaining columns are BRD/IPC-D-356-derived.
 
-| Output | Role | Topology pages | Connector pin | Net | Board stage | FPGA ball | Board inversion | Evidence level | Unresolved |
-| --- | --- | ---: | --- | --- | --- | --- | --- | --- | --- |
-| front0 | intake L0 | 3, 7, 10 | CON25.7 | FAN_PWM3 | Q101 | B1 | yes | board confirmed | harness lane only user-confirmed |
-| front1 | intake L1 | 3, 7, 10 | CON8.7 | FAN_PWM1 | Q99 | C4 | yes | board confirmed | harness lane only user-confirmed |
-| front2 | intake L2 | 3, 7, 10 | CON24.7 | FAN_PWM2 | Q100 | B5 | yes | board confirmed | harness lane only user-confirmed |
-| front3 | intake L3 | 3, 7, 10 | CON26.7 | FAN_PWM4 | Q102 | A14 | yes | board confirmed | harness lane only user-confirmed |
-| rear0 | exhaust L0 | 3, 8, 10 | CON64.4 | FAN_GPIO44 | R704, series link; value/population unknown | P15 | no | board confirmed | harness lane only user-confirmed |
-| rear1 | exhaust L1 | 3, 8, 10 | CON66.4 | FAN_GPIO46 | R706, series link; value/population unknown | N15 | no | board confirmed | harness lane only user-confirmed |
-| rear2 | exhaust L2 | 3, 8, 10 | CON62.4 | FAN_GPIO42 | R702, series link; value/population unknown | M14 | no | board confirmed | harness lane only user-confirmed |
-| rear3 | exhaust L3 | 3, 8, 10 | CON60.4 | FAN_GPIO40 | R700, series link; value/population unknown | P5 | no | board confirmed | harness lane only user-confirmed |
+| Output | Role | Connector output | V1.1 CPLD-to-connector board path | FPGA ball | Board inversion | Evidence level | Unresolved |
+| --- | --- | --- | --- | --- | --- | --- | --- |
+| front0 | intake L0 | CON25.7 / `N10451185` | B1 / `BANK5_IO1_8` -> R652 -> `FAN_PWM3` -> Q101 base; Q101 collector -> `N10451185` | B1 | yes | V1.1 BRD/IPC-D-356 confirmed | R652/Q101 population; independent harness drawing |
+| front1 | intake L1 | CON8.7 / `N9745627` | C4 / `BANK0_IO1_2` -> R646 -> `FAN_PWM1` -> Q99 base; Q99 collector -> `N9745627` | C4 | yes | V1.1 BRD/IPC-D-356 confirmed | R646/Q99 population; independent harness drawing |
+| front2 | intake L2 | CON24.7 / `N10449541` | B5 / `BANK0_IO1_5` -> R649 -> `FAN_PWM2` -> Q100 base; Q100 collector -> `N10449541` | B5 | yes | V1.1 BRD/IPC-D-356 confirmed | R649/Q100 population; independent harness drawing |
+| front3 | intake L3 | CON26.7 / `N10452692` | A14 / `BANK0_IO1_11` -> R655 -> `FAN_PWM4` -> Q102 base; Q102 collector -> `N10452692` | A14 | yes | V1.1 BRD/IPC-D-356 confirmed | R655/Q102 population; independent harness drawing |
+| rear0 | exhaust L0 | CON64.4 / `FAN_GPIO44` | P15 / `BANK2_GPIO44` -> R704 -> `FAN_GPIO44` | P15 | no | V1.1 BRD/IPC-D-356 confirmed | R704 population; independent harness drawing |
+| rear1 | exhaust L1 | CON66.4 / `FAN_GPIO46` | N15 / `BANK2_GPIO46` -> R706 -> `FAN_GPIO46` | N15 | no | V1.1 BRD/IPC-D-356 confirmed | R706 population; independent harness drawing |
+| rear2 | exhaust L2 | CON62.4 / `FAN_GPIO42` | M14 / `BANK2_GPIO42` -> R702 -> `FAN_GPIO42` | M14 | no | V1.1 BRD/IPC-D-356 confirmed | R702 population; independent harness drawing |
+| rear3 | exhaust L3 | CON60.4 / `FAN_GPIO40` | P5 / `BANK2_GPIO40` -> R700 -> `FAN_GPIO40` | P5 | no | V1.1 BRD/IPC-D-356 confirmed | R700 population; independent harness drawing |
 
 Front Pin 7 has optional +12V_FAN pull-ups R909/R894/R900/R918 and optional ground resistors R916/R895/R907/R925. Rear Pin 4 has only optional +3V3 pull-ups R977/R979/R975/R973; there is no rear Pin 4 +12 V pull-up. BRD-derived `assembly_status` is unknown and no BOM was found, so population and PWM high level are `PWM_HIGH_LEVEL_UNVERIFIED`.
 

+ 1 - 1
docs/generated/6400-channel-map.md

@@ -1,6 +1,6 @@
 # Generated 6400 channel map
 
-Contract SHA-256: `8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c`.
+Contract SHA-256: `9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def`.
 
 | DIMM | CPU slot | Lane | Zone | PTC | BMC | CT | Cohort |
 | ---: | --- | ---: | ---: | ---: | ---: | --- | --- |

+ 1 - 1
docs/prod2u-6400-front-back-protocol.zh-CN.md

@@ -4,7 +4,7 @@
 
 ## 串口与帧
 
-- Host RS-232(CON78)和 Host TTL:921600 8N1;一次事务只使用其中一个口。
+- Host 线协议:921600 8N1。当前 V1.1 Production/Identification 刷机 Profile 只导出 Host RS-232(CON78);Host TTL 仅保留在逻辑核和 Sim-Debug,真实 connector/Ball 未确认前不得由 TD 自动分配。
 - BMC UART:115200 8N1;本次不修改 BMC Poll/Response,也不给 BMC 增加 ACK。
 - 帧:`A5 5A | TYPE | LENGTH | PAYLOAD | CRC_LOW | CRC_HIGH`。
 - CRC-16/CCITT-FALSE 覆盖 TYPE、LENGTH、PAYLOAD,CRC 低字节先发。

+ 40 - 9
generated/6400/channel-map.json

@@ -1,4 +1,11 @@
 {
+  "board": {
+    "airflow_roles": "USER_CONFIRMED_SYSTEM_MAP",
+    "evidence_sha256": "db02938f7943b2ae532aa18208f61588364d32a70a0cc72f74b4a94aaab7e258",
+    "evidence_source": "external:FCB_FPGA+MCU_V1.1_20260625.brd",
+    "id": "fcb_fpga_mcu_v1_1_20260625",
+    "independent_v1_1_schematic_pdf": "NOT_FOUND"
+  },
   "channels": [
     {
       "air_lane": 0,
@@ -481,7 +488,7 @@
       "thermal_zone": 2
     }
   ],
-  "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+  "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
   "fan_output_vector_order": [
     "front0",
     "front1",
@@ -499,13 +506,16 @@
       "board_stage": "Q101",
       "connector": "CON25",
       "connector_active_level": "high",
+      "connector_net": "N10451185",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "B1",
+      "fpga_net": "BANK5_IO1_8",
       "group": "front",
       "lane": 0,
       "net": "FAN_PWM3",
       "output_index": 24,
-      "pin": 7
+      "pin": 7,
+      "series_element": "R652"
     },
     {
       "ball_active_level": "low",
@@ -513,13 +523,16 @@
       "board_stage": "Q99",
       "connector": "CON8",
       "connector_active_level": "high",
+      "connector_net": "N9745627",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "C4",
+      "fpga_net": "BANK0_IO1_2",
       "group": "front",
       "lane": 1,
       "net": "FAN_PWM1",
       "output_index": 25,
-      "pin": 7
+      "pin": 7,
+      "series_element": "R646"
     },
     {
       "ball_active_level": "low",
@@ -527,13 +540,16 @@
       "board_stage": "Q100",
       "connector": "CON24",
       "connector_active_level": "high",
+      "connector_net": "N10449541",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "B5",
+      "fpga_net": "BANK0_IO1_5",
       "group": "front",
       "lane": 2,
       "net": "FAN_PWM2",
       "output_index": 26,
-      "pin": 7
+      "pin": 7,
+      "series_element": "R649"
     },
     {
       "ball_active_level": "low",
@@ -541,13 +557,16 @@
       "board_stage": "Q102",
       "connector": "CON26",
       "connector_active_level": "high",
+      "connector_net": "N10452692",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "A14",
+      "fpga_net": "BANK0_IO1_11",
       "group": "front",
       "lane": 3,
       "net": "FAN_PWM4",
       "output_index": 27,
-      "pin": 7
+      "pin": 7,
+      "series_element": "R655"
     },
     {
       "ball_active_level": "high",
@@ -555,13 +574,16 @@
       "board_stage": "R704_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
       "connector": "CON64",
       "connector_active_level": "high",
+      "connector_net": "FAN_GPIO44",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "P15",
+      "fpga_net": "BANK2_GPIO44",
       "group": "rear",
       "lane": 0,
       "net": "FAN_GPIO44",
       "output_index": 28,
-      "pin": 4
+      "pin": 4,
+      "series_element": "R704"
     },
     {
       "ball_active_level": "high",
@@ -569,13 +591,16 @@
       "board_stage": "R706_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
       "connector": "CON66",
       "connector_active_level": "high",
+      "connector_net": "FAN_GPIO46",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "N15",
+      "fpga_net": "BANK2_GPIO46",
       "group": "rear",
       "lane": 1,
       "net": "FAN_GPIO46",
       "output_index": 29,
-      "pin": 4
+      "pin": 4,
+      "series_element": "R706"
     },
     {
       "ball_active_level": "high",
@@ -583,13 +608,16 @@
       "board_stage": "R702_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
       "connector": "CON62",
       "connector_active_level": "high",
+      "connector_net": "FAN_GPIO42",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "M14",
+      "fpga_net": "BANK2_GPIO42",
       "group": "rear",
       "lane": 2,
       "net": "FAN_GPIO42",
       "output_index": 30,
-      "pin": 4
+      "pin": 4,
+      "series_element": "R702"
     },
     {
       "ball_active_level": "high",
@@ -597,13 +625,16 @@
       "board_stage": "R700_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
       "connector": "CON60",
       "connector_active_level": "high",
+      "connector_net": "FAN_GPIO40",
       "evidence": "confirmed_board_v1_1",
       "fpga_ball": "P5",
+      "fpga_net": "BANK2_GPIO40",
       "group": "rear",
       "lane": 3,
       "net": "FAN_GPIO40",
       "output_index": 31,
-      "pin": 4
+      "pin": 4,
+      "series_element": "R700"
     }
   ],
   "lanes": [

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

@@ -1 +1 @@
-8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c
+9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def

+ 1 - 1
generated/6400/controller-coefficients.json

@@ -17,7 +17,7 @@
       ]
     }
   },
-  "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+  "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
   "limits_centi_degC": {
     "hard": 7700,
     "pretrip": 7600,

+ 1 - 1
generated/6400/fan-control-parameters.json

@@ -1,7 +1,7 @@
 {
   "actual_airflow_status": "NOT_RUN",
   "actual_rpm_status": "NOT_RUN",
-  "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+  "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
   "duty": {
     "hard": 100,
     "nominal": 30,

+ 1 - 1
generated/6400/fixed-point.json

@@ -6,7 +6,7 @@
     "integer_bits": 4,
     "signed_bits": 16
   },
-  "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+  "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
   "error": {
     "signed_bits": 16,
     "unit": "centi_degC"

+ 1 - 1
generated/6400/golden-vectors.json

@@ -1,5 +1,5 @@
 {
-  "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+  "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
   "frames": {
     "get_snapshot": "A55A02006D7B",
     "get_snapshot_ack": "A55A8200F560",

+ 42 - 11
generated/6400/host-contract.json

@@ -31,6 +31,13 @@
     }
   },
   "channel_map": {
+    "board": {
+      "airflow_roles": "USER_CONFIRMED_SYSTEM_MAP",
+      "evidence_sha256": "db02938f7943b2ae532aa18208f61588364d32a70a0cc72f74b4a94aaab7e258",
+      "evidence_source": "external:FCB_FPGA+MCU_V1.1_20260625.brd",
+      "id": "fcb_fpga_mcu_v1_1_20260625",
+      "independent_v1_1_schematic_pdf": "NOT_FOUND"
+    },
     "channels": [
       {
         "air_lane": 0,
@@ -530,13 +537,16 @@
         "board_stage": "Q101",
         "connector": "CON25",
         "connector_active_level": "high",
+        "connector_net": "N10451185",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "B1",
+        "fpga_net": "BANK5_IO1_8",
         "group": "front",
         "lane": 0,
         "net": "FAN_PWM3",
         "output_index": 24,
-        "pin": 7
+        "pin": 7,
+        "series_element": "R652"
       },
       {
         "ball_active_level": "low",
@@ -544,13 +554,16 @@
         "board_stage": "Q99",
         "connector": "CON8",
         "connector_active_level": "high",
+        "connector_net": "N9745627",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "C4",
+        "fpga_net": "BANK0_IO1_2",
         "group": "front",
         "lane": 1,
         "net": "FAN_PWM1",
         "output_index": 25,
-        "pin": 7
+        "pin": 7,
+        "series_element": "R646"
       },
       {
         "ball_active_level": "low",
@@ -558,13 +571,16 @@
         "board_stage": "Q100",
         "connector": "CON24",
         "connector_active_level": "high",
+        "connector_net": "N10449541",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "B5",
+        "fpga_net": "BANK0_IO1_5",
         "group": "front",
         "lane": 2,
         "net": "FAN_PWM2",
         "output_index": 26,
-        "pin": 7
+        "pin": 7,
+        "series_element": "R649"
       },
       {
         "ball_active_level": "low",
@@ -572,13 +588,16 @@
         "board_stage": "Q102",
         "connector": "CON26",
         "connector_active_level": "high",
+        "connector_net": "N10452692",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "A14",
+        "fpga_net": "BANK0_IO1_11",
         "group": "front",
         "lane": 3,
         "net": "FAN_PWM4",
         "output_index": 27,
-        "pin": 7
+        "pin": 7,
+        "series_element": "R655"
       },
       {
         "ball_active_level": "high",
@@ -586,13 +605,16 @@
         "board_stage": "R704_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
         "connector": "CON64",
         "connector_active_level": "high",
+        "connector_net": "FAN_GPIO44",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "P15",
+        "fpga_net": "BANK2_GPIO44",
         "group": "rear",
         "lane": 0,
         "net": "FAN_GPIO44",
         "output_index": 28,
-        "pin": 4
+        "pin": 4,
+        "series_element": "R704"
       },
       {
         "ball_active_level": "high",
@@ -600,13 +622,16 @@
         "board_stage": "R706_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
         "connector": "CON66",
         "connector_active_level": "high",
+        "connector_net": "FAN_GPIO46",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "N15",
+        "fpga_net": "BANK2_GPIO46",
         "group": "rear",
         "lane": 1,
         "net": "FAN_GPIO46",
         "output_index": 29,
-        "pin": 4
+        "pin": 4,
+        "series_element": "R706"
       },
       {
         "ball_active_level": "high",
@@ -614,13 +639,16 @@
         "board_stage": "R702_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
         "connector": "CON62",
         "connector_active_level": "high",
+        "connector_net": "FAN_GPIO42",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "M14",
+        "fpga_net": "BANK2_GPIO42",
         "group": "rear",
         "lane": 2,
         "net": "FAN_GPIO42",
         "output_index": 30,
-        "pin": 4
+        "pin": 4,
+        "series_element": "R702"
       },
       {
         "ball_active_level": "high",
@@ -628,13 +656,16 @@
         "board_stage": "R700_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
         "connector": "CON60",
         "connector_active_level": "high",
+        "connector_net": "FAN_GPIO40",
         "evidence": "confirmed_board_v1_1",
         "fpga_ball": "P5",
+        "fpga_net": "BANK2_GPIO40",
         "group": "rear",
         "lane": 3,
         "net": "FAN_GPIO40",
         "output_index": 31,
-        "pin": 4
+        "pin": 4,
+        "series_element": "R700"
       }
     ],
     "lanes": [
@@ -682,7 +713,7 @@
     "product": "6400-front-rear-v1",
     "schema": "prod2u-6400-channel-map-v1"
   },
-  "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+  "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
   "controller_coefficients": {
     "classes": {
       "CENTER": {
@@ -785,7 +816,7 @@
     }
   },
   "golden_vectors": {
-    "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+    "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
     "frames": {
       "get_snapshot": "A55A02006D7B",
       "get_snapshot_ack": "A55A8200F560",
@@ -801,7 +832,7 @@
   "schema": "prod2u-6400-host-contract-v2",
   "snapshot": {
     "byte_order": "little",
-    "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+    "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
     "fields": [
       {
         "name": "control_state",

+ 5 - 2
generated/6400/prod2u_6400_v1_params.vh

@@ -1,6 +1,6 @@
 `ifndef PROD2U_6400_V1_PARAMS_VH
 `define PROD2U_6400_V1_PARAMS_VH
-// Generated contract SHA-256: 8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c
+// Generated contract SHA-256: 9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def
 `define FB_CLOCK_HZ 25000000
 `define FB_PTC_COUNT 24
 `define FB_FRONT_FAN_COUNT 4
@@ -26,6 +26,8 @@
 `define FRONT_FAN_FPGA_BALL_MAP "B1,C4,B5,A14"
 `define REAR_FAN_CONNECTOR_MAP "CON64.4,CON66.4,CON62.4,CON60.4"
 `define REAR_FAN_FPGA_BALL_MAP "P15,N15,M14,P5"
+`define FB_BOARD_ID "fcb_fpga_mcu_v1_1_20260625"
+`define FB_BOARD_EVIDENCE_SHA256 "db02938f7943b2ae532aa18208f61588364d32a70a0cc72f74b4a94aaab7e258"
 `define FB_CMD_SET_TARGET 8'h01
 `define FB_CMD_GET_SNAPSHOT 8'h02
 `define FB_CMD_SET_STIMULUS 8'h03
@@ -42,7 +44,8 @@
 `define FB_EDGE_KI_Q4_12 4
 `define FB_CENTER_KP_Q4_12 24
 `define FB_CENTER_KI_Q4_12 3
-`define FB_FAN_RESET 10
+`define FAN_STANDBY_DUTY 10
+`define FB_FAN_RESET `FAN_STANDBY_DUTY
 `define FB_FAN_HARD 100
 `define FB_SNAPSHOT_CONTROL_STATE_OFFSET 0
 `define FB_SNAPSHOT_FAULT_FLAGS_OFFSET 1

+ 1 - 1
generated/6400/snapshot-layout.json

@@ -1,6 +1,6 @@
 {
   "byte_order": "little",
-  "contract_sha256": "8d04723c9ade444c2973b60befe4b313ffc2c9114ef7673e6498ac10645b683c",
+  "contract_sha256": "9b2df5161fb37e4b84af8337c5e99a78e27b6058934a245068afd2d533468def",
   "fields": [
     {
       "name": "control_state",

+ 9 - 4
products/6400-control/project.json

@@ -2,14 +2,19 @@
   "schema": "prod2u-6400-profile-v1",
   "project_id": "6400-control",
   "product": "6400-front-rear-v1",
-  "top": "prod2u_6400_v1_top",
+  "top": "prod2u_6400_rs232_only_top",
   "device": "EF2L45BG256B",
   "clock_hz": 25000000,
   "source_closure": "products/6400-control/source-closure.json",
-  "constraints": "boards/fcb-fpga-mcu-v1_2/prod2u_6400_v1.adc",
-  "timing_constraints": "boards/fcb-fpga-mcu-v1_2/prod2u_6400_v1.sdc",
+  "board_id": "fcb_fpga_mcu_v1_1_20260625",
+  "board_evidence": "external:FCB_FPGA+MCU_V1.1_20260625.brd",
+  "board_evidence_sha256": "db02938f7943b2ae532aa18208f61588364d32a70a0cc72f74b4a94aaab7e258",
+  "constraints": "constraints/prod2u_6400_front_back.adc",
+  "timing_constraints": "constraints/prod2u_6400_front_back.sdc",
   "stimulus": false,
-  "ttl_pin_status": "unbound",
+  "host_interfaces": ["host_rs232"],
+  "host_rs232_connector": "CON78",
+  "ttl_pin_status": "disabled_in_rs232_only_hardware_profile_unbound",
   "ct_physical_map_status": "unknown",
   "host_watchdog": false,
   "pll": false

+ 3 - 2
products/6400-control/source-closure.json

@@ -1,7 +1,7 @@
 {
   "schema": "prod2u-source-closure-v1",
   "project_id": "6400-control",
-  "top_module": "prod2u_6400_v1_top",
+  "top_module": "prod2u_6400_rs232_only_top",
   "sources": [
     "generated/6400/prod2u_6400_v1_params.vh",
     "src/common/uart_rx_byte.v",
@@ -25,7 +25,8 @@
     "src/actuator/pwm_bitmap_engine.v",
     "src/actuator/fan_board_output_adapter.v",
     "src/telemetry/thermal_snapshot_mux.v",
-    "src/top/prod2u_6400_v1_top.v"
+    "src/top/prod2u_6400_v1_top.v",
+    "src/top/prod2u_6400_rs232_only_top.v"
   ],
   "forbidden_substrings": ["door_", "motor", "limit_gate", "host_watchdog", "EF2_PHY_PLL", "SET_ALL"]
 }

+ 3 - 0
products/6400-identification/project.json

@@ -5,6 +5,9 @@
   "top": "prod2u_6400_identification_top",
   "inherits": "products/6400-control/project.json",
   "source_closure": "products/6400-identification/source-closure.json",
+  "host_interfaces": ["host_rs232"],
+  "host_rs232_connector": "CON78",
+  "ttl_pin_status": "disabled_in_rs232_only_hardware_profile_unbound",
   "stimulus": true,
   "production": false
 }

+ 5 - 3
projects/registry.json

@@ -57,8 +57,8 @@
       "requirements": "docs/prod2u-6400-front-back-protocol.zh-CN.md",
       "source_closure": "products/6400-control/source-closure.json",
       "generated_dir": "generated/6400",
-      "top_module": "prod2u_6400_v1_top",
-      "top_file": "src/top/prod2u_6400_v1_top.v",
+      "top_module": "prod2u_6400_rs232_only_top",
+      "top_file": "src/top/prod2u_6400_rs232_only_top.v",
       "params_header": "generated/6400/prod2u_6400_v1_params.vh",
       "host_contract": "generated/6400/host-contract.json",
       "adc": "constraints/prod2u_6400_front_back.adc",
@@ -68,7 +68,9 @@
       "td_phy_tcl": "td/phy/prod2u_6400_front_back.tcl",
       "td_bitgen_tcl": "td/bitgen/prod2u_6400_front_back.tcl",
       "release_pin_policy": "all_confirmed",
-      "production_bitstream": "allowed"
+      "production_bitstream": "allowed_rs232_only",
+      "hardware_host_interfaces": ["CON78_RS232_921600_8N1"],
+      "logical_host_ttl_status": "implemented_but_disabled_in_hardware_profile_until_pins_are_confirmed"
     }
   }
 }

+ 5 - 4
src/control/thermal_control_core.v

@@ -14,7 +14,8 @@ module thermal_control_core #(
     parameter signed [15:0] EDGE_KI = 16'sd4,
     parameter signed [15:0] CENTER_KP = 16'sd24,
     parameter signed [15:0] CENTER_KI = 16'sd3,
-    parameter integer SLEW_Q8_8 = 1280
+    parameter integer SLEW_Q8_8 = 1280,
+    parameter [7:0] FAN_STANDBY_DUTY = 8'd10
 ) (
     input  wire         clk,
     input  wire         rst_n,
@@ -275,11 +276,11 @@ module thermal_control_core #(
     wire [4:0] output_control_read_addr =
         (work_state == W_APPLY_PREFETCH) ? 5'd0 :
         ((work_state == W_APPLY && work_index < 31) ? work_index + 1'b1 : work_index);
-    wire [7:0] init_output_value = (work_index < 24) ? 8'd0 : 8'd10;
+    wire [7:0] init_output_value = (work_index < 24) ? 8'd0 : FAN_STANDBY_DUTY;
 
     assign bmc_rd_index = work_index;
     assign pwm_rd_data = (work_state == W_INIT) ?
-        ((pwm_rd_addr < 24) ? 8'd0 : 8'd10) : output_pwm_applied;
+        ((pwm_rd_addr < 24) ? 8'd0 : FAN_STANDBY_DUTY) : output_pwm_applied;
 
     ef2_bram_dp #(.DATA_WIDTH(32), .ADDR_WIDTH(5), .DATA_DEPTH(24)) u_pi_state (
         .clk(clk), .a_en(1'b1), .a_we(1'b0), .a_addr(work_index),
@@ -409,7 +410,7 @@ module thermal_control_core #(
                 work_index <= 0;
                 work_state <= W_SAFE_FILL;
                 safe_fan_target <= (global_fault || bmc_stale_runtime) ? 8'd100 :
-                    8'd10;
+                    FAN_STANDBY_DUTY;
                 global_fault <= global_fault || bmc_stale_runtime;
                 if (target_celsius == 0)
                     control_state <= STOPPED;

+ 3 - 3
src/top/prod2u_6400_identification_top.v

@@ -4,8 +4,6 @@ module prod2u_6400_identification_top (
     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,
     output wire [23:0] ptc_pwm_out,
@@ -14,9 +12,11 @@ module prod2u_6400_identification_top (
     inout wire temp_scl,
     inout wire temp_sda
 );
+    wire host_ttl_tx_unused;
+
     prod2u_6400_v1_top #(.ENABLE_STIMULUS(1)) core (
         .sys_clk(sys_clk), .host_rs232_rx(host_rs232_rx), .host_rs232_tx(host_rs232_tx),
-        .host_ttl_rx(host_ttl_rx), .host_ttl_tx(host_ttl_tx),
+        .host_ttl_rx(1'b1), .host_ttl_tx(host_ttl_tx_unused),
         .bmc_rs232_rx(bmc_rs232_rx), .bmc_rs232_tx(bmc_rs232_tx),
         .ptc_pwm_out(ptc_pwm_out), .front_fan_pwm_out(front_fan_pwm_out),
         .rear_fan_pwm_out(rear_fan_pwm_out), .temp_scl(temp_scl), .temp_sda(temp_sda)

+ 35 - 0
src/top/prod2u_6400_rs232_only_top.v

@@ -0,0 +1,35 @@
+`timescale 1ns/1ps
+
+// RS-232-only physical wrapper for V1.1 while the optional Host TTL connector
+// and FPGA balls remain unproven.  The shared protocol/control core is kept
+// intact; the absent TTL RX is held at UART idle and its TX never reaches a
+// package port, so TD cannot auto-place it onto an unrelated board signal.
+module prod2u_6400_rs232_only_top (
+    input wire sys_clk,
+    input wire host_rs232_rx,
+    output wire host_rs232_tx,
+    input wire bmc_rs232_rx,
+    output wire bmc_rs232_tx,
+    output wire [23:0] ptc_pwm_out,
+    output wire [3:0] front_fan_pwm_out,
+    output wire [3:0] rear_fan_pwm_out,
+    inout wire temp_scl,
+    inout wire temp_sda
+);
+    wire host_ttl_tx_unused;
+
+    prod2u_6400_v1_top core (
+        .sys_clk(sys_clk),
+        .host_rs232_rx(host_rs232_rx),
+        .host_rs232_tx(host_rs232_tx),
+        .host_ttl_rx(1'b1),
+        .host_ttl_tx(host_ttl_tx_unused),
+        .bmc_rs232_rx(bmc_rs232_rx),
+        .bmc_rs232_tx(bmc_rs232_tx),
+        .ptc_pwm_out(ptc_pwm_out),
+        .front_fan_pwm_out(front_fan_pwm_out),
+        .rear_fan_pwm_out(rear_fan_pwm_out),
+        .temp_scl(temp_scl),
+        .temp_sda(temp_sda)
+    );
+endmodule

+ 6 - 2
src/top/prod2u_6400_v1_top.v

@@ -6,7 +6,8 @@ module prod2u_6400_v1_top #(
     parameter integer CT_SCAN_PERIOD_CLKS = 2500000,
     parameter integer HOST_INTER_BYTE_TIMEOUT_CLKS = 250000,
     parameter integer HOST_IDLE_UNLOCK_CLKS = 1250000,
-    parameter [15:0] BMC_INITIAL_EPOCH = 16'd0
+    parameter [15:0] BMC_INITIAL_EPOCH = 16'd0,
+    parameter [7:0] FAN_STANDBY_DUTY = `FAN_STANDBY_DUTY
 ) (
     input  wire        sys_clk,
     input  wire        host_rs232_rx,
@@ -297,7 +298,10 @@ module prod2u_6400_v1_top #(
         .sda_i(temp_sda), .scl_drive_low(ct_scl_drive_low), .sda_drive_low(ct_sda_drive_low)
     );
 
-    thermal_control_core #(.ENABLE_STIMULUS(ENABLE_STIMULUS)) u_control (
+    thermal_control_core #(
+        .ENABLE_STIMULUS(ENABLE_STIMULUS),
+        .FAN_STANDBY_DUTY(FAN_STANDBY_DUTY)
+    ) u_control (
         .clk(sys_clk), .rst_n(rst_n), .tick_1s(tick_1s), .target_commit(target_commit),
         .target_celsius(target_celsius), .stimulus_wr_en(stimulus_wr_en),
         .stimulus_wr_addr(stimulus_wr_addr), .stimulus_wr_data(stimulus_wr_data),

+ 2 - 5
td/bitgen/prod2u_6400_front_back.tcl

@@ -9,10 +9,7 @@ if {![file isfile $routed_db]} {
 
 import_device ef2_4.db -package EF2L45BG256B
 import_db $routed_db
-# Host TTL RX/TX are intentionally unbound pending board evidence.  Permit TD
-# to emit a review-only bitstream without inventing pin assignments; the build
-# receipt marks it unsafe for deployment until those pins and hardware are
-# validated.
-set_param bitgen unconstr_io on
+# The V1.1 hardware top exposes only the fully constrained CON78 Host RS-232
+# interface.  Do not permit any unbound package port to be auto-placed.
 bitgen -bit prod2u_6400_front_back.bit
 puts "6400_BITGEN_DONE=1"

+ 2 - 3
td/bitgen/prod2u_6400_identification.tcl

@@ -9,8 +9,7 @@ if {![file isfile $routed_db]} {
 
 import_device ef2_4.db -package EF2L45BG256B
 import_db $routed_db
-# Host TTL RX/TX remain deliberately unbound. This is a review-only,
-# Identification-labelled image and must never be deployed as Production.
-set_param bitgen unconstr_io on
+# Identification uses the same fully constrained CON78 RS-232-only package
+# interface as Production.  Stimulus remains the only profile difference.
 bitgen -bit prod2u_6400_identification.bit
 puts {6400_IDENTIFICATION_BITGEN_DONE=1}

+ 1 - 1
td/prod2u_6400_front_back.prj

@@ -5,5 +5,5 @@
         <Family>EF2</Family>
         <Device>EF2L45BG256B</Device>
     </HardWare>
-    <Note>6400 V1 active source closure; Host TTL pins remain deliberately unbound.</Note>
+    <Note>6400 V1.1 Production; constrained CON78 Host RS-232-only physical top.</Note>
 </Project>

+ 1 - 1
td/prod2u_6400_identification.prj

@@ -5,5 +5,5 @@
         <Family>EF2</Family>
         <Device>EF2L45BG256B</Device>
     </HardWare>
-    <Note>Identification-only 6400 profile with SET_STIMULUS; never production.</Note>
+    <Note>Identification-only 6400 profile with SET_STIMULUS and constrained CON78 Host RS-232-only physical top; never Production.</Note>
 </Project>

+ 2 - 1
td/syn/prod2u_6400_front_back.tcl

@@ -41,8 +41,9 @@ analyze_src {src/actuator/pwm_bitmap_engine.v}
 analyze_src {src/actuator/fan_board_output_adapter.v}
 analyze_src {src/telemetry/thermal_snapshot_mux.v}
 analyze_src {src/top/prod2u_6400_v1_top.v}
+analyze_src {src/top/prod2u_6400_rs232_only_top.v}
 
-elaborate -top {prod2u_6400_v1_top}
+elaborate -top {prod2u_6400_rs232_only_top}
 read_adc [src {constraints/prod2u_6400_front_back.adc}]
 optimize_rtl
 read_sdc [src {constraints/prod2u_6400_front_back.sdc}]

+ 1 - 0
td/syn/prod2u_6400_identification.tcl

@@ -42,6 +42,7 @@ analyze_src {src/actuator/pwm_bitmap_engine.v}
 analyze_src {src/actuator/fan_board_output_adapter.v}
 analyze_src {src/telemetry/thermal_snapshot_mux.v}
 analyze_src {src/top/prod2u_6400_v1_top.v}
+analyze_src {src/top/prod2u_6400_rs232_only_top.v}
 analyze_src {src/top/prod2u_6400_identification_top.v}
 
 elaborate -top {prod2u_6400_identification_top}

+ 24 - 10
tests/unit/test_6400_profile_package.py

@@ -42,12 +42,12 @@ def _receipt(
             json.dumps(inputs, sort_keys=True, separators=(",", ":")).encode()
         ).hexdigest(),
         "inputs": inputs,
-        "known_unbound_ports": ["host_ttl_rx", "host_ttl_tx"],
+        "known_unbound_ports": [],
         "deployment_status": package_target._expected_deployment_status(profile_name),
         "warning_audit": {
             "status": "PASS",
-            "expected_unbound_ports": ["host_ttl_rx", "host_ttl_tx"],
-            "observed_unbound_ports": ["host_ttl_rx", "host_ttl_tx"],
+            "expected_unbound_ports": [],
+            "observed_unbound_ports": [],
             "unexpected_unbound_ports": [],
             "missing_expected_unbound_ports": [],
         },
@@ -142,7 +142,7 @@ def test_control_source_package_contains_only_active_grouped_closure(tmp_path: P
         closure = json.loads(zipf.read("source-closure-expanded.json"))
         host_contract = json.loads(zipf.read("generated/6400/host-contract.json"))
     assert manifest["profile"] == "6400-control"
-    assert manifest["top"] == "prod2u_6400_v1_top"
+    assert manifest["top"] == "prod2u_6400_rs232_only_top"
     assert "src/actuator/fan_board_output_adapter.v" in closure["sources"]
     assert host_contract["wire"]["host_uart"]["baud"] == 921600
     assert host_contract["wire"]["responses"]["SET_TARGET_ACK"]["type"] == 0x81
@@ -200,15 +200,29 @@ def test_firmware_package_is_fail_closed_and_profile_bound(
     assert manifest["source_commit"] == TEST_SOURCE_COMMIT
     assert manifest["package_commit"] == TEST_COMMIT
     assert manifest["contract_sha256"] == package_target._contract_sha256()
+    assert manifest["source_closure_sha256"] == package_target._sha256(
+        ROOT / str(package_target.HARDWARE_PROFILES[profile_name]["closure"])
+    )
     assert expected_bit in names
+    assert "source-manifest.json" in names
     assert "921600 8N1" in instructions
     assert "独立 ACK" in instructions
     assert contract_text in instructions
-    assert instructions.startswith(package_target.DO_NOT_PROGRAM_LINE)
-    assert manifest["release_blocked"] is True
+    expected_header = (
+        package_target.PRODUCTION_PROGRAM_LINE
+        if production
+        else package_target.IDENTIFICATION_PROGRAM_LINE
+    )
+    assert instructions.startswith(expected_header)
+    assert manifest["release_blocked"] is False
+    assert manifest["td_programmable"] is True
+    assert manifest["candidate_only"] is True
+    assert manifest["hardware_validated"] is False
     assert manifest["deployable"] is False
-    assert manifest["known_unbound_ports"] == ["host_ttl_rx", "host_ttl_tx"]
-    assert "CANDIDATE-NOTICE.zh-CN.txt" in names
+    assert manifest["production_deployable"] is False
+    assert manifest["identification_programmable"] is (not production)
+    assert manifest["known_unbound_ports"] == []
+    assert "CANDIDATE-NOTICE.zh-CN.txt" not in names
 
 
 def test_blocked_firmware_selftest_rejects_programming_instructions(
@@ -217,8 +231,8 @@ def test_blocked_firmware_selftest_rejects_programming_instructions(
     monkeypatch.setattr(package_target, "_git", lambda *_args: TEST_COMMIT)
     monkeypatch.setattr(
         package_target,
-        "DO_NOT_PROGRAM_LINE",
-        "DO NOT PROGRAM / 不要烧录\n3. 先执行 Erase/Program",
+        "PRODUCTION_PROGRAM_LINE",
+        "RS-232-ONLY PRODUCTION TD PASS\n3. 先执行 Erase/Program",
     )
     receipt = _receipt(tmp_path, "6400-control")
     with pytest.raises(SystemExit, match="Host UART/ACK contract missing"):

+ 11 - 13
tests/unit/test_6400_td_parser.py

@@ -88,12 +88,14 @@ def test_td_hardware_profiles_keep_roles_and_artifacts_unambiguous() -> None:
         "stimulus": True,
         "simulation_only": False,
         "artifact_basename": "prod2u_6400_identification",
+        "hardware_host_interfaces": ["host_rs232"],
     }
     bitgen = (ROOT / "td/bitgen/prod2u_6400_identification.tcl").read_text(
         encoding="utf-8"
     )
     assert "bitgen -bit prod2u_6400_identification.bit" in bitgen
     assert "prod2u_6400_front_back.bit" not in bitgen
+    assert "unconstr_io" not in bitgen
 
 
 def test_td_cli_rejects_sim_debug_hardware_bit() -> None:
@@ -139,43 +141,39 @@ def _stage_records(log: Path) -> dict[str, dict[str, object]]:
     return {"syn": {"log": str(log)}}
 
 
-def test_warning_audit_allows_only_the_two_frozen_ttl_unknowns(tmp_path: Path) -> None:
+def test_warning_audit_requires_zero_unbound_ports_for_rs232_only_top(
+    tmp_path: Path,
+) -> None:
     log = tmp_path / "syn.log"
     log.write_text(
-        """SYN-6021 CRITICAL-WARNING: 2 out of 43 logical ports has no user assigned specific location constraint.
-Bitgen will abort unless unconstr_io is enabled.
-No ADC ports: host_ttl_rx, host_ttl_tx.
-RUN-1001 : No hold violation.
-""",
+        "RUN-1001 : No hold violation.\n",
         encoding="utf-8",
     )
 
     audit = run_6400_td.warning_audit(_stage_records(log))
 
     assert audit["status"] == "PASS"
-    assert audit["observed_unbound_ports"] == ["host_ttl_rx", "host_ttl_tx"]
+    assert audit["observed_unbound_ports"] == []
     assert audit["blocking_count"] == 0
 
 
-def test_warning_audit_rejects_any_additional_unbound_port(tmp_path: Path) -> None:
+def test_warning_audit_rejects_any_unbound_port(tmp_path: Path) -> None:
     log = tmp_path / "syn.log"
     log.write_text(
-        "No ADC ports: host_ttl_rx, host_ttl_tx, mystery_output.\n",
+        "No ADC ports: host_ttl_rx, host_ttl_tx.\n",
         encoding="utf-8",
     )
 
     audit = run_6400_td.warning_audit(_stage_records(log))
 
     assert audit["status"] == "FAIL"
-    assert audit["unexpected_unbound_ports"] == ["mystery_output"]
+    assert audit["unexpected_unbound_ports"] == ["host_ttl_rx", "host_ttl_tx"]
 
 
 def test_warning_audit_keeps_real_td_errors_blocking(tmp_path: Path) -> None:
     log = tmp_path / "syn.log"
     log.write_text(
-        """No ADC ports: host_ttl_rx, host_ttl_tx.
-PDS-9001 ERROR: routing failed
-""",
+        "PDS-9001 ERROR: routing failed\n",
         encoding="utf-8",
     )
 

+ 64 - 0
tests/unit/test_6400_v1_contract.py

@@ -13,6 +13,13 @@ ROOT = Path(__file__).resolve().parents[2]
 def test_channel_map_is_exact_and_holdout_is_not_disabled() -> None:
     mapping = load_yaml("channel-map.yaml")
     validate_channels(mapping)
+    assert mapping["board"] == {
+        "id": "fcb_fpga_mcu_v1_1_20260625",
+        "evidence_source": "external:FCB_FPGA+MCU_V1.1_20260625.brd",
+        "evidence_sha256": "db02938f7943b2ae532aa18208f61588364d32a70a0cc72f74b4a94aaab7e258",
+        "independent_v1_1_schematic_pdf": "NOT_FOUND",
+        "airflow_roles": "USER_CONFIRMED_SYSTEM_MAP",
+    }
     assert sum(bool(row["primary_cohort"]) for row in mapping["channels"]) == 18
     assert sum(not bool(row["primary_cohort"]) for row in mapping["channels"]) == 6
     assert all(bool(row["enabled"]) for row in mapping["channels"])
@@ -29,6 +36,17 @@ def test_channel_map_is_exact_and_holdout_is_not_disabled() -> None:
         "R702_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
         "R700_0R_DESIGN_INTENT_POPULATION_UNVERIFIED",
     ]
+    assert [row["connector_net"] for row in fans] == [
+        "N10451185", "N9745627", "N10449541", "N10452692",
+        "FAN_GPIO44", "FAN_GPIO46", "FAN_GPIO42", "FAN_GPIO40",
+    ]
+    assert [row["fpga_net"] for row in fans] == [
+        "BANK5_IO1_8", "BANK0_IO1_2", "BANK0_IO1_5", "BANK0_IO1_11",
+        "BANK2_GPIO44", "BANK2_GPIO46", "BANK2_GPIO42", "BANK2_GPIO40",
+    ]
+    assert [row["series_element"] for row in fans] == [
+        "R652", "R646", "R649", "R655", "R704", "R706", "R702", "R700",
+    ]
     assert not {"CON31", "CON32", "CON33", "CON34", "CON35", "CON68"} & {
         row["connector"] for row in fans
     }
@@ -71,6 +89,52 @@ def test_fan_contract_drives_params_active_adc_and_both_td_profiles() -> None:
 
     assert "front_fan_pwm_out[1] } { LOCATION = P15" not in adc
     assert "rear_fan_pwm_out[0] } { LOCATION = C4" not in adc
+    assert '`define FAN_STANDBY_DUTY 10' in params
+    assert '`define FB_FAN_RESET `FAN_STANDBY_DUTY' in params
+    assert '`define FB_BOARD_ID "fcb_fpga_mcu_v1_1_20260625"' in params
+
+
+def test_hardware_profiles_bind_v11_constraints_and_rs232_only_tops() -> None:
+    control = yaml.safe_load(
+        (ROOT / "products/6400-control/project.json").read_text(encoding="utf-8")
+    )
+    identification = yaml.safe_load(
+        (ROOT / "products/6400-identification/project.json").read_text(
+            encoding="utf-8"
+        )
+    )
+    assert control["board_id"] == "fcb_fpga_mcu_v1_1_20260625"
+    assert control["constraints"] == "constraints/prod2u_6400_front_back.adc"
+    assert control["timing_constraints"] == "constraints/prod2u_6400_front_back.sdc"
+    assert control["top"] == "prod2u_6400_rs232_only_top"
+    assert control["host_interfaces"] == ["host_rs232"]
+    assert identification["host_interfaces"] == ["host_rs232"]
+
+    for path in (
+        ROOT / "src/top/prod2u_6400_rs232_only_top.v",
+        ROOT / "src/top/prod2u_6400_identification_top.v",
+    ):
+        source = path.read_text(encoding="utf-8")
+        module_ports = source.split(");", 1)[0]
+        assert "host_ttl_rx" not in module_ports
+        assert "host_ttl_tx" not in module_ports
+        assert ".host_ttl_rx(1'b1)" in source
+        assert "host_ttl_tx_unused" in source
+
+
+def test_generated_standby_duty_reaches_the_production_core() -> None:
+    top = (ROOT / "src/top/prod2u_6400_v1_top.v").read_text(encoding="utf-8")
+    core = (ROOT / "src/control/thermal_control_core.v").read_text(
+        encoding="utf-8"
+    )
+    assert "parameter [7:0] FAN_STANDBY_DUTY = `FAN_STANDBY_DUTY" in top
+    assert ".FAN_STANDBY_DUTY(FAN_STANDBY_DUTY)" in top
+    assert "parameter [7:0] FAN_STANDBY_DUTY = 8'd10" in core
+    assert "? 8'd0 : FAN_STANDBY_DUTY" in core
+    without_default = core.replace(
+        "parameter [7:0] FAN_STANDBY_DUTY = 8'd10", ""
+    )
+    assert re.search(r"8'd10(?!0)", without_default) is None
 
 
 def test_snapshot_layout_is_fixed_193_bytes() -> None:

+ 7 - 4
tests/unit/test_6400_v1_source_closure.py

@@ -13,12 +13,15 @@ def test_production_closure_excludes_legacy_and_stimulus_wrapper() -> None:
     assert "identification" not in sources
     for forbidden in ("door_", "motor", "host_watchdog", "EF2_PHY_PLL"):
         assert forbidden not in sources
-    assert closure["top_module"] == "prod2u_6400_v1_top"
+    assert closure["top_module"] == "prod2u_6400_rs232_only_top"
+    assert "src/top/prod2u_6400_rs232_only_top.v" in closure["sources"]
 
 
-def test_known_pins_are_unique_and_ttl_is_explicitly_unbound() -> None:
+def test_known_pins_are_unique_and_ttl_is_disabled_in_rs232_only_hardware() -> None:
     project = json.loads((ROOT / "products/6400-control/project.json").read_text())
-    assert project["ttl_pin_status"] == "unbound"
+    assert project["ttl_pin_status"] == "disabled_in_rs232_only_hardware_profile_unbound"
+    assert project["host_interfaces"] == ["host_rs232"]
+    assert project["host_rs232_connector"] == "CON78"
     adc = (ROOT / project["constraints"]).read_text()
     assert "host_ttl" not in adc
     locations = [line.split("LOCATION = ", 1)[1].split(";", 1)[0] for line in adc.splitlines() if "LOCATION = " in line]
@@ -47,7 +50,7 @@ def test_active_td_and_packaging_exclude_historical_interleaved_tree() -> None:
     assert target.project_config == ROOT / "products/6400-control/project.json"
     assert target.source_closure == ROOT / "products/6400-control/source-closure.json"
     assert target.generated_dir == ROOT / "generated/6400"
-    assert target.top_module == "prod2u_6400_v1_top"
+    assert target.top_module == "prod2u_6400_rs232_only_top"
 
     historical = json.loads(
         (ROOT / "projects/prod2u-6400-front-back/HISTORICAL_ONLY.json").read_text()

+ 22 - 10
tools/generate_6400_v1.py

@@ -127,22 +127,30 @@ def validate_wire(wire: dict[str, Any], snapshot_size: int) -> None:
 
 
 def validate_fans(mapping: dict[str, Any], fan: dict[str, Any]) -> None:
+    if mapping.get("board") != {
+        "id": "fcb_fpga_mcu_v1_1_20260625",
+        "evidence_source": "external:FCB_FPGA+MCU_V1.1_20260625.brd",
+        "evidence_sha256": "db02938f7943b2ae532aa18208f61588364d32a70a0cc72f74b4a94aaab7e258",
+        "independent_v1_1_schematic_pdf": "NOT_FOUND",
+        "airflow_roles": "USER_CONFIRMED_SYSTEM_MAP",
+    }:
+        raise ValueError("V1.1 board identity/evidence drift")
     if mapping.get("fan_output_vector_order") != [
         "front0", "front1", "front2", "front3",
         "rear0", "rear1", "rear2", "rear3",
     ]:
         raise ValueError("fan physical vector order drift")
     expected_front = (
-        (24, 0, "CON25", 7, "FAN_PWM3", "Q101", "B1", True),
-        (25, 1, "CON8", 7, "FAN_PWM1", "Q99", "C4", True),
-        (26, 2, "CON24", 7, "FAN_PWM2", "Q100", "B5", True),
-        (27, 3, "CON26", 7, "FAN_PWM4", "Q102", "A14", True),
+        (24, 0, "CON25", 7, "FAN_PWM3", "BANK5_IO1_8", "R652", "N10451185", "Q101", "B1", True),
+        (25, 1, "CON8", 7, "FAN_PWM1", "BANK0_IO1_2", "R646", "N9745627", "Q99", "C4", True),
+        (26, 2, "CON24", 7, "FAN_PWM2", "BANK0_IO1_5", "R649", "N10449541", "Q100", "B5", True),
+        (27, 3, "CON26", 7, "FAN_PWM4", "BANK0_IO1_11", "R655", "N10452692", "Q102", "A14", True),
     )
     expected_rear = (
-        (28, 0, "CON64", 4, "FAN_GPIO44", "R704_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "P15", False),
-        (29, 1, "CON66", 4, "FAN_GPIO46", "R706_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "N15", False),
-        (30, 2, "CON62", 4, "FAN_GPIO42", "R702_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "M14", False),
-        (31, 3, "CON60", 4, "FAN_GPIO40", "R700_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "P5", False),
+        (28, 0, "CON64", 4, "FAN_GPIO44", "BANK2_GPIO44", "R704", "FAN_GPIO44", "R704_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "P15", False),
+        (29, 1, "CON66", 4, "FAN_GPIO46", "BANK2_GPIO46", "R706", "FAN_GPIO46", "R706_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "N15", False),
+        (30, 2, "CON62", 4, "FAN_GPIO42", "BANK2_GPIO42", "R702", "FAN_GPIO42", "R702_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "M14", False),
+        (31, 3, "CON60", 4, "FAN_GPIO40", "BANK2_GPIO40", "R700", "FAN_GPIO40", "R700_0R_DESIGN_INTENT_POPULATION_UNVERIFIED", "P5", False),
     )
     rows = mapping.get("fan_outputs", [])
     forbidden_connectors = {"CON31", "CON32", "CON33", "CON34", "CON35", "CON68"}
@@ -151,7 +159,8 @@ def validate_fans(mapping: dict[str, Any], fan: dict[str, Any]) -> None:
     for name, expected in (("front", expected_front), ("rear", expected_rear)):
         actual = tuple(
             (int(row["output_index"]), int(row["lane"]), row["connector"], int(row["pin"]),
-             row["net"], row["board_stage"], row["fpga_ball"], bool(row["board_inverts"]))
+             row["net"], row["fpga_net"], row["series_element"], row["connector_net"],
+             row["board_stage"], row["fpga_ball"], bool(row["board_inverts"]))
             for row in rows if row.get("group") == name
         )
         if actual != expected:
@@ -238,6 +247,8 @@ def verilog_header(layout_rows: list[dict[str, Any]], snapshot_size: int, wire:
         f"`define FRONT_FAN_FPGA_BALL_MAP \"{ball_map(front_rows)}\"",
         f"`define REAR_FAN_CONNECTOR_MAP \"{connector_map(rear_rows)}\"",
         f"`define REAR_FAN_FPGA_BALL_MAP \"{ball_map(rear_rows)}\"",
+        f"`define FB_BOARD_ID \"{mapping['board']['id']}\"",
+        f"`define FB_BOARD_EVIDENCE_SHA256 \"{mapping['board']['evidence_sha256']}\"",
         f"`define FB_CMD_SET_TARGET 8'h{int(command['SET_TARGET']['type']):02X}",
         f"`define FB_CMD_GET_SNAPSHOT 8'h{int(command['GET_SNAPSHOT']['type']):02X}",
         f"`define FB_CMD_SET_STIMULUS 8'h{int(command['SET_STIMULUS']['type']):02X}",
@@ -254,7 +265,8 @@ def verilog_header(layout_rows: list[dict[str, Any]], snapshot_size: int, wire:
         f"`define FB_EDGE_KI_Q4_12 {int(classes['EDGE']['ki_q4_12'])}",
         f"`define FB_CENTER_KP_Q4_12 {int(classes['CENTER']['kp_q4_12'])}",
         f"`define FB_CENTER_KI_Q4_12 {int(classes['CENTER']['ki_q4_12'])}",
-        f"`define FB_FAN_RESET {int(fan['duty']['reset'])}",
+        f"`define FAN_STANDBY_DUTY {int(fan['duty']['reset'])}",
+        "`define FB_FAN_RESET `FAN_STANDBY_DUTY",
         f"`define FB_FAN_HARD {int(fan['duty']['hard'])}",
     ]
     for row in layout_rows:

+ 65 - 18
tools/package_target.py

@@ -31,13 +31,15 @@ from tools.run_6400_td import (
 from tools.target_registry import ROOT, load_source_closure, release_blocked, resolve_target
 
 
-CANDIDATE_NOTICE_ZH_CN = "候选,仅供审核;未冻结TTL Pin/未做硬件验证前不要烧录"
+CANDIDATE_NOTICE_ZH_CN = "RS-232-only TD候选;真实硬件验证仍为 NOT RUN"
 DO_NOT_PROGRAM_LINE = "DO NOT PROGRAM / 不要烧录"
+PRODUCTION_PROGRAM_LINE = "RS-232-ONLY PRODUCTION TD PASS / HARDWARE NOT RUN"
+IDENTIFICATION_PROGRAM_LINE = "IDENTIFICATION ONLY / NOT PRODUCTION / HARDWARE NOT RUN"
 CONTROL_DEPLOYMENT_STATUS = (
-    "UNSAFE_UNTIL_HOST_TTL_PINS_ARE_FROZEN_AND_HARDWARE_VALIDATED"
+    "TD_QUALIFIED_RS232_ONLY_HARDWARE_NOT_RUN"
 )
 IDENTIFICATION_DEPLOYMENT_STATUS = (
-    "IDENTIFICATION_ONLY_NOT_FOR_PRODUCTION_OR_DEPLOYMENT"
+    "IDENTIFICATION_ONLY_RS232_ONLY_HARDWARE_NOT_RUN"
 )
 FORBIDDEN_PROGRAM_INSTRUCTIONS = (
     "Erase/Program",
@@ -261,11 +263,12 @@ def build_target_package(
         source_commit_value = receipt_payload["commit"]
         assert isinstance(source_commit_value, str)
         source_commit = source_commit_value
-        blocked = (
-            bool(known_unbound_ports)
-            or hardware_validation != "PASS"
-            or not bool(profile["production"])
-        )
+        # Hardware NOT RUN is an evidence boundary, not a source/TD packaging
+        # failure.  A zero-unbound-port RS-232-only image may be handed to the
+        # user for programming while remaining explicitly unvalidated on real
+        # hardware. Identification is never Production, but may be programmed
+        # for the finite stimulus workflow.
+        blocked = bool(known_unbound_ports)
         pins = known_unbound_ports
     run_id = datetime.now(timezone.utc).strftime("%Y%m%dT%H%M%SZ")
     name = f"prod2u-{package_label}-{kind}-{commit[:12]}-{run_id}"
@@ -286,7 +289,12 @@ def build_target_package(
         "commit": commit,
         "run_id": run_id,
         "project_config_sha256": _sha256(project_path),
-        "source_manifest_sha256": _sha256(closure_path),
+        "source_closure_sha256": _sha256(closure_path),
+        "source_manifest_sha256": (
+            receipt_payload.get("source_manifest_sha256")
+            if receipt_payload is not None
+            else None
+        ),
         "bitstream_sha256": _sha256(bitstream_path) if bitstream_path else None,
         "hardware_validation": hardware_validation,
         "release_blocked": blocked,
@@ -306,8 +314,16 @@ def build_target_package(
         manifest.update(
             {
                 "candidate_notice_zh_CN": CANDIDATE_NOTICE_ZH_CN,
-                "candidate_only": blocked,
-                "deployable": not blocked,
+                "candidate_only": hardware_validation != "PASS",
+                "td_programmable": not blocked,
+                # The image is safe to hand off for user-controlled programming
+                # after TD passes, but real hardware acceptance remains NOT RUN.
+                "deployable": False,
+                "production_deployable": False,
+                "identification_programmable": (
+                    not blocked and not bool(profile["production"])
+                ),
+                "hardware_validated": hardware_validation == "PASS",
                 "deployment_status": deployment_status,
                 "source_commit": source_commit,
                 "package_commit": commit,
@@ -334,6 +350,13 @@ def build_target_package(
                 json.dumps(expanded_closure, indent=2, sort_keys=True) + "\n",
                 encoding="utf-8",
             )
+        if receipt_payload is not None:
+            source_manifest_bytes = json.dumps(
+                receipt_payload["inputs"],
+                sort_keys=True,
+                separators=(",", ":"),
+            ).encode()
+            (stage / "source-manifest.json").write_bytes(source_manifest_bytes)
         gen_dir = stage / ("generated/6400" if is_6400 else "generated")
         if generated_dir.is_dir():
             shutil.copytree(generated_dir, gen_dir)
@@ -351,15 +374,24 @@ def build_target_package(
                 encoding="ascii",
             )
             role = "生产" if selected_profile == "6400-control" else "Identification 专用"
+            instruction_header = (
+                DO_NOT_PROGRAM_LINE
+                if blocked
+                else (
+                    PRODUCTION_PROGRAM_LINE
+                    if selected_profile == "6400-control"
+                    else IDENTIFICATION_PROGRAM_LINE
+                )
+            )
             (stage / "FLASH-INSTRUCTIONS.zh-CN.txt").write_text(
-                DO_NOT_PROGRAM_LINE + "\n"
+                instruction_header + "\n"
                 + CANDIDATE_NOTICE_ZH_CN + "\n\n"
                 + f"6400 {role}固件审核说明\n"
                 "========================\n"
                 "目标器件:EF2L45BG256B(6400 前后独立温控)\n"
                 f"固件文件:{bitstream_name}\n"
                 "请审核 BITSTREAM-SHA256.txt 与 TD-BUILD-RECEIPT.json 后再冻结制品。\n"
-                f"Host 串口使用 921600 8N1;每条合法命令先独立 ACK;Profile={selected_profile}。\n"
+                f"Host 串口仅使用 CON78 RS-232 921600 8N1;每条合法命令先独立 ACK;Profile={selected_profile}。\n"
                 "本包只包含 6400 固件,不能用于 MRDIMM 门控板。\n"
                 + (
                     "本固件含 SET_STIMULUS,仅限 Identification,不得作为 Production。\n"
@@ -463,15 +495,25 @@ def _selftest(zip_path: Path) -> None:
                 or receipt.get("project_sha256") != _sha256(dest / "project.json")
                 or receipt.get("source_closure_sha256")
                 != _sha256(dest / "source-closure.json")
+                or manifest.get("source_closure_sha256")
+                != receipt.get("source_closure_sha256")
+                or manifest.get("source_manifest_sha256") != expected_input_sha
+                or not (dest / "source-manifest.json").is_file()
+                or _sha256(dest / "source-manifest.json") != expected_input_sha
             ):
                 raise SystemExit("package selftest: TD input digest mismatch")
             receipt_ports = receipt.get("known_unbound_ports")
             expected_ports = list(EXPECTED_UNBOUND_PORTS)
             warning_audit = receipt.get("warning_audit")
             if (
-                manifest.get("release_blocked") is not True
-                or manifest.get("deployable") is not False
+                manifest.get("release_blocked") is not False
+                or manifest.get("td_programmable") is not True
                 or manifest.get("candidate_only") is not True
+                or manifest.get("hardware_validated") is not False
+                or manifest.get("deployable") is not False
+                or manifest.get("production_deployable") is not False
+                or manifest.get("identification_programmable")
+                is not (not bool(profile["production"]))
                 or receipt_ports != expected_ports
                 or manifest.get("known_unbound_ports") != receipt_ports
                 or manifest.get("unresolved_ports") != receipt_ports
@@ -485,8 +527,8 @@ def _selftest(zip_path: Path) -> None:
                 or warning_audit.get("observed_unbound_ports") != expected_ports
             ):
                 raise SystemExit("package selftest: unsafe deployment gate mismatch")
-            if not (dest / "CANDIDATE-NOTICE.zh-CN.txt").is_file():
-                raise SystemExit("package selftest: candidate notice missing")
+            if (dest / "CANDIDATE-NOTICE.zh-CN.txt").exists():
+                raise SystemExit("package selftest: stale release-block notice present")
             if (
                 manifest.get("production") is not bool(profile["production"])
                 or manifest.get("stimulus") is not bool(profile["stimulus"])
@@ -496,8 +538,13 @@ def _selftest(zip_path: Path) -> None:
             instructions = (dest / "FLASH-INSTRUCTIONS.zh-CN.txt").read_text(
                 encoding="utf-8"
             )
+            expected_header = (
+                PRODUCTION_PROGRAM_LINE
+                if bool(profile["production"])
+                else IDENTIFICATION_PROGRAM_LINE
+            )
             if (
-                not instructions.startswith(DO_NOT_PROGRAM_LINE)
+                not instructions.startswith(expected_header)
                 or "921600 8N1" not in instructions
                 or "独立 ACK" not in instructions
                 or any(token in instructions for token in FORBIDDEN_PROGRAM_INSTRUCTIONS)

+ 6 - 3
tools/run_6400_td.py

@@ -31,6 +31,7 @@ HARDWARE_PROFILES = {
         "artifact_basename": "prod2u_6400_front_back",
         "production": True,
         "stimulus": False,
+        "hardware_host_interfaces": ("host_rs232",),
     },
     "6400-identification": {
         "project": "products/6400-identification/project.json",
@@ -44,6 +45,7 @@ HARDWARE_PROFILES = {
         "artifact_basename": "prod2u_6400_identification",
         "production": False,
         "stimulus": True,
+        "hardware_host_interfaces": ("host_rs232",),
     },
 }
 # Backward-compatible aliases for callers importing the production defaults.
@@ -55,7 +57,7 @@ CONSTRAINT_FILES = (
     "constraints/prod2u_6400_front_back.adc",
     "constraints/prod2u_6400_front_back.sdc",
 )
-EXPECTED_UNBOUND_PORTS = ("host_ttl_rx", "host_ttl_tx")
+EXPECTED_UNBOUND_PORTS: tuple[str, ...] = ()
 
 
 def sha256(path: Path) -> str:
@@ -107,6 +109,7 @@ def profile_receipt_fields(profile_name: str) -> dict[str, object]:
         "stimulus": bool(profile["stimulus"]),
         "simulation_only": False,
         "artifact_basename": str(profile["artifact_basename"]),
+        "hardware_host_interfaces": list(profile["hardware_host_interfaces"]),
     }
 
 
@@ -408,9 +411,9 @@ def main(argv: list[str] | None = None) -> int:
         "bitstream": str(bitstream) if bitstream.is_file() else None,
         "bitstream_sha256": sha256(bitstream) if bitstream.is_file() else None,
         "deployment_status": (
-            "UNSAFE_UNTIL_HOST_TTL_PINS_ARE_FROZEN_AND_HARDWARE_VALIDATED"
+            "TD_QUALIFIED_RS232_ONLY_HARDWARE_NOT_RUN"
             if profile["production"]
-            else "IDENTIFICATION_ONLY_NOT_FOR_PRODUCTION_OR_DEPLOYMENT"
+            else "IDENTIFICATION_ONLY_RS232_ONLY_HARDWARE_NOT_RUN"
         ),
         "known_unbound_ports": list(EXPECTED_UNBOUND_PORTS),
     }

+ 16 - 4
tools/run_6400_v1.py

@@ -28,11 +28,19 @@ UART_CANDIDATE_SOURCES = (
 )
 
 
+def closure() -> dict[str, object]:
+    return json.loads(CLOSURE.read_text(encoding="utf-8"))
+
+
 def sources() -> list[str]:
-    value = json.loads(CLOSURE.read_text(encoding="utf-8"))
+    value = closure()
     return [item for item in value["sources"] if item.endswith(".v")]
 
 
+def top_module() -> str:
+    return str(closure()["top_module"])
+
+
 def run(argv: list[str]) -> None:
     print("+ " + " ".join(argv), flush=True)
     env = os.environ.copy()
@@ -52,11 +60,15 @@ def generate(check: bool = True) -> None:
 
 
 def lint() -> None:
+    top = top_module()
     run([
         "verilator", "--lint-only", "--Wall", "-Wno-fatal", "-Wno-MULTITOP",
-        "-I.", "--top-module", "prod2u_6400_v1_top", *sources(),
+        "-I.", "--top-module", top, *sources(),
     ])
-    script = "read_verilog -I. " + " ".join(sources()) + "; hierarchy -check -top prod2u_6400_v1_top; proc; check"
+    script = (
+        "read_verilog -I. " + " ".join(sources())
+        + f"; hierarchy -check -top {top}; proc; check"
+    )
     run(["yosys", "-q", "-p", script])
 
 
@@ -71,7 +83,7 @@ def simulation() -> None:
             ])
             run(["vvp", str(output)])
         run([
-            "iverilog", "-g2012", "-Wall", "-I.", "-s", "prod2u_6400_v1_top",
+            "iverilog", "-g2012", "-Wall", "-I.", "-s", top_module(),
             "-o", str(temp / "top.vvp"), *sources(),
         ])
         output = temp / "uart_baud_candidates_tb.vvp"