Kaynağa Gözat

chore(prod2u): register alt-config startup TB in verify targets

Keep the new real-top startup matrix visible to the verification target list
and leave alt-config formal labeled as BMC/cover only.

Co-authored-by: Cursor <cursoragent@cursor.com>
root 3 ay önce
ebeveyn
işleme
0ba9edb616

+ 79 - 14
config/prod2u_p4_verification_targets_v1.json

@@ -7,7 +7,6 @@
       "tests.unit.test_project_config",
       "tests.unit.test_project_generation",
       "tests.unit.test_protocol",
-
       "tests.unit.test_new_cdc_structure",
       "tests.unit.test_prod2u_p4_normal_v3_td_files",
       "tests.unit.test_phase1_contract",
@@ -41,26 +40,92 @@
       "prod2u_p4_normal_v3_top_startup_tb",
       "prod2u_p4_normal_v3_top_runtime_limit_tb",
       "prod2u_p4_alt_config_polarity_tb",
+      "prod2u_p4_alt_config_startup_tb",
       "output_target_ram_tb",
       "host_watchdog_tb",
       "shared_500us_tick_tb",
       "startup_motor_stop_tb",
       "prod2u_por_tb"
     ],
-    "verilator": ["prod2u_door_temp_top_lint"],
-    "cocotb": ["prod2u_door_temp_uart_e2e"],
+    "verilator": [
+      "prod2u_door_temp_top_lint"
+    ],
+    "cocotb": [
+      "prod2u_door_temp_uart_e2e"
+    ],
     "formal": [
-      {"name": "frame_command_contract", "tasks": ["bmc"]},
-      {"name": "frame_tx_contract", "tasks": ["bmc"]},
-      {"name": "output_target_ram_contract", "tasks": ["prove"]},
-      {"name": "simple_frame_contract", "tasks": ["bmc", "cover"]},
-      {"name": "simple_motor_temperature_contract", "tasks": ["prove", "cover"]},
-      {"name": "pwm_scheduler_contract", "tasks": ["prove"]},
-      {"name": "host_watchdog_contract", "tasks": ["prove"]},
-      {"name": "startup_close_seek", "tasks": ["bmc", "cover"]},
-      {"name": "runtime_limit_hard_stop", "tasks": ["bmc", "cover"]},
-      {"name": "alt_config_limit_normalize", "tasks": ["bmc", "cover"]},
-      {"name": "door_action_dispatcher_axis3", "tasks": ["bmc", "cover"]}
+      {
+        "name": "frame_command_contract",
+        "tasks": [
+          "bmc"
+        ]
+      },
+      {
+        "name": "frame_tx_contract",
+        "tasks": [
+          "bmc"
+        ]
+      },
+      {
+        "name": "output_target_ram_contract",
+        "tasks": [
+          "prove"
+        ]
+      },
+      {
+        "name": "simple_frame_contract",
+        "tasks": [
+          "bmc",
+          "cover"
+        ]
+      },
+      {
+        "name": "simple_motor_temperature_contract",
+        "tasks": [
+          "prove",
+          "cover"
+        ]
+      },
+      {
+        "name": "pwm_scheduler_contract",
+        "tasks": [
+          "prove"
+        ]
+      },
+      {
+        "name": "host_watchdog_contract",
+        "tasks": [
+          "prove"
+        ]
+      },
+      {
+        "name": "startup_close_seek",
+        "tasks": [
+          "bmc",
+          "cover"
+        ]
+      },
+      {
+        "name": "runtime_limit_hard_stop",
+        "tasks": [
+          "bmc",
+          "cover"
+        ]
+      },
+      {
+        "name": "alt_config_limit_normalize",
+        "tasks": [
+          "bmc",
+          "cover"
+        ]
+      },
+      {
+        "name": "door_action_dispatcher_axis3",
+        "tasks": [
+          "bmc",
+          "cover"
+        ]
+      }
     ]
   }
 }

+ 1 - 1
tests/formal/alt_config_limit_normalize_formal.v

@@ -1,6 +1,6 @@
 // Alt-config limit normalize + STEP gate formal shell (BMC/cover only).
 // Mirrors prod2u_p4_normal_v3_top.v normalize / selected_limit / DIR edge.
-// Depth-bounded BMC is NOT an infinite prove — keep task names honest.
+// Depth-bounded BMC is NOT an infinite prove - keep task names honest.
 module alt_config_limit_normalize_formal (
     input wire clk,
     input wire rst_n,