TL;DR
AMF-Placer 2.0 is the first open-source timing-driven placer capable of handling "mixed-size" designs—where standard logic cells coexist with bulky, pre-arranged "macros"—on large-scale heterogeneous FPGAs. It achieves timing results within 1% of industry-standard commercial tools like AMD Xilinx Vivado while maintaining competitive runtimes.
What Problem Does This Paper Address?
In the world of FPGA design, "placement" is the critical step of deciding exactly where every logic gate, memory block, and digital signal processor (DSP) should sit on the silicon. Modern FPGAs are "heterogeneous," meaning they aren't just a uniform sea of gates; they contain specialized columns of memory and math units, as well as physical "blockages" (like PCIe interfaces) that logic cannot cross.
Furthermore, synthesis often produces "macros"—fixed groups of cells like carry chains that must stay together. Most existing open-source placers struggle with these "mixed-size" components or fail to optimize for "timing" (the speed at which signals travel through the chip). This forces researchers to rely on closed-source commercial tools, hindering innovation in the field. AMF-Placer 2.0 aims to provide a high-performance, open-source alternative that handles these real-world complexities.
Methods
The authors employ an analytical placement approach, which treats the placement problem as a mathematical optimization task. Key innovations include:
- Regression-based Timing Model: Instead of performing expensive, full-scale timing analysis at every step, the tool uses a piecewise non-integer polynomial regression model to estimate net delays based on distance. This is significantly faster while remaining accurate enough for placement decisions.
- Blockage-aware Spreading: The tool identifies physical obstacles (blockages) on the chip and inserts "anchors" to prevent critical timing paths from being forced into long, circuitous routes around these "no-go" zones.
- WNS/TNS-aware Optimization: The placer specifically targets Worst Negative Slack (WNS) and Total Negative Slack (TNS). It uses a self-adaptive exponent in its weight calculations to prioritize fixing the most critical (slowest) paths.
- Sector-guided Detailed Placement: During the final "fine-tuning" phase, the tool uses a novel heuristic. Instead of searching in a simple square around a cell, it looks in specific "sectors" (triangular windows) based on where the cell's neighbors are, effectively "pulling" the cell in a direction that improves timing.
Datasets
The tool was evaluated using a suite of large-scale, real-world open-source benchmarks for the AMD Xilinx UltraScale (xcvu095) architecture. These include:
- Rosetta Benchmarks: FaceDetect and DigitRecog (HLS-generated designs).
- Machine Learning/DSP: SpooNN (CNN inference), BLSTM (neural networks).
- System-on-Chip (SoC): OpenPiton (manycore research framework).
- Memory/Graph: MemN2N and MiniMap2.
These benchmarks feature high macro ratios (up to 80% in some cases), making them significantly more complex than standard academic netlists.
Key Insights and Ideas
- The "Good Enough" Timing Model: A placer doesn't need a perfect, industry-grade timing engine to produce great results. A lightweight, regression-based model can guide the optimization process effectively, saving massive amounts of compute time.
- Strategic Regression: By allowing the placement to temporarily "get worse" during detailed placement iterations, the algorithm can escape "local optima"—mathematical traps where a small move looks bad, but a series of moves would lead to a much better overall result.
- Directional Intelligence: The "Sector-guided" approach recognizes that logic cells on a critical path are often arranged in "zig-zags." By moving cells toward the "angle bisector" of their neighbors, the tool can "smooth out" these paths more efficiently than a blind local search.
Key Results
AMF-Placer 2.0 was compared directly against AMD Xilinx Vivado (2020.2 and 2021.2):
- Timing Quality: The Critical Path Delay (CPD) was, on average, only 2.3% higher than Vivado 2020.2 and a mere 0.69% higher than Vivado 2021.2.
- Efficiency: The placement procedure runtime was comparable to Vivado, demonstrating that high-quality placement can be achieved without the overhead of proprietary engines.
- Open Source Milestone: It is the first open-source tool to demonstrate comparable quality to commercial heavyweights on complex, mixed-size FPGA designs.
Limitations and Future Work
While impressive, the authors note a few areas for improvement:
- Optimistic Timing: The current timing model doesn't fully account for routing congestion, which can lead to surprises during the final routing phase.
- Clock Skew: The tool does not yet consider clock skew, which was a factor in specific benchmark timing violations.
- Hierarchy Awareness: Incorporating design hierarchy (knowing which cells belong to the same bus or FIFO) could help the tool better exploit the natural regularity of human-designed circuits.
Summary updated