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

6 - Pipelining

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

If you were plowing a field, which would you rather use? Two strong oxen or 1024 chickens?

Seymour Cray (1925–1996), father of supercomputing

Instruction partitioning for pipelining

In Section 4.3 we learned that the execution of a processor instruction consists of two basic steps: fetching the instruction from memory, and then executing it. In the simplest implementation of a processor, the complete fetch-execute cycle would be completed for one instruction before the next one begins. We saw this type of one-instruction-at-a-time operation in the algorithmic behavioral model in Chapter 4. To speed up the execution of instructions, however, we can break the fetch-execute cycle into several simpler sub-operations. We then can overlap the execution of different instructions in an assembly line fashion where each step in the assembly line is dedicated to performing one specific operation for each instruction. This assembly line processing is called pipelining.

The first step in designing a pipeline for a processor is to determine the smaller sub-operations within the fetch-execute cycle that must be performed to execute an instruction. For the VeSPA processor, each instruction will perform some of the following sub-operations, although not all of the instructions will perform all of the operations:

  • Fetch the instruction from memory.

  • Increment the program counter.

  • Fetch the operands from the registers.

  • Compute a memory address.

  • Read an operand from memory.

  • Write a result to the memory or to a register.

The next step in designing the pipeline for VeSPA, or for any other processor ISA, is to determine how these individual operations should be partitioned into the different stages of the pipeline.

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.

  • Pipelining
  • 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.007
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.

  • Pipelining
  • 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.007
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.

  • Pipelining
  • 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.007
Available formats
×