Professional Documents
Culture Documents
3.1. IR (opcode) the most significant bits of the instruction make up the op-
Code. This the real instruction part of the instruction, that tells the cpu
what to do. The instruction in IR (opcode) gets decoded and executed by
the control unit, CU.
3.2 IR (address) The least significant bits of the instruction are actually data.
They get moved to IR (address). As the name suggests they usually form
all or part of an address for later use in the MAR. (Sometimes | actually
in immediate addressing | they are sent to the AC.)
4 .ADRESS REGISTOR
The Memory Address Register is used to store the address to access
Memory.
5. ACUMULATOR
The Accumulator is used to store data that is being worked on by the
ALU, and is the key register in the data section of the CPU. Notice that the
memory can't access the AC directly. The MBR is an intermediary.
6. MULTIPLEXER (MUX)
It has multiple input (by control unit) selects single out put or selected
A multiplexer of 2n inputs has n select lines, which are used to select which input line
to send to the output.
7.THE CONTROL UNIT :-is the entity responsible for fetching the instruction to be
executed from the main memory and decoding and then executing it.
The CPU fetches instructions from memory, reads and writes data from and to memory,
and transfers data from and to input/output devices.
8. DATA REGISTER :-is a region of memory storage within a computer commonly
used as a temporary storage for data to or from a peripheral device or memory.
ONE MACHINE CYCLE
T1 A.BUS PC (CPU)
T2 C.BUS RD (CPU)
PC PC +1
T3 D.BUS M.DATA
T4 I.REGR D.BUS
DATAPATH ARCHITECTURE
C-bus
CONTROL
INST_REGR ADRESS BUS
DATA
ADRE _REGR M BUS
U
X
1 memory
DATA1_REGR
ALU
DATA2_REGR 0/1
MUX0
PC
0/1 ACCUMULATOR
T1 A.BUS PC (CPU)
(Address bus) (Program counter)
Cpu (central processing unit) placed the address bus the address
of the next instruction to be fetched . Address is sent to
memory by the address bus
T1 A.BUS PC (CPU) C-bus
CONTROL
IN_REGR
ADRESS BUS
AD _REGR M
U memory
X
1
D1_REGR
ALU
D2_REGR 0/1
MUX0
PC
S4S3S2S1S0
0/1 ACCUMULATOR
T2 C.BUS RD (CPU)
(Control bus) (Read)
PCPC+1
DATA
ADRE _REGR M BUS
U
X
1 memory
DATA1_REGR
ALU
DATA2_REGR 0/1
MUX0
PC
ACCUMULATOR
T3 D.BUS M.DATA
(Data Bus) (Memory Data)
data from a memory placed in data bus
The memory responds immediately or if the memory is not ready, a wait state TW: is introduced
until it is ready with the required data) then data from memory is placed on the D-bus via MUX 1
C-bus
CONTROL
INST_REGR
ADRESS BUS
data-bus
ADRE _REGR M
U
X
1
DATA1_REGR memory
ALU
DATA2_REGR 0/1
MUX0
PC
S4S3S2S1S0
0/1
T4) I.REGR D.BUS
ADRE _REGR M
U
X
memory
DATA1_REGR
ALU
DATA2_REGR 0/1
MUX
PC
S4S3S2S1S0
0/1
System Architecture
SYSTEM BUS
R
R D
D R
Addr Y Addr DATA
DATA D
Y
ADDRESS CONTROL INSTRUCTIO
PC N
DECODER
I -REG
Addr DATA
DECODER M M R
A U
U D
L X
X CNTRL
U 1
0
0/1 0/1
C4
C3
C2
C1
c0
MEMORY
Control input
DATA
REGISTER1 DATA
REGISTER2
CPU
I-REGR AD-REGR D1-REGR D2-REGR MUX0 MUX 1
PC ALU
IN OUT IN OUT IN OUT IN OUT IN OUT
Let assume the the ALU conrol input /selector 00101 then the when
we take the instruction at T1
I-REGR AD-REGR D1-REGR D2-REGR MUX0 MUX 1
PC ALU
IN OUT IN OUT IN OUT IN OUT IN OUT
T1: 0 0 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1
Addres MEM
T1 in memory as Decoder T1
microword
T1 ABUS PC
CBUS RD(CPU)
T2 P PC+1
Here The memory responds immediately or if the memory is not ready, a wait state
TW: is introduced until it is ready with the required data) then data from memory is
placed on the D-bus via MUX 1
1 0
T3 READY?
Tw
DATA BUS MEMORY
DATA 1 0
READY?