在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Writing Testbenches using systemverilog.pdf

Writing Testbenches using systemverilog.pdf

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:2.90M
  • 下载次数:8
  • 浏览次数:363
  • 发布时间:2020-08-09
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
verilog编写testbench国外经典教材 Verification is too often approached in an ad hoc fashion. Visually inspecting simulation results is no longer feasible and the directed test-case methodology is reaching its limit. Moore's Law demands a productivity revolution in functional verification methodology. Writing
Writing Testbenches using systemverilog b Janick Bergeron S ynopsys, Inc. Springer Janick bergeron Verificationguild. com Writing Testbenches Using System Verilog Library of congress control Number: 2005938214 ISBN-10:0-387-29221-7 ISBN-10:0-387-31275-7(e-book ISBN-13:9780387292212 ISBN-13:9780387312750(e-book) Printed on acid-free paper c 2006 Springer Science+ Business Media, Inc All rights reserved. This work may not be translated or copied in whole or in part without the written permission of the publisher(Springer Science+ Business Media, Inc, 233 Sprin Street, New York, NY 10013, USA), except for brief excerpts in connection with reviews or scholarly analysis. Use in connection with any form of information storage and retrieval electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed is forbidden The use in this publication of trade names, trademarks, service marks and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights Printed in the united states of america 987654321 springer. com TABLE OF CONTENTS About the cover l Preface Why This Book Is Important What This book is about ........... xvi What Prior Knowledge You Should Have .... xviii Reading Paths∴……∴∴……,xvil Why System Verilog? VHDL and verilog Hardware Verification Languages Code examples For more information ............ xxii Acknowledgements XXII CHAPTER 1 What is verification? hat is a Testbench The Importance of verification Reconvergence model The human factor Writing Testbenches using System Verilog Table of contents Redundancy What Is Being Verified? 7 Equivalence checking∴…∴……………∴…8 Property Checking∴…∴…∴ Functional verification ,,I0 Functional Verification Approache Black-Box verification White-Box Verification ........ 13 Grey-Box verification Testing Versus Verification 15 Scan-Based testi Design for Verific Design and Verification reuse Reuse is about trust 1 8 for reuse 19 Verification reuse 19 The Cost of verification 20 ummary ,,,,,,.22 CHAPTER 2 Verification Technologies 23 Linting ,24 The limitations of linting Technologi∴……∴.25 Linting System verilog source code 27 Code reviews 29 Simulat 29 Stimulus and response 30 Event-Driven simulation .......................31 Cycle-Based simulation Co-Simulators Verification intelle Property 38 Waveform Viewers 39 Code Coverage 41 Statement Coverage......... .43 Path co Expr erage FSM Coverage What Does 100 Percent Code Coverage Mean? ,48 Functional Coverage ,,,49 Writing Testbenches using Sys g Coverage Points ............... 51 Cross Coverage 53 Transition Cover ···· 53 What Does 100 Percent Functional Coverage Mean?. 54 Verification Language Technologies .............55 assertions ●·鲁 57 Simulated assertions 58 Formal Assertion proving∴…∴…………59 ReⅤ sion control The Software Engineering Experience∴… 6 Configuration Management Working with releases .........................65 Issue Tracking What is an is 67 The grapevine system ,,,,,,,,,,,,68 The Post-It System 68 The procedural system Computerized system Metrics,,。,,,,,,,,,,,,,,, Code-Related metrics Quality- Related metrics…∴∴…∴…………….73 nterpreting Metrics∴∴∴∴…∴∴74 Summary 76 ChaPTeR 3 The Verification Plan 77 The role of the verification plan ........ 78 Specifying the verification 鲁鲁鲁 ..,.78 Defining First-Time Success 。鲁鲁鲁鲁 Levels of verification Unit- Level verification.……… 8 Block and Core Verification ,,,82 ASIC and FPGA verification.…∴ System-Level verification .......................84 Board- Level verification∴∴…… 85 Verification Strategies ●。鲁 86 Verifying the response∴………………………86 From Specification to Features∴∴∴∴∴87 Block-Level feati 90 System-Level features 91 Writing Testbenches using System Verilog Table of contents Error Types to Look For Prioritize,,,,,,,,,,,,,,,, .92 Design for ver Directed Testbenches Approach∴∴…∴.96 Group into Testcases∴ ,,96 From testcases to Testbenches Verifying Testbench Measuring Progress…∴…∴…………∴……l00 Coverage-Driven Random-Based Approach 101 Measuring progress∴..…∴.……………l01 From Features to Functional Coverage∴……103 From features to Testbench 05 From features to generators ................107 Directed testcases .,,l09 Summary ,,111 CHAPTER 4 High-Level modeling 13 High-Level versus RTL Thinking ...............113 Contrasting the approaches∴∴……∴…∴….Il5 You gotta Have style! ........................117 A Question of discipline∴.∴∴……∴…….I17 Optimize the right Thing ,I18 Good Comments Improve Maintainability ,,Ⅰ21 Structure of High-Level Code ......... 122 Encapsulation Hides Implementation Details ... 122 Encapsulating Useful Subprograms.∴…∴….125 Encapsulating Bus-Functional Models 127 Data abstraction ●鲁鲁··鲁 130 2- state Data types∵… Struct. Class 131 Union Arrays l39 Q teles 1 4I Associative Arrays .............. 143 From High-Level to Physical-Level Object-Oriented Programming ........ 147 l47 Inheritance Writing Testbenches using System Verilog Polymorphisn…………∴…∴……∴……l56 g 15 Connectivity, ime and Concurrency∴.…∴….l60 The Problems with Concurrency ..,l60 Emulating Parallelism on a Sequential Processor .. 162 The simulation Cycle l63 Parallel vs. Sequential 169 ForkJoin Statement 70 The Difference Between Driving and Assigning ... 173 Race Conditions 176 Read write race conditions .............177 Write/Write race Conditions I80 Initialization rac l82 Guidelines for Avoiding Race Conditions l83 Semaphores ,,Ⅰ84 Portability Issues ............. 186 Events from Overwritten Scheduled values .,Ⅰ86 Disabled scheduled values .....................187 Output Arguments on Disabled Tasks∴∴…188 Non-Re-Entrant Tasks 88 Static vs. Automatic variables ..................193 S ummary 196 CHAPTER 5 Stimulus and response 197 Reference Signals..…∴…∴∴,198 Time resolution is 199 Aligning Signals in delta-imne∴.……∴…….201 Asynchronous Reference signal 203 .205 Random generation of Reference Signal Parameters 206 Applying re 208 Simple stimulus ,,,,,,,,,,,,,,,.212 Applying Synchronous Data Values∴∴…∴.2l2 Abstracting Waveform generation 214 Simple output 216 isual Inspection of response∴…∴…… 217 Producing simulation Results .......... 217 Minimizing sampling∴…∴∴ 219 Visual Inspection of Waveforms∴… 220 Writing Testbenches using System Verilog Table of contents Self-Checking Testbenches 221 nput and Output vectors∴∴∴……∴ ,221 Self-Checking Operations ,,,224 Complex stimulus 227 Feedback Between Stimulus and design.…∴228 Recovering from Deadlock 228 Asynchronous Interfaces ..,,,231 Bus-Functional models .,234 CPUT7 ansactions,,,,,,,,,,,,,,,,,,,,234 From Bus-Functional Tasks to Bus-Functional Model 236 Physical Interface .238 Configurable Bus-Functional Models 243 246 Autonomous monitors ,,,,249 Slave generators.,,,,,,,,,,,,,,,,,.,,253 Multiple possible transactions .255 Transaction-Level Interface ,,,,258 Procedural Interface vs Dataflow Interface 259 What is a transaction?............. 263 Blocking transacti 265 Nonblocking transactions 265 Split transactions 267 Exceptions ,270 ummary ,278 CHAPTER 6 Architecting Testbenches 279 Verification ha 280 Design Configurat Abstracting Design Configuration ,,,,,,285 Configuring the design∴……∴……∴…….288 Random Design Configuration 290 Self-Checking Testbenches .......... 292 Hard Coded response∴……∴…… 294 Data Tagging∴∴∴∴…………∴∴……..295 Reference Model ,,,,,,,,,,.297 Transfer Functio 299 Scoreboarding ,,,,,,,300 Integration with the Transaction layer ...........302 Writing Testbenches using System Verilog 【实例截图】
【核心代码】

标签:

实例下载地址

Writing Testbenches using systemverilog.pdf

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警