TERNARAFIR Fit

Ternara FIR Fit — 0-DSP Polyphase Decimation in Standard FPGA Logic

Deterministic CSD + CSE polyphase decimating FIR IP cores for standard binary FPGAs with 0 DSP48E1 and 0 BRAM. Verified bit-exact in Icarus Verilog 13.0 + Verilator 5.052 and synthesized in Yosys 0.69+post against 4 honest baselines (DSP48E1, LUT-only, CIC+HB+CompFIR LUT & DSP).

Multipliers Used
0 DSP48E1
100% LUT + CARRY4 CSD+CSE · 0 BRAM · 379 post-CSE adders (M=8)
Bit-Exact RTL (F · measured)
0 Mismatches
50,340 outputs (M=8) + 25,560 (M=4) · SFDR 121.88 dB · ENOB 15.91 b
Group Delay & LUT Savings
0.0894 us · -37.7%
2x lower GD vs Base C (0.1738 us) · -37.74% LUT_eff vs Base B
Stage-4 Gate Verdict
PASS (M=4) / REVISE (M=8)
Wins on M=4 & GD <= 0.10 us · Honest REVISE vs Base C on M=8 GD <= 0.25 us
F · measured Bit-Exact RTL Simulation

Zero mismatches, Apass, Astop, group delay, SFDR, and ENOB measured directly on Verilog outputs in Icarus Verilog 13.0 and checked with Verilator 5.052 --lint-only -Wall.

F · estimated + H · pre-P&R Yosys Pre-P&R Synthesis

LUT_eff (LUT1..6 + INV), CARRY4, FDRE, DSP48E1, LTP depth, analytical Fmax_proxy, and K_max (80% LUT/FF, 100% DSP) obtained via Yosys 0.69+post synth_xilinx.

U · pending Post-P&R Vivado / Hardware

Actual post-P&R Fmax, routing congestion at high CARRY4 density, power draw, and physical board runs are not measured locally (Vivado/Quartus not installed).

01 · Applicability & Honest Stage-4 Review

Where CSD+CSE beats CIC+Halfband — and where it does not

Select a spectral mask below to inspect verified functional metrics, Yosys resource counts, and the exact engineering boundary between single-stage polyphase CSD+CSE and classical CIC+Halfband cascades.

Proven Ternara CSD+CSE Advantage Zones

1) Strict latency loops (GD <= 0.10 us) where CIC+HB fails; 2) Moderate decimation M=2..4 with narrow transition near output Nyquist (m4_narrow_85db: Base C fails, Ternara uses 5,745 LUT vs 8,889 Base B); 3) 65–75 dB masks with strict NZD <= 4 (m4_nzd4_72db: 3,653 LUT vs 5,979 Base C-LUT and 2x lower GD).

Why M=8, GD <= 0.25 us is Stage-4 REVISE

On daq_16b_m8_90db (Fs=800 MHz, M=8, [38, 62] MHz, 90 dB, GD <= 0.25 us), Ternara cuts LUT_eff by 37.74% vs Base B (9,604 vs 15,425) and frees all 72 DSPs vs Base A (K_max 2 vs 1 on XC7A50T). However, with relaxed GD <= 0.25 us, Base C (CIC+HB+CompFIR) uses 8,083 LUT (K_max=3) or 17 DSP + 2,748 LUT (K_max=7) at the cost of 2x higher GD (0.1738 vs 0.0894 us).

02 · 5-Way Benchmark (Icarus Verilog + Yosys 0.69+post)

Five-way RTL & Yosys resource verification

Explore Artix-7 resource scaling across K = 1, 4, 8, 16 channels, conservative K_max capacity across XC7A35T/50T/100T, direct top-level flatten checks, and measured RTL functional results.

Channels K:
Artix-7 Part:
Synthesis Flow:
ImplementationKLUT1-6INV LUT_effCARRY4FF (FDRE)DSP48E1 LTP (LUT+CARRY4)Fmax_proxy (H)Synth (s)

LUT_eff & DSP48E1 Resource Comparison

Conservative LUT_eff = LUT1..6 + INV (Yosys 0.69+post pre-P&R).

Conservative K_max Capacity (H)

Max independent channels within 80% LUT/FF and 100% DSP48E1 limits.

Functional Verification Summary (F · measured in Icarus Verilog 13.0 + Verilator 5.052)

MaskImplementationVerilatorBit-Exact Diffs LatencyApass (dB)Astop (dB)GD (us) SFDR (dB)ENOB (b)Stop-tone (dB)Status
Click image to enlarge ↗
Measured frequency response from Schroeder deconvolution in Icarus Verilog 13.0 (click to zoom).
Click image to enlarge ↗
Yosys pre-P&R LUT_eff/DSP scaling and analytical K_max across XC7A35T/50T/100T (click to zoom).

03 · Declarative Spec Configurator (fir-mask-v0.1)

Build a fir-mask-v0.1 specification live

Load one of the four verified presets or adjust sampling rates, spectral mask, fixed-point precision, and CSD constraints to generate a schema-compliant YAML spec.

Verified Presets:

Generated fir-mask-v0.1 YAML


        

04 · Commercial Delivery & OEM Verticals

Three steps from mask to FPGA integration

We engage on fixed engineering scopes with transparent F/H/U verification boundaries. No black-box IP claims — every pilot includes reproducible RTL testbenches and baseline comparisons.

1

Text Mask (Day 0)

Send only fir-mask-v0.1 YAML/JSON + target FPGA part + baseline DSP/LUT/Fmax. No full-board source handover and no complex top-level NDA required.

2

Fixed Offline Pilot (1–2 Weeks)

We deliver verified Verilog-2005 RTL, bit-exact Python model (0 mismatches), testbench/vectors, and a baseline comparison Acceptance Report. Quote and SOW are fixed per mask.

3

Royalty-Free RTL Buyout (0% Royalties) & P&R Protection

Perpetual product-line RTL buyout with 100% pilot rollover into buyout (plus optional annual generator license). Conditional risk protection: if the agreed Vivado/Quartus route misses the agreed DSP savings while meeting mask, SFDR/ENOB, GD, and Fclk, the buyout is waived and the agreed pilot portion is refunded.

Select your OEM vertical to prefill the pilot form:

05 · Pilot Assessment & Downloadable Artifacts

Submit your mask or download the full v0.1 evidence bundle