Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-x5cpj Total loading time: 0 Render date: 2024-07-27T20:28:09.234Z Has data issue: false hasContentIssue false

8 - Verification

Published online by Cambridge University Press:  31 October 2009

David J. Lilja
Affiliation:
University of Minnesota
Sachin S. Sapatnekar
Affiliation:
University of Minnesota
Get access

Summary

Aristotle maintained that women have fewer teeth than men; although he was twice married, it never occurred to him to verify this statement by examining his wives' mouths.

Bertrand Russell, (1872–1970).

A processor design cannot be considered complete until it has undergone a rigorous verification process. The goal of this verification process is to ensure that the processor behaves as specified in the ISA under all possible conditions and all possible input combinations. Of course, due to the number of potential inputs and states, this is an impossible goal. Instead, we try to verify each component of the processor as rigorously as possible within the given time and resource constraints. We also try to verify the operation of the entire processor after all of the components have been assembled into a complete system.

In this chapter, we first look at using Verilog test benches to verify the operation of individual processor modules. We examine two types of test bench. The first, which we call directed testing, uses inputs that are carefully chosen to exercise specific aspects of the module being tested. The second type of testing uses pseudorandom inputs to automatically exercise a very large number of input combinations.

After learning about these module-level testing techniques, we introduce the idea of self-test programs. These tests are written in the processor's assembly language, or in a high-level programming language that is compiled into the processor's assembly language. When the self-test program is executed, it verifies that the different operations it performs are actually being executed correctly. This testing technique is particularly useful for verifying the operation of the entire processor as each individual instruction is executed.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Verification
  • David J. Lilja, University of Minnesota, Sachin S. Sapatnekar, University of Minnesota
  • Book: Designing Digital Computer Systems with Verilog
  • Online publication: 31 October 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511607059.009
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Verification
  • David J. Lilja, University of Minnesota, Sachin S. Sapatnekar, University of Minnesota
  • Book: Designing Digital Computer Systems with Verilog
  • Online publication: 31 October 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511607059.009
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Verification
  • David J. Lilja, University of Minnesota, Sachin S. Sapatnekar, University of Minnesota
  • Book: Designing Digital Computer Systems with Verilog
  • Online publication: 31 October 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511607059.009
Available formats
×