from PART IV - A SIMPLIFIED DLX
Published online by Cambridge University Press: 05 November 2012
In this chapter, we show how to implement the simplified DLX. The implementation consists of two parts: a finite state machine, called the control, and a circuit containing registers and functional modules, called the datapath. The separation of the design into a controller and a datapath greatly simplifies the task of designing the simplified DLX.
The datapath contains all the modules needed to execute instructions. These modules include registers, a shifter, and an arithmetic logic unit. The control is the brain that uses the datapath to execute the instructions.
DATAPATH
In this section, we outline an implementation of the datapath of a simplified DLX, as depicted in Figure 22.1. We outline the implementation by specifying the inputs, outputs, and functionality of every module in the datapath. The implementation of every module is done by using the memory modules and the combinational circuits that we have implemented throughout this book. Note that Figure 22.1 is not complete: (i) inputs and outputs of the control FSM are not presented and (ii) some of the input–output ports, and their corresponding wires, are not presented. In fact, only wires that are 32-bit wide are presented in Figure 22.1.
The Outside World: The Memory Controller
We begin with the outside world, that is, the (external) memory. Recall that both the executed program and the data are stored in the memory.
The memory controller is a circuit that is positioned between theDLX and the main memory.
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.