arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.09503cs.LO
收藏

关于不完全规格的随机设计

On Verifying Designs With Incomplete Specification

Eugene Goldberg

摘要:

规范$\mathit{Spec}$的不完整性会产生两个问题。首先,$\mathit{Spec}$的实现$\mathit{Impl}$可能具有$\mathit{Spec}$不禁止的某些$\mathit{unwanted}$属性。其次,$\mathit{Impl}$可能会破坏$\mathit{Spec}$中没有的某些$\mathit{desired}$属性。无论哪种情况,$\mathit{Spec}$都无法暴露$\mathit{Impl}$的错误。在早期的论文中,我们通过一种称为部分量词消去(PQE)的技术解决了上述第一个问题。与完全量化宽松相反,在PQE中,人们只从量词的范围中取出公式的一小部分。我们使用PQE来生成$\mathit{Impl}$的性质,即具有$\mathit{Impl}$的那些$\mathit{consistent}$。生成不需要的属性意味着$\mathit{Impl}$有缺陷。在本文中,我们解决了第二个问题,通过使用PQE产生虚假的属性,即那些是$\mathit{inconsistent}$与$\mathit{Impl}$。这些属性旨在模拟$\mathit{Impl}$不满足的$\mathit{Spec}$的缺失属性(如果有)。通过修改描述$\mathit{Impl}$的“真值表”的量化公式的片段并将该片段从量词的范围中取出,生成假属性。通过修改这个公式的不同部分,可以生成一个“结构完整”的假属性集。通过生成检测$\mathit{Impl}$的错误属性的测试,可以产生高质量的测试集。我们应用我们的方法来验证组合和时序电路。

英文摘要:

Incompleteness of a specification $\mathit{Spec}$ creates two problems. First, an implementation $\mathit{Impl}$ of $\mathit{Spec}$ may have some $\mathit{unwanted}$ properties that $\mathit{Spec}$ does not forbid. Second, $\mathit{Impl}$ may break some $\mathit{desired}$ properties that are not in $\mathit{Spec}$. In either case, $\mathit{Spec}$ fails to expose bugs of $\mathit{Impl}$. In an earlier paper, we addressed the first problem above by a technique called Partial Quantifier Elimination (PQE). In contrast to complete QE, in PQE, one takes out of the scope of quantifiers only a small piece of the formula. We used PQE to generate properties of $\mathit{Impl}$ i.e. those $\mathit{consistent}$ with $\mathit{Impl}$. Generation of an unwanted property means that $\mathit{Impl}$ is buggy. In this paper, we address the second problem above by using PQE to generate false properties i.e those that are $\mathit{inconsistent}$ with $\mathit{Impl}$. Such properties are meant to imitate the missing properties of $\mathit{Spec}$ that are not satisfied by $\mathit{Impl}$ (if any). A false property is generated by modifying a piece of a quantified formula describing 'the truth table' of $\mathit{Impl}$ and taking this piece out of the scope of quantifiers. By modifying different pieces of this formula one can generate a "structurally complete" set of false properties. By generating tests detecting false properties of $\mathit{Impl}$ one produces a high quality test set. We apply our approach to verification of combinational and sequential circuits.

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

↑