Просмотр исходного кода

split-formal-transition-target

root 3 месяцев назад
Родитель
Сommit
d1eac2b63c

+ 3 - 3
ACTIVE_FIX_LOCK.yaml

@@ -3,7 +3,7 @@ workspace: /data/prod2u/worktrees/6400-front-rear-v11-30s
 authoritative_repo: /root/workspaces/thermal-system/cpld-temperature-control
 branch: feature/6400-front-rear-v11-30s
 baseline_commit: a00a5b673f6007ba4602221393aa4dce1e75e51e
-current_committed_head: 704b947d10d924325598ac15847febb0c4908f49
+current_committed_head: ecd1493e98d15ae330f0f504ae9c8912979a6966
 product: 6400-front-rear
 board: FCB V1.1
 device: EF2L45BG256B
@@ -70,5 +70,5 @@ execution:
   jtag: NOT_RUN
   pre_configuration_output: NOT_VERIFIED
 last_test: FOCUSED_PASS_generator_closure_lint_unit21_icarus_cocotb_hard_race
-formal_latest: frame_rx_z3_PASS_5s_snapshot_boolector_PASS_z3_probe_TIMEOUT_core_depth90_basecase_PASS_induction_TIMEOUT600s
-next: commit_current_fix_then_full_formal_registry_and_affected_mrdimm_gate
+formal_latest: core_owner_k_induction_PASS94s_core_transitions_bmc90_PASS125s_frame_rx_PASS_snapshot_boolector_PASS
+next: commit_formal_split_then_full_formal_registry_and_affected_mrdimm_gate

+ 2 - 2
QUICK_PROGRESS.md

@@ -34,5 +34,5 @@
 - PASS: mutation 6/6 and full 6400 integration; prior Final TD at `704b947` is superseded by the current RTL fix.
 - Fixed after Formal counterexample: Watchdog reload now occurs only on final safely applied Manual output commit; staging/cancelled SET_ALL cannot feed it.
 - PASS current focused replay: generator/closure, lint, 21 unit, Icarus sim, Host Cocotb, hard-fault cancellation race with Watchdog non-feed assertion.
-- Formal: Frame RX Z3 PASS 5s and Boolector PASS; Snapshot transport Boolector depth48 PASS, Z3 90s probe TIMEOUT; Core Owner depth90 basecase PASS, induction bounded TIMEOUT at 600s (not claimed full proof).
-- Next: commit current fix, run exact-clean-commit Formal registry, affected MRDIMM/Legacy gate, source-freeze soak/mutation, Fresh Final TD/GUI/packages.
+- Formal split: Core Owner invariant k-induction PASS 94s; added transaction/race properties BMC depth90 PASS 125s; Frame RX Z3/Boolector PASS; Snapshot transport Boolector depth48 PASS and Z3 probe TIMEOUT.
+- Next: commit Formal solver-map split, rerun exact-clean-commit registry, affected MRDIMM/Legacy gate, source-freeze soak/mutation, Fresh Final TD/GUI/packages.

+ 1 - 0
products/6400-front-rear/analysis-replay-closure.json

@@ -35,6 +35,7 @@
     "tests/formal/6400_board_adapter_properties_formal.v",
     "tests/formal/6400_core_owner_properties.sby",
     "tests/formal/6400_core_owner_properties_formal.v",
+    "tests/formal/6400_core_transition_properties.sby",
     "tests/formal/6400_frame_rx_properties.sby",
     "tests/formal/6400_frame_rx_properties_formal.v",
     "tests/formal/6400_snapshot_transport_properties.sby",

+ 13 - 6
tests/formal/6400-properties.json

@@ -18,6 +18,13 @@
       "mode": "prove",
       "depth": 90
     },
