FAILURE MAP
← Case archive

FA-91448 / Digital signal filters / Member archive

CIC comb subtracts the new sample from the delayed one · case 03

Outputs have the opposite sign for odd N.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

Input [N, R, M, samples]: N integrator stages at the input rate, keep the integrator output at indices R-1, 2R-1, ... (whole blocks only), then N comb stages y = v - v[k-M] at the low rate with zero initial state; divide by the gain (R M)^N and return exact fraction strings.

Why this case matters

CIC decimators front most digital down-converters; decimation phase, delay or gain slips distort the passband level.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: random cic 3["-3/32", "-13/32", "-57/64", "-23/16", "-63/32"]["3/32", "13/32", "57/64", "23/16", "63/32"]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 ↗