38
Hanbat National University Prof. Lee Jaeheung Computer System Architecture(1,2) Computer System Architecture(1,2)

Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

Hanbat National University Prof. Lee Jaeheung

Computer SystemArchitecture(1,2장)Computer SystemArchitecture(1,2장)

Page 2: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

2Hanbat National University Prof. Lee Jaeheung

DIGITAL LOGIC CIRCUITSDIGITAL LOGIC CIRCUITS

(Logic Gates)

(Boolean Algebra)

(Map Simplification)

(Combinational Circuits)

(Flip-Flops)

(Sequential Circuits)

(Memory Components)

(Integrated Circuits)

Page 3: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

3Hanbat National University Prof. Lee Jaeheung

LOGIC GATESLOGIC GATES

디지털 컴퓨터

컴퓨터가 2진 바이너리 신호를 이용하여 디지털 정보를 표현

왜 2진수인가 ? 10진수 외 다른 수 대신 이용이 불가능할까 ?Electronic signal

signalrange

0

1 76543210

binary octal0 1 2 3 4 5 6 7 8 9

0 0 1 2 3 4 5 6 7 8 91 1 2 3 4 5 6 7 8 9 102 2 3 4 5 6 7 8 9 10113 3 4 5 6 7 8 9 1011124 4 5 6 7 8 9 101112135 5 6 7 8 9 10111213146 6 7 8 9 101112131415 7 7 8 9 101112131415168 8 9 10111213141516179 9 101112131415161718

0 10 11 10

01

Consider the calculation cost - Add

Page 4: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

4Hanbat National University Prof. Lee Jaeheung

BASIC LOGIC BLOCK - GATE -BASIC LOGIC BLOCK - GATE -

두 타입의 기초 블럭

Combinational (조합) 논리 블록Logic Blocks whose output logic value오직 현재 입력 값에 의해 출력값이 결정

Sequential (순차) 논리 블록Logic Blocks whose output logic value현재 입력값과 블록의 상태값(저장된 정보)에 의해 출력값이 결정

회로 함수의 표현 방법Truth TableBoolean FunctionKarnaugh Map

Gate...

BinaryDigitalInputSignal

BinaryDigitalOutputSignal

Page 5: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

5Hanbat National University Prof. Lee Jaeheung

COMBINATIONAL GATESCOMBINATIONAL GATES

A X X = (A + B)’

B

Name Symbol Function Truth Table

AND A X = A • B

X orB X = AB

0 0 00 1 01 0 01 1 1

0 0 00 1 11 0 11 1 1

OR A X X = A + B

B

I A X X = A’

Buffer A X X = A

NAND A X X = (AB)’

B

NOR

XORExclusive OR

A X = A ⊕ BX or

B X = A’B + AB’

A X = (A ⊕ B)’X or

B X = A’B’+ ABXNOR

Exclusive NORor Equivalence

A B X

A B X

0 01 1

A X

0 0 10 1 11 0 11 1 0

0 0 10 1 01 0 01 1 0

A B X

A B X

0 0 00 1 11 0 11 1 0

0 0 10 1 01 0 01 1 1

A B X

A B X

0 11 0

A X

Page 6: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

6Hanbat National University Prof. Lee Jaeheung

LOGIC CIRCUIT DESIGNLOGIC CIRCUIT DESIGN

x y z F0 0 0 00 0 1 10 1 0 00 1 1 01 0 0 11 0 1 11 1 0 11 1 1 1

F = x + y’z

xy

z

F

TruthTable

BooleanFunction

LogicDiagram

Page 7: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

7Hanbat National University Prof. Lee Jaeheung

BOOLEAN ALGEBRABOOLEAN ALGEBRA부울 대수

2진 변수와 논리 연산자로 구성된 대수부울 대수는 디지털 논리합성과 분석에 유용

입출력 신호는 부울 변수에 의해 표현디지털 논리 함수는 논리연산자에 의해서 표현(Boolean Function)부울 함수로 부터 AND, OR, I 로 논리 다이어그램을 구성

진리표

디지털 논리 회로의 가장 기초적인 표현은 진리표

입력값의 모든 조합(MINTERMS)으로 출력을 표현한 테이블

n 입력 변수 → 2n minterms

Page 8: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

8Hanbat National University Prof. Lee Jaeheung

[1] x + 0 = x [3] x + 1 = 1[5] x + x = x[7] x + x’ = 1[9] x + y = y + x[11] x + (y + z) = (x + y) + z[13] x(y + z) = xy +xz[15] (x + y)’ = x’y’[17] (x’)’ = x

[2] x • 0 = 0[4] x • 1 = x[6] x • x = x[8] x • X’ = 0[10] xy = yx[12] x(yz) = (xy)z[14] x + yz = (x + y)(x + z)[16] (xy)’ = x’ + y’

[15] and [16] : De Morgan’s Theorem-- logic gates

-- AND, OR, I-- NANDs NORs

De Morgansx’y’ = (x + y)’ x’+ y’= (xy)’I, AND NOR I, OR NAND

Page 9: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

9Hanbat National University Prof. Lee Jaeheung

EQUIVALENT CIRCUITS

F = ABC + ABC’ + A’C … (1) = AB(C + C’) + A’C [13] (2) = AB • 1 + A’C [7] = AB + A’C [4] (3)

Many different logic diagrams are possible for a given Function

ABC(1)

(2)

(3)

F

AB

C F

F

AB

C

Page 10: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

10Hanbat National University Prof. Lee Jaeheung

COMPLEMENT OF FUNCTIONSAND, OR, Invert operator

. .

- .

A,B,...,Z,a,b,...,z ⇒ A’,B’,...,Z’,a’,b’,...,z’(p + q) ⇒ (p + q)’

- .

AND ⇒ OROR ⇒ AND

- , .

(x1 + x2 + ... + xn )’ ⇒ x1’x2’... xn’

(x1x2 ... xn)' ⇒ x1' + x2' +...+ xn'

Page 11: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

11Hanbat National University Prof. Lee Jaeheung

SIMPLIFICATIONSIMPLIFICATION

TruthTable

BooleanFunction

Unique Many different expressions exist

- . - , .- , .

.

TruthTable

Booleanfunction

KarnaughMap

SimplifiedBooleanFunction

Page 12: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

12Hanbat National University Prof. Lee Jaeheung

x F0 11 0

x01

01

x01

01

Karnaugh Map valueof F

Identificationof the cell

x y F0 0 00 1 11 0 11 1 1

xy 0 1

01

0 1

2 3

xy 0 1

01

0 11 0

F(x) =

F(x,y) = ∑ (1,2)

1-cell

∑ (1)

n개의입력을갖는논리회로(n-variable sum-of-products form of Boolean Function, or Truth Table)

- 2n개의셀로구성-각셀은최소항(minterm)-함수값f(x)는최소항의조합으로표현함수 f(x)의값은각입력값의최소항의조합→ 1-셀, 0-셀

-이진표현으로나타내어지는입력값은십진수의표현과동일

KARNAUGH MAP

Page 13: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

13Hanbat National University Prof. Lee Jaeheung

KARNAUGH MAP

0 1 0 11 0 0 0

xyz

00 01 11 100 0 1 3 2

4 5 7 6

xyz

00 01 11 1001F(x,y,z) = ∑ (1,2,4)

1x

y

z

uvwx 00 01 11 1000011110

0 1 3 2

4 5 7 6

12 13 15 14

8 9 11 10

uvwx 00 01 11 10000111 0 0 0 110 1 1 1 0

0 1 1 00 0 0 1

F(u,v,w,x) = ∑ (1,3,6,8,9,11,14)

u

v

w

x

0 0 0 00 0 1 10 1 0 10 1 1 01 0 0 11 0 1 01 1 0 01 1 1 0

x y z F

0 0 0 0 00 0 0 1 10 0 1 0 00 0 1 1 10 1 0 0 00 1 0 1 00 1 1 0 10 1 1 1 01 0 0 0 11 0 0 1 11 0 1 0 01 0 1 1 11 1 0 0 01 1 0 1 01 1 1 0 11 1 1 1 0

u v w x F

Page 14: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

14Hanbat National University Prof. Lee Jaeheung

MAP SIMPLIFICATION - 2 ADJACENT CELLS -

Adjacent cells

-이진표현은비트안에있는것과다르다.→인접한셀최소항은각각다른변수를가지고있다.

-인접한셀 (1,0), (1,1) 의최소항은, x • y’ --> x=1, y=0x • y --> x=1, y=1

F = xy’+ xy can be reduced to F = x From the map

Rule: xy’ +xy = x(y+y’) = x

xy 0 1

01 1 1

0 0∑ (2,3)F(x,y) =

2 adjacent cells xy’ and xy→merge them to a larger cell x

= xy’+ xy= x

Page 15: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

15Hanbat National University Prof. Lee Jaeheung

MAP SIMPLIFICATION MORE THAN 2 CELLS

u’v’w’x’ + u’v’w’x + u’v’wx + u’v’wx’= u’v’w’(x’+x) + u’v’w(x+x’)= u’v’w’ + u’v’w= u’v’(w’+w) = u’v’

uvwx

1 1 1 1

1 11 1

uvwx

1 1 1 11 1

1 1uv

w

x

uv

w

x

u’v’

uw

u’x’

v’x

1 11 1

vw’

u’v’w’x’+u’v’w’x+u’vw’x’+u’vw’x+uvw’x’+uvw’x+uv’w’x’+uv’w’x= u’v’w’(x’+x) + u’vw’(x’+x) + uvw’(x’+x) + uv’w’(x’+x)= u’(v’+v)w’ + u(v’+v)w’= (u’+u)w’ = w’

uv

w

x

uvwx

1 11 11 11 1 u

v

uv

1 11 1

1 11 1

1 1 1 1

x

w’

u

V’w

Page 16: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

16Hanbat National University Prof. Lee Jaeheung

MAP SIMPLIFICATION

(0,1), (0,2), (0,4), (0,8)Adjacent Cells of 1Adjacent Cells of 0

(1,0), (1,3), (1,5), (1,9)......Adjacent Cells of 15

(15,7), (15,11), (15,13), (15,14)

uv

F(u,v,w,x) = ∑ (0,1,2,9,13,15)

Merge (0,1) and (0,2)--> u’v’w’ + u’v’x’

Merge (1,9)--> v’w’x

Merge (9,13)--> uw’x

Merge (13,15)--> uvx

F = u’v’w’ + u’v’x’ + v’w’x + uw’x + uvxBut (9,13) is covered by (1,9) and (13,15)

F = u’v’w’ + u’v’x’ + v’w’x + uvx

wx00 01 11 10

0001 0 0 0 011 0 1 1 010 0 1 0 0

1 1 0 1

uv

w

x

0 0 0 01 1 0 1

0 1 1 00 1 0 0

Page 17: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

17Hanbat National University Prof. Lee Jaeheung

IMPLEMENTATION OF K-MAPS - Sum-of-Products Form -

Logic function represented by a Karnaugh mapcan be implemented in the form of I-AND-OR

A cell or a collection of the adjacent 1-cells canbe realized by an AND gate, with some inversion of the input variables.

x

y

z

x’y’z’

x’yz’xyz’

1 11

F(x,y,z) = ∑ (0,2,6)

1 11

x’z’

yz’

x’yxyz’

x’y’z’

Fxzyz

F

I AND OR

z’⇒

Page 18: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

18Hanbat National University Prof. Lee Jaeheung

IMPLEMENTATION OF K-MAPS -Product-of-Sums Form -

Logic function represented by a Karnaugh mapcan be implemented in the form of I-OR-AND

If we implement a Karnaugh map using 0-cells,the complement of F, i.e., F’, can be obtained.Thus, by complementing F’ using DeMorgan’stheorem F can be obtained

F(x,y,z) = (0,2,6)

x

y

zxy’

zF’ = xy’ + z

F = (xy’)z’= (x’ + y)z’

xy

z F

I OR AND

0 01 10 0 0 1

Page 19: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

19Hanbat National University Prof. Lee Jaeheung

IMPLEMENTATION OF K-MAPS- Don’t-Care Conditions -

In some logic circuits, the output responsesfor some input conditions are don’t care whether they are 1 or 0.

In K-maps, don’t-care conditions are representedby d’s in the corresponding cells.

Don’t-care conditions are useful in minimizingthe logic functions using K-map.

- Can be considered either 1 or 0- Thus increases the chances of merging cells into the larger cells

--> Reduce the number of variables in the product terms

x

y

z

1 d d 1d 1

x’

yz’

xyz

F

Page 20: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

20Hanbat National University Prof. Lee Jaeheung

COMBINATIONAL LOGIC CIRCUITS

Half Adder

x

y

x

y

c = xy s = xy’ + x’y= x ⊕ y

xy c

s

0 0 0 00 1 0 11 0 0 11 1 1 0

x y c s0

10

00

01

1

cn = xy + xcn-1+ ycn-1= xy + (x ⊕ y)cn-1

s = x’y’cn-1+x’yc’n-1+xy’c’n-1+xycn-1= x ⊕ y ⊕ cn-1 = (x ⊕ y) ⊕ cn-1x

y

cn-1x

y

cn-1

cn sxy

cn-1

S

cn

Full Adder

0 0 0 0 00 0 1 0 10 1 0 0 10 1 1 1 01 0 0 0 11 0 1 1 01 1 0 1 01 1 1 1 1

x y cn-1 cn s

0010

0111

0101

1010

Page 21: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

21Hanbat National University Prof. Lee Jaeheung

COMBINATIONAL LOGIC CIRCUITS

Other Combinational Circuits

MultiplexerEncoderDecoderParity CheckerParity Generatoretc

Page 22: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

22Hanbat National University Prof. Lee Jaeheung

MULTIPLEXER4-to-1 Multiplexer

I0

I1

I2

I3

S0S1

Y

0 0 I00 1 I11 0 I21 1 I3

Select OutputS1 S0 Y

Page 23: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

23Hanbat National University Prof. Lee Jaeheung

ENCODER/DECODEROctal-to-Binary Encoder

D1D2

D3

D5D6D7

D4

A0

A1

A2

A0

A1E

D0

D1

D2

D3

0 0 0 0 1 1 10 0 1 1 0 1 10 1 0 1 1 0 10 1 1 1 1 1 01 d d 1 1 1 1

E A1 A0 D0 D1 D2 D3

2-to-4 Decoder

Page 24: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

24Hanbat National University Prof. Lee Jaeheung

FLIP FLOPSCharacteristics

- 2 stable states- Memory capability- Operation is specified by a Characteristic Table

0-state 1-stateIn order to be used in the computer circuits, state of the flip flop should have input terminals and output terminals so that it can be set to a certainstate, and its state can be read externally.

R

S

Q

Q’

S R Q(t+1)0 0 Q(t)0 1 01 0 11 1 indeterminate

(forbidden)

1 0 0 1

0 1 1 0

Page 25: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

25Hanbat National University Prof. Lee Jaeheung

CLOCKED FLIP FLOPSIn a large digital system with many flip flops, operations of individual flip flops

are required to be synchronized to a clock pulse. Otherwise, the operations of the system may be unpredictable.

R

S

Q

Q’

c(clock)

S Qc

R Q’

S Qc

R Q’operates when operates whenclock is high clock is low

Clock pulse allows the flip flop to change state only when there is a clock pulse appearing at the c terminal.

We call above flip flop a Clocked RS Latch, and symbolically as

Page 26: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

26Hanbat National University Prof. Lee Jaeheung

RS-LATCH WITH PRESET AND CLEAR INPUTS

R

S

Q

Q’

c(clock)

P(preset)

clr(clear)

S Qc

R Q’

S Qc

R Q’

P

clr

P

clr

S Qc

R Q’

P

clr

S Qc

R Q’

P

clr

Page 27: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

27Hanbat National University Prof. Lee Jaeheung

D-LATCH

D-LatchForbidden input values are forced not to occurby using an inverter between the inputs

Q

Q’D(data)

E(enable)

D Q

E Q’

E Q’

D Q

D Q(t+1)0 01 1

Page 28: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

28Hanbat National University Prof. Lee Jaeheung

EDGE-TRIGGERED FLIP FLOPSCharacteristics

- State transition occurs at the rising edge orfalling edge of the clock pulse

Latches

Edge-triggered Flip Flops (positive)

respond to the input only during these periods

respond to the input only at this time

Page 29: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

29Hanbat National University Prof. Lee Jaeheung

POSITIVE EDGE-TRIGGERED

T-Flip Flop: JK-Flip Flop whose J and K inputs are tied together to make T input. Toggles whenever there is a pulse on T input.

D-Flip Flop

JK-Flip Flop

S1 Q1

C1

R1 Q1'

S2 Q2

C2

R2 Q2'

D

C

Q

Q'

D

C

Q

Q'

SR1 SR2

SR1 active

SR2 active

D-FF

S1 Q1

C1

R1 Q1'

S2 Q2

C2

R2 Q2'

SR1 SR2J

KC

Q

Q'

J QC

K Q'

SR1 activeSR2 inactive SR2 inactive

SR1 inactive

Page 30: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

30Hanbat National University Prof. Lee Jaeheung

CLOCK PERIODClock period determines how fast the digital circuit operates.How can we determine the clock period ?

Usually, digital circuits are sequential circuits which has some flip flops

CombinationalLogicCircuit

FF FF

Combinational logic DelayFF Setup TimeFF Hold TimeFF Delay

td ts,thclock period T = td + ts + th

.

.

.

...FFC

CombinationalLogic Circuit

FF FF

.

.

.

Page 31: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

31Hanbat National University Prof. Lee Jaeheung

DESIGN EXAMPLEDesign Procedure:

Specification ⇒ State Diagram ⇒ State Table ⇒Excitation Table ⇒ Karnaugh Map ⇒ Circuit Diagram

Example: 2-bit Counter -> 2 FF's

current next state input state FF inputsA B x A B Ja Ka Jb Kb0 0 0 0 0 0 d 0 d0 0 1 0 1 0 d 1 d0 1 0 0 1 0 d d 00 1 1 1 0 1 d d 11 0 0 1 0 d 0 0 d1 0 1 1 1 d 0 1 d1 1 0 1 1 d 0 d 01 1 1 0 0 d 1 d 1

A

B

x

Ja

1

d dd d

xA

B

Ka

d dd d

1

Kb

A

B

x11

dd

dd

Ja = Bx Ka = Bx Jb = x Kb = x clock

00

01

10

11

x=0

x=1

x=0

x=1

x=0

x=1x=0

x=1

J QC

K Q'

J QC

K Q'

x AA

B

x1 d1 d

d

dJb

B

Page 32: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

32Hanbat National University Prof. Lee Jaeheung

SEQUENTIAL CIRCUITS - Registers

Bidirectional Shift Register with Parallel Load

DQ

C DQ

C DQ

C DQ

C

A0 A1 A2 A3

ClockI0 I1 I2 I3

Shift Registers

D QC

D QC

D QC

D QC

SerialInput

Clock

SerialOutput

DQ

C DQ

C DQ

C DQ

C

A0 A1 A2A3

4 x 1MUX

4 x 1MUX

4 x 1MUX

4 x 1MUX

Clock S0S1 SeriaIInput

I0 I1 I2 I3SerialInput

Page 33: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

33Hanbat National University Prof. Lee Jaeheung

SEQUENTIUAL CIRCUITS -Counters

J K

Q

J K

Q

J K

Q

J K

Q

Clock

CounterEnable

A0 A1 A2 A3

OutputCarry

Page 34: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

34Hanbat National University Prof. Lee Jaeheung

MEMORY COMPONENTSLogical Organization

Random Access Memory

- Each word has a unique address- Access to a word requires the same time

independent of the location of the word- Organization

words(byte, or n bytes)

2k Words(n bits/word)

n data input lines

n data output lines

k address lines

Read

Write

0

N - 1

Page 35: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

35Hanbat National University Prof. Lee Jaeheung

READ ONLY MEMORY(ROM)특징-오직읽기연산에만-롬에있는정보는생산되는동안에기록-구성도============>>

출력정보는오직입력라인의정보에달려있다.

-> 조합논리회로 address OutputABC X0 X1 X2 X3 X4

m x n ROM(m=2k)

k address input lines

n data output lines

X0=A’B’ + B’CX1=A’B’C + A’BC’X2=BC + AB’C’X3=A’BC’ + AB’X4=AB

X0=A’B’C’ + A’B’C + AB’CX1=A’B’C + A’BC’X2=A’BC + AB’C’ + ABCX3=A’BC’ + AB’C’ + AB’CX4=ABC’ + ABCCanonical minterms

1 0 0 0 01 1 0 0 00 1 0 1 00 0 1 0 00 0 1 1 01 0 0 1 00 0 0 0 10 0 1 0 1

000001010011100101110111

Page 36: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

36Hanbat National University Prof. Lee Jaeheung

TYPES OF ROMROM

-- MASK Pattern -- . --> .

PROM (Programmable ROM)- PROM -- . -> .

-> .

EPROM (Erasable PROM)-- . .- , . .

.

Page 37: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

37Hanbat National University Prof. Lee Jaeheung

INTEGRATED CIRCUITSINTEGRATED CIRCUITS

‧ SSI - (small-scale integration) - 10-

‧ MSI - (medium-scale integration) - 10 200- : , ,

‧ LSI - (large-scale integration) - 200 1000- : ,

‧ VLSI - (very-large-scale integration) -- ,

Page 38: Computer System Architecture(1,2장artoa.hanbat.ac.kr/lecture_data/computer_architecture/com_arch01,02.pdf · Architecture(1,2장) 2 Hanbat National University Prof. Lee Jaeheung

38Hanbat National University Prof. Lee Jaeheung

INTEGRATED CIRCUITSINTEGRATED CIRCUITS

‧ TTL(transistor-transistor logic) -- TTL TTL, TTL, (Schottky) TTL- 5v, Level 0v 3.5v

‧ ECL(emitter-coupled logic) --- (Propagation Delay Time) 1~2 nano

‧ MOS(metal-oxide semiconductor) -- NMOS

‧ CMOS(complementary MOS) - NMOS CMOS- , ,