Professional Documents
Culture Documents
Planning The Ver I Plan
Planning The Ver I Plan
Plan of Attack
Peet James Senior Verification Consultant
academy@mentor.com www.verificationacademy.com
Why Plan?
Because verification takes more time & effort than design Because it takes a separate, informed, documented architecture, process and team Because ad-hoc verification will lead to minimal results and much wasted effort
Why is it Hard?
Because there is too much to do Because people resist change Because it more than just tools & training, it also takes deployment Because complex change takes time and happens in stages Because it is a steep learning curve
Its about:
Not re-inventing the wheel Making informed, strategic decisions early Avoiding pitfalls, and having to re-coding Finding and fixing problems early Coding for debug Choosing your verification battles Setting up for successful feedback & guidance Ramping up quickly Managing Change Organizing large quantities of data Defining & clarifying processes & problems Downsizing larger problems into smaller, doable problems
Engineering is about:
Its about:
Not re-inventing the wheel Making informed, strategic decisions early Avoiding pitfalls, and having to re-coding Finding and fixing problems early Coding for debug Choosing your verification battles Setting up for successful feedback & guidance Ramping up quickly Managing Change Organizing large quantities of data Defining & clarifying processes & problems Downsizing larger problems into smaller, doable problems
Engineering is about:
Bottomline: We need a PLAN OF ATTACK to verifying the most in the allotted time
Plan
Big Picture
Architecting a verification solution 30,000 ft to 1,000 ft view
Plan
Populate
Big Picture
Architecting a verification solution 30,000 ft to 1,000 ft view
Details
Requirements
1,000 ft to 1 ft view
Plan
Populate
Pilot
Big Picture
Architecting a verification solution 30,000 ft to 1,000 ft view
Details
Requirements
Day to Day
Managing The entire Verification System Start To finish
1,000 ft to 1 ft view
Big Picture
Big Picture
Architecting a verification solution 30,000 ft to 1,000 ft view
Mission & Goals Strategizing Architecting Layers Phases What and How and in What order we will build the testbench?
Q&A
Big Picture
Big Picture
Architecting a verification solution 30,000 ft to 1,000 ft view
Generation Checking: Scoreboard, Assertions Coverage Hardest part to automate ReUse Libraries: AVM, OVM
Q&A
Automation
What and How and in What order we will build the testbench?
Output:
Big Picture
Architecting a verification solution 30,000 ft to 1,000 ft view
VAD = Verification Architect Document VIDs = Verification Implementation Docs VI = Verification Infrastructure Deliverables:
VAD / VID
Verification Infrastructure
Basic Strategy / Approach Basic Structure Block Diagram List of Components Line & Effort Estimates that can lead to a schedule Basic OOP setup: UMLs & Layers Basic Build Order Phases & Milestones Basic ReUse
Requirements
Details
Requirements
1,000 ft to 1 ft view
Apply to the DUT Check in the scoreboard Check with assertions Cover
Requirements
Details
Requirements
1,000 ft to 1 ft view
Generation Checking: Scoreboard, Assertions Coverage Grow your own: ACCESS, SQL, QuestaVerification Mgmt with UCDB ReqTracer
Automation:
Apply to the DUT Check in the scoreboard Check with assertions Cover
Populate
Details
Requirements
1,000 ft to 1 ft view
VR Mapping:
VR DR VR VI
Populate
Details
Requirements
DR
1,000 ft to 1 ft view
VR Mapping:
VR DR VR VI
Populate
Details
Requirements
DR
1,000 ft to 1 ft view
VR
VR
VR Mapping:
VR DR VR VI
VR
VR
VR
VR
Checking: SB / Assert
VR
Generation
Cover
Details
Requirements
Outputs
Database: xls, UCDB, etc. Reports List of Generation Items Sequences / Scenarios List of Scoreboard Elements List of Assertions Areas List of Coverage Areas
Deliverables: General
1,000 ft to 1 ft view
Day to Day
Managing The entire Verification System Start To finish
Day to Day
Managing The entire Verification System Start To finish
Staff & Schedule Rules of Engagement Run Management Triage Metrics Templates & Conventions Scripts Tools: Bugzilla, VRM, SVN, etc/
Automation
Outputs
Day to Day
Managing The entire Verification System Start To finish
Docs: File Structure, Templates, Conventions Auto Docs: Schedule, Status Reports Script Code HDL, HVL Code Repeatability Regression Management Change & Release Management Data: Gather, Measure, Respond
Deliverables
Verification Plan of Attack Plan Big Picture Architecting a verification solution 30,000 ft to 1,000 ft view VAD / VID Populate Details Requirements Pilot Day to Day Managing The entire Verification System Start To finish Docs Code Scripts
1,000 ft to 1 ft view
Detailed Requirements
Verification Infrastructure
Custom Docs
Verification Flows
Plan
START
Populate
Pilot
END
Verification Flows
Plan
START
Populate
Pilot
END
START
Populate
Plan
Pilot
END
Verification Flows
Plan
START
Populate
Pilot
END
START
Populate
Plan
Pilot
END
START
Plan
Populate END
Pilot
Verification Flows
START
Plan
Populate
Pilot
END
1,000 ft to 1 ft view
Detailed Requirements Custom Docs
Verification Infrastructure
1,000 ft to 1 ft view
Detailed Requirements
Verification Infrastructure
Custom Docs
1,000 ft to 1 ft view
Detailed Requirements
Verification Infrastructure
Custom Docs
1,000 ft to 1 ft view
Detailed Requirements
Verification Infrastructure
Custom Docs
1,000 ft to 1 ft view
Detailed Requirements
Verification Infrastructure
Custom Docs
Triage Analylsis
Plan
Big Picture
Requirements
1,000 ft to 1 ft view
VAD / VID
Verification Infrastructure
Triage Analylsis
VPM Outline
Plan
DDV=Document Driven Verification
Populate
Pilot
MDV=Metric Driven Verification
Audit Strategize Architect VAD -Verification Architecture Doc VID Verification Implementation Doc Verification Infrastructure (VI)
Discussions
VPM Outline
Plan
DDV=Document Driven Verification
Populate
Pilot
MDV=Metric Driven Verification
Audit Strategize Architect VAD -Verification Architecture Doc VID Verification Implementation Doc Verification Infrastructure (VI)
Discussions
Discussions Requirements: Hunt, Refine, Prioritize, Track Design Requirements Verification Requirements Translation & Mapping
VPM Outline
Plan
DDV=Document Driven Verification
Populate
Pilot
MDV=Metric Driven Verification
Audit Strategize Architect VAD -Verification Architecture Doc VID Verification Implementation Doc Verification Infrastructure (VI)
Discussions
Discussions Requirements: Hunt, Refine, Prioritize, Track Design Requirements Verification Requirements Translation & Mapping
Discussions Staffing & Scheduling Verification Run Manager Triage & Bug Tracking Change Mgmt Metrics & Dashboards
Plan
Why Plan? Why Verification is hard? How to do a audit? How to make a VAD? VAD Example
Populate
Requirements hunting overview Requirements aproaches Requirements example
Pilot
Scheduling overview Staffing overview Metric overview
Approach
Hit highlights only Introduction only All lecture, no application Half day to one day
Plan
Why Plan? Why Verification is hard? How to do a audit? How to make a VAD? VAD Example
Populate
Requirements hunting overview Requirements aproaches Requirements example
Pilot
Scheduling overview Staffing overview Metric overview
Approach
Pros
Hit highlights only Introduction only All lecture, no application Half day to one day
Quick Cheap Great intro for further VPM deployment later Good for management Minimal knowledge transfer No direct application Minimal retention
Cons
Plan
Why Plan? Why Verification is hard? How to do a audit? How to make a VAD? VAD Example
Populate
Requirements hunting overview Requirements aproaches Requirements example
Pilot
Scheduling overview Staffing overview Metric overview
Approach
Pros
Hit highlights only Introduction only All lecture, no application Half day to one day
Quick Cheap Great intro for further VPM deployment later Good for management Minimal knowledge transfer No direct application Minimal retention
Cons
Build:
Write & Debug VI
VI SV Files
Run:
Find & Fix RTL Bugs
Cover:
Write, Analyze & Steer
Plan
DDV
TBAI ABV
RQMTs xls
Populate
RDV:
RDV:
RQMTs Database
Hunt, Extract, Refine & Prioritize Translate DRs to VRs & map to VI Staff & Schedule Rules of Engagement Run & Triage Strategy Metric Strategy
Pilot
UCDB
1 3 Weeks
Approach Deployment through out the entire project: start to finish Most lectures & topics Fully customized Timeframe: Months
Build:
Write & Debug VI
VI SV Files
Run:
Find & Fix RTL Bugs
Cover:
Write, Analyze & Steer
Plan
DDV
TBAI ABV
RQMTs xls
Populate
RDV:
RDV:
RQMTs Database
Hunt, Extract, Refine & Prioritize Translate DRs to VRs & map to VI Staff & Schedule Rules of Engagement Run & Triage Strategy Metric Strategy
Pilot
UCDB
1 3 Weeks
Months
Approach Deployment through out the entire project: start to finish Most lectures & topics Fully customized Timeframe: Months
Pros
Full verification planning documents: VAD, VIDs & requirements database Maximum knowledge transfer & retention Maximum application to the project Cons: Expense
Build:
Write & Debug VI
VI SV Files
Run:
Find & Fix RTL Bugs
Cover:
Write, Analyze & Steer
Plan
DDV
TBAI ABV
RQMTs xls
Populate
RDV:
RDV:
RQMTs Database
Hunt, Extract, Refine & Prioritize Translate DRs to VRs & map to VI Staff & Schedule Rules of Engagement Run & Triage Strategy Metric Strategy
Pilot
UCDB
1 3 Weeks
Months
Approach Deployment through out the entire project: start to finish Most lectures & topics Fully customized Timeframe: Months
Pros
Full verification planning documents: VAD, VIDs & requirements database Maximum knowledge transfer & retention Maximum application to the project Cons: Expense
Plan:
Decide & Document
Plan
DDV VAD
VIDs Schedule
Populate
Pilot
Staff & Schedule Pick one issue VRM, Triage, MDV, etc
3 Days 2 Weeks
Approach Deployment at the start of a project & then at key times Key lectures & topics Customize for Low Hanging Fruit, best bang for the buck Timeframe: Month Overall
Plan:
Decide & Document
Plan
DDV VAD
VIDs Schedule
Populate
Pilot
Staff & Schedule Pick one issue VRM, Triage, MDV, etc
3 Days 2 Weeks
Approach Deployment at the start of a project & then at key times Key lectures & topics Customize for Low Hanging Fruit, best bang for the buck Timeframe: Month Overall
Pros
Strategic Verification planning to drive sane deployment Plot for key knowledge transfer & retention Plot for strategic application to the project Cons: Team left to self-guidance on some things
Plan:
Decide & Document
Plan
DDV VAD
VIDs Schedule
Populate
Pilot
Staff & Schedule Pick one issue VRM, Triage, MDV, etc
3 Days 2 Weeks
Approach Deployment at the start of a project & then at key times Key lectures & topics Customize for Low Hanging Fruit, best bang for the buck Timeframe: Month Overall
Pros
Strategic Verification planning to drive sane deployment Plot for key knowledge transfer & retention Plot for strategic application to the project Cons: Team left to self-guidance on some things
Populate:
- Choose your RDV path over several projects o Choose either DRs only, VRs only or both - Choose your CDV integration
Pilot:
- Choose which piloting battles over several projects o Rules of Engagement, VRM, Triage, MDV