35
Copyright © 2002 Qualis Design Corporation Industry and Industry and Textbook Overview Textbook Overview Qualis Design Corporation PO Box 4444 Beaverton, Oregon 97075-4444 USA Phone: +1-503-670-7200 FAX: +1-503-670-0809 http://www.qualis.com

Qualis Design Corporation PO Box 4444 Beaverton, Oregon 97075-4444 USA Phone: +1-503-670-7200

  • Upload
    leroy

  • View
    38

  • Download
    2

Embed Size (px)

DESCRIPTION

Industry and Textbook Overview. Qualis Design Corporation PO Box 4444 Beaverton, Oregon 97075-4444 USA Phone: +1-503-670-7200 FAX: +1-503-670-0809 http://www.qualis.com. Verification Process. Involves. People. Methods. Tools. RTL Design & Coding. Verification in Design Flow. - PowerPoint PPT Presentation

Citation preview

Page 1: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Industry and Textbook Industry and Textbook OverviewOverview

Qualis Design CorporationPO Box 4444

Beaverton, Oregon 97075-4444 USAPhone: +1-503-670-7200FAX: +1-503-670-0809http://www.qualis.com

Page 2: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Verification ProcessVerification Process Involves

Methods

Tools

People

Page 3: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Verification in Design FlowVerification in Design FlowArchitectural

System Design

ComponentSpecifications

Synthesis &Layout

RTL Design& Coding

C/C++

Paper

Verilog, VHDL

SimulationProofs

PhysicalSynthesis

Page 4: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Verification vs TestingVerification vs Testing

Spec HDL

Design

Testbench

Synthesis

EquivalenceChecking

Manufacture

DFT

Gates Silicon

TestingFunctionalVerification

Page 5: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

People in VerificationPeople in Verification "We do not have the resources to have

dedicated verification engineers"– Amount of work is the same– Slice it differently

Design &Verification

Design

Verification

Page 6: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

People in VerificationPeople in Verification "I'm the best hardware designer. Therefore I

know how to write testbenches"– Verification and design have different focus

• Design: meeting performance requirements– Optimism– Coding & design style– Implementation architecture

• Verification: make sure intent has been implemented– Paranoia– Requirement traceability– Controllability & observability

Page 7: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

People in VerificationPeople in Verification "I'm the best hardware designer. Therefore I

know how to write testbenches"– Testbench design requires different skills from

hardware design• Design: timing closure

– Scripting– Physical effects– Power, timing

• Verification: software engineering– Configuration management– Abstraction & Objected oriented– Random generation & coverage

Page 8: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

People in VerificationPeople in Verification "I want to be a hardware designer when I grow up"

– Hardware design has all the glory• Spread to verification effort

– Properly-designed verification environments require more creativity than design

– More freedom in verification• No subset• No performance constraints• No technology constraints

– All cool, new tools are in verification– Develop verification training &

career paths

Page 9: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

People in VerificationPeople in Verification Supply industry aligning with task separation

– P&L business units– Separate sales force– Specialized consultants and AEs– Verification-only companies

• EDA• Services• IP

– Verification curriculum in universities

Page 10: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Manual CheckingManual Checking Unfortunately, very common Use waveform viewer to interpret results

Non reproducible Sensitive to misinterpretations Cannot handle large number of

transactions

Stimulus DUT Vectorfile

Simulator

Viewer

Page 11: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Golden VectorsGolden Vectors Natural extension of DFT & visual check Compare results against known good results

Stimulus Vectorfile

Simulator

Viewer

Vectorfile

Comparator

DUT

Page 12: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Compute expected results on-the-fly

Significant effort investment Tolerant of non-functional variations Typical for datacom

On-The-Fly Self-CheckingOn-The-Fly Self-Checking

BFM (Compare)Stimulus DUT

Scoreboard

Transferfunction

Data Structure

Page 13: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Response verified against reference model

Compare function must tolerate non-functional differences

Typical for DSP and CPU– C reference model part of spec

Post-Processing Self-CheckingPost-Processing Self-Checking

File

Simulator

File

ComparatorStimulus DUT

REF

Other

Page 14: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Traditional ApproachTraditional Approach Self-checking not a requirement Used with HDLs, or C/C++ Large number of testbenches Progress measured against check-list

Time

% T

estc

ases

Goal

Stimulus

Page 15: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Random ApproachRandom Approach Progress measured using functional coverage

metrics

Time

% T

estc

ases

Goal

Self-checking, random test environment

development time

Stimulus

Page 16: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Random Vs TraditionalRandom Vs Traditional

Time

% T

estc

ases

Goal

Productivitygain

Page 17: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Formal vs Random Vs TraditionalFormal vs Random Vs Traditional

Time

% T

estc

ases

Goal

Productivitygain

FormalVerification(Assertions)

Page 18: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

PP

P P

acke

t Sco

rebo

ard

PPP Gen

