|
@@ -26,7 +26,10 @@ module prod2u_p4_normal_v3_watchdog #(
|
|
|
(counter >= WATCHDOG_LIMIT);
|
|
(counter >= WATCHDOG_LIMIT);
|
|
|
|
|
|
|
|
assign expiry_due = rst_n && !disable_cmd && expiry_boundary;
|
|
assign expiry_due = rst_n && !disable_cmd && expiry_boundary;
|
|
|
- assign force_safe = disable_cmd || watchdog_timeout || expiry_due;
|
|
|
|
|
|
|
+ // Timeout is status after the expiry edge, not a persistent command gate.
|
|
|
|
|
+ // The expiry pulse restores safe outputs once; a later valid snapshot can
|
|
|
|
|
+ // commit and re-arm the watchdog without requiring an intervening DISABLE.
|
|
|
|
|
+ assign force_safe = disable_cmd || expiry_due;
|
|
|
|
|
|
|
|
generate
|
|
generate
|
|
|
if (WATCHDOG_CYCLES < 1) begin : g_watchdog_interval_must_be_positive
|
|
if (WATCHDOG_CYCLES < 1) begin : g_watchdog_interval_must_be_positive
|