Skip to content

hardware/epfl-cavlc: cavlc at 2 levels and 65 LUT-6 on the depth table - #119

Merged
lmtlssss merged 3 commits into
mainfrom
epfl-cavlc-depth
Nov 20, 2026
Merged

lmtlssss merged 3 commits into
mainfrom
epfl-cavlc-depth

Conversation

@lmtlssss

@lmtlssss lmtlssss commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

cavlc for the depth table: 2 levels and 65 LUT-6. The best published is 3 levels and 54 LUT-6 (cavlc_depth_2026.blif). On that table fewer levels wins, and 2 levels is the minimum since nine of the eleven outputs depend on all 10 inputs.

Every output is built on its own as one LUT-6 over at most six first-level LUT-6s. The decomposition of each output was found by SAT (tl2.py, kissat); all eleven answered SAT and every answer was verified against the truth table on all 1,024 inputs. assemble_tl2.py shares identical first-level LUTs across outputs, giving 77 LUT-6 at 2 levels, and resub2.py --levels 2 removes LUTs while ABC cec passes on the whole netlist, down to 65.

Checks, against the suite files of lsils/benchmarks 82d8cc6:

  • prove.py, no ABC: all 11 outputs compared with random_control/cavlc.blif on every input. 0 outputs differ.
  • ABC cec against random_control/cavlc.blif and cec -n against random_control/cavlc.aig: equivalent.
  • check.py: 36,864 vectors, 0 mismatches. print_stats gives nd = 65, lev = 2; the table count is 65 / 2.

Adds hardware/epfl-cavlc/ and the README row and paragraph. Nothing else changes.

@lmtlssss lmtlssss changed the title hardware/epfl-cavlc: cavlc at 3 levels and 53 LUT-6 on the depth table hardware/epfl-cavlc: cavlc at 2 levels and 65 LUT-6 on the depth table Nov 18, 2026
@lmtlssss
lmtlssss merged commit 71c8ba8 into main Nov 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant