FA-91449 / Digital signal filters / Member archive
CIC comb subtracts the new sample from the delayed one · case 04
Outputs have the opposite sign for odd N.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: random cic 6 | ["-1", "-7/4", "1/4", "-3/2", "-1/4"] | ["1", "7/4", "-1/4", "3/2", "1/4"] | 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 ↗