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

Similar documents
CHAPTER 3 Boolean Algebra and Digital Logic

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

BOOLEAN ALGEBRA & LOGIC GATES

Lecture 8: Synchronous Digital Systems

CSE140: Components and Design Techniques for Digital Systems

Simplifying Logic Circuits with Karnaugh Maps

Combinational Logic Design Process

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Gates, Circuits, and Boolean Algebra

2.0 Chapter Overview. 2.1 Boolean Algebra

Lecture 5: Gate Logic Logic Optimization

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps

Digital Logic Design Sequential circuits

Karnaugh Maps (K-map) Alternate representation of a truth table

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Digital Electronics Detailed Outline

Upon completion of unit 1.1, students will be able to

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

3.Basic Gate Combinations

Understanding Logic Design

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

Counters are sequential circuits which "count" through a specific state sequence.

Binary full adder. 2-bit ripple-carry adder. CSE 370 Spring 2006 Introduction to Digital Design Lecture 12: Adders

CSE140: Midterm 1 Solution and Rubric

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Counters and Decoders

CS311 Lecture: Sequential Circuits

EE360: Digital Design I Course Syllabus

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

ECE232: Hardware Organization and Design. Part 3: Verilog Tutorial. Basic Verilog

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

Lesson 12 Sequential Circuits: Flip-Flops

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

Two-level logic using NAND gates

Theory of Logic Circuits. Laboratory manual. Exercise 3

Binary Adders: Half Adders and Full Adders

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Chapter 5. Sequential Logic

Set-Reset (SR) Latch

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

ASYNCHRONOUS COUNTERS

BINARY CODED DECIMAL: B.C.D.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

ENEE 244 (01**). Spring Homework 5. Due back in class on Friday, April 28.

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Digital Systems. Syllabus 8/18/2010 1

CHAPTER 11 LATCHES AND FLIP-FLOPS

DEPARTMENT OF INFORMATION TECHNLOGY

Logic Reference Guide

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

Academic year: 2015/2016 Code: IES s ECTS credits: 6. Field of study: Electronics and Telecommunications Specialty: -

路 論 Chapter 15 System-Level Physical Design

The components. E3: Digital electronics. Goals:

ANALOG & DIGITAL ELECTRONICS

Philadelphia University Faculty of Information Technology Department of Computer Science Semester, 2007/2008.

Advanced Logic Design Techniques in Asynchronous Sequential Circuit Synthesis

CpE358/CS381. Switching Theory and Logical Design. Class 10

Memory Elements. Combinational logic cannot remember

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Course Requirements & Evaluation Methods

Logic in Computer Science: Logic Gates

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

Chapter 8. Sequential Circuits for Registers and Counters

Computer Engineering 290. Digital Design: I. Lecture Notes Summer 2002

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Asynchronous Counters. Asynchronous Counters

Finite State Machine. RTL Hardware Design by P. Chu. Chapter 10 1

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Unit 3 Boolean Algebra (Continued)

Layout of Multiple Cells

Combinational circuits

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

A New Paradigm for Synchronous State Machine Design in Verilog

Fault Modeling. Why model faults? Some real defects in VLSI and PCB Common fault models Stuck-at faults. Transistor faults Summary

Modeling Latches and Flip-flops

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Module 3: Floyd, Digital Fundamental

Microprocessor & Assembly Language

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

CSE140: Components and Design Techniques for Digital Systems

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Boolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Napier University. School of Engineering. Electronic Engineering A Module: SE42205 Digital Design

Computer organization

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) = Q(t) 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