Watchdog check pack

Claim
Blind test, 3 of 3 planted bugs found, 0 false positives, on one 8-bit watchdog.

The design
rtl/blind_test_watchdog.v, module watchdog_timer: 38 lines of Verilog, 1,271 bytes, an 8-bit counter with
programmable timeout, kick, enable and an interrupt output. rtl/spec.txt is the four-sentence specification, the
only statement of intended behaviour the flow received.

Replay, one command
    sh replay.sh
Each formal/<task>/ directory holds the exact SymbiYosys task of the run, the accepted property it checks, the
unchanged RTL, and the recorded verdict and counterexample trace under recorded/. replay.sh runs every task in a
fresh copy and prints "FAIL reproduced" when the new verdict equals the recorded one. The recorded runs used
SymbiYosys v0.67, Yosys 0.65 and z3.

The six findings and the planted bug each one exposes
    bmc_irq_asserts_on_timeout          planted bug 1: count > timeout_val should be >= (line 29)
    bmc_timeout_zero_immediate_irq      planted bug 1
    cover_timeout_max_no_wrap           planted bug 1: at timeout_val = 255 irq can never assert
    bmc_reset_clears_state              planted bug 2: irq missing from the asynchronous reset branch (lines 20 to 23)
    bmc_count_increments_when_enabled   planted bug 3: enable registered into enable_q, one cycle late (lines 24, 28)
    bmc_count_holds_when_disabled       planted bug 3
A bmc task FAIL is a counterexample to an asserted property. The cover task FAIL means the state the specification
requires (irq asserted at timeout_val = 255) is unreachable in the design.

What blind meant
An examiner wrote the RTL with three bugs planted and sealed the answer key. The flow received the RTL and the
specification and nothing else. It generated twelve properties; the owner of the specification accepted eleven as
stating it, before any verdict was graded. The report was graded against the key afterwards: the six findings map
to the three planted bugs, and none points at behaviour that was not planted.
Line numbers refer to rtl/blind_test_watchdog.v.

Trust boundary
The replay proves that the unchanged RTL violates each accepted property. That each property states the intended
behaviour rests on its acceptance by the owner of the specification; read the property next to spec.txt.

SHA256SUMS holds the SHA-256 of every file in this pack.
