ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.

Slides:



Advertisements
Similar presentations
Exclusive-OR and Exclusive-NOR Gates
Advertisements

Exclusive-OR and Exclusive-NOR Gates
Lecture #9 EGR 277 – Digital Logic
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Combinational Logic and Verilog. XORs and XNORs XOR.
Parity. 2 Datasheets TTL:  CMOS: 
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 – Part 1.
5.8 Exclusive-OR Gates and Parity Circuits ReturnNext Exclusive-OR(XOR) Gates Exclusive-NOR(XNOR) Gates x ⊕ y=x · y+x · y x ⊙ y=x · y+x · y
Multiplexers DeMultiplexers XOR gates
Adders, subtractors, ALUs
XOR, XNOR, and Binary Adders
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:
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
NOCTI Review Lesson 4 Objectives:
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Adders, subtractors, ALUs.
CS 151: Introduction to Digital Design Chapter 2-9 Exclusive-OR Gates.
Digital Logic Design Week 3
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
Multiplexers XOR gates. Multiplexers A multiplexer is a digital switch - it connects data from one of n sources to its output. An n-input and b-bit multiplexer.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Chapter 33 Basic Logic Gates. 2 Objectives –After completing this chapter, the student should be able to: Identify and explain the function of the basic.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
Basic logic gates  AND gate:The truth table is given by A.BBA
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices X-OR gates and Parity circuits Comparators Adders, subtractors,
CS 1110 Digital Logic Design
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
ECE 171 Digital Circuits Chapter 10 MUX Herbert G. Mayer, PSU Status 11/23/2015 Copied with Permission from prof. Mark PSU ECE.
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits 2-9 Exclusive-OR Operator and Gates 1Created by: Ms.Amany AlSaleh.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
Combinational Logic: Other Gate Types
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.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Logic Gates Chapter 5 Subject: Digital System Year: 2009.
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
1’S COMPLEMENT REPRESENTATION 1’s complement of a number (binary) is obtained by changing all 1’s to 0 and all 0’s to 1. If one of these numbers is positive.
Combinational Logic Design
Transistors and Logic Circuits
EKT 124 / 3 DIGITAL ELEKTRONIC 1
ECE 331 – Digital System Design
Logic Gates.
2-6 Exclusive-OR Operator and Gates
Exclusive OR Gate.
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
DIGITAL LOGIC CIRCUITS
Principles & Applications
XOR, XNOR, and Binary Adders
XOR, XNOR, & Binary Adders
SCO I: Algebra Logică 2 Combinational Logic Circuits
King Fahd University of Petroleum and Minerals
Logic Gates.
Boolean Algebra.
Logic Gates.
Overview Part 3 – Additional Gates and Circuits
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Logic Gates.
Chapter 2 Gates.
XOR, XNOR, and Binary Adders
XOR Function Logic Symbol  Description  Truth Table 
XOR, XNOR, and Binary Adders
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Basic Logic Operations
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators

2 Exclusive OR and Exclusive NOR Gates XOR : XNOR : Truth Table : XOR X Y XOR XNOR XOR X Y F X Y F

3 XOR and XNOR Symbols Equivalent Symbols of XOR gate Equivalent Symbols of XNOR gate Any 2 signals (inputs or outputs) may be complemented without changing the resulting logic function

4 SSI XOR and XNOR 74x86 : 4 XOR gates 74x266: 4 XNOR gates with “open collector” or “open drain” output

5 XOR Application: Parity Circuit Odd Parity Circuit : The output is 1 if odd number of inputs are 1 Even Parity Circuit : The output is 1 if even number of inputs are 1 Example : 4-bit Parity Circuit Daisy-Chain Structure Tree structure Input : 1101 Odd Parity output : 1 Even Parity output : 0 I0 I1 I2 I3 ODD EVEN I0 I1 I2 I3 ODD EVEN

6 MSI Parity Circuit : 74x280

7 Parity-Checking Application: memory

8 Comparators Compares Two binary words and indicate if they are equal Magnitude Comparators : A Comparator A=B? B A Comparator A=B B A>B A<B

9 Equality Comparators 1-bit comparator 4-bit comparator EQ_L

10 Iterative Comparator

11 Multi-bit Iterative Comparator

12 MSI Comparator : 74x85 4 bit comparator 3 outputs : A=B, A B 3 Cascading inputs Functional Output equations : (A>B OUT)= (A>B)+(A=B).(A>B IN) (A<B OUT)= (A<B)+(A=B).(A<B IN) (A=B OUT)= (A=B).(A=B IN) Cascading inputs initial values : (A=B IN) =1 (A>B IN) =0 (A<B IN) =0 B0 A1 B1 A2 B2 A3 A0 B3 74x85 A<BIN A=BIN A>BIN A<BOUT A=B OUT A>BOUT

13 8 bit Comparator B0 A1 B1 A2 B2 A3 A0 B3 74x85 A<BIN A=BIN A>BIN A<BOUT A=B OUT A>BOUT B0 A1 B1 A2 B2 A3 A0 B3 74x85 A<BIN A=BIN A>BIN A<BOUT A=B OUT A>BOUT B0 A1 B1 A2 B2 A3 A0 B3 B4 A5 B5 A6 B6 A7 A4 B7 +5V A<B A=B A>B Most Significant bitsLeast Significant bits

14 8-bit Magnitude Comparator

15 Other conditions

16 Next… Adders, subtractors, ALUs Reading Wakerly CH