Ankhdjet: An Open-Source Compiler for Mask-Programmed Ternary Compute-in-ROM on an Open PDK

🟢 Green Signal · Good Epistemic StandingCD₅ Disruption +0.0000 · FWCI 0.00 · Root Independence 1.00 · Full Standing Citator →

Mohnish Pai

2026

Large-language-model inference is dominated by weight movement: every generated token re-reads every weight. Ternary quantization (BitNet b1.58) shrinks each weight to 1.58 bits with reported parity at the 2B-parameter scale, small enough that hardwiring the weights into a read-only mask becomes plausible, and a commercial chip (Taalas HC1) has validated hardwired weights on an advanced node behind closed tooling. This paper asks whether model-specific silicon can be made reproducible with entirely open infrastructure. We present Ankhdjet, an open-source compiler that lowers a HuggingFace ternary checkpoint (BitNet b1.58 and its kin) to a via-mask program of a fixed compute-in-ROM macro on the open SKY130 PDK, verified end to end with open tools. We defend two claims: (1) the first open-source weights-to-mask compute-in-ROM compiler on a fabricable open PDK, taken through full open-toolchain signoff (KLayout DRC zero, netgen LVS zero, clean timing) twice with two different weight matrices through an identical flow in which only the mask differs; and (2) the first compute-in-ROM macro submitted for fabrication on an open PDK (TinyTapeout/ChipFoundry SKY130 shuttle ttsky26c, silicon
linked multimodal & document assets
cite & interoperate (Zotero / Alma / WorldCat ready)

Mohnish Pai. (2026). Ankhdjet: An Open-Source Compiler for Mask-Programmed Ternary Compute-in-ROM on an Open PDK.

@article{arxiv260826206,
  title = {Ankhdjet: An Open-Source Compiler for Mask-Programmed Ternary Compute-in-ROM on an Open PDK},
  author = {Mohnish Pai},
  year = {2026}
}

JSON · BibTeX · BibLaTeX · RIS (EndNote) · CSL-JSON · MARC21 XML · BIBFRAME 2.0 · citations JSON · CITO argument graph · IIIF v3 manifest · embed card