Skip to content

hardware/epfl-i2c: i2c at 2 levels on the depth table and 171 LUT-6 on the size table - #117

Merged
lmtlssss merged 2 commits into
mainfrom
epfl-i2c-depth
Nov 20, 2026
Merged

lmtlssss merged 2 commits into
mainfrom
epfl-i2c-depth

Conversation

@lmtlssss

@lmtlssss lmtlssss commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Two i2c entries.

  • Depth table: 2 levels and 323 LUT-6. The best published is 3 levels and 192 LUT-6 (i2c_depth_2026.blif), and on that table fewer levels wins. 2 levels is the minimum, since po028 depends on 24 inputs.
  • Size table: 171 LUT-6. The best published is 173 (i2c_size_2026.blif, F.-X. Reichl and F. Slivovsky).

The depth netlist is built output by output, each as one LUT-6 over at most six first-level LUT-6s: 97 of the 100 outputs that need two levels by a SAT search (two_level.py), three by hand (po015, po040, po043). That gives 508 LUT-6; resub2.py then removes LUTs at 2 levels, down to 323. The size netlist is the published one with 2 LUTs removed by the same resub2.py. It drops a LUT when every LUT that reads it can be rebuilt over at most six other signals taken from the whole netlist, and it keeps a change only after ABC cec against the suite circuit passes.

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

  • prove.py, no ABC: each of the 142 outputs compared with random_control/i2c.blif on every setting of the inputs it can reach, at most 25. 0 outputs differ.
  • ABC cec against random_control/i2c.blif and cec -n against random_control/i2c.aig: equivalent.
  • check.py: 36,864 vectors, 0 mismatches. The table counts are 323 / 2 and 171 / 9.

Adds hardware/epfl-i2c/ and the README rows and paragraph. Nothing else changes.

@lmtlssss lmtlssss changed the title hardware/epfl-i2c: i2c at 2 levels and 508 LUT-6 on the depth table hardware/epfl-i2c: i2c at 2 levels on the depth table and 171 LUT-6 on the size table Nov 18, 2026
@lmtlssss
lmtlssss merged commit f51be60 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