FAILURE MAP
← Case archive

FA-89308 / Digital logic simulation / Member archive

Gated clock edges counted as high samples · case 03

A gated pulse spanning several samples is counted several times.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

Input [samples] of [clk, en, te]. The enable latch starts at 0 and is transparent while clk is 0 (q = en or te), holding while clk is 1. The gated clock is clk and q. Return [gated clock per sample, number of gated rising edges counting from an initial low].

Why this case matters

Integrated clock gating cells rely on a low-transparent latch to avoid glitches; simulation models that skip the latch show clock pulses that silicon never produces.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
enable drops while clock high[[0, 1, 1, 0, 0], 2][[0, 1, 1, 0, 0], 1]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 ↗