README.md 1.3 KB

Verification Layers

The active verification tree covers only Prod2U P4 Normal v3.

  • tests/sim/: directed Icarus/Verilator RTL simulations.
  • tests/cocotb/: Python-driven core and top-level cosimulation.
  • tests/formal/: JOG timing/reload, protocol, output, and non-motor watchdog properties.
  • tests/unit/: host protocol, model, package, resource and receipt contracts.
  • tests/fixtures/: deliberately bad inputs used to prove detectors fail closed.

The active motor contract is intentionally unprotected: only opcode 0x35 drives X/Y, 1..65535 steps execute without a cap at fixed 1000 step/s, and ACK follows the first STEP rise. Limit inputs, DISABLE, and watchdog expiry do not stop a motor; formal checks must not reintroduce those retired gates.

The fast-JOG targets are prod2u_p4_normal_v3_rx_fast_jog_tb, prod2u_p4_fast_jog_core_tb, prod2u_p4_fast_jog_top, and prod2u_p4_fast_jog_path. Together they cover the held ordinary slot, non-IDLE core states, TX backpressure, latest-wins ACK storage, full setup/phase reload, exact raw nonzero u16 counts, and X/Y isolation.

Missing tools are reported as blocked; a missing test, detector gap or counterexample is a failure. Offline checks and TD builds never imply that a board was programmed or moved.