Abstract
Approximate Logic Synthesis (ALS) is a powerful technique for optimizing digital circuits by trading off accuracy for improvements in area, power, and delay. While many ALS methods focus on average error, certain applications require strict guarantees on the maximum error (worst-case). Ensuring these constraints is traditionally computationally expensive, often involving numerous calls to Boolean Satisfiability (SAT) solvers. This paper introduces an efficient, simulation-guided ALS flow that leverages logic simulation to prune invalid circuit changes and accelerate formal verification. The proposed method achieves a 30.6× speedup over state-of-the-art tools while further reducing circuit area and delay by 18.2% and 4.9%, respectively.
Introduction
In the paradigm of "good enough" computing, Approximate Logic Synthesis (ALS) simplifies digital circuits by intentionally introducing small, bounded errors. While most research focuses on minimizing average error, many critical applications—such as image processing or machine learning—require a maximum error constraint to prevent catastrophic failures or visible glitches.
The primary challenge in ALS under maximum error constraints is scalability. Traditional methods convert error-checking into a SAT problem. However, as circuit complexity grows, the number of potential local approximate changes (LACs) explodes, leading to thousands of time-consuming SAT calls. This bottleneck prevents existing tools from scaling to modern, large-scale circuit benchmarks.
Methodology: A Simulation-Guided Flow
The authors propose a three-step flow designed to handle complex local changes, such as signal substitutions (SASIMI), while maintaining high scalability.
- LAC Generation: The process begins by identifying potential local approximate changes, including constant replacements and signal substitutions.
- Simulation-Guided Pruning: To avoid redundant SAT calls, the tool uses logic simulation on a small subset of input patterns to establish a lower bound for the maximum error. If a simulation run demonstrates that a change violates the error bound, it is immediately discarded. This is optimized using a Change Propagation Matrix (CPM), allowing the evaluation of thousands of LACs with $O(N)$ complexity.
- Greedy Selection with Simulation-Guided SAT: Remaining "promising" LACs are sorted and verified using a SAT solver. A key innovation is the feedback loop: if the SAT solver identifies a counter-example (an error-violating input pattern), that pattern is added to the simulation suite to improve pruning efficiency in subsequent iterations.
Experimental Evaluation
The flow was evaluated using three major benchmark suites: MECALS (arithmetic circuits), EPFL Arithmetic (large-scale circuits up to 38,540 nodes), and ISCAS85 (standard logic synthesis benchmarks). The performance was compared against two state-of-the-art baselines: MECALS and MUSCAT.
Results and Discussion
The experimental results demonstrate significant improvements in both runtime and circuit quality.
- Efficiency and Scalability: The proposed flow is 30.6× faster than MUSCAT and 6.6× faster than MECALS on average. Notably, it successfully processed the EPFL
log2benchmark (38,540 nodes), which caused baseline methods to time out after 24 hours. - Circuit Quality: For identical error budgets, the tool achieved an additional 18.2% area reduction compared to MUSCAT.
- Filtering Power: By using simulation as a high-throughput filter, the framework reduces the number of required SAT problems by over 98%. The use of counter-examples from failed SAT calls creates a "virtuous cycle," making the pruning step increasingly aggressive.
Conclusion and Future Directions
This research demonstrates that simulation-guided pruning is a highly effective strategy for scaling ALS under strict error constraints. By treating simulation as a fast "invalidity prover," the computational burden on formal solvers is drastically reduced. Future work may explore multi-output LACs to unlock further area savings and more sophisticated initial pattern selection strategies to enhance the pruning phase even further.
Summary updated