CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

CT455: Computer Organization Logic gate
Programmable Logic Controllers.
Logical Design.
التصميم المنطقي Second Course
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
1 Digital Logic
Chapter 4 Gates and Circuits.
CHAPTER 3 Digital Logic Structures
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic.
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
So far, all of the logic circuits we have studied were basically based on the analysis and design of combinational digital circuits. The other major aspect.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Chapter 12 Digital Logic Circuit Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Chapter 4 Gates and Circuits.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
ECE 101 An Introduction to Information Technology Digital Logic.
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Chapter 4 Gates and Circuits.
Chapter 2: Fundamentals of Digital Electronics Dr Mohamed Menacer Taibah University
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
Digital Components and Combinational Circuits Sachin Kharady.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Introduction to Computer Engineering ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin.
Basic Sequential Components CT101 – Computing Systems Organization.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
CSCI-100 Introduction to Computing Hardware Design Part I.
Chapter 3 Digital Logic Structures. 3-2 Combinational vs. Sequential Combinational Circuit always gives the same output for a given set of inputs  ex:
In1200/04-PDS 1 TU-Delft Digital Logic. in1200/04-PDS 2 TU-Delft Unit of Information l Computers consist of digital (binary) circuits l Unit of information:
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Logic Design / Processor and Control Units Tony Diep.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Introduction to Computing Systems and Programming Digital Logic Structures.
 Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Digital Logic Design Ch1-1. Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic 
Logic Gates Unit 16.
Sequential Logic Design
Basics of Logic gates - Part 1
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Overview Introduction Logic Gates Flip Flops Registers Counters
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Flip Flop.
Reading: Hambley Chapters
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Fundamentals of Computer Science Part i2
Digital Logic Structures Logic gates & Boolean logic
AWIM Series Lawndale High School Experiment 6 Dec, 2017
Chapter 10.3 and 10.4: Combinatorial Circuits
Thought of the Day To be what we are, and to become
Digital Circuits and Logic
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
What are Logic Gates?.
Presentation transcript:

CHAPTER-2 Fundamentals of Digital Logic

Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital hardware) These circuits are fabricated on silicon wafers which form the chips. Chips have from tens to millions of transistors

What is a transistor?  Transistor is a semiconductor device used to control flow of electric current.  It has three connections to an external circuit.  The transistor provides amplification of a signal.  A small current(input)through one pair of terminal causes a large current through the other pair (output).

Working of a Transistor Transistor is used as a switch with a binary function: five volts – ON, less than five volts – OFF 0 volts = on 5 volts = off In a digital circuit, a signal is represented in one of two states or logic level. 0 = false = no 1 = true = yes

Working of a transistor B - Base C – Collector E - Emitter

Logic Gates Transistors are used to create logic gates. logic gates are blocks of hardware that produce signals of 0 or 1. There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR

How are digital circuits built ? Operations of logic gates are described using Boolean Algebra. And, or and not are Boolean functions. Transistors construct circuits which implement Boolean functions. Input and out put relationship of the binary variables can be represented as truth tables.

From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.

The 7400 series TTL integrated circuits

From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.

Combinatorial or combinational circuits: They consist of basic Boolean operations (AND, OR, NOT), and the output represents a Boolean function. They are logic circuits whose output depends upon the presently given input only. They don't have any memory. They are used to perform Boolean algebra on the present input and stored data. They do not have any clock.

Sequential circuits They are logic circuits whose output depend upon past output states. Flips-Flops (or Bistables) are the basic Sequential Logic Elements.basic Sequential Logic Elements Sequential circuits have state, which means sequential circuits have memory. State is updated based on a clock.

Flip-flop Flip-flop: It is a state maintaining mechanism. It is a binary cell capable of storing one bit of information. It has only one out put  A flip-flop maintains its state until directed by a clock pulse. Clock: It allows the hardware to operate without requiring the input to change. It emits alternating sequence of 0 and 1. NO. of times the clock cycles through 1 to 0 in a sec is its speed.

From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.

Binary counter A register which goes through a predetermined sequence of states when input is applied is a counter. A counter accumulates numeric total, it has multiple outputs When it reaches the maximum limit the counter is reset to zero, indicating an overflow. A counter which follows binary sequence is called a binary counter. N-bit binary counter is a register of n flip flops and sequence of states from 0 to 2 N - 1

From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.

State diagram of a 3-bit binary counter. It requires 3 flip flops and the sequence is 8. State transition occurs every time the clock pulse occurs. It takes input from the clock pulse and output depends on internal state (outputs are taken off each flip-flop in the counter

Multiplexer & de-multiplexer Multiplexer: It is a digital circuit with multiple signal inputs, which gives a single output. The out put is selected by a only one addressing input. De-multiplexer: It is a digital circuit that takes a single data input, and gives multiple outputs The addressing inputs select which one of the outputs will receive the input signal one or more address inputs

De-multiplexer n-bit binary number and produces an output on one of 2 n output lines. That means two, three, or four addressing lines, de- multiplex up to four, eight, or sixteen multiplexed signals respectively. 1-to-2 line decoder/de-multiplexer 2-to-4 line decoder/de-multiplexer 3-to-8 line decoder/de-multiplexer

From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.

Logic symbol for 2-line-to-4-line demultiplexer

2-line-to-4-line De-multiplexer

De-multiplexer Function Table D S1S0 Y0 Y1 Y2 Y3 D 0 0 D 000 D D 00 D D0 D D

From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.

Starting a Sequence To start the circuit connect another input (e.g. push button)to the counter reset. When the user pushes the button the counter resets to zero. Counter’s output becomes 000 When the de-multiplexer receives the input of all zero’s it turns on its first output.

Replication in hardware Hardware engineers prefer replication to iteration. Hence the need for minimization of the circuits. Rule is to optimize the Boolean formula’s forming the circuits. Ex : not (not x) = x, a pair of directly connected inverters are removed from the circuit without affecting the result. x nor (not x), nor gate and inverter used together will always give a zero.

From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.