




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Summary about How to design a processor?, Structure – The CPU, DESIGN OF BASIC COMPUTER(BC), BASIC COMPUTER REGISTERS, Register – 1 bit, Control Unit.
Typology: Study notes
1 / 28
This page cannot be seen from the preview
Don't miss anything!





















CPU
I/O
Memory
System
Bus
CPU
BASIC COMPUTER REGISTERS
DR 16 Data Register Holds memory operand
AR 12 Address Register Holds address for memory
AC 16 Accumulator Processor register
IR 16 Instruction Register Holds instruction code
PC 12 Program Counter Holds address of instruction
TR 16 Temporary Register Holds temporary data
INPR 8 Input Register Holds input character
OUTR 8 Output Register Holds output character
Registers
PC
IR
TR
OUTR
DR
AC
AR
INPR
Memory
4096 x 16
CPU
▫A Binary counter with load and clear
control
Refer Chapter 2 – figure 2-
▫4096*16 = 8kb
▫Realized using Block RAM available on
FPGA
COMMON DATA BUS SYSTEM
Registers
S
S
S
Bus
Memory unit
4096 x 16
LD INR CLR
Address
Write Read
AR
LD INR CLR
PC
LD INR CLR
DR
LD INR CLR
ALU AC
E
INPR
IR
LD
LD INR CLR
TR
OUTR
LD
Clock
16-bit common bus
7 1 2 3 4 5 6
Control
Unit
ALU
Registers
Internal
Bus
Control Unit
TIMING AND CONTROL
Control unit of Basic Computer
Timing and control
Instruction register (IR)
3 x 8
decoder
7 6 5 4 3 2 1 0
15 14.... 2 1 0
4 x 16
decoder
4-bit
sequence
counter
Increment (INR)
Clear (CLR)
Clock
Other inputs
Control
signals
Combinational
Control
logic
Register-Reference
CLA
CLE
CMA
CME
CIR
CIL
INC
SPA
SNA
SZA
SZE
HLT
Input-Output
INP
OUT
SKI
SKO
ION
IOF
D 7
IT 3
= r
IR(i) = B i
r:
rB 11
:
rB 10
:
rB 9
:
rB 8
:
rB 7
:
rB 6
:
rB 5
:
rB 4
:
rB 3
:
rB 2
:
rB 1
:
rB 0
:
D 7
IT 3
= p
IR(i) = B i
p:
pB 11
:
pB 10
:
pB 9
:
pB 8
:
(Common to all register-reference instr)
(i = 0,1,2, ..., 11)
SC 0
AC 0
E 0
AC AC
E E
AC shr AC, AC(15) E, E AC(0)
AC shl AC, AC(0) E, E AC(15)
AC AC + 1
If(AC(15) =0) then (PC PC + 1)
If(AC(15) =1) then (PC PC + 1)
If(AC = 0) then (PC PC + 1)
If(E=0) then (PC PC + 1)
S 0
(Common to all input-output instructions)
(i = 6,7,8,9,10,11)
SC 0
AC(0-7) INPR, FGI 0
OUTR AC(0-7), FGO 0
If(FGI=1) then (PC PC + 1)
If(FGO=1) then (PC PC + 1)
IEN 1
IEN 0
Description
COMPLETE COMPUTER DESCRIPTION
PC, DR, IR, TR, OUTR, INPR, and SC )
▫ LD, INR and CLR
flip-flops( I, S, E, R, IEN, FGI, and FGO )
, S
1
, S
0
controls to select a register for
the bus’s
CONTROL OF REGISTERS AND MEMORY
0
4
1
4
2
4
6
4
6
5
0
4
: DR M[AR] LD(DR)
1
4
: DR M[AR] LD(DR)
2
4
: DR M[AR] LD(DR))
6
4
: DR M[AR] LD(DR)
6
5
Design of Basic Computer
CONTROL OF REGISTERS AND MEMORY
4
4
: PC AR LD(PC)
5
5
: PC AR LD(PC)
1
1
2
6
6
and DR=0: PC PC + 1 INR(PC)
rB 4
and AC(15): PC PC + 1 INR(PC)
rB 3
and AC(15): PC PC + 1 INR(PC)
rB 2
and AC=0: PC PC + 1 INR(PC)
rB 1
and E’: PC PC + 1 INR(PC)
pB 9
and FGI: PC PC + 1 INR(PC)
pB 8
and FGO: PC PC + 1 INR(PC)
Design of Basic Computer