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

使用抽象的工业强度形式化

Industrial Strength Formal Using Abstractions

Ashish Darbari, Iain Singleton

摘要:

具有数千个多线程和事务的并发系统的验证是一个具有挑战性的问题,不仅对于模拟或仿真,而且对于形式化。为了使设计正确工作并提供最佳PPA,设计人员通常使用复杂的优化,需要在活动线程和事务之间共享多个资源,使用FIFO,Staller,流水线,无序调度和复杂的分层仲裁。这对于大多数非平凡的设计来说都是如此,而不管具体的应用领域,如CPU、GPU或通信。一开始,这些应用程序域中的许多看起来是多样和复杂的;然而,在某种程度上,所有这些应用程序域都采用了排序、负载均衡、仲裁和危险预防等常见设计原则。在本文中,我们提出了一个关键的抽象为基础的方法来验证排序的正确性和仲裁范围内的设计,这是来自不同的应用领域。我们展示了如何通过使用抽象和支持他们的不变量,不仅可以找到深角落的情况下,连续非常深的设计错误,我们还可以建立详尽的证明,以证明没有关键的错误,如死锁,饥饿,和数据完整性的损失。我们提出了一系列不同的设计上的实验结果,并表明,在一些设计,如FIFO,我们可以验证超过100种不同类型的FIFO的订购正确性使用一个单一的断言在一个单一的测试平台。我们还展示了如何FIFO验证的方法,可以适用于验证超过半打不同类型的仲裁器,包括一个非常复杂的内存子系统仲裁器。我们验证了多时钟同步器和基于数据包的设计,从网络域使用相同的抽象FIFO验证。结果表明,我们的方法,这是可重用的和紧凑的力量。

英文摘要:

Verification of concurrent systems with thousands of multiple threads and transactions is a challenging problem not just for simulation or emulation but also for formal. To get designs to work correctly and provide optimal PPA the designers often use complex optimizations requiring sharing of multiple resources amongst active threads and transactions using FIFOs, stallers, pipelining, out-of-order scheduling, and complex layered arbitration. This is true of most non-trivial designs irrespective of a specific application domain such as CPU, GPU or communication. At the outset a lot of these application domains look diverse and complex; however at some level of detail all of these employ common design principles of sequencing, load balancing, arbitration and hazard prevention. We present in this paper a key abstraction based methodology for verifying ordering correctness and arbitration across a range of designs which are derived from different application domains. We show how by using abstractions and supporting them with invariants one can not only find deep corner case bugs in sequentially very deep designs; we can also build exhaustive proofs to prove the absence of critical bugs such as deadlock, starvation, and loss of data integrity. We present experimental results on a range of different designs and show that on some of the designs such as FIFOs we can verify over 100 different types of FIFOs for ordering correctness using a single assertion in a single testbench. We also show how the methodology of FIFO verification can be adapted to verify over half-a-dozen different types of arbiters including a very complex memory subsystem arbiter. We verify a multi-clocked synchronizer and a packet based design from a networking domain using the same abstraction as used in FIFO verification. The results demonstrate the strength of our methodology which is both reusable and compact.

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

↑