Published online by Cambridge University Press: 05 June 2012
INTRODUCTION
Chapter 5 described the design of serial execution model processors that have either hardwired or microprogrammed control. In this chapter, the techniques used in pipelining are described. Pipelining, sometimes called assembly line processing, has its roots in manufacturing technology. Auto pioneer Henry Ford is generally credited with developing the assembly line for constructing the Model T automobile. There is an unverified story that Ford visited a packing plant in Chicago and saw the disassembly of beef cattle. He is said to have observed that if one can take something apart on a disassembly line then one can do the reverse. Thus the germ of an idea was planted.
A pipelined processor has functional units for each function performed in the interpretation of an instruction. In some cases, the functional units perform more than one operation. Instructions flow into the pipeline and results flow out. The transit time (latency) through the pipeline may be long, but in most cases it is the rate of flow through the pipeline that is important. This is also true of the pipeline that brings water into your home. You don't care how many miles or days it took the water to get to you from the lake; you are only concerned that the flow rate is sufficient.
Base Pipelined Processor
As discussed in Chapter 5 and shown in Figure 5.4, the steps required for interpreting an instruction of the load/store ISA are as follows:
Fetch instruction.
Decode instruction.
Read registers.
Execute.
Compute effective addresses for data and branch target.
Read or write memory.
Write to register.
Test for a branch.
Increment program counter.
To save this book to your Kindle, first ensure [email protected] 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.
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.
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.