Docsity

Hardware Functional - Functional Verification - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Hardware Functional - Functional Verification - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Hardware Functional

Verification Class

Non Confidential Version

Contents

 Introduction

 Verification "Theory"

 Secret of Verification

 Verification Environment

 Verification Methodology

 Tools

 Future Outlook

What is functional verification?

 Act of ensuring correctness of the logic design

 Also called:

Simulation logic verification

High Level Design

Tape-Out (Fabrication)

Performance Verification

CPI

Implementation in VHDL

Timing Verification

What is Verification

Functional Verification

Architecture

Cycle Time Logic Equival. Verification

Answer: Functional Verification

 Also called:

Simulation logic verification

 Verification is based on

Testpattern Generation Reference Model Development Result Checking

Design under Test

Testpattern

Reference Model

Results Checking

Why do functional verification?

 Product time-to-market

hardware turn-around time volume of "bugs"

 Development costs

"Early User Hardware" (EUH)

More lingo

 Behavioral: Code written to perform the function of logic the interface of the design-under-test  Macro: 1. A behavioral 2. A piece of logic  Driver: Code written to manipulate the inputs of the design-under-test. The driver understands the interface protocols.  Checker: Code written to verify the outputs of the design under-test. A checker may have some knowledge of wha the driver has done. A check must also verify interface protocol compliance.

Still more lingo

 Snoop/Monitor: Code that watches interfaces or internal signals to help the checkers perform correctly. Also used to help drivers be more devious.  Architecture: Design criteria as seen by the customer. T design's architecture is specified in documents (e.g. POP Book 4, Infiniband, etc), and the design must be complia with this specification.  Microarchitecture: The design's implementation. Microarchitecture refers to the constructs that are used in the design, such as pipelines, caches, etc.

Verification Cycle

Create Testplan

Develop environment

Debug hardware

Regression

Fabrication

Hardware debug

Escape Analysis

Verification Testplan

 Team leaders work with design leaders to create a verification testplan. The testplan includes: Schedule Specific tests and methods by simulation level Required tools Input criteria Completion criteria What is expected to be found with each test/level What's not covered by each test/level

Hierarchical design

 Only lowest level macros contain latches and

combinatorial logic (gates) Work gets done at these levels

 All upper layers contain wiring connections only

Off chip connections are C4 pins

Current Practices for Verifying a System  Designer Level sim Verification of a macro (or a few small macros)  Unit Level sim Verification of a group of macros  Element Level sim Verification of a entire logical function such as a processo storage controller or I/O control Currently synonomous with a chip  System Level sim Multiple chip verification Often utilizes a mini operating system

White box/Grey box

 White box verification means that the internal

facilities are visible and utilized by the testcase driver. Examples: 0-in (vendor) methods

 Grey box verification means that a limited

number of facilities are utilized in a mostly blac box environment. Example: Most environments! Prediction of correct results on the interface is occasionally impossible without viewing and internal signal.

Perfect Verification

To fully verify a black box, you must show that the

logic works correctly for all combinations of inputs.

This entails:

Driving all permutations on the input lines

Checking for proper results in all cases

Full verification is not practical on large pieces of

designs...but the principles are valid across all

verification.