arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.21226cs.ARcs.PF
收藏

用于时序电路的循环 CircuitSAT 采样

Recurrent CircuitSAT Sampling for Sequential Circuits

Arash Ardakani, Kevin He, John Wawrzynek

AI总结:

本文提出一种用于时序电路的GPU加速循环CircuitSAT采样技术,通过梯度下降优化将采样转化为多输出回归任务,实现高达105.1倍的速度提升。

摘要:

在本工作中,我们提出了一种用于时序电路的新型 GPU 加速电路可满足性(CircuitSAT)采样技术。本工作受约束随机验证(CRV)需求的驱动,旨在生成输入激励以验证数字硬件电路的功能。CRV 中的一个主要挑战是为时序电路生成输入,以及满足设计约束所需的适当时钟周期数。传统方法通常使用布尔可满足性(SAT)采样器,通过在固定数量的时钟周期上展开状态转换来生成输入。然而,这些方法不能保证对于给定的周期数存在解。因此,生成输入激励以及所需的时钟周期对于彻底的测试和验证至关重要。我们的方法将时序电路的逻辑约束和时间行为转化为循环 CircuitSAT 问题,通过梯度下降进行优化,以高效探索一组多样化的有效解,包括其相关的时钟周期数。通过直接在电路结构上操作,我们的方法将采样过程重新解释为有监督的多输出回归任务。这种可微框架支持对每个张量元素进行独立的逐元素操作,从而促进了学习过程中的并行执行。因此,我们实现了 GPU 加速采样,与最先进的启发式采样器相比,运行时间有了显著改善(高达 105.1 倍)。我们通过对 ISCAS-89 和 ITC'99 基准套件中的电路问题进行广泛评估,证明了该方法的有效性。

英文摘要:

In this work, we introduce a novel GPU-accelerated circuit satisfiability (CircuitSAT) sampling technique for sequential circuits. This work is motivated by the requirement in constrained random verification (CRV) to generate input stimuli to validate the functionality of digital hardware circuits. A major challenge in CRV is generating inputs for sequential circuits, along with the appropriate number of clock cycles required to meet design constraints. Traditional approaches often use Boolean satisfiability (SAT) samplers to generate inputs by unrolling state transitions over a fixed number of clock cycles. However, these methods do not guarantee that a solution exists for the given number of cycles. Consequently, producing input stimuli together with the required clock cycles is essential for thorough testing and verification. Our approach converts the logical constraints and temporal behavior of sequential circuits into a recurrent CircuitSAT problem, optimized via gradient descent to efficiently explore a diverse set of valid solutions, including their associated number of clock cycles. By operating directly on the circuit structure, our method reinterprets the sampling process as a supervised multi-output regression task. This differentiable framework enables independent element-wise operations on each tensor element, facilitating parallel execution during learning. As a result, we achieve GPU-accelerated sampling with substantial runtime improvements (up to 105.1x) over state-of-the-art heuristic samplers. We demonstrate the effectiveness of our method through extensive evaluations on circuit problems from the ISCAS-89 and ITC'99 benchmark suites.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