Skip to main content

Testbench Fundamentals

  • Chapter
  • First Online:
Open Verification Methodology Cookbook
  • 1240 Accesses

Abstract

To answer does-it-work questions, we need to stimulate the design with known stimulus and determine if the design responds as intended. That is, we need to control and observe the DUT.

Two of the most fundamental objects in testbenches are drivers and monitors. A driver converts a stream of transactions into activity on a pin-level interface. A monitor does the opposite; it converts activity on a pin-level interface into a stream of transactions. Drivers are used to control the DUT by applying stimulus, and monitors are used to observe the responses.

To understand how to build and use drivers and monitors, we will start with a transaction-level example that illustrates a stimulus generator (memory master) connected with a memory slave. The memory slave is a stand-in for a driver. Whereas a true driver has a pin-level connection, the memory slave does not. What the memory slave and driver have in common is that their transaction interfaces and their internal architecture are the same. After building an understanding of the transaction-level example, we will expand it to use pin-level communication.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mark Glasser .

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag New York

About this chapter

Cite this chapter

Glasser, M. (2009). Testbench Fundamentals. In: Open Verification Methodology Cookbook. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-0968-8_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4419-0968-8_5

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4419-0967-1

  • Online ISBN: 978-1-4419-0968-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics