Microsoft PowerPoint - CHAP-01 [호환 모드]

Similar documents
ºÎ·ÏB

untitled

Microsoft PowerPoint - CHAP-03 [호환 모드]

歯02-BooleanFunction.PDF

歯15-ROMPLD.PDF

Microsoft PowerPoint - AC3.pptx

Microsoft PowerPoint - ch03ysk2012.ppt [호환 모드]

歯03-ICFamily.PDF

4 CD Construct Special Model VI 2 nd Order Model VI 2 Note: Hands-on 1, 2 RC 1 RLC mass-spring-damper 2 2 ζ ω n (rad/sec) 2 ( ζ < 1), 1 (ζ = 1), ( ) 1

<32382DC3BBB0A2C0E5BED6C0DA2E687770>

디지털공학 5판 7-8장

PowerPoint 프레젠테이션

6자료집최종(6.8))

06_ÀÌÀçÈÆ¿Ü0926

MAX+plus II Getting Started - 무작정따라하기

歯1.PDF


step 1-1

ecorp-프로젝트제안서작성실무(양식3)

<BFA9BAD02DB0A1BBF3B1A4B0ED28C0CCBCF6B9FC2920B3BBC1F62E706466>

04-다시_고속철도61~80p

Å©·¹Àγ»Áö20p

Page 2 of 6 Here are the rules for conjugating Whether (or not) and If when using a Descriptive Verb. The only difference here from Action Verbs is wh


À±½Â¿í Ãâ·Â

<C0C7B7CAC0C720BBE7C8B8C0FB20B1E2B4C9B0FA20BAAFC8AD5FC0CCC7F6BCDB2E687770>

APOGEE Insight_KR_Base_3P11

PowerPoint 프레젠테이션

public key private key Encryption Algorithm Decryption Algorithm 1

2009년 국제법평론회 동계학술대회 일정

원고스타일 정의

Output file

Journal of Educational Innovation Research 2017, Vol. 27, No. 3, pp DOI: (NCS) Method of Con

#Ȳ¿ë¼®

K7VT2_QIG_v3

<B3EDB9AEC1FD5F3235C1FD2E687770>

Journal of Educational Innovation Research 2018, Vol. 28, No. 3, pp DOI: NCS : * A Study on

PowerChute Personal Edition v3.1.0 에이전트 사용 설명서

300 구보학보 12집. 1),,.,,, TV,,.,,,,,,..,...,....,... (recall). 2) 1) 양웅, 김충현, 김태원, 광고표현 수사법에 따른 이해와 선호 효과: 브랜드 인지도와 의미고정의 영향을 중심으로, 광고학연구 18권 2호, 2007 여름

Something that can be seen, touched or otherwise sensed

PJTROHMPCJPS.hwp

김기남_ATDC2016_160620_[키노트].key

03.Agile.key

<31325FB1E8B0E6BCBA2E687770>

Page 2 of 5 아니다 means to not be, and is therefore the opposite of 이다. While English simply turns words like to be or to exist negative by adding not,

DE1-SoC Board

11¹Ú´ö±Ô

PRO1_09E [읽기 전용]

INDUCTION MOTOR 표지.gul


大学4年生の正社員内定要因に関する実証分析

아니라 일본 지리지, 수로지 5, 지도 6 등을 함께 검토해야 하지만 여기서는 근대기 일본이 편찬한 조선 지리지와 부속지도만으로 연구대상을 한정하 기로 한다. Ⅱ. 1876~1905년 울릉도 독도 서술의 추이 1. 울릉도 독도 호칭의 혼란과 지도상의 불일치 일본이 조선


<B3EDB9AEC1FD5F3235C1FD2E687770>

금오공대 컴퓨터공학전공 강의자료

<BCF6BDC D31385FB0EDBCD3B5B5B7CEC8DEB0D4C5B8BFEEB5B5C0D4B1B8BBF3BFACB1B85FB1C7BFB5C0CE2E687770>

6주차.key

(Exposure) Exposure (Exposure Assesment) EMF Unknown to mechanism Health Effect (Effect) Unknown to mechanism Behavior pattern (Micro- Environment) Re

ISO17025.PDF

<32B1B3BDC32E687770>

Microsoft PowerPoint - ch07ysk2012.ppt [호환 모드]

Microsoft PowerPoint - hw4.ppt [호환 모드]

< C6AFC1FD28B1C7C7F5C1DF292E687770>

Slide 1

정진명 남재원 떠오르고 있다. 배달앱서비스는 소비자가 배달 앱서비스를 이용하여 배달음식점을 찾고 음식 을 주문하며, 대금을 결제까지 할 수 있는 서비 스를 말한다. 배달앱서비스는 간편한 음식 주문 과 바로결제 서비스를 바탕으로 전 연령층에서 빠르게 보급되고 있는 반면,

DIY 챗봇 - LangCon

pdf 16..

Buy one get one with discount promotional strategy

장양수

Journal of Educational Innovation Research 2019, Vol. 29, No. 1, pp DOI: * Suggestions of Ways

강의10

2 min 응용 말하기 01 I set my alarm for It goes off. 03 It doesn t go off. 04 I sleep in. 05 I make my bed. 06 I brush my teeth. 07 I take a shower.

대한한의학원전학회지26권4호-교정본(1125).hwp

FMX M JPG 15MB 320x240 30fps, 160Kbps 11MB View operation,, seek seek Random Access Average Read Sequential Read 12 FMX () 2

09김정식.PDF

1..

Journal of Educational Innovation Research 2018, Vol. 28, No. 1, pp DOI: A study on Characte

슬라이드 제목 없음

4번.hwp

보고서(겉표지).PDF

10주차.key

<B1E2C8B9BEC828BFCFBCBAC1F7C0FC29322E687770>

슬라이드 1

강의지침서 작성 양식

Vol.259 C O N T E N T S M O N T H L Y P U B L I C F I N A N C E F O R U M

<B7CEC4C3B8AEC6BCC0CEB9AEC7D B3E23130BFF9292E687770>

감각형 증강현실을 이용한

44-4대지.07이영희532~

H3050(aap)

<35335FBCDBC7D1C1A42DB8E2B8AEBDBAC5CDC0C720C0FCB1E2C0FB20C6AFBCBA20BAD0BCAE2E687770>

Product A4

소프트웨어개발방법론

<3130C0E5>

12Á¶±ÔÈŁ

- 2 -

DBPIA-NURIMEDIA


2 KHU 글로벌 기업법무 리뷰 제2권 제1호 또 내용적으로 중대한 위기를 맞이하게 되었고, 개인은 흡사 어항 속의 금붕어 와 같은 신세로 전락할 운명에 처해있다. 현대정보화 사회에서 개인의 사적 영역이 얼마나 침해되고 있는지 는 양 비디오 사건 과 같은 연예인들의 사

0125_ 워크샵 발표자료_완성.key

<31335FB1C7B0E6C7CABFDC2E687770>

Transcription:

컴퓨터구성 Lecture #2 Chapter : Digital Logic Circuits Spring, 203 컴퓨터구성 : Spring, 203: No. -

Digital Computer Definition Digital vs. nalog Digital computer is a digital system that performs various computational tasks Digital: a limited number of discrete values nalog: an uncountable number of continuous values Digits and Bit Digits: discrete elements Bits: a binary digit Most computers use bits to represent information So, we need to understand the binary system Why bits? Systems function more reliably if only two states are used 컴퓨터구성 : Spring, 203: No. - 2

Computer System Definition Hardware computer system is composed of hardware and software Consists of electronic components & electromechanical devices that comprise the physical entity of the device Software Consists of programs composed of a sequence of instructions System Software Collection of programs to make more effective use of computers Eample: Operating systems, Compilers 컴퓨터구성 : Spring, 203: No. - 3

Computer Organization Definition Computer organization is concerned with the way the hardware components operate and the way they are connected together to form a system Transparent to computer users Technologies TTL, ECL (in Chap. 2) Device Implementations Gates (ND, OR, ) & Flip-flops (SR, D, JK, T) Control Signals Hardwired, Micro-programmed 컴퓨터구성 : Spring, 203: No. - 4

Computer rchitecture Definition Computer architecture is concerned with the structure and the behavior of the computer as seen by the user Instruction set operation encoding, memory addressing techniques Data representations signed magnitude, floating-point ddressing direct, indirect, relative I/O mechanisms memory mapped, I/O mapped 컴퓨터구성 : Spring, 203: No. - 5

Computer Hardware Basic 5 Components Random-access Memory (RM) Central processing Unit Input devices Input-Output processor Output devices 컴퓨터구성 : Spring, 203: No. - 6

Boolean lgebra Preamble Boolean algebra is an algebra that deals with binary variables and logic operations Following three representations mean the same function Boolean Function lgebraic epression with binary variables, logic operation symbols, parenthesis & equal sign Truth Table relationship between the function and its variables Logic Diagram Epression of Boolean function using logic gates 컴퓨터구성 : Spring, 203: No. - 7

Logic Gates Binary information is represented in digital computers by physical quantities called electrical signals Gates are block hardware that process input signals and produce output signals of according to their functions ny gates can be replaced by a combination of NND or NOR Q: Make ND and OR circuits by using NND or NOR gates 컴퓨터구성 : Spring, 203: No. - 8

Logic Gates Table 컴퓨터구성 : Spring, 203: No. - 9

CMOS Gates Introduction Switch Transistor Logic Symbol B B B N - type C + ns C Gate Drain Source C V C - V BC + B B B P - type C - ps C Gate Source Drain C 컴퓨터구성 : Spring, 203: No. - 0

CMOS Gates NOT V DD V DD B B C ps C z z B B v in C ns v out v in C v out 컴퓨터구성 : Spring, 203: No. -

CMOS Gates NND / NOR V DD V DD z y z y 컴퓨터구성 : Spring, 203: No. - 2

CMOS Gates ND / OR V DD V DD z y z y 컴퓨터구성 : Spring, 203: No. - 3

Boolean lgebra Representation Methods Eample: Boolean Function F = + y z Truth Table y z F 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Logic Diagram y z F 컴퓨터구성 : Spring, 203: No. - 4

Boolean lgebra Simplification Why? To minimize the number of logic gates to reduce the propagation delay and the cost while performing the same function How? Using the basic identities of Boolean algebra Using the map simplification It is more difficult to use the algebra but when the involved variables are more than 4, above two methods have the same degree of difficulty 컴퓨터구성 : Spring, 203: No. - 5

Boolean lgebra Boolean Identites Identities of Boolean lgebra. + 0 = 3. + = 5. + = 7. + = 9. + y = y +. + (y + z) = ( + y) + z 3. (y + z) = y + z 5. ( + y) = + y 2. 0 = 0 4. = 6. = 8. = 0. y = y 2. (yz) = (y)z 4. + yz = ( + y)( + z) 6. (y) = + y 7. ( ) = Q: Prove Eq. 4 컴퓨터구성 : Spring, 203: No. - 6

Boolean lgebra Simplification using Boolean Identites E: Boolean Epression Simplification using Boolean lgebra Given: F = BC + BC + C Sol: F = BC + BC + C = B(C+C ) + C = B + C B C B F F C Q: What if the given epression is too comple?? 컴퓨터구성 : Spring, 203: No. - 7

Map Simplification Introduction & Minterm Pictorial method to simplify Boolean epressions Simple and straightforward Using a Karnaugh-Map Minterm: Each combination of variables in a truth table Eample: Minterm Epression F(, y, z) = (, 4, 5, 6) = + 4 + 5 + 6 = 00 + 00 + 0 + 0 = y z + y z + y z + yz Decimal Equivalents of Minterms y z F 0 0 0 0 0 0 0 2 0 0 0 3 0 0 4 0 0 5 0 6 0 7 8 minterms This is said to be in the form of sum-of-products 컴퓨터구성 : Spring, 203: No. - 8

Map Simplification K-map Format of the K-Map Pay attention to the ordering djacent squares iff two squares differ only one bit Squares are marked with 0 or according to minterm values Squares with 0 my be left blank for visibility 0 B BC 00 0 0 0 0 0 0 3 2 CD B 00 0 00 0 0 4 5 0 3 2 7 6 2 3 4 5 7 6 2 3 5 4 0 8 9 0 컴퓨터구성 : Spring, 203: No. - 9

Map Simplification Square Grouping Group adjacent squares that have so that... Grouped squares form a rectangle or square The number of squares in the group is power of 2 (2, 4, 8, 6,..) Make the group size as large as possible Eample: F(,B,C) = (, 3) F = B C + BC = C(B + B) = C BC 0 00 0 0 Find variables that do not change in the group C 컴퓨터구성 : Spring, 203: No. - 20

Map Simplification Square Grouping Eamples: F(,B,C) = (3,4,6,7) F(,B,C) = (0,2,4,5,6) F(,B,C,D) = (0,,2,6,8,9,0) BC 00 0 0 BC 00 0 0 B CD 00 0 0 0 0 00 0 0 F = BC + C F = C + B F = B D + B C + CD 컴퓨터구성 : Spring, 203: No. - 2

Map Simplification Procedure Summary Simplification Procedure Plot a map based on the number of variables Insert s or 0 s in squares based on minterm values Group adjacent squares whose minterms are Represent each grouped square with unchanging variables in the form of sum-of-products 컴퓨터구성 : Spring, 203: No. - 22

Map Simplification Product-of-Sums Form Underlying Principle: (F ) = F Find F by squaring 0 s in K-map instead of s Find F (F ) F(,B,C,D) = (0,,2,5,8,9,0) CD B 00 00 0 0 0 0 0 0 0 0 0 0 0 0 0 F = B + CD + BD F = ( +B )(C +D )(B +D) 컴퓨터구성 : Spring, 203: No. - 23

Map Simplification Don t-care Conditions Don t-care Conditions: the minterms that may produce either 0 or for the function are marked with an X in the map can be used to provide further simplification F(,B,C) = (0, 2, 6) d(,b,c) = (, 3, 5) BC 0 00 0 0 F = + BC F(,B,C) = (0,,2,3,6) 컴퓨터구성 : Spring, 203: No. - 24

Combinational Circuits Introduction connected arrangement of logic gates with a set of inputs and outputs n input variables Combinational Circuit m output variables Circuit Design Procedure Problem statement ssign letter symbols to I/O Build a truth table Simplification for each output Logic Diagram 컴퓨터구성 : Spring, 203: No. - 25

Combinational Circuits Half dder combinational circuit that performs the arithmetic addition of two bits Truth Table y C S Boolean Function S = y + y = y C = y 0 0 0 0 0 0 Logic Diagram 0 0 0 y S C 컴퓨터구성 : Spring, 203: No. - 26

Combinational Circuits Full dder combinational circuit that performs the arithmetic addition of three bits 0 0 0 0 Truth Table y z C S 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Boolean Function S = y z C = y + ( y + y )z y z = y + ( y)z Block Diagram F S C 컴퓨터구성 : Spring, 203: No. - 27

Flip-Flops Introduction Flip-Flop binary cell capable of storing one bit of information or 2 inputs 2 outputs: one for normal value; the other for compliment Maintains its state until directed by a clock pulse usually, by positive (0 ) clock edge state changes only upon the clock outputs are available always D Q clock Q No state changes Positive clock transition 컴퓨터구성 : Spring, 203: No. - 28

Flip-Flops SR Flip-flop Q(t+) = S(t) + R (t)q(t) S Q R Q S 0 0 R Q(t+) 0 Q(t) No change 0 Clear to 0 0 Set to? Indeterminate 컴퓨터구성 : Spring, 203: No. - 29

Flip-Flops D Flip-flop Q(t+) = D D Q D Q(t+) Q 0 0 Clear to 0 Set to Q: Can you make a D f/f using an SR f/f? D S Q R Q 컴퓨터구성 : Spring, 203: No. - 30

Flip-Flops JK Flip-flop Q(t+) = S(t)R (t) + S(t)R(t)Q (t) + S (t)r (t)q(t) J K Q(t+) J Q K Q 0 0 0 Q(t) No change 0 Clear to 0 0 Set to Q (t) Compliment Q: Can you make a JK f/f using an SR f/f? J S Q K R Q 컴퓨터구성 : Spring, 203: No. - 3

Flip-Flops T Flip-flop Q(t+) = Q(t) T T Q T Q(t+) Q 0 Q(t) Q (t) No change Compliment Q: Can you make a T f/f using an SR f/f? T S Q R Q 컴퓨터구성 : Spring, 203: No. - 32

Flip-Flops Edge-Triggered Flip-flop Revisit Synchronize the state change during a clock pulse State transitions occur when pulse level eceeds a predetermined threshold level Positive-edge or negative-edge transition depends on whether transition occurs on rising edge or falling edge of clock D Q clock Q No state changes Positive clock transition 컴퓨터구성 : Spring, 203: No. - 33

Flip-Flops Ecitation Table When designing a sequential circuit We have desired state transitions Need to define f/f s input Ecitation Table Lists required input combination for a given change of states You should fully understand the tables or 컴퓨터구성 : Spring, 203: No. - 34

Flip-Flops Ecitation Table SR Flip-Flop Q(t) Q(t+) S R 0 0 0 0 0 0 0 0 D Flip-Flop Q(t) Q(t+) D 0 0 0 0 0 0 JK Flip-Flop Q(t) Q(t+) J K 0 0 0 0 0 0 T Flip-Flop Q(t) Q(t+) D 0 0 0 0 0 0 컴퓨터구성 : Spring, 203: No. - 35

Sequential Circuits Introduction connection of flip-flops and logic gates with a set of inputs and outputs inputs Combinational Circuit clock Flip-Flops outputs 컴퓨터구성 : Spring, 203: No. - 36

Sequential Circuits State Transition Diagram Graphic presentation of states & their changes on certain inputs Eample: /0 D State named as 0/ /0 / B Change of states B 0/0 C 0/ Change of states on an input 0 & output is 컴퓨터구성 : Spring, 203: No. - 37

Sequential Circuits Design Procedure Given a problem statement Circuit Design Procedure Draw a State Transition Diagram ssign state Variables to the states Determine the types of flip-flops to use Translate state diagram to State Table with current states, inputs, outputs, net states Etend state table to Ecitation Table including inputs to flip-flops Determine Boolean functions for the outputs and for the inputs of flip-flops Draw a Logic Diagram 컴퓨터구성 : Spring, 203: No. - 38

Sequential Circuits Design Eample Problem statement: Design a clocked sequential circuit that goes through a repeated states K, L, M, and N when eternal input is while the state of the circuit remains unchanged when = 0 Procedure State Diagram Variables Flip-flop types State Table Ecitation Table Boolean functions Logic Diagram Step : State Transition Diagram 0 0 K N L M 0 0 컴퓨터구성 : Spring, 203: No. - 39

Sequential Circuits Design Eample Procedure State Diagram Variables Flip-flop types State Table Ecitation Table Boolean functions Logic Diagram Step 2: State Variables & Values 4 states 2 bits 2 variables & B for each bit B = 00 for state K, B = 0 for state L, etc. Step 3: Flip-flop types Need: Complimenting JK & T flip-flops No change SR & JK flip-flops We take JK flip-flops 컴퓨터구성 : Spring, 203: No. - 40

Sequential Circuits Design Eample Procedure State Diagram Variables Flip-flop types State Table Ecitation Table Boolean functions Logic Diagram Crt State State Table Ecitation Table input B B 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Net State Flip-flop Inputs J K J B K B 0 0 0 0 0 0 0 0 0 0 컴퓨터구성 : Spring, 203: No. - 4

Sequential Circuits Design Eample Procedure State Diagram Variables Flip-flop types B 0 00 0 0 B 0 00 0 0 State Table Ecitation Table Boolean function Logic Diagram J = B K = B B 00 0 0 B 00 0 0 0 0 J B = K B = 컴퓨터구성 : Spring, 203: No. - 42

Sequential Circuits Design Eample Procedure State Diagram Variables J Q Flip-flop types State Table Ecitation Table K Boolean function Logic Diagram J Q B J = B K = B J B = K B = K clock 컴퓨터구성 : Spring, 203: No. - 43

Homework #: Problems in Tetbook: -9, -3, -9, -20, -2 Vending Machine Design: Input: 50, 00 Coins Output: cup of coffee when the sum becomes 50 or more Conditions: No changes are paid. Once the sum reaches at over 50, the system restarts from the beginning. Your Job: Draw a logic diagram and show all your works. Due: Net Wednesday (203. 3. 25. Monday) before class begins 컴퓨터구성 : Spring, 203: No. - 44