FA-88995 / Digital logic simulation / Member archive
Stuck-at faults on primary inputs never injected · case 05
Faults on primary inputs are reported as undetected by every vector.
Case contract
Input [pis, gates, pos, vectors, faults]. Gates [out, op, ins] are topologically ordered (and/or/nand/nor/not). A fault [net, None, v] is a stem stuck-at on a primary input or gate output; [net, reader, v] is a branch fault that forces only the pin of gate 'reader' that reads 'net'. A fault is detected by a vector when any primary output differs from the fault-free circuit. Return [net, reader, v, first detecting vector index or None] per fault.
Why this case matters
Fault simulators grade test sets; stem/branch distinction and output comparison determine reported coverage.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| primary input stuck-at-1 | [["a", null, 1, null]] | [["a", null, 1, 5]] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