+    {
+      "name": "core_transitions",
+      "sby": "6400_core_transition_properties.sby",
+      "tasks": ["boolector"],
+      "mode": "bmc",
+      "depth": 90
+    },
     {
       "name": "snapshot_lock",
       "sby": "6400_snapshot_properties.sby",
@@ -63,7 +70,7 @@
     {
       "name": "snapshot_transport",
       "sby": "6400_snapshot_transport_properties.sby",
-      "tasks": ["boolector", "z3"],
+      "tasks": ["boolector"],
       "mode": "bmc",
       "depth": 48
     }
@@ -123,27 +130,27 @@
     {
       "id": "LF10",
       "requirement": "SET_ALL acceptance dominates the simultaneous final watchdog tick",
-      "harness": "6400_core_owner_properties.sby"
+      "harness": "6400_core_transition_properties.sby"
     },
     {
       "id": "LF11",
       "requirement": "MANUAL remains available without BMC and persistent PID stale commits safe output once",
-      "harness": "6400_core_owner_properties.sby"
+      "harness": "6400_core_transition_properties.sby"
     },
     {
       "id": "LF12",
       "requirement": "PI state writes are epoch-gated and frozen outside init safe-clear or PID update",
-      "harness": "6400_core_owner_properties.sby"
+      "harness": "6400_core_transition_properties.sby"
     },
     {
       "id": "LF13",
       "requirement": "A new hard lock cancels an in-flight Manual commit before output apply",
-      "harness": "6400_core_owner_properties.sby"
+      "harness": "6400_core_transition_properties.sby"
     },
     {
       "id": "LF14",
       "requirement": "A hard lane releases only on a complete valid cool epoch after its release counter qualifies",
-      "harness": "6400_core_owner_properties.sby"
+      "harness": "6400_core_transition_properties.sby"
     },
     {
       "id": "LF15",

+ 2 - 0
tests/formal/6400_core_owner_properties_formal.v

@@ -104,6 +104,7 @@ module thermal_6400_core_owner_properties_formal(input wire clk);
                 assert(active_output_bank != $past(active_output_bank));
                 assert(control_epoch == $past(control_epoch) + 1'b1);
             end
+`ifdef FORMAL_LONG_TRANSITIONS
             if (formal_past_valid && $past(rst_n)) begin
                 // SET_ALL staging suppresses a simultaneous final timeout, but
                 // does not feed the watchdog before the safe output commit.
@@ -145,6 +146,7 @@ module thermal_6400_core_owner_properties_formal(input wire clk);
                             ($past(lane_fault_mask) & ~lane_fault_mask)) == 0);
                 end
             end
+`endif
         end
     end
 endmodule

+ 22 - 0
tests/formal/6400_core_transition_properties.sby

@@ -0,0 +1,22 @@
+[tasks]
+boolector
+
+[options]
+mode bmc
+depth 90
+
+[engines]
+boolector: smtbmc boolector
+
+[script]
+read_verilog -formal -D FORMAL -D FORMAL_LONG_TRANSITIONS -I. ef2_bram_dp.v manual_set_all_bank.v thermal_output_banks.v thermal_control_core.v
+read_verilog -formal -D FORMAL_LONG_TRANSITIONS -I. 6400_core_owner_properties_formal.v
+prep -top thermal_6400_core_owner_properties_formal
+
+[files]
+../../src/common/ef2_bram_dp.v
+../../src/control/manual_set_all_bank.v
+../../src/control/thermal_output_banks.v
+../../src/control/thermal_control_core.v
+generated/6400/prod2u_6400_v1_params.vh ../../generated/6400/prod2u_6400_v1_params.vh
+6400_core_owner_properties_formal.v

+ 4 - 1
tests/formal/solver-map.yaml

@@ -10,7 +10,10 @@ targets:
     selected: boolector
     boolector_probe: TIMEOUT_90s_step89
     z3_probe: TIMEOUT_90s_step15
-    selected_result: PASS_BASECASE_DEPTH90_INDUCTION_TIMEOUT_600s
+    selected_result: PASS_K_INDUCTION_94s_DEPTH90
+  core_transitions:
+    selected: boolector
+    boolector_probe: PASS_BMC_125s_DEPTH90
   frame_rx:
     selected: z3
     boolector_probe: PASS