PPP Mon

Testcases

PPP Gen

PPP Mon

PPP Gen

PPP Mon

HDLC

HDLC

Ethernet

SPI4.2

CSIX

Net

wor

k P

roce

ssor

Verification IPVerification IP

Page 19: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

PP

P P

acke

t Sco

rebo

ard

PPP Gen

PPP Mon

Testcases

PPP Gen

PPP Mon

PPP Gen

PPP Mon

HDLC

HDLC

Ethernet

SPI4.2

CSIX

Net

wor

k P

roce

ssor

Verification IPVerification IP

Page 20: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Time

% T

estc

ases

Goal

Productivitygain

Verification IPVerification IP Verification IP helps reduce time-to-first-test

Earlier time-to-1st-test

Page 21: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Industry StatusIndustry Status

Pop

. Siz

e

Laggards Leaders

Self-Checking

Ad-Hoc

Specman,Vera

SpecsCoverage

Driven

FormalVerification

Transactions

VerificationPlan

Verification EngineersCustom Environment

Page 22: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

My BookMy Book

Pop

. Siz

e

Laggards Leaders

Self-Checking

Ad-Hoc

Specman,Vera

SpecsCoverage

Driven

FormalVerification

Transactions

VerificationPlan

Verification EngineersCustom Environment

Page 23: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

My BookMy Book

Page 24: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Genesis of the BookGenesis of the Book Self-checking transaction-level testbenches

based on verification plan and behavioral model– Nortel Networks, 1992

Consulting services in verification– Self-employed, 1994

Advanced verification class (3 days)– Qualis Design, 1996

Book started– Dining room table, 1999

Page 25: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Objectives of the BookObjectives of the Book Functional verification is critical There is a process to functional verification Functional verification is different from design Engineers don't know HDLs as well as they

think they do Improve software engineering skills

Page 26: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

For Undergrad ClassFor Undergrad Class Chapter 1: What is Verification?

– Why should you care Chapter 2: Verification Tools

– What should you use Chapter 3: Verification Plan

– What should you do Chapter 4: Non-RTL Coding

– There is (better) life beyond RTL– Verilog is not that easy to learn well

Page 27: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

For Undergrad ClassFor Undergrad Class Chapter 5: Stimulus and Response

– How should you stimulate– How should you observe– How do you know it's correct

Appendix A: Coding Guidelines– How you should write your code

Page 28: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

For Graduate ClassFor Graduate Class Chapter 3: Verification Plan

– What should you do Chapter 4: Non-RTL Coding

– There is (better) life beyond RTL– Verilog is not that easy to learn well

Chapter 6: Architecting Testbenches– How to minimize your effort– Wrestling with VHDL

Chapter 7: Simulation Management– Actually using the stuff

Page 29: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

For Professional ClassFor Professional Class Chapter 3: Verification Plan

– What should you do Chapter 4: Non-RTL Coding

– There is (better) life beyond RTL– Verilog is not that easy to learn well

Chapter 5: Stimulus and Response– How should you stimulate– How should you observe– How do you know it's correct

Page 30: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

For Professional ClassFor Professional Class Chapter 6: Architecting Testbenches

– How to minimize your effort– Wrestling with VHDL

Chapter 7: Simulation Management– Actually using the stuff

Page 31: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

For Prelude to HVLsFor Prelude to HVLs Chapter 1: What is Verification?

– Why should you care Chapter 2: Verification Tools

– What should you use Chapter 3: Verification Plan

– What should you do Chapter 5: Stimulus and Response

– How should you stimulate– How should you observe– How do you know it's correct

Page 32: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

In Future EditionIn Future Edition Chapter 2: Verification Tools

– Assertions– Formal verification tools– HVLs (Specman, VERA)– Functional Coverage

Chapter 3: Verification Plan– Coverage-driven plan

Chapter 4: Non-RTL Coding– HVLs

Page 33: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

In Future EditionIn Future Edition Chapter 5: Stimulus and Response

– Scoreboarding Chapter 6: Architecting Testbenches

– Constrainable Random Generation– Functional Coverage

Chapter 7: Simulation Management– HVLS as reference models– Seed management

Page 34: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Support MaterialSupport Material Quiz

– http://janick.bergeron.com/wtb/quiz.html– 3 questions per chapters– Answers supplied

Verification Project– http://janick.bergeron.com/guild/project.html– 4-port ATM switch– Design specification– Behavioral model (Verilog, VHDL)– Partial solutions provided by contributors

Page 35: Qualis Design Corporation PO Box 4444 Beaverton, Oregon  97075-4444 USA Phone: +1-503-670-7200

Copyright © 2002 Qualis Design Corporation

Industry and Textbook Industry and Textbook OverviewOverview

Qualis Design CorporationPO Box 4444

Beaverton, Oregon 97075-4444 USAPhone: +1-503-670-7200FAX: +1-503-670-0809http://www.qualis.com