FA-89184 / Digital logic simulation / Member archive
Neighbour generation flips the wrong bits · case 04
Pairs that differ in more than one variable are tested and real one-bit neighbours are skipped.
Case contract
Input [nv, terms]: product terms are strings over '0','1','-' with character 0 the most significant variable. Minterm m is covered by a term when every non-'-' position matches bit (m >> (nv-1-k)) & 1. A static-1 hazard is a pair of adjacent minterms (differing in one bit), both in the on-set, that no single term covers together. Return sorted [low, high] pairs.
Why this case matters
Glitch analysis in logic simulators flags transitions that may pulse when two product terms hand off.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| cover 1 | [[11, 12], [11, 13]] | [] | 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 ↗