Chapter 6_ Arithmetic Logic Unit and Data Path

0.0(0)
studied byStudied by 11 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

Arithmetic Logic Unit (ALU)

  • basic operations of the computers of earlier times are representing and storing numbers

  • is the mathematical brain of a computer

  • a digital circuit that provides arithmetic and logic operations.

  • the fundamental building block of the central processing unit of a computer.

  • Loads data from the input register.

  • Stores output in an output register after calculation/manipulation.

2
New cards

Registers,

Control Unit

ALU modern CPU contains (2)

3
New cards

Registers

  • A small amount of storage available to the CPU.

  • can be accessed very fast.

4
New cards

Control Unit

Tells ALU what operation to perform on the available data.

5
New cards

INTEL 74181

  • The first ALU (Arithmetic Logic Unit)

  • Implemented as part of the 7400 series TTL (TransistorTransistor Logic) integrated circuits.

  • Released by Intel in 1970

6
New cards

Data section (or Data Path),

Control section

CPU can be divided into two sections (2)

7
New cards

Bus

  • In early computers, were parallel electrical wires with multiple hardware connections.

  • A communication system that transfers data between components inside a computer, or between computers.

8
New cards

Address bus,

Data bus,

Control bus

Types of Bus (3)

9
New cards

Address bus

  • Transfers memory addresses from the processor to components.

  • A one-way communication.

10
New cards

Data bus

  • Carries the data between the processor and other components.

  • Bidirectional.

11
New cards

Control bus

  • Carries control signals from the processor to other components.

  • Unidirectional

12
New cards

Registers

  • Very fast computer memory which is used to execute programs and operations efficiently.

  • Serve as gates, sending signals to various components to carry out little tasks.

13
New cards

Register signals

Are directed by the control unit, which also operates the registers.

14
New cards

Program Counter (PC),

Instruction Register (IR),

Memory Address Register (MAR),

Memory Data Register (MDR),

General Purpose Register

Registers for In-Out Signal Data Storage (5)

15
New cards

Program Counter (PC)

  • A CPU register in the computer processor which has the address of the next instruction to be executed from memory

  • As each instruction gets fetched, it increases its stored value by 1.

  • It is a digital counter needed for faster execution of tasks as well as for tracking the current execution point.

16
New cards

Instruction Register (IR)

  • The part of a CPU’s control unit that holds the instruction currently being executed or decoded.

  • Specifically holds the instruction and provides it to the instruction decoder circuit.

17
New cards

Memory Address Register (MAR)

  • The CPU register that either stores the memory address from which data will be fetched from the CPU, or the address to which data will be sent and stored.

  • It is a temporary storage component in the CPU that temporarily stores the address (location) of the data sent by the memory unit until the instruction for the particular data is executed.

18
New cards

Memory Data Register (MDR)

  • The register in a computer’s processor, or central processing unit, CPU, that stores the data being transferred to and from the immediate access storage.

  • Also known as Memory Buffer Register (MBR).

19
New cards

Data Path

  • A data processing action takes place in the CPU, the data involved in that operation follows a particular path.

  • Made up of various functional components, such as multipliers or arithmetic logic units.

  • Required to do data processing operations.

20
New cards

One Bus Organization

  • is used for multiple purposes.

  • A set of the five register are connected with the single bus.

  • Memory read/write can be done with MAR and MDR.

  • The program counterpoints to the memory location from where the next instruction is to be fetched.

  • IR will hold the copy of the current instruction.

  • at a time only one operand can be read from the bus.

21
New cards

Two Bus Organization

  • were developed to overcome the disadvantage of one bus organization.

  • there are two buses.

  • The general-purpose register can read/write from both the buses.

  • In this case, two operands can be fetched at the same time because of the two buses.

  • One bus fetch operand for ALU and another bus fetch for register.

  • The situation arises when both buses are busy fetching operands, the output can be stored in a temporary register and when the buses are free, the particular output can be dumped on the buses.

  • From in-bus, the general-purpose register can read data and

  • to the out bus, the general-purpose registers can write data.

22
New cards

in-bus,

out-bus

versions of two bus organizations (2)

23
New cards

OUT bus1,

OUT bus2,

an IN bus

Three buses in Three Bus Organization

24
New cards

Three Bus Organization

  • From the out buses, we can get the operand which can come from the general-purpose register and evaluated in ALU and the output is dropped on In Bus so it can be sent to respective registers.

  • This implementation is a bit complex but faster in nature because in parallel two operands can flow into ALU and out of ALU.

  • It was developed to overcome the busy waiting problem of two bus organizations.

  • In this structure after execution, the output can be dropped on the bus without waiting because of the presence of an extra bus.

25
New cards

Multiple Bus Organizations

  • Main Advantages

    • Increase in size of the registers.

    • Reduction in the number of cycles for execution.

    • Increases the speed of execution or we can say faster execution.