• Non ci sono risultati.

1 Symbolic Verification:

N/A
N/A
Protected

Academic year: 2021

Condividi "1 Symbolic Verification: "

Copied!
2
0
0

Testo completo

(1)

1 Symbolic Verification:

Tassonomy

Gianpiero Cabodi Stefano Quer

Politecnico di Torino Torino, Italy

{gianpiero.cabodi,stefano.quer}@polito.it http://staff.polito.it/{gianpiero.cabodi,stefano.quer}/

Application of Verification in µ P Designs

Architectural Specification (informal)

RTL Specification (Verilog, VHDL)

Circuit Implementation (Schematic)

Layout Implementation (GDS II)

Cycle Simulation

Equivalence Checking

Circuit Simulation

Test Programs Property Checking

Application of EC in ASIC Designs

RTL Specification

Cell-Based Synthesis

Standard Cell Implementation

Engineering Changes (ECOs)

Equivalence Checking

Final Implementation

Equivalence Checking Property Checking

Methods

Structure- independent techniques

Structure-dependent techniques

Combined methods Degree of

Structural Difference

Size

™ Structure-independent techniques

‹ Exhaustive simulation

‹ Decision diagrams (*DD*)

™ Structure-dependent techniques

‹ Graph hashing

‹ SAT solvers including learning techniques

Combinational Circuits

Inputs

™ Basic methods:

‹ Random simulation, good for finding miscompares

‹ BDD based and modifications

‹ Structural SAT based with modifications Outputs

Sequential Circuits

™ The Finite State Machine (FSM) Model

‹M = (I, O, S, S0 ,δ,λ)

X=(x1,…,xn) Y=(y1,…,yn)

S=(s1,…,sn)

S’=(s’1,…,s’n)

X: Inputs Y: Outputs S: Current State S0: Initial State(s) δ: X × S → S

(next state function) λ: X × S → Y

(output function)

(2)

2

™ Deterministic machine

™ Completely specified

™ Delay element

‹Clocked: Synchronous

‹Single-phase clock vs Multiple-phase clocks

‹Unclocked: asynchronous

™ Moore Machine

‹output = f (state)

™ Mealy

‹output = f (state, input)

Problem: Reachable State Set

Bad states Good states State Space

Initial State S0

“Reached states”

“Un-reached states”

™ Adapt combinationa verification to sequential circuits

™ If combinational verification paradigm fails (e.g. we have no name matching) there are two options

‹Run full sequential verification based on state traversal

—Very expensive but most general

‹Try to match registers automatically

—Functional register correspondence

—Structural register correspondence

—Consider retiming

‹In essence, use all internal nets as candidates for possible matches

™ Worst case: full sequential verification

‹Prove that the output of the product machine is not satisfiable (sequentially)

‹Special case of general property checking

How Do We Obtain R?

™ Reachability analysis

‹State traversal until no more states can be explored

—Forward

—Backward

—Explicit

—Symbolic

™ Relying on the design methodology to provide R

‹Equivalent state encoding in both machines

‹Synthesis tool provides hint for R from sequential optimization

‹Manual register correspondence

‹Automatic register correspondence

™ Combination of them

Property Checking

™ Assertion-based verification

‹Properties are expressed as RTL annotations in terms or assertions (“This statement must hold true”)

‹E.g. AG(x=y) “For all paths from the initial state and all successor states x=y”

™ Formal verification methods

‹Exhaustive, do not require simulation vectors

™ Main methods

‹Theorem proving

‹Model Checking

—Liveness property checking

—Safety property checking

‹Refinement checking Express

ivness Capaciry/ Degree of Automation

Riferimenti

Documenti correlati

[r]

Calcolare le derivate parziali e scrivere l’equazione del piano tangente al grafico delle seguenti

A tale scopo possiamo utilizzare le

Scienza dei Media e della

esista, nel secondo

„ Simulation: complete (real) model, partial verification Verification: partial (abstract) model, complete verification. „ Simulation still needed to tune specifications; for

 Model Checking: proof of (temporal) logic property (safety &. liveness) against a semantic model of

Quanti individui dovranno essere sottoposti all’analisi del DNA affinch´e, con prob- abilit`a maggiore o uguale di 0.75, almeno 40 di essi siano portatori della mutazione.. Qual `e