DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.

Slides:



Advertisements
Similar presentations
Logic Gates A logic gate is an elementary building block of a digital circuit Most logic gates have two inputs and one output At any given moment, every.
Advertisements

Digital logic gates.
Programmable Logic Controllers.
5.4 Decoders A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Programmable Logic Controllers
Chapter 3 Basic Logic Gates 1.
Combinational Logic Design
Counter Circuits and VHDL State Machines
Chapter 4 Gates and Circuits.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
BCD to 7-Segment Display
Dewan Tanvir Ahmed SITE, UofO
Chapter 7 Counters and Registers
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Logic Gates Combinational Circuits
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
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.
Chapter 4 Gates and Circuits.
Boolean math is the cornerstone of digital communications, whether you are talking computers, PLC, or Cisco Routers on the Internet. ©Emil Decker, 2009.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Electronic Troubleshooting Chapter 10 Digital Circuits.
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
Introduction Each logical element or condition must always have a logic value of either "0" or "1", we also need to have ways to combine different logical.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Digital Logic Design Week 3
LOGIC GATES.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
Some basic electronics and truth tables Some material on truth tables can be found in Chapter 3 of Digital Principles (Tokheim)
Basic Digital Logic: NAND and NOR Gates Technician Series ©Paul Godin Last Update Dec 2014.
Counter Circuits and VHDL State Machines
Project: security lock system Idea: –Create a 4bit password using switches –Send data serially (one bit at a time) using an LED –Receive the code serially.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
ECE 320 Homework #3 1. Simplify the Boolean function F using the don’t care conditions d, in both S.O.P. and P.O.S. form: a) F=A’B’D’+A’CD+A’BC d=A’BC’D+ACD+AB’D’
Magnitude Comparator Dr. Ahmed Telba.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-1 Design Procedure 1Created by: Ms.Amany AlSaleh.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4 th edition. Chapter 4.
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
5-2-3 Analogue to Digital Converters (ADC). Analogue to Digital Conversion The process is now the opposite of that studied in Topic Now we wish.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Logic Functions While each logical element or condition must always have a logic value of either "0" or "1", we also need to have ways to combine different.
Logic Gates Unit 16.
40106B Schmitt Trigger (A way of switch De-Bouncing)
Boolean Algebra & Logic Gates
Basics of Logic gates - Part 1
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Combinational Logic Logic gates. and, or, not Derived gates.
Logic Gates.
Combinational Logic Design&Analysis.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Project: security lock system
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Computer Science 210 Computer Organization
Digital Electronics Lab 2 Instructor:
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Logic Gates.
KS4 Electricity – Electronic systems
Department of Electronics
Logic Gates AIM: To know the different types of logic gate
Presentation transcript:

DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004

Binary Numbers and Boolean Logic DecimalBinary

Binary Designations 2 3 = 82 2 = 42 1 = 22 0 = = 5 4 TH 3 RD 2 ND 1 ST As seen in the above example, the four digit binary representation of the number 5 is Binary numbers are read from right to left, and the total is the sum of all individual digits represented by a “1”. For “5”, the third or “4” digit is added to the first or “1” digit, bringing the total to five.

The AND gate implements the AND function. With the gate shown above, both inputs must have logic 1 (high) signals applied to them in order for the output to be logic 1. With either input at logic 0 (low), the output will be held to logic 0. The AND Gate is not limited to only two inputs. AND Gates are also commonly manufactured to have three or four inputs. AND Gate symbol

OR Gatesymbol + The OR gate is sort of the reverse of the AND gate. The OR function, like its verbal counterpart, allows the output to be true (logic 1) if any one or more of its inputs are true. Verbally, we might say, "If it is raining OR if I turn on the sprinkler, the lawn will be wet." Note that the lawn will still be wet if the sprinkler is on and it is also raining. This is correctly reflected by the basic OR function.

Inverter symbols ‾ or ~ Otherwise known as a NOT Gate The inverter is a little different from AND and OR gates in that it always has exactly one input as well as one output. Whatever logical state is applied to the input, the opposite state will appear at the output. For example, if a logic 0 is applied to the input, the output would be a logic 1. In the inverter symbol, the triangle actually denotes only an amplifier, which in digital terms means that it "cleans up" the signal but does not change its logical sense. It is the circle at the output, which denotes the logical inversion. The circle could have been placed at the input instead, and the logical meaning would still be the same. For shorthand, the inverter may simply be shown as the circle.

NAND Gate The NAND gate implements the NAND function, which is exactly inverted from the AND function you already examined. With the gate shown above, both inputs must have logic 1 signals applied to them in order for the output to be a logic 0. With either input at logic 0, the output will be held to logic 1. The circle at the output of the NAND gate denotes the logical inversion, just as it did at the output of the inverter. Also in the figure above, note that the overbar is a solid bar over both input values at once. This shows that it is the AND function itself that is inverted, rather than each separate input. =

NOR Gate The NOR gate is an OR gate with the output inverted. Where the OR gate allows the output to be true (logic 1) if any one or more of its inputs are true, the NOR gate inverts this and forces the output to logic 0 when any input is true. In symbols, the NOR function is designated with a plus sign (+), with an overbar over the entire expression to indicate the inversion. In logical diagrams, the symbol above designates the NOR gate. As expected, this is an OR gate with a circle to designate the inversion. =

XOR Gate Otherwise known as the Exclusive-OR The Exclusive-OR, or XOR function is an interesting and useful variation on the basic OR function. Verbally, it can be stated as, "Either A or B, but not both." The XOR gate produces a logic 1 output only if its two inputs are different. If the inputs are the same, the output is a logic 0. The XOR symbol is a variation on the standard OR symbol. It consists of a plus (+) sign with a circle around it. The logic symbol, as shown here, is a variation on the standard OR symbol.

Implementing a Function F = (AB) + (CD) Find F if A=1 B=0 C=0 D=1 F = (AB) (CD)

The Digital Timer LM555 Timer 74LS90 Binary Counter SCHS086 Decoder Seven-Segment Display Each decimal digit has its own binary code of ones and zeros. The counter tells the SCHS086 Decoder which sections of the seven-segment display to light up to show the proper number. So when the counter outputs 0001, the decoder will tell the two vertical right hand segments of the display to light up. The timer/clock is a standard LM555 astable oscillator configuration with external components to set the frequency. The 74LS90 Binary Counter counts the pulses from the LM555 timer and turns those pulses into the “4-bit” output.

The LM555 is an IC device that can generate a time signal usually referred to as an oscillation. Timing is an essential part of most electronic devices. For the most part, timing is used to set which pins in the chip will go on at any given time. In order to do this the chip must be connected first to an input voltage, then through a series of resistors and capacitors. These resistors, connected to the threshold and discharge pins, as well as the capacitor, connected to the trigger pin, will decide what frequency the timer will operate at. RB RA Frequency = ((1.44)/(RA +2RB)C)

DM74LS90 COUNTER To 555 Timer A D TO GROUND B C 6V TO GROUND The connections designated A, B, C, and D connect to the inputs of the BCD to seven-segment decoder. The input counts pulses generated by the LM555 timer chip and the outputs are as described in the appropriate truth table. To Decoder

ohm 6V A D B C f g e d c b a MC 14543B BCD TO GROUND 6V From Counter To 7-segment Display The Decoder will be, in a sense, “told” from the decade counter which sections of the seven-segment display to light up. For example, if the counter outputs 0001, the decoder will tell the two vertical right hand segments of the display to light up.

The display component is a common-anode seven-segment display. The chip is composed of seven light emitting diodes (LEDs) combined to make the number display. This chip takes the information being sent from the decoder and lights up the corresponding number with the LEDs. A combination of the LEDs is turned on or off to make the appropriate number.