
A synthesis quality of results report, usually called the QoR report, is a short list of numbers: how many cells, how much area, how much of it is flip-flops, and how far timing is from the target. On its own, one QoR report says little. The skill seniors bring to it is comparison. They put this run next to the last good run, explain every number that moved, and only then decide whether the change is progress or a problem.
This is Part 9 of Reading Real Reports. Parts 2 to 8 stayed in static timing. Today we step back one stage to synthesis and read a cell and area report in the format printed by the open-source Yosys stat command, next to OpenSTA slack summaries, and work out what changed between two runs.
Key takeaways
- A QoR report is read against a baseline. A single run has no "normal".
- Before comparing numbers, compare inputs: RTL version, constraints, library, tool version and synthesis options.
- Break area growth down by cell type. Buffers, inverters and new cell types each point to a different cause.
- Read worst slack and total negative slack together, and count the failing endpoints.
- Synthesis timing has no placed wires. Treat it as a trend, and confirm area after floorplanning.
In this post
- What the QoR report is
- When you see it
- What a senior checks first
- Common traps
- Deep dive (optional)
- The illustrative sample
- Line-by-line walk-through
- Worked arithmetic check
- Red flags table
- Sign-off checklist
What the QoR report is
Synthesis turns RTL into a netlist of library cells. The QoR report summarizes that netlist. In Yosys the core of it is stat, which prints the number of wires, ports and cells, with a count per cell type. Given a Liberty file through -liberty, it also reads each cell's area and prints a chip area total with the share used by sequential elements.
The Yosys synthesis starter guide makes the useful point that stat doubles as a sanity check. After processes are converted there should be no processes left, and a memory that was meant to map to a RAM block should not show up as a pile of flip-flops (Final steps). Timing is not part of stat. Teams add it by running a timer such as OpenSTA on the synthesized netlist with the same constraints.
When you see it
Every synthesis run produces one. In OpenROAD-flow-scripts the statistics land in synth_stat.txt and the warnings in synth_check.txt, both listed in the reports table of the flow tutorial. You read it after every RTL drop, every constraint change and every tool or library update, which is exactly why the comparison habit matters.
What a senior checks first
- Inputs. Same RTL tag, same SDC, same library, same tool version, same options? Part 1 of this series covered why. If an input changed, the numbers are expected to move.
- Cell count and area, with the percentage change. A few percent between RTL drops is ordinary. A jump needs a reason.
- The cell type breakdown. Which types grew? Buffers suggest the tool is fighting timing or fanout. A new cell type, such as a latch, suggests the RTL changed in a way nobody intended.
- Sequential count. Flip-flop count should follow the RTL. If it moved and the RTL did not add registers, something was inferred or removed.
- Timing, three numbers. Worst slack, total negative slack and the number of failing endpoints.
Common traps
- Comparing runs with different targets. A tighter clock makes synthesis add area to chase timing. Normalize before judging.
- Judging area too early. The flow tutorial notes that area results should ideally be checked after floorplanning, because later repair steps add area to meet timing regardless of the synthesized netlist (Area and Timing Optimization).
- Missing area values. If a cell has no area in the library given to
stat, the total is low and the report says so in a separate line that is easy to scroll past. - Trusting WNS alone. Worst slack can improve while the number of failing endpoints doubles.
Deep dive: the numbers and details
This part holds two sample runs, a reading of each line, the arithmetic of the comparison and the checklists. Skip it if the overview is all you need.
The illustrative sample
The output below is an illustrative sample in the style of Yosys stat -liberty and OpenSTA summary output, written for this post. The design, library, cell areas, run names and every number are invented. The column header and the area lines follow the format strings in the Yosys source file stat.cc; the slack summary lines follow the OpenROAD-flow-scripts Timing example. Area is in square microns, time in nanoseconds.
# run r41 (previous good run), synth_stat.txt, excerpt
9874 1.96E+04 cells
Chip area for module '\dsp_top': 19600.850000
of which used for sequential elements: 10214.400000 (52.11%)
# run r42 (this run)
yosys> tee -o reports/r42/synth_stat.txt stat -liberty lib/demo_typ.lib
27. Printing statistics.
=== dsp_top ===
+----------Local Count, excluding submodules.
| +-Local Area, excluding submodules.
| |
11960 - wires
12744 - wire bits
1322 - public wires
4890 - public wire bits
38 - ports
214 - port bits
10534 2.03E+04 cells
1061 1124.66 AOI21_X1
1041 1103.46 BUF_X1
141 262.26 BUF_X4
1536 10214.4 DFFR_X1
8 36.16 DLH_X1
384 1635.84 FA_X1
958 507.74 INV_X1
460 855.6 MUX2_X1
2190 1752 NAND2_X1
1302 1041.6 NOR2_X1
1001 1061.06 OAI21_X1
452 723.2 XOR2_X1
Chip area for module '\dsp_top': 20317.980000
of which used for sequential elements: 10250.560000 (50.45%)
# OpenSTA on each netlist, corner ss_0p72v_125c
# r41 SDC: core_clk period 1.25 r42 SDC: core_clk period 1.20
openroad> report_worst_slack -max -digits 3 (r41)
worst slack -0.042
openroad> report_tns -max -digits 3 (r41)
tns -0.611
openroad> report_worst_slack -max -digits 3 (r42)
worst slack -0.118
openroad> report_tns -max -digits 3 (r42)
tns -3.904
# failing setup endpoints from report_check_types -max_delay -violators: r41 23, r42 97
Line-by-line walk-through
tee -o ... stat -liberty .... tee writes the command output to a file, which is how a report survives for the next comparison. Keep the library path in the report: the area numbers are only as good as that file.
The header. Two columns: the local count and the local area, both excluding submodules. This design is flat, so local is the whole design. On a hierarchical design, -hierarchy adds totals that include submodules, according to the stat help text.
wires to port bits. These carry no area, shown as -. Ports should match the top-level interface exactly; 38 ports and 214 port bits should be the same in both runs unless the interface changed.
cells. 10534 cells with an area printed as 2.03E+04. The stat source formats a value in scientific notation when it does not fit in seven characters, so read the exact area from the "Chip area" line below.
The cell type list. Sorted by name, with count and total area for each type. Read it as three groups. Sequential: DFFR_X1 (1536, unchanged) and DLH_X1 (8, new). Buffers and inverters: BUF_X1, BUF_X4, INV_X1. Logic: everything else.
DLH_X1, 8 cells. A latch in a design that had none. That is not an area problem at 36 square microns; it is a design question, and the subject of Part 10. Look for the matching latch warning in the synthesis log.
Chip area and sequential share. 20317.98 in total, 10250.56 in flip-flops and latches, 50.45 percent. The stat source includes cells marked as sequential in the library in this second figure.
The slack lines. report_worst_slack prints the worst slack; report_tns prints the total negative slack; -max selects setup. The endpoint counts come from report_check_types -violators, which lists every violated check.
The SDC comment. The most important line in the block. The clock period changed from 1.25 to 1.20 ns between runs. Every timing and area number below it has to be read with that in mind.
Worked arithmetic check
Totals. Cells: 10534 - 9874 = +660, or 660 / 9874 = +6.68 percent. Area: 20317.98 - 19600.85 = +717.13, or +3.66 percent.
Check the sum. Add the per-type areas: 1124.66 + 1103.46 + 262.26 + 10214.40 + 36.16 + 1635.84 + 507.74 + 855.60 + 1752.00 + 1041.60 + 1061.06 + 723.20 = 20317.98. It matches the chip area, so no cell type is missing an area value.
Where the growth went. Compared with r41, BUF_X1 grew by 429 and BUF_X4 by 53: 482 buffers, which is 482 / 660 = 73 percent of the new cells and 454.74 + 98.58 = 553.32 square microns, 77 percent of the new area. INV_X1 grew by 55 and the four logic gate types together by 115. The flip-flop count did not move. This is the signature of a tool adding buffering to chase a harder timing target, not of new function.
Average cell area. 19600.85 / 9874 = 1.985 before, 20317.98 / 10534 = 1.929 after. The cells got smaller on average because the additions are small buffers.
Sequential share. It fell from 52.11 to 50.45 percent, but the flip-flop area did not shrink. The share fell because the combinational area grew. A share alone never tells you which side moved.
Timing, normalized. The target went from 800 MHz (1 / 1.25 ns) to about 833 MHz (1 / 1.20 ns), 0.05 ns less per cycle. Worst slack moved by -0.118 - (-0.042) = -0.076 ns. At most 0.05 ns of that is the new target; about 0.026 ns is left to explain, so look at whether the worst path changed. Failing endpoints went from 23 to 97, 4.2 times as many. Average violation per failing endpoint went from 0.611 / 23 = 0.027 ns to 3.904 / 97 = 0.040 ns.
The honest summary. r42 is not worse logic; it is the same logic aimed at a faster clock, plus one unexpected change, the eight latches. The area cost of the faster target is about 553 square microns of buffers, and timing is still not met. That is a decision for the team, not a bug, but the latches are a bug until proven otherwise.
Area versus speed settings. If the team wants to see the trade-off, OpenROAD-flow-scripts exposes the synthesis strategy through ABC_AREA in its synthesis variables, with speed as the default. The flow tutorial's own gcd comparison of the two settings is a good model of how to present such a result.
Red flags table
| What you see | Why it matters | What to ask |
|---|---|---|
| A new cell type, such as a latch, a tri-state or a clock gate | The RTL or the mapping changed behavior | Which RTL line produced it, and is it intended? |
Area for cell type ... is unknown! | The chip area total is too low | Is the right Liberty file passed to stat? |
| Flip-flop count changed with no register change in RTL | Registers inferred or optimized away | Check the log for removed or constant flops |
| Most new cells are buffers | The tool is chasing timing or fanout | Did the clock or the input and output delays change? |
| WNS better but TNS and endpoint count worse | The problem spread across more paths | Which path groups gained failing endpoints? |
| Port count changed | The interface changed | Was the top-level change reviewed? |
Sign-off checklist
- Baseline run named, and RTL, SDC, library, tool and option differences listed.
- Cell count and area change stated in absolute and percentage terms.
- Per-type breakdown compared; every type that moved by more than a few percent explained.
- No unknown area lines; per-type areas add up to the chip area.
- Flip-flop count matches RTL intent; any latch or new sequential type traced to a source line.
- WNS, TNS and failing endpoint count recorded for each run at the same corner.
- Timing change separated into what the new target explains and what it does not.
- Area conclusions rechecked after floorplanning.
Next in the series: The Synthesis Log Warnings You Must Never Waive.


Your comments will be moderated before it appears here.