Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout =

Similar documents
Computer Architecture and Organization

1. Convert the decimal number to binary, octal, and hexadecimal.

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

Microprocessor Design

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

Principles of Computer Architecture. Appendix A: Digital Logic

Chapter 3. Boolean Algebra and Digital Logic

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

St. MARTIN S ENGINEERING COLLEGE

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING

Final Exam review: chapter 4 and 5. Supplement 3 and 4

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

Chapter 5: Synchronous Sequential Logic

Department of Computer Science and Engineering Question Bank- Even Semester:

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Digital Principles and Design

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

CHAPTER 4: Logic Circuits

THE KENYA POLYTECHNIC

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

Chapter 5 Synchronous Sequential Logic

MODULE 3. Combinational & Sequential logic



Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

EE292: Fundamentals of ECE

Course Administration

Combinational / Sequential Logic

Synchronous Sequential Logic. Chapter 5

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

LESSON PLAN. Sub Code: EE2255 Sub Name: DIGITAL LOGIC CIRCUITS Unit: I Branch: EEE Semester: IV

Subject : EE6301 DIGITAL LOGIC CIRCUITS

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

EECS 270 Final Exam Spring 2012

DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY CS6201-DIGITAL PRINCIPLE AND SYSTEM DESIGN. I Year/ II Sem PART-A TWO MARKS UNIT-I

Chapter 11 State Machine Design

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Sequential Logic Circuits

CHAPTER 4: Logic Circuits

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

ELCT201: DIGITAL LOGIC DESIGN

CPS311 Lecture: Sequential Circuits

Part II. Chapter2: Synchronous Sequential Logic

Lecture 8: Sequential Logic

ME 515 Mechatronics. Introduction to Digital Electronics

MC9211 Computer Organization

COMP2611: Computer Organization. Introduction to Digital Logic

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Advanced Digital Logic Design EECS 303

ECE 263 Digital Systems, Fall 2015

Question Bank. Unit 1. Digital Principles, Digital Logic

Chapter 5 Sequential Circuits

Laboratory Objectives and outcomes for Digital Design Lab

AM AM AM AM PM PM PM

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 2 Logistics

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

DIGITAL PRINCIPLES AND SYSTEM DESIGN

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

COE328 Course Outline. Fall 2007

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

WINTER 14 EXAMINATION

CS 151 Final. Instructions: Student ID. (Last Name) (First Name) Signature

A Review of logic design

211: Computer Architecture Summer 2016

Software Engineering 2DA4. Slides 3: Optimized Implementation of Logic Functions

Course Plan. Course Articulation Matrix: Mapping of Course Outcomes (COs) with Program Outcomes (POs) PSO-1 PSO-2

UNIVERSITY OF MASSACHUSSETS LOWELL Department of Electrical & Computer Engineering Course Syllabus for Logic Design Fall 2013

BHARATHIDASAN ENGINEERING COLLEGE, NATTRAMPALLI DEPARTMENT OF ECE

Logic. Andrew Mark Allen March 4, 2012

Combinational vs Sequential

Lecture 11: Synchronous Sequential Logic

Where Are We Now? e.g., ADD $S0 $S1 $S2?? Computed by digital circuit. CSCI 402: Computer Architectures. Some basics of Logic Design (Appendix B)

Chapter. Synchronous Sequential Circuits

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Code No: A R09 Set No. 2

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Digital Circuits. Electrical & Computer Engineering Department (ECED) Course Notes ECED2200. ECED2200 Digital Circuits Notes 2012 Dalhousie University

ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY ELAMBALUR, PERAMBALUR DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

Unit 11. Latches and Flip-Flops

Logic Design II (17.342) Spring Lecture Outline

REPEAT EXAMINATIONS 2002

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

North Shore Community College

2 Marks Q&A. Digital Electronics. K. Michael Mahesh M.E.,MIET. Asst. Prof/ECE Dept.

Transcription:

1 Review of Digital Logic Design Fundamentals Logic circuits: 1. Combinational Logic: No memory, present output depends only on the present input 2. Sequential Logic: Has memory, present output depends not only on the present input, but also on the past sequence of inputs 1.1 Combinational Logic 1. Positive logic High voltage: Logic 1, Low voltage: Logic 0 2. Devices: gates, adders, MUX, decoder 3. Minimization techniques a. Boolean algebra b. K-map approach c. Tabular approach (Quine-Mclusky Method) d. Software (e.g., espresso) 4. Behavior can be specified by a truth table that gives the network outputs for each combination of input values Example: one-bit full adder Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout = 1

1.2 Boolean algebra and Algebraic Simplification 1. Laws and theorems 2. Four ways of simplifying a logic expression a. Combining terms e.g.: ABC D + ABCD b. Eliminating terms e.g.: A B + A BC c. Eliminating literals e.g.: A B + A B C D + ABCD d. Adding redundant terms e.g.: WX + XY + X Z + WY Z 1.3 Karnaugh Maps Convenient to simplify logic functions of 3-5 variables 1 indicates that minterm is present 0 indicates that minterm is absent x indicates don t care The variable values along the edge of the map are ordered so that adjacent squares on the map differ in only one variable. e.g.1: e.g.2: 1.4 Design with NAND and NOR gates In many technologies, implementation of NAND and NOR gates is easier than AND or OR gates 2

1.5 Hazards in combinational circuits When the input to a combinational network changes, unwanted switching transients may appear at the output Reason: Different paths from input to output have different propagation delays 1. Static 1 (0) hazard If, in response to an output change and for some combination of propagation delays, a network output may momentarily go to 0 (1) when it should remain a constant 1 (0), we say the network has a static 1 (0) hazard. 2. Dynamic hazard If, when the output is suppose to change from 0 to 1 (or 1 to 0), the output may change three or more times, we say the network has a dynamic hazard. 3

Static hazard example: How to remove static hazard? 1.6 Sequential logic devices flip-flop (FFs) and latches D-FF: Q(t+1) = D JK-FF: Q(t+1) = J Q (t) + K Q(t) T-FF: Q(t+1) = Q(t) xor T 1.7 Mealy machine and Moore machine Two basic types of sequential networks: Mealy network: Outputs depend on both present state and present inputs General model: combinational network is used to generate outputs and next state Moore network: Outputs depend only on the present state 4

1.8 Digital Systems Design 1. Examples: Computer, data acquisition system, digital control, communications systems, appliances, e.g., car, microwave oven, washer, drier, etc. 2. Digital systems consists of Hardware + [Software] Software exist if a microprocessor is included more complex, flexible 3. Two parts of a digital hardware Datapath + Controller Processing unit (work unit) Control unit Consists of working components (management unit) (e.g., address, memory, decoders, counters, registers, mux, ) Usually repeated and voluminous 4. For datapath design: Strive for efficiency, that is, low hardware, higher speed, minimize # of FFs and # of gates 5. For controller design: Unique to each system, usually many I/O but simple circuit Clarity, flexible are important Use design techniques that may not lead to an efficient design but facilitate ease of design and modification One FF per state (one-hot design) 6. Two types of digital system circuits Combinational circuit: memoryless Sequential circuit: has memory Synchronous sequential circuit: circuits has explicit memory elements such as FFs Asynchronous sequential circuit: w/o FFs, may or may not have latches, very complex and rarely used, not discussed in course 7. Digital circuit design Combinational parts: o Logic circuits where outputs depend only on the current input combination o gates, decoders, adders, MUXs, etc. o Minimization techniques Sequential parts: consist nothing but FFs o Circuit where outputs at any time not only depends on its current input, but also the past sequence of inputs that have been applied Circuit with memory o Latch, FF, registers, shift registers, counters 5

o Design procedure Two standard ways to present an output Choose one FF for each state (one-hot design) Use # of FFs log 2 (# of states), design procedure ASM chart 8. The output of the combinational circuits will decode the input of the sequential circuit, the inputs can be from the output of the sequential circuits (feedback) or from the external input. Always, don t let the primary outputs hang around combinational logic Synthesis tools work best when outputs registered 9. Speed of a digital circuit 1. Propagation delay of the combinational circuits Consider the worst case, i.e., slowest, signal that comes out last 2. Clock speed 6