12
7/31/2019 DataPath Organisation III Sem http://slidepdf.com/reader/full/datapath-organisation-iii-sem 1/12

DataPath Organisation III Sem

Embed Size (px)

Citation preview

Page 1: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 1/12

Page 2: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 2/12

Page 3: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 3/12

09/08/2012 3

The CPU can be divided into:

Data section and Control Section

Data section

The data section, also called the data path, contains theregisters and the ALU.

The data path is capable of performing certain operations

on data items.

Page 4: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 4/12

09/08/2012 4

Control section is basically the control unit, which

issues control signals to the Data path.

Data move from one register to another and between

 ALU and registers.

Internal data movements are performed via local

buses, which may carry data, instructions, and

addresses.

Internal data movement among registers and between

the ALU and registers may be carried out using different

organizations including one-bus, two-bus or three-bus

organizations.

Control section

Page 5: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 5/12

Page 6: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 6/12

One-Bus Organization

09/08/2012 6

Since a bus can handle only a single data movement

within one clock cycle, two-operand operations will need

two cycles to fetch the operands for the ALU.

Additional registers may also be needed to buffer data

for the ALU.

This bus organization is the simplest and least

expensive but it limits the amount of data transfer that

can be done in the same clock cycle, which will slow

down the overall performance.

Page 7: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 7/12

09/08/2012 7

Two-Bus Organization

Using two buses is a faster solution than the one bus

organization.

Page 8: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 8/12

09/08/2012 8

Two-Bus Organization

General-purpose registers are connected to both busses.

Data can be transferred from two different registers to the

input point of the ALU at the same time.

A two-operand operation can fetch both operands at the

same clock cycle.

An additional buffer register may be needed to hold the

output of the ALU when the two busses are busy carrying

the two operands.

In some cases, one of the busses may be dedicated for 

moving data into registers (in-bus), while the other is 

dedicated for transferring data out of the registers (out-bus). 

Page 9: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 9/12

09/08/2012 9

Two-Bus Data path with in-bus and out-bus

Page 10: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 10/12

09/08/2012 10

Three-Bus Organization

Two buses may be used as source busses while the third is

used as destination.

Page 11: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 11/12

09/08/2012 11

Three-Bus Organization

The source busses move data out of registers (out- 

bus), and the destination bus may move data into aregister (in-bus).

Each of the two out-busses is connected to an ALU

input point.

The output of the ALU is connected directly to the in-

bus.

The more busses we have, the more data we can

move within a single clock cycle.

However, increasing the number of busses will also

increase the complexity of the hardware.

Page 12: DataPath Organisation III Sem

7/31/2019 DataPath Organisation III Sem

http://slidepdf.com/reader/full/datapath-organisation-iii-sem 12/12

09/08/2012 12

THANK YOU