r/ASIC • u/OkCut1285 • Jul 31 '26
How much would you pay for an automated Floating-to-Fixed-Point & DSP Bit-Width Optimization Tool?
Hey everyone,
As FPGA/DSP engineers, we’ve all been through the painful, manual grind of converting Floating-Point C/C++ algorithms into Fixed-Point models and optimizing bit-widths to balance SNR/accuracy vs. hardware resource usage (LUTs/FFs/DSPs).
I’ve been refining an automated methodology and tool that automates this workflow using Siemens Mentor ac_fixed.h types and domain-specific DSP optimization heuristics. I wanted to get the community's honest feedback and see what people would be willing to pay for a tool like this.
Key Features & Workflow
Floating $\to$ Full-Precision Fixed-Point Conversion
Automatically maps C/C++ floating-point models to full-precision fixed-point representations to establish a zero-precision-loss baseline.
Greedy-Search Based Bit-Width Pruning
Employs a heuristic Greedy Search Strategy to prune integer and fractional bit-widths node-by-node, tracking SQNR and hardware dynamic range.
DSP Block Optimization & Optimized RTL Export
Calculates exact RTL bit-widths tailored for specific FPGA DSP slices (e.g., Xilinx DSP48/DSP58 or Intel DSP blocks) to eliminate partial DSP utilization and wasted fabric logic.
Algorithm-Specific Bit-Width Optimization Engine
Generic bit-width optimizers fail because different DSP blocks have fundamentally different constraints. Here is how the engine handles key DSP building blocks:
FIR Filters (Symmetric / Polyphase / Transposed)
L1-Norm & Worst-Case Noise Bound Analysis: Calculates the exact integer bit-width (IBW) required to prevent overflow based on coefficient sum $\sum \vert{}h[n]\vert{}$.
Coefficient Quantization Sensitivity: Separates coefficient quantization from data-path quantization, finding the minimum coefficient bit-width that still satisfies the stopband attenuation requirement (dB).
Interpolation Filters (Multi-rate / CIC / Farrow)
Hogenauer Bit-Growth Reduction: Automatically applies Hogenauer pruning for multi-stage CIC/Interpolation filters, eliminating unnecessary lower-order bits in early stages while maintaining output precision.
Internal Accumulator Sizing: Optimizes polyphase arm bit-widths dynamically based on down/upsampling ratios.
Digital PLLs / NCOs (Phase-Locked Loops)
Loop Stability Guarding: Standard SQNR search often breaks PLL lock range. The engine analyzes Phase Detector and Loop Filter bit-widths with a focus on Phase Jitter / Phase Noise Floor and Loop Filter Accumulator overflow.
NCO Phase Accumulator vs. Look-Up Table (LUT) Depth Optimization: Dynamically balances Phase Truncation SFDR (Spurious-Free Dynamic Range) against RAM/LUT resource costs.