Architect of the Bits World: Masked Autoregressive Modeling for Circuit Generation Guided by Truth Table

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wu, Haoyuan, Zheng, Haisheng, Hu, Shoubo, He, Zhuolun, Yu, Bei
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916849447337984
author Wu, Haoyuan
Zheng, Haisheng
Hu, Shoubo
He, Zhuolun
Yu, Bei
author_facet Wu, Haoyuan
Zheng, Haisheng
Hu, Shoubo
He, Zhuolun
Yu, Bei
contents Logic synthesis, a critical stage in electronic design automation (EDA), optimizes gate-level circuits to minimize power consumption and area occupancy in integrated circuits (ICs). Traditional logic synthesis tools rely on human-designed heuristics, often yielding suboptimal results. Although differentiable architecture search (DAS) has shown promise in generating circuits from truth tables, it faces challenges such as high computational complexity, convergence to local optima, and extensive hyperparameter tuning. Consequently, we propose a novel approach integrating conditional generative models with DAS for circuit generation. Our approach first introduces CircuitVQ, a circuit tokenizer trained based on our Circuit AutoEncoder We then develop CircuitAR, a masked autoregressive model leveraging CircuitVQ as the tokenizer. CircuitAR can generate preliminary circuit structures from truth tables, which guide DAS in producing functionally equivalent circuits. Notably, we observe the scalability and emergent capability in generating complex circuit structures of our CircuitAR models. Extensive experiments also show the superior performance of our method. This research bridges the gap between probabilistic generative models and precise circuit generation, offering a robust solution for logic synthesis.
format Preprint
id arxiv_https___arxiv_org_abs_2502_12751
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Architect of the Bits World: Masked Autoregressive Modeling for Circuit Generation Guided by Truth Table
Wu, Haoyuan
Zheng, Haisheng
Hu, Shoubo
He, Zhuolun
Yu, Bei
Machine Learning
Logic synthesis, a critical stage in electronic design automation (EDA), optimizes gate-level circuits to minimize power consumption and area occupancy in integrated circuits (ICs). Traditional logic synthesis tools rely on human-designed heuristics, often yielding suboptimal results. Although differentiable architecture search (DAS) has shown promise in generating circuits from truth tables, it faces challenges such as high computational complexity, convergence to local optima, and extensive hyperparameter tuning. Consequently, we propose a novel approach integrating conditional generative models with DAS for circuit generation. Our approach first introduces CircuitVQ, a circuit tokenizer trained based on our Circuit AutoEncoder We then develop CircuitAR, a masked autoregressive model leveraging CircuitVQ as the tokenizer. CircuitAR can generate preliminary circuit structures from truth tables, which guide DAS in producing functionally equivalent circuits. Notably, we observe the scalability and emergent capability in generating complex circuit structures of our CircuitAR models. Extensive experiments also show the superior performance of our method. This research bridges the gap between probabilistic generative models and precise circuit generation, offering a robust solution for logic synthesis.
title Architect of the Bits World: Masked Autoregressive Modeling for Circuit Generation Guided by Truth Table
topic Machine Learning
url https://arxiv.org/abs/2502.12751