Red Flags Before You Floorplan
The previous articles explained how to read synthesis structural and timing reports. This article provides a pre-floorplan checklist.
Floorplanning requires significant engineering effort: die sizing, power grid planning, macro placement, and pin assignment. Proceeding with an invalid netlist wastes design time. A netlist can synthesize without warnings even when functional errors exist. Use this checklist to identify structural issues before physical design.
Pre-Floorplan Synthesis Checklist
| Check | Where to find it | What an anomaly looks like |
|---|---|---|
| Sequential cell count versus RTL | Yosys stat, dfxtp_* rows |
Does not match the register bits the RTL declares |
| Total cell count versus expectation | Yosys stat, Number of cells |
Significantly larger or smaller than expected without an RTL change |
| Unmapped generic cells | Final netlist, or synthesis log | Any $_AND_, $_DFF_P_ or similar $-prefixed cell surviving past abc |
| Worst slack sign | OpenSTA report, final slack line | Negative: a synthesis-stage violation, which degrades further later |
| Worst slack magnitude | OpenSTA report | Positive but small, with high risk of violating timing after routing |
| Suspiciously small design | Yosys stat, Number of cells |
Very few cells for a substantial design due to over-optimization |
| Latch inference warnings | Synthesis log | Any Latch inferred for signal ... on a signal meant to be combinational |
Importance of Timing Margin and Constraints
Passing timing with zero reported violations is insufficient. A report that meets timing under loose or missing constraints provides false confidence. Furthermore, a design that meets constraints with very thin margin will likely violate timing during physical design. Placement, clock tree synthesis, and routing all introduce parasitics and reduce timing margin. A design with only +0.15 ns of slack at synthesis will likely fail post-placement timing checks.
Inspect both the stat breakdown and OpenSTA path reports thoroughly.
Verify whether cell counts align with your RTL intent and whether sufficient timing margin remains.
Physical design tools cannot detect structural intent or missing registers.
Diagnosing these issues during synthesis saves debugging time in later stages.
Applying the Checklist to an Anomalous Report
Consider the following stat excerpt for an alu8 variant with an added carry-in port:
Number of cells: 4
sky130_fd_sc_hd__conb_1 2
sky130_fd_sc_hd__buf_1 2
Chip area for module '\alu8': 18.40
A count of four cells and 18.40 µm² is incorrect for an 8-bit ALU with registers.
The synthesis tool optimized away almost the entire circuit.
Two constant drivers (conb_1) and two buffers indicate that the outputs collapsed to constant values.
This condition occurs when an input port remains unconnected or tied to a constant in the top-level module.
The tool completes synthesis without errors, but the netlist does not implement the intended function.
Practice Exercise
A synthesis report shows expected total cell count, ten dfxtp_1 flip-flops, and a worst slack of -0.34 ns.
Is this design ready for floorplanning?
Solution
No.
The structural checks pass, but the timing check fails.
A slack of -0.34 ns indicates a timing violation during the most optimistic stage of the flow.
Interconnect resistance, capacitance, and clock skew in later stages will increase path delays.
You must resolve this violation in synthesis before proceeding to floorplanning.
Consider changing the synthesis strategy to DELAY, restructuring the RTL logic, or adjusting clock constraints.
This concludes Module 2.
You have mapped alu8 from RTL to a SKY130 gate-level netlist, compared optimization strategies, written timing constraints, and evaluated synthesis reports.
Module 3 uses this netlist to begin physical design with die sizing, power distribution, and floorplanning.