Computer System Architecture
Computer System Architecture
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-2
1-1 Digital Computers
System S/W
OS, Firmware, Compiler, Device
Driver ROM BIOS
Computer H/W
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-3
1-1 Digital Computers continued
Computer Hardware
CPU
Memory
Program Memory(ROM)
Memory
Data Memory(RAM)
I/O Device
Interface: 8251 SIO, 8255 PIO,
6845 CRTC, 8272 FDC, 8237
DMAC, 8279 KDI CPU
Input Device: Keyboard, Mouse,
Scanner
Output Device: Printer, Plotter,
Display
Input Output
Storage Device(I/O): FDD, HDD, Device
Interface Device
MOD
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-4
1-1 Digital Computers continued
Computer Design
H/W Design/Implementation
Computer Architecture
Structure and behavior of the computer as seen by the user
Information format, Instruction set, memory addressing, CPU, I/O, Memory
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-5
1-1 Digital Computers
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-6
1-2 Logic Gates
George Boole
Born: 2 Nov 1815 in Lincoln,
Lincolnshire, England
Died: 8 Dec 1864 in Ballintemple,
County Cork, Ireland
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-7
1-3 Boolean Algebra
Boolean Algebra
Deals with binary variable(A, B, x, y: T/F or 1/0) + logic
operation(AND, OR, NOT…)
Boolean Function: variable + operation
F(x, y, z) = x + y’z
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-8
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-9
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-10
1-4 Map Simplification
Karnaugh Map(K-Map)
Map method for simplifying Boolean expressions
Minterm / Maxterm
Minterm : n variables product ( x=1, x’=0)
Maxterm : n variables sum (x=0, x’=1)
2 variables example
x y Minterm Maxterm
0 0 x'y' m0 x +y M0
0 1 x'y m1 x + y' M1
1 0 x y' m2 x'+ y M2
1 1 x y m3 x'+ y' M3
m 0 + m1 + m2 + m3 M0 M1 M2 M3
F = x’y + xy
m1 m3
(1,3) ( m1 + m3 )
(0,2) (Complement = M0 M2 )
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-11
Map
2 variables 3 variables 4 variables
C
B B
0 1 0 1 3 2
0 1 3 2
A 2 3 A 4 5 7 6 4 5 7 6 B
A
12 13 15 14
C
5 variables C
8 9 11 10
D
0 1 3 2 6 7 5 4
8 9 11 10 14 15 13 12
B
A
24 25 27 26 30 31 29 28
16 17 19 18 22 23 21 20
E D F
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-12
F= x + y’z
(1) Truth Table (2) F ( x , y , z ) (1,4,5,6,7 )
x y z F Minterm (3)
y
0 0 0 0 m0
0 0 1 1 m1 0 1 3 2
0 1 0 0 m2
4 5 7 6
0 1 1 0 m3 x
1 0 0 1 m4
z
1 0 1 1 m5
1 1 0 1 m6
1 1 1 1 m7 F= x + y’z
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-13
Adjacent Square
Number of square = 2n (2, 4, 8, ….)
0 1 3 2
The squares at the extreme ends of the 4 5 7 6
same horizontal row are to be
considered adjacent
0 1 3 2
4 5 7 6
The same applies to the top and 12 13 15 14
bottom squares of a column 8 9 11 10
0 1 3 2
The four corner squares of a map must 0 1 3 2
4 5 7 6
be considered to be adjacent 4 5 7 6
12 13 15 14
8 9 11 10
Groups of combined adjacent squares
0 1 3 2
may share one or more squares with
one or more group 4 5 7 6
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-14
B
F ( A, B, C ) (3,4,6,7)
0 1 3 2
F=AC’ + BC A 4 5 7 6
C B
F ( A, B, C ) (0,2,4,5,6) 0 1 3 2
F=C’ + AB’ A 4 5 7 6
C C
F ( A, B, C , D ) (0,1,2,6,8,9,10)
0 1 3 2
F=C’ + AB’
4 5 7 6 B
A
12 13 15 14
Product-of-Sums Simplification 8 9 11 10
F ( A, B, C , D ) (0,1,2,5,8,9,10) D C
NAND Implementation
Sum of Product : F=B’D’ + B’C’ + A’C’D
B’
D’
C’
A’
D
NOR Implementation
Product of Sum : F=(A’ + B’)(C’ + D’)(B’ + D)
A’
B’
C’
D’
D’ B
Don’t care conditions 0 1 3 2
X X
F(A,B,C)=(0, 2, 6), d(A,B,C)= (1, 3, 5) 4 5 7 6
A X
F=A’ + BC’= (0, 1, 2, 3, 6) C
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-16
1-5 Combinational Circuits
Combinational Circuits
A connected arrangement of logic gates with a set of inputs and outputs
Fig. 1-15 Block diagram of a combinational circuit
i0 f0
i1 Combinational f1
...
...
Circuits
(Logic Gates)
in fm
Analysis
Logic circuits diagram Boolean function or Truth table
Design(Analysis의 반대) Experience
1. The Problem is stated
2. I/O variables are assigned
3. Truth table(I/O relation)
4. Simplified Boolean Function(Map 과 Boolean 대수 이용)
5. Logic circuit diagram
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.
1-17
Computer System Architecture Chap. 1 Digital Logic Circuits Dept. of Info. Of Computer.