在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 12070|回复: 30

(Ebook) Effective.Functional.Verification.Principles.and.Processes__2006.rar

[复制链接]
发表于 2008-3-5 06:39:55 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
和大家分享
(Ebook) Effective.Functional.Verification.Principles.and.Processes__2006.rar




[ 本帖最后由 jacocobi 于 2008-3-5 06:46 编辑 ]

Effective.Functional.Verification.Principles.and.Processes__2006.rar

1.39 MB, 下载次数: 141 , 下载积分: 资产 -2 信元, 下载支出 2 信元

发表于 2008-3-5 21:51:23 | 显示全部楼层
有没有目录啊
 楼主| 发表于 2008-3-6 06:40:02 | 显示全部楼层
PartIStartingtheVericationJourney
1.AnIntroductiontoICVerication 3
ImportanceofVeri?cation. ......................3
OverviewofaTypicalASICDesignProcess.............. 6
FactorsinSuccessfulVeri?cation.................... 11
References.................................... 12
2.ApproachestoVerication 13
WhatisFunctionalVeri?cationallAbout?...............
14
Stimulatingthedesign-Achoiceofapproaches............ 16
BlackBoxApproach.... .................... 16
WhiteBoxApproach.... .................... 18
GrayBoxApproach.... .................... 18
Veri?cationApproachesBasedonIntegration............. 19
BlockLevelVeri?cation. ..................... 20
SubSystemVeri?cation. ..................... 23
FullChipVeri?cation... ..................... 25
SystemLevelVeri?cation. .................... 26
InstructionDrivenVeri?cation. .................... 26
RandomTesting............................. 29
Coverage Driven Verification   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  30
Transaction Based Verification   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  33
Golden Model Approach    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  37
Advantages of a Golden Model    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  37
Disadvantages of using a Golden Model  .  .  .  .  .  .  .  .  .  .  .  .  .  .  38
Pre-Post Processing Approach    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  39
Assertion Based Verification    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  42
Assertions - Who writes them and when?   .  .  .  .  .  .  .  .  .  .  .  .  .  44
Types of Assertions  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  45
Advantages of an Assertion Based Methodology    .  .  .  .  .  .  .  .  .  45
Challenges with an Assertion Based Methodology    .  .  .  .  .  .  .  .  48
Formal Verification   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  49
Model Checking    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  51
A Comparison of Simulation and Formal approaches   .  .  .  .  .  .  .  52
Emulation and Acceleration  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  54
References      .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  57
3.  Various Workflows Practiced in Verification 59
An Overview of the Entire Verification Process    .  .  .  .  .  .  .  .  .  .  .  .  59
The Planning Process   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  62
Some Other Aspects of Verification Planning   .  .  .  .  .  .  .  .  .  .  .  63
Verification Resource Planning  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  64
The Regression Process  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  65
Block Regressions    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  67
Chip Level Regressions  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  68
Coverage in Regressions.     .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  68
Maturing of the Design   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  69
The Periodic Review Process   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  70
Regression Result Reviews  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  71
The Verification Signoff Process   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  72
Part II  Ingredients of Successful Verification
4.  People make all the Difference
77
Team Dynamics and Team Habits for Success   .  .  .  .  .  .  .  .  .  .  .  .  .  78
Habit 1: Begin With the Big Picture in Mind    .  .  .  .  .  .  .  .  .  .  .  78
Habit 2: Do it Right the First Time    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  80
Habit 3: Be Object Oriented in your Approach   .  .  .  .  .  .  .  .  .  .  82
Habit 4: Reduce, Reuse and Recycle  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  82
Habit 5: Innovate  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  83
Habit 6: Communicate   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  84
The Six Qualities of Successful Verification Engineers    .  .  .  .  .  .  .  .  86
Quality 1: The Ability to see the Full Picture   .  .  .  .  .  .  .  .  .  .  .  87
Quality 2: Assumes Nothing  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  88
Quality 3: Consistent  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  88Contents
ix
Quality 4: Organized  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  89
Quality 5: Multi-skilled    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  89
Quality 6: Empower Others    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  90
References      .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  91
5.  Case Studies from the Real World
93
Block and System Level Tests use Unrelated Environments   .  .  .  .  .  .  94
Not Implementing Monitors and Assertions Early on    .  .  .  .  .  .  .  .  .  94
Review Processes Not Done Timely    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  95
Pure Random Testing Without Directed Tests    .  .  .  .  .  .  .  .  .  .  .  .  .  96
Not Running a Smoke Test Before a Regression   .  .  .  .  .  .  .  .  .  .  .  .  97
Lint Policies  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  98
Effective Use of a Source Control Strategy  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  98
6.  Tracking Results That Matter
101
Why Do We Ever Need any Verification Metrics?   .  .  .  .  .  .  .  .  .  .  . 101
Metrics in a Regression   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 102
Commonly used Metrics    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 105
Functional Coverage Metrics   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 109
Structural Coverage Metrics    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 110
Some Caveats on Structural Coverage   .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 111
Assertion Verification Metrics    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 111
References      .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 113
Part III  Reducing work in Verification
7.  Reducing Work in Verification
117
Considerations in a Verification Environment    .  .  .  .  .  .  .  .  .  .  .  .  . 118
Tri-State Buses and Dealing with Them    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 119
Dealing with Internal Signals   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 120
Environmental Considerations    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 122
Dealing with Register Programming   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 128
A Hybrid Approach to Register Programming  .  .  .  .  .  .  .  .  .  .  . 131
Dealing with Clocks  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 136
Driving the Design    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 137
Debugging the Design  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 138
Making Note of Errors   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 141
Debug Levels  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 141
Code Profiling to Keep the Inefficiency Out    .  .  .  .  .  .  .  .  .  .  .  .  .  . 143
Regression Management    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 145
Identify Failures Before You Run Again  .  .  .  .  .  .  .  .  .  .  .  .  .  . 149
Don’t Postpone Features to be Tested    .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 149
Compile your Code  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 149
QC Processes to run a Clean Run  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 150
Using a Data Profile to Speed up Simulations    .  .  .  .  .  .  .  .  .  .  .  .  . 150
Getting the Machine to Document for You   .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 154
x
Keeping an Eye on the Design – Monitors   .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 158
Checkers in an Environment    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 160
Linting Code  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 162
The RTL Acceptance Criterion   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 163
References      .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 164
Part IV  Ten Steps to Success
8.  Ten Steps to Success
167
Step 1: A Specification Review  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 173
Step 2: The Identification of Test Objects    .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 176
Step 3: Review of the Test Object List   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 180
Step 4: Tagging the List of Test Objects   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 182
Using Tags to Simplify the Regression Process   .  .  .  .  .  .  .  .  .  . 183
Step 5: Test Case Identification  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 185
Structure of a Test Case    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 185
Test Case Classifications   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 188
Directed Tests   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 188
Sweep Test Cases    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 190
Negative Testing   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 192
Random Test Cases    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 193
The Creation of a Possible List of Test Cases   .  .  .  .  .  .  .  .  .  .  . 194
Partitioning of Tests between Block and Top Level   .  .  .  .  .  .  .  . 197
Step 6: The Definition of a Correctness Strategy  .  .  .  .  .  .  .  .  .  .  .  . 200
Data Checkers    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 200
Protocol Checkers    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 201
Interface Checkers   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 201
Cycle Accurate Checkers  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 203
Using Monitors  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 203
Using Assertions and Formal Verification in the Methodology   .  . 203
Step 7: The test strategy  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 206
Hierarchical Strategy  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 208
Reuse Strategy   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 210
Stimulus Strategy  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 210
Test Case Strategy    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 211
Identifying Test cases for Maximum Yield & Coverage  .  .  .  .  .  . 211
Step 8: Testing the design.    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 215
Component identification  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 215
Getting the Job Done. Execution of the test plan    .  .  .  .  .  .  .  .  . 221
Getting a Helping Hand from External Resources  .  .  .  .  .  .  .  .  . 222
The Case for GATE Simulations  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 223
Step 9: Figuring out where you Are in the Process  .  .  .  .  .  .  .  .  .  .  . 226
Performing Hole Analysis of What got Left Out in the Test Plan   . 231
The (bi)Weekly Review Processes   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 232
The monthly Review Processes    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 237
Contents
Contents
xi
Step 10: Correlations on completion to sign-off   .  .  .  .  .  .  .  .  .  .  .  . 238
Appendices
244
A   Using PERL to connect to Microsoft Excel and Access
245
B   Using PERL to convert between UNIX text files and Microsoft Word  249
Index
255
253
About the Author
Glossary
243
Refer.en.c.es  and Additional reading   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 242
发表于 2008-3-7 14:47:33 | 显示全部楼层
Well done ! Thanks!
 楼主| 发表于 2008-4-1 23:10:30 | 显示全部楼层
upupup
发表于 2008-4-2 10:53:31 | 显示全部楼层
thanks..
发表于 2008-4-9 19:13:12 | 显示全部楼层
good
发表于 2008-4-10 11:20:58 | 显示全部楼层
这本不错
发表于 2008-5-25 15:43:52 | 显示全部楼层
这本不错
发表于 2008-6-18 04:06:37 | 显示全部楼层
Thanks for sharing
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

X

小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-7-8 06:03 , Processed in 0.026306 second(s), 10 queries , Gzip On, MemCached On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表