Research / PULP common_cells
All four properties proved, yet one declared output was never connected.
ProvedFixed upstream- Result
- All four properties proved, yet one declared output, syndrome_o, was never connected. A cover check exposed it; the one-line fix and the first formal proof of the module were merged.
- Boundary
- One undriven output in one module of one library. The fix is merged on main and is not yet in a tagged release.
- Who did what
- Found by Warren, who submitted the fix (PR #355); the cover check was added at the maintainer’s request.
- Public evidence
- Fix and proof: PR #355
The question
Does this error-correcting decoder actually report where the error is?
Passing properties say nothing about an output no property reads. In hardware, a declared-but-undriven output is invisible to a testbench that never looks at it, and a green proof can sit on top of it.
Proved: A machine-checked proof exists for the stated model and property. Fixed upstream: The maintainers accepted a fix into the project. Who wrote it is stated on each case.
What was tested
- Transcribed the four properties documented in the decoder header into a SymbiYosys proof: one encoder feeding four decoders, each seeing a different corruption, at widths 1, 2, 4, 5, 11 and 12.
- Added a cover requirement on syndrome_o, at the maintainer’s request.
- Cross-checked with Verilator lint.
What happened
- All four properties proved.
- The cover requirement on syndrome_o could not be reached: the output was declared and never assigned. Verilator’s lint agreed.
- A one-line assignment fixed the output. The proof, and a sweep to width 64 (128 properties), passed with the fix.
Challenge
The objections that would most easily undo the conclusion, and what answered each.
- Why trust a green proof at all?
- An earlier version of the harness shared error-position inputs across widths, which let one width narrow another while the proof stayed green. A cover task caught that, which is why cover now runs by default.
What survived
Did not survive
- The decoder reports the position of a corrected error on syndrome_o.Never driven. Fixed in PR #355, merged 3 September 2026.
Survived
- The four documented decoder properties hold at the widths checked.Proved with SymbiYosys at widths 1, 2, 4, 5, 11 and 12; with the fix, a sweep to width 64.
Not established, or not tested
- Nothing is claimed beyond the documented properties or about other modules.
- The proof was run before and after the fix and has not been re-run for this page.
Limits
One undriven output in one module of one library. The latest pre-release (v2.0.0-beta.3, July 2026) predates the fix.
Reproduce or inspect
- Source
- pulp-platform/common_cells/pull/355
- Revision
merged as a257b71- Command
sby -f <proof file from PR #355>- Expect
All properties pass; cover on syndrome_o reachable with the fix
The proof harness, the cover task and the fix are all in the merged pull request. The command is given as the repository documents it; it was not re-run for this page.