1. Department of Computer and IT Engineering
University of Kurdistan
Computer Architecture
Register Transfer Language (RTL)
By: Dr. Alireza Abdollahpouri
2. 2
Datapath ( )
The ALU, registers and logic to perform operations on them
Control unit ( )
Generates signals to control datapath
Accepts status signals to perform sequencing
Control
unit
Data Path
ٌپزداسوذ یک اساسی بخش دي
8. 8
Multiplexer-Based Transfers
Consider
Which can also be expressed as
Block diagram?
2
0
)
1
2
(
)
1
0
(
)
1
1
( R
R
then
K
if
else
R
R
then
K
if
2
0
:
2
1
,
1
0
:
1
R
R
K
K
R
R
K
23. 23
م افشاري سخت ساسي ٌپياد
يکزياپزیشه
َا
ي
مىطق
ی
Ei
S1
S0
Ai
Bi
S0 S1
MUX
0
1
2
0 0
0 1
1 0
1 1
S1 S0 OutPut
B
A
E
B
A
E
B
A
E
A
E
3
31. 31
قسمت يک
مدار از
محاسباتي
قسمت يک
مدار از
منطقي
S1
S0
Bi
Ai
S1
S0
Bi
Ai
Di
Ei
Fi
Select
0
1
2
3
4x1
MUX
Ai-1 Ai+1
S3 S2 S1 S0 Cin
0 0 0 0 0
0 0 0 0 1
0 0 0 1 0
0 0 0 1 1
0 0 1 0 0
0 0 1 0 1
0 0 1 1 0
0 0 1 1 1
0 1 0 0 x
0 1 0 1 x
0 1 1 0 x
0 1 1 1 x
1 0 x x x
1 1 x x 0
F Operation
A+B
A+B+1
A+B
A - B
A
A+1
A -1
A
A B
A B
A B
A
shl A
shr A
ALU
S2
S3
Ci
Ci+1
: ALU
اسالیذ
21
اسالیذ
23