← All projectsGitHub
LLM chip design loops

Does the rewrite-versus-sweep verdict for a 16-bit leading-zero count survive five ABC scripts?

research/chip-logic-script

Re-scores chip-ppa-logic's popcount, leading-zero-count and |a−b| candidates under five ABC scripts with every mapped netlist proved equivalent: the clz16 sweep-versus-rewrite verdict flips with the script (best 0.35× the reference); stylised, generic gates.

6 tests

What it found

A follow-up to chip-ppa-logic: its 34 equivalent candidates for popcount, leading-zero count (clz16) and absolute difference are re-scored under five ABC scripts, and every mapped netlist is proved equivalent to the reference (none of 170 failed). On clz16 the verdict flips with the script: the no-model sweep wins under the default and dc2 scripts (344, 405), while a session-written nibble-combine file wins under three others (216–336 against the sweep’s 344–462); the overall best is 0.35× the reference’s default score. Popcount’s winner holds under all five scripts; absolute difference’s under three. Stylised: three tiny blocks, one Yosys version, hand-written proposer files, generic-gate cells×depth rather than layout.

A figure from its own output

Figure produced by research/chip-logic-script: clz16_scripts
chip-logic-script/experiments/clz16_scripts.svg, written by the project's own experiment code.

Paper, code and results

More in LLM chip design loops

All 40 LLM chip design loops projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.