
APB4 watchdog that turns program-flow liveness into a hardware proof obligation, with staged reset escalation and ASIL-B diagnostics. It is delivered as a licensable soft-IP block engineered as an ASIL-B Safety Element out of Context — not just RTL, but the complete functional-safety work package needed to carry it into an ISO 26262 program:
A configurable-width APB4 watchdog timer (16 b default, up to 32 b) delivered as synthesizable SystemVerilog soft-IP.
TIMER_W, default 16 b, up to 32 b) with a LOAD reload register for flexible timeout periods — one decrement per clock, no internal prescalerKR to kick (reload + clear WDIF), write 0xCC to freeze CR/LOAD/WINDOW until the next resetCR.WWEN): a kick while cnt_q > WINDOW is a fault (wdt_win pulse + WDIF), not a valid service — catches early/runaway control flow, not just hangsCR.WIE raises a maskable wdt_irq on first timeout (recoverable); CR.WDE gates the one-cycle wdt_rst hard-reset pulse as the last-resort pathCR/LOAD/WINDOW → err_code 1; independent-DMR counter shadow + complementary-shadow DMR of the timeout/window flag and pulse flops → err_code 9wdt_rst/wdt_win/wdt_irq) wired point-to-point to the reset/interrupt controllers — only config+service traffic rides the APB4 slaveAMBA APB4 (ARM IHI 0024); ISO 26262 ASIL-B SEooC (SPFM 99.30%, LFM 100.00%, PMHF 1.36×10⁻¹⁰/h); IEC 61508 watchdog baseline
ASIL-B (SEooC) · SPFM 99.30% · LFM 100.00% · PASS
ISO 26262:2018 · FMEDA available · Safety Manual included
See datasheet for full register reference.
// Minimal instantiation
wdt #(
.ADDR_W(6)
) u_wdt (
.clk (clk),
.rst_n (rst_n),
// APB4
.p_paddr (paddr),
.p_psel (psel),
.p_penable (penable),
.p_pwrite (pwrite),
.p_pwdata (pwdata),
.p_prdata (prdata),
.p_pready (pready),
// Safety
.err_clear (1'b0),
.err_valid (err_valid),
.err_code (err_code)
);Configure via the CTRL register after reset to enable the IP and set operating parameters. Monitor err_valid / err_code for any safety faults reported by the built-in safety monitor.
Typically deployed in the housekeeping layer every SoC needs — timing, watchdogs, reset, and I/O.
Pricing, the per-IP FMEDA, safety manual, and RTL data room are shared under a mutual NDA.
Figures are pre-silicon engineering-grade estimates for a Safety Element out of Context (SEooC); final ASIL sign-off is the integrator’s, supported under NDA. FMEDA and Safety Manual available under NDA.
circuit-design.space · +1-971-357-1400 · anovickis@circuit-design.space