{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T11:06:47Z","timestamp":1790075207980,"version":"4.0.1"},"reference-count":40,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T00:00:00Z","timestamp":1780876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["2237379"],"award-info":[{"award-number":["2237379"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["2450426"],"award-info":[{"award-number":["2450426"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,6,8]]},"abstract":"<jats:p>During chip development, engineers must target different technologies, such as simulation and various ASIC and FPGA technologies. Conventionally, they split parts of the code (e.g., memories) into separate technology-specialized blocks implementing the same high-level behavior. This leads to brittle code, with multiple but subtly different blocks describing the same semantic behavior, harming verification, agility, and extensibility.<\/jats:p>\n                  <jats:p>\n                    We propose\n                    <jats:italic toggle=\"yes\">fungible memories<\/jats:italic>\n                    , an HDL-level \u201cwrite once, map anywhere\u201d memory abstraction with rich enough semantics to automatically target all relevant technologies using a single generic interface. We incorporate fungible memories into a compiler called\n                    <jats:sc>Memo<\/jats:sc>\n                    . For designs without a specific technology mapping, we also present a memory\n                    <jats:italic toggle=\"yes\">decompiler<\/jats:italic>\n                    which lifts memories from an existing gate-level design to\n                    <jats:sc>Memo<\/jats:sc>\n                    , enabling automated technology retargeting, which is a holy grail for digital designers. We present a\n                    <jats:italic toggle=\"yes\">structure-aware equality saturation<\/jats:italic>\n                    technique which scales to netlists with millions of cells and identifies memories that the state of the art cannot. We demonstrate that\n                    <jats:sc>Memo<\/jats:sc>\n                    effectively targets backends across different technology platforms (simulation, ASIC, and FPGA) over a suite of representative designs, including a RISC-V multicore SoC.\n                  <\/jats:p>","DOI":"10.1145\/3808294","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"1178-1201","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Fungible Memories for Automated Technology Mapping and Retargeting"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-8349-7701","authenticated-orcid":false,"given":"Zachary D.","family":"Sisco","sequence":"first","affiliation":[{"name":"The Chinese University of Hong Kong, Shenzhen, Shenzhen, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-8249-0668","authenticated-orcid":false,"given":"Sijie","family":"Kong","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, Santa Barbara, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0555-6919","authenticated-orcid":false,"given":"Daniel","family":"Ruelas-Petrisko","sequence":"additional","affiliation":[{"name":"University of Washington, Seattle, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-3509-4018","authenticated-orcid":false,"given":"Jingtao","family":"Xia","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, Santa Barbara, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-6946-800X","authenticated-orcid":false,"given":"Julian","family":"Springer","sequence":"additional","affiliation":[{"name":"Technische Universit\u00e4t Berlin, Berlin, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-0524-5513","authenticated-orcid":false,"given":"Varun","family":"Rao","sequence":"additional","affiliation":[{"name":"University of California, Berkeley, Berkeley, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-0721-1053","authenticated-orcid":false,"given":"Spencer","family":"Wang","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, Santa Barbara, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9754-233X","authenticated-orcid":false,"given":"Gus Henry","family":"Smith","sequence":"additional","affiliation":[{"name":"Southmountain Research, Seattle, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-1199-6129","authenticated-orcid":false,"given":"Ben","family":"Hardekopf","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, Santa Barbara, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1443-1373","authenticated-orcid":false,"given":"Jonathan","family":"Balkind","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, Santa Barbara, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","unstructured":"2001. IEEE Standard Verilog Hardware Description Language. IEEE Std 1364-2001 (2001) 1\u2013792. https:\/\/doi.org\/10.1109\/IEEESTD.2001.93352 10.1109\/IEEESTD.2001.93352","DOI":"10.1109\/IEEESTD.2001.93352"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","unstructured":"Ameer M. S. Abdelhadi and Guy G. F. Lemieux. 2016. A Multi-ported Memory Compiler Utilizing True Dual-Port BRAMs. In 2016 IEEE 24th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM). 140\u2013147. https:\/\/doi.org\/10.1109\/FCCM.2016.45 10.1109\/FCCM.2016.45","DOI":"10.1109\/FCCM.2016.45"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.13154\/tches.v2020.i4.309-336"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/2228360.2228584"},{"key":"e_1_3_1_6_2","first-page":"197","article-title":"Berkeley logic interchange format (BLIF)","volume":"2","author":"Berkeley UC","year":"1992","unstructured":"UC Berkeley. 1992. Berkeley logic interchange format (BLIF). Oct Tools Distribution 2 (1992), 197\u2013247.","journal-title":"Oct Tools Distribution"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-14295-6_5"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","unstructured":"Chen Chen Guangyu Hu Cunxi Yu Yuzhe Ma and Hongce Zhang. 2025. E-morphic: Scalable Equality Saturation for Structural Exploration in Logic Synthesis. In 2025 62nd ACM\/IEEE Design Automation Conference (DAC). 1\u20137. https:\/\/doi.org\/10.1109\/DAC63849.2025.11133110 10.1109\/DAC63849.2025.11133110","DOI":"10.1109\/DAC63849.2025.11133110"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/3649329.3656246"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","unstructured":"J. Clow G. Tzimpragos D. Dangwal S. Guo J. McMahan and T. Sherwood. 2017. A pythonic approach for rapid hardware prototyping and instrumentation. In 2017 27th International Conference on Field Programmable Logic and Applications (FPL). 1\u20137. https:\/\/doi.org\/10.23919\/FPL.2017.8056860 10.23919\/FPL.2017.8056860","DOI":"10.23919\/FPL.2017.8056860"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","unstructured":"Samuel Coward George A. Constantinides and Theo Drane. 2022. Automatic Datapath Optimization using E-Graphs. In 2022 IEEE 29th Symposium on Computer Arithmetic (ARITH). 43\u201350. https:\/\/doi.org\/10.1109\/ARITH54963.2022.00016 10.1109\/ARITH54963.2022.00016","DOI":"10.1109\/ARITH54963.2022.00016"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2024.3410154"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-79876-5_37"},{"key":"e_1_3_1_14_2","article-title":"The RISC-V Instruction Set Manual Volume I: Unprivileged Architecture","author":"Foundation RISC-V","year":"2025","unstructured":"RISC-V Foundation. 2025. The RISC-V Instruction Set Manual Volume I: Unprivileged Architecture. RISC-V Foundation.","journal-title":"RISC-V Foundation"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","unstructured":"R. Goldman K. Bartleson T. Wood V. Melikyan and E. Babayan. 2014. Synopsys\u2019 Educational Generic Memory Compiler. In 10th European Workshop on Microelectronics Education (EWME). 89\u201392. https:\/\/doi.org\/10.1109\/EWME.2014.6877402 10.1109\/EWME.2014.6877402","DOI":"10.1109\/EWME.2014.6877402"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","unstructured":"Matthew R. Guthaus James E. Stine Samira Ataei Brian Chen Bin Wu and Mehedi Sarwar. 2016. OpenRAM: An open-source memory compiler. In 2016 IEEE\/ACM International Conference on Computer-Aided Design (ICCAD). 1\u20136. https:\/\/doi.org\/10.1145\/2966986.2980098 10.1145\/2966986.2980098","DOI":"10.1145\/2966986.2980098"},{"key":"e_1_3_1_17_2","unstructured":"John L. Hennessy and David A. Patterson. 2017. Computer Architecture: A Quantitative Approach (sixth ed.). Morgan Kaufmann."},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","unstructured":"Matthew Hofmann Berk Gokmen and Zhiru Zhang. 2025. EqMap: FPGA LUT Remapping using E-Graphs. In 2025 IEEE\/ACM International Conference On Computer Aided Design (ICCAD). 1\u20139. https:\/\/doi.org\/10.1109\/ICCAD66269.2025.11240672 10.1109\/ICCAD66269.2025.11240672","DOI":"10.1109\/ICCAD66269.2025.11240672"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00961871"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/2629629"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/1723112.1723122"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3386012"},{"key":"e_1_3_1_23_2","unstructured":"Charles Gregory Nelson. 1980. Techniques for program verification. Stanford University."},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1109\/MM.2020.2996145"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3583781.3590239"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591237"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","unstructured":"Zachary D. Sisco Sijie Kong Daniel Ruelas-Petrisko Jingtao Xia Julian Springer Varun Rao Spencer Wang Gus Henry Smith Ben Hardekopf and Jonathan Balkind. 2026. Artifact for Fungible Memories for Automated Technology Mapping and Retargeting. ACM. https:\/\/doi.org\/10.5281\/zenodo.19090603 10.5281\/zenodo.19090603","DOI":"10.5281\/zenodo.19090603"},{"key":"e_1_3_1_28_2","unstructured":"Gus Henry Smith Colin Knizek Daniel Petrisko Zachary Tatlock Jonathan Balkind Gilbert Louis Bernstein Haobin Ni and Chandrakana Nandi. 2024. Scaling Program Synthesis Based Technology Mapping with Equality Saturation. arXiv preprint arXiv:2411.11036 (2024)."},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","unstructured":"Gus Henry Smith Zachary D Sisco Thanawat Techaumnuaiwit Jingtao Xia Vishal Canumalla Andrew Cheung Zachary Tatlock Chandrakana Nandi and Jonathan Balkind. 2024. There and Back Again: A Netlist\u2019s Tale with Much Egraphin\u2019. In Workshop on Languages Tools and Techniques for Accelerator Design. https:\/\/doi.org\/10.48550\/arXiv.2404.00786 10.48550\/arXiv.2404.00786","DOI":"10.48550\/arXiv.2404.00786"},{"key":"e_1_3_1_30_2","unstructured":"Wilson Snyder. 2024. Verilator. https:\/\/www.veripool.org\/verilator\/."},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1109\/TETC.2013.2294918"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","unstructured":"Pramod Subramanyan Nestan Tsiskaridze Kanika Pasricha Dillon Reisman Adriana Susnea and Sharad Malik. 2013. Reverse engineering digital circuits using functional analysis. In 2013 Design Automation \u2026 Test in Europe Conference \u2026 Exhibition (DATE). 1277\u20131280. https:\/\/doi.org\/10.7873\/DATE.2013.264 10.7873\/DATE.2013.264","DOI":"10.7873\/DATE.2013.264"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/1594834.1480915"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1145\/3195970.3199848"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2021.3096794"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","unstructured":"Ecenur Ustun Ismail San Jiaqi Yin Cunxi Yu and Zhiru Zhang. 2022. IMpress: Large Integer Multiplication Expression Rewriting for FPGA HLS. In 2022 IEEE 30th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM). 1\u201310. https:\/\/doi.org\/10.1109\/FCCM53951.2022.9786123 10.1109\/FCCM53951.2022.9786123","DOI":"10.1109\/FCCM53951.2022.9786123"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","unstructured":"Andy Wanna Samuel Coward Theo Drane George A. Constantinides and Milo\u0161 D. Ercegovac. 2023. Multiplier Optimization via E-Graph Rewriting. In 2023 57th Asilomar Conference on Signals Systems and Computers. 1528\u20131533. https:\/\/doi.org\/10.1109\/IEEECONF59524.2023.10476812 10.1109\/IEEECONF59524.2023.10476812","DOI":"10.1109\/IEEECONF59524.2023.10476812"},{"key":"e_1_3_1_38_2","unstructured":"Claire Wolf. 2024. Memory handling. https:\/\/yosyshq.readthedocs.io\/projects\/yosys\/en\/latest\/using_yosys\/synthesis\/memory.html."},{"key":"e_1_3_1_39_2","unstructured":"Claire Wolf. 2024. Yosys Open SYnthesis Suite. https:\/\/www.yosyshq.com."},{"key":"e_1_3_1_40_2","unstructured":"Xilinx. 2024. UltraScale Architecture Memory Resources. https:\/\/docs.amd.com\/v\/u\/en-US\/ug573-ultrascale-memoryresources."},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591239"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808294","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808294","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:36:42Z","timestamp":1790073402000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808294"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,8]]},"references-count":40,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2026,6,8]]}},"alternative-id":["10.1145\/3808294"],"URL":"https:\/\/doi.org\/10.1145\/3808294","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,8]]},"assertion":[{"value":"2025-11-14","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}