[Paper Review] Verification of Building Blocks for Asynchronous Circuits
This paper presents a formal verification framework using ACL2 to automatically verify deadlock freedom in asynchronous circuits built from delay-insensitive primitives in the Click library. By deriving necessary and sufficient blocking/idle conditions for each primitive, the method generates SAT/SMT instances whose infeasibility confirms absence of structural deadlocks, enabling fully automated, correct-by-construction verification of complex circuits.
Scalable formal verification constitutes an important challenge for the design of asynchronous circuits. Deadlock freedom is a property that is desired but hard to verify. It is an emergent property that has to be verified monolithically. We present our approach to using ACL2 to verify necessary and sufficient conditions over asynchronous delay-insensitive primitives. These conditions are used to derive SAT/SMT instances from circuits built out of these primitives. These SAT/SMT instances help in establishing absence of deadlocks. Our verification effort consists of building an executable checker in the ACL2 logic tailored for our purpose. We prove that this checker is correct. This approach enables us to prove ACL2 theorems involving defun-sk constructs and free variables fully automatically.
Motivation & Objective
- To address the challenge of verifying deadlock freedom in asynchronous circuits, which is an emergent property not derivable from isolated primitive analysis.
- To formally specify and verify necessary and sufficient conditions for blocking and idle states in delay-insensitive primitives such as joins, forks, and distributors.
- To develop an executable, formally verified checker in ACL2 that automatically validates blocking/idle conditions for primitives, enabling scalable verification.
- To enable automatic generation of SAT/SMT instances from Click-based circuits, where infeasibility of the instance implies deadlock freedom.
- To formally prove the correctness of the SAT/SMT derivation process, ensuring logical equivalence between instance feasibility and structural deadlock existence.
Proposed method
- Formalizing Click primitives using the eXtended Delay Insensitive (XDI) specification, represented as state machines with environment-dependent execution semantics.
- Defining precise logical conditions—using block and idle predicates—that characterize when a handshake is permanently blocked or idle.
- Implementing a tailored ACL2 checker that verifies these conditions for each primitive, proven correct within the ACL2 logic.
- Using the checker to automatically prove theorems involving defun-sk constructs and free variables, enabling fully automated proof of complex verification conditions.
- Deriving SAT/SMT instances from circuit designs based on the verified blocking/idle conditions, where infeasibility implies deadlock freedom.
- Applying the method to real circuits (e.g., a six-primitive Click network), generating and validating deadlock formulas such as the one for handshake $a$.
Experimental results
Research questions
- RQ1Can formal verification of deadlock freedom in asynchronous circuits be scaled beyond isolated primitive analysis by capturing emergent system-level properties?
- RQ2How can necessary and sufficient conditions for blocking and idle states in delay-insensitive primitives be formally specified and verified in a theorem prover?
- RQ3To what extent can ACL2 be used to automatically prove complex theorems involving defun-sk and free variables in the context of hardware verification?
- RQ4Can SAT/SMT encodings derived from verified primitive conditions correctly reflect structural deadlock existence in composite circuits?
- RQ5Is it possible to formally prove that the feasibility of the derived SAT/SMT instance is logically equivalent to the existence of a structural deadlock?
Key findings
- The blocking condition for the join primitive is formally verified as: input $a$ is blocked iff output $c$ is blocked or input $b$ is idle, ensuring correct deadlock modeling.
- The derived formula for handshake $a$ in the example circuit is logically unsatisfiable, proving that no structural deadlock exists in the design.
- The ACL2 checker correctly verifies complex blocking conditions for the distributor primitive, including cases involving select signals and output blocking.
- The method enables fully automatic proof of theorems involving defun-sk and free variables, significantly reducing manual effort in verification.
- The approach successfully transforms a monolithic deadlock verification problem into a scalable, automated process via SAT/SMT encoding.
- The framework is extensible and can be used to formally verify the correctness of the SAT/SMT derivation process in future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.