what is formal verification in chip design

Understanding Formal Verification in Chip Design

By Jessica Lopez
AD

Formal verification in chip design is a critical process that ensures the correctness and reliability of integrated circuits, known as chips, before they are manufactured. This process became necessary as chips became more complex, with millions of transistors on a single silicon chip. Today, formal verification is an integral part of the chip design pipeline, playing a vital role in delivering high-quality, error-free chips that power our modern devices.

Formal verification is a technique that relies on mathematical models and automated tools to check if a chip design meets its specified behavior and adheres to industry standards. This approach differs from traditional simulation-based verification, which is time-consuming, requires substantial resources, and may not cover all possible scenarios. In contrast, formal verification can provide complete, Prove-based guarantees, making it an invaluable tool in the semiconductor industry.

Understanding Formal Verification

At its core, formal verification in chip design involves creating a formal model of the chip's intended behavior and comparing it with the actual design. This is typically done using mathematical logic and formal methods, such as model checking and automata-theory based techniques.

AD
an info sheet describing the different types of flow in viss and how to use it
an info sheet describing the different types of flow in viss and how to use it
The Importance of Functional Verification in VLSI: Ensuring Chip Success Before Fabrication
The Importance of Functional Verification in VLSI: Ensuring Chip Success Before Fabrication
How Formal Verification Alleviates the Dark Sides of RISC-V Cores?
How Formal Verification Alleviates the Dark Sides of RISC-V Cores?

To understand the process better, let's consider two fundamental aspects of formal verification: Formal Models and Formal Methods.

Formal Models

Formal models are mathematical representations of the chip's intended behavior, often described using languages like VHDL or SystemC. These models capture the chip's functional requirements, data widths, and other relevant aspects. They serve as the golden reference for the formal verification process.

VLSI Design Cycle: Key Stages from Specification to Silicon Validation
VLSI Design Cycle: Key Stages from Specification to Silicon Validation
system on chip test equipment market
system on chip test equipment market
SoC - (System on Chip) level functional verification flow to ensure successful tapeout
SoC - (System on Chip) level functional verification flow to ensure successful tapeout

Creating formal models requires a deep understanding of the chip's functionality, carefully defining assumptions, and specifying valid input/output behaviors. Tools like Questa and ModelSim can generate formal models from high-level descriptions or synthesize netlists from HDL code.

Formal Methods

Formal methods are the mathematical techniques and tools used to analyze and verify formal models. They can be classified into two main categories: Model Checking and Constraint Solving.

AD

Model checking involves creating an abstract model of the chip design and checking whether it satisfies certain properties (e.g., safety, liveness, and fairness). Tools like NuSMV, SPIN, and RuleBase employ model checking techniques. Constraint solving, on the other hand, involves finding a solution to a set of constraints that defines the chip's behavior. Tools like Yices, CVC4, and Z3 use constraint solving techniques.

The Journey of a Semiconductor Chip ⚙️✨
The Journey of a Semiconductor Chip ⚙️✨
Principles of Verifiable Rtl Design: A Functional Coding Style Supporting Verification Processes in Verilog - Paperback - 9781475773132
Principles of Verifiable Rtl Design: A Functional Coding Style Supporting Verification Processes in Verilog - Paperback - 9781475773132
How Hands-On Training in EDA Tools Can Help You Perform Better in Your VLSI Job
How Hands-On Training in EDA Tools Can Help You Perform Better in Your VLSI Job
How an IIT-Certified VLSI Diploma Can Help ECE Graduates Land Their First Core Job
How an IIT-Certified VLSI Diploma Can Help ECE Graduates Land Their First Core Job
The Case for Hardware-Assisted Verification in Complex SoCs
The Case for Hardware-Assisted Verification in Complex SoCs
an image of a large block diagram with many different logos
an image of a large block diagram with many different logos

Implementing Formal Verification in the Chip Design Flow

Formal verification is integrated into the chip design flow to ensure correctness at various stages, from high-level architecture to low-level implementation. Here's how formal verification fits into the typical chip design process:

-chip design starts with high-level architecture and algorithm exploration, followed by RTL (Register Transfer Level) design, logic synthesis, physical implementation (placement and routing), and finally, manufacturing. At each stage, formal verification tools can help ensure the design adheres to the required specifications and behaves as intended.

AD

High-Level Verification

At high levels of abstraction, formal verification can help refine algorithms, evaluate different architectures, and optimize performance. Tools like OneSpin and Jasper perform high-level formal verification using formal methods tailored for C, C++, and SystemC descriptions.

VLSI chip design
VLSI chip design
Two simple black and white graphic representations of a computer chip with a check mark, signifyi...
Two simple black and white graphic representations of a computer chip with a check mark, signifyi...
KYC verification failed concept. User information provided during the KYC process
KYC verification failed concept. User information provided during the KYC process
SIL verification vs validation
SIL verification vs validation
new cpu chip test and development
new cpu chip test and development
Quantum 'fingerprint' tech could catch faulty chip before deployment
Quantum 'fingerprint' tech could catch faulty chip before deployment
Semiconductor Chip Testing Process – Step-by-Step
Semiconductor Chip Testing Process – Step-by-Step
Why Most Electronics Graduates End Up in IT & How You Can Avoid It with VLSI
Why Most Electronics Graduates End Up in IT & How You Can Avoid It with VLSI
What is DFT (Design for Testability) & How It’s Changing the VLSI Industry
What is DFT (Design for Testability) & How It’s Changing the VLSI Industry
Chip design
Chip design

OneSpin's 360 Formal Verification Suite, for example, supports formal verification of SystemC, VHDL, and Verilog designs, enabling users to find bugs early in the design process and ensure functional correctness.

Low-Level Verification

Formal verification at the low level involves checking that the translated RTL design, after logic synthesis and placement and routing, preserves the intended functionality. Tools like Mentor Graphics' Formality and Synopsys' VC Formality perform low-level formal verification by comparing the functional behavior of the design before and after implementation.

AD

For example, Synopsys' VC Formality can check that the place-and-route tool has not introduced any functional issues, ensuring that the manufactured chip will work as expected.

Ultimately, the success of formal verification in chip design relies on the collaboration between design teams and tool vendors, continuous improvement of formal methods and tools, and the integration of formal verification into the entire chip design flow. As the semiconductor industry pushes the limits of technology, formal verification remains an indispensable ally in delivering high-quality chips that meet the demands of our fast-paced world.

AD