Book description
What’s this AOP thing anyway, really—when you get right down to it—and can someone please explain what an aspect actually is?Aspect-Oriented Programming with the e Verification Language takes a pragmatic, example based, and fun approach to unraveling the mysteries of AOP. In this book, you’ll learn how to:
• Use AOP to organize your code in a way that makes it easy to deal with the things you really care about in your verification environments. Forget about organizing by classes, and start organizing by functionality, layers, components, protocols, functional coverage, checking, or anything that you decide is important to you
• Easily create flexible code that eases your development burden, and gives your users the power to quickly do what they need to do with your code
• Truly create a plug-and-play environment that allows you to add and remove functionality without modifying your code. Examples include how to use AOP to create pluggable debug modules, and a pluggable module that lets you check that your testbench is still working before you begin a regression
• Utilize AOP to sidestep those productivity roadblocks that seem to plague all projects at the most inconvenient of times
• Discover why “return is evil, and some other “gotchas with the AOP features of e
All of the methodologies, tips, and techniques described in this book have been developed and tested on real projects, with real people, real schedules and all of the associated problems that come with these. Only the ones that worked, and worked well, have made it in, so by following the advice given in this book, you’ll gain access to the true power of AOP while neatly avoiding the effort of working it all out yourself.
• Use AOP to organize your code in a way that makes it easy to deal with the things you really care about in your verification environments. Forget about organizing by classes, and start organizing by functionality, layers, components, protocols, functional coverage, checking, or anything that you decide is important to you
• Easily create flexible code that eases your development burden, and gives your users the power to quickly do what they need to do with your code
• Truly create a plug-and-play environment that allows you to add and remove functionality without modifying your code. Examples include how to use AOP to create pluggable debug modules, and a pluggable module that lets you check that your testbench is still working before you begin a regression
• Utilize AOP to sidestep those productivity roadblocks that seem to plague all projects at the most inconvenient of times
• Discover why “return is evil, and some other “gotchas with the AOP features of e
Table of contents
- Copyright
- Acknowledgments
- Foreword
- Preface
- About Verilab
- 1. Introduction to Aspect Oriented Programming (AOP)
-
2. AOP in e
- Introduction
- Advice
- Extension
- 2.1. How do I extend a class?
- 2.2. How do I extend a class for multiple values of a determinant?
- 2.3. How do I extend a type?
- 2.4. How do I introduce a new noncoverage member to a class?
- 2.5. How do I introduce a coverage group to a class?
- 2.6. How do I extend a coverage group?
- 2.7. How do I change the behavior of a method?
- 2.8. How do I limit the scope of my extensions?
- 2.9. Using return in method advice
- 2.10. Controlling the order of method extension calls
-
3. Using AOP to Organize Your Code
- 3.1. A word about style
-
3.2. What aspects do I want to use?
- Is this something I want to find again easily?
- Is this something I want to conditionally include at compile time?
- Is this something I want to isolate so I can assign it to someone?
- Is this something I want to isolate for review purposes?
- Is this dangerous code I can’t afford to forget about?
- Is this something that is obviously sliceable?
- Does this code prevent me from reusing the class/agent/eVC?
- Do I want/need to make this change noninvasively?
- 3.3. Mapping aspects to files
- 4. Creating Flexible Code
- 5. Creating Pluggable Code
- 6. Improving Your Productivity
- 7. AOP in Action
-
8. Analyzing e Code
- 8.1. The e toolkit
- 8.2. Finding class declarations and extensions
- 8.3. Finding the class inheritance hierarchy
- 8.4. Finding the determinants used by a class
- 8.5. Finding method declarations and extensions
- 8.6. Finding field declarations
- 8.7. Finding event declarations
- 8.8. Finding enumerated type declarations and extensions
- 8.9. How do I find where a value is added to a type?
- 8.10. Finding cover group declarations and extensions
- 8.11. Finding the source of a message in the log file
- 8.12. Finding aspects
- Bibliography
- Epilogue
Product information
- Title: Aspect-Oriented Programming with the e Verification Language
- Author(s):
- Release date: July 2010
- Publisher(s): Morgan Kaufmann
- ISBN: 9780080551555
You might also like
book
Network Distributed Computing: Fitscapes and Fallacies
Networked distributed systems: Foundations, breakthroughs, and implications Building tomorrow's ubiquitous, pervasive networked computing systems Technologies, protocols, …
book
Distributed Computing in Java 9
Explore the power of distributed computing to write concurrent, scalable applications in Java About This Book …
book
Introducing Mechanisms and APIs for Memory Management: Using Windows OS Native Runtime APIs
Explore and learn introductory topics about programming mechanisms for memory management available for Microsoft Windows. This …
book
Write Great Code, Volume 3
The field of software engineering may value team productivity over individual growth, but legendary computer scientist …