FA-89167 / Digital logic simulation / Member archive
Complemented literals ignored in term coverage · case 02
Terms with a 0 literal cover minterms where that variable is 1.
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 | [] | [[2, 10], [6, 14], [12, 13], [14, 15]] | 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 ↗