1 EE121 John Wakerly Lecture #6 Three-state Outputs Encoders Multiplexers XOR gates.

Slides:



Advertisements
Similar presentations
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Advertisements

Encoders Three-state devices Multiplexers
Combinational Logic Word Problems
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Speical purpose Encoders/Comparators
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Combinational Logic and Verilog. XORs and XNORs XOR.
CS 140 Lecture 11 Professor CK Cheng 5/09/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
CS 140 Lecture 12 Professor CK Cheng 11/07/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
EE466: VLSI Design Lecture 14: Datapath Functional Units.
Multiplexers, Decoders, and Programmable Logic Devices
1 EE365 Three-state Outputs Encoders Multiplexers XOR gates.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #8 Buffers, Drivers, Encoders, MUXs & XORs.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Multiplexers DeMultiplexers XOR gates
Adders, subtractors, ALUs
Figure to-1 Multiplexer and Switch Analog
Combinational Logic Chapter 4.
Lecture 18: Datapath Functional Units
Top-down modular design
Encoders Three-state Outputs Multiplexers XOR gates.
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.
Decoders.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices
Three-state devices Multiplexers
Documentation Standards Circuit specification. –Description of what the system is supposed to do, including a description of all inputs and outputs and.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 Topic9: Three-State Buffers, Encoders/Decoders José Nelson Amaral.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Adders, subtractors, ALUs.
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers  A multiplexer is a digital switch  Allows a device to select a single line from many  Some.
Combinational Design, Part 3: Functional Blocks
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.
Kuliah Rangkaian Digital Kuliah 6: Blok Pembangun Logika Kombinasional Teknik Komputer Universitas Gunadarma.
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
Chapter
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices X-OR gates and Parity circuits Comparators Adders, subtractors,
CDA 3101 Fall 2013 Introduction to Computer Organization The Arithmetic Logic Unit (ALU) and MIPS ALU Support 20 September 2013.
EE121 John Wakerly Lecture #6
CO UNIT-I. 2 Multiplexers: A multiplexer selects information from an input line and directs the information to an output line A typical multiplexer has.
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Three-state devices Multiplexers.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Mon, Oct 5 CEC 220 Digital Circuit Design Slide 1 of 20.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Friday, February 14 CEC 220 Digital Circuit Design Slide 1 of 18.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers
Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.
1 ECE 545—Digital System Design with VHDL Lecture 1 Digital Logic Refresher Part A – Combinational Logic Building Blocks.
1 EE121 John Wakerly Lecture #5 Documentation Standards Programmable Logic Devices Decoders.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
Digital Design Lecture 8 Combinatorial Logic (Continued)
Combinational Logic: Other Gate Types
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
ECE 3130 Digital Electronics and Design
Multiplexers (Data Selectors)
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Combinatorial Logic Design Practices
FIGURE 4.1 Block diagram of combinational circuit
Digital Logic & Design Lecture 05
King Fahd University of Petroleum and Minerals
13 Digital Logic Circuits.
Data Flow Description of Combinational-Circuit Building Blocks
Logic Circuits I Lecture 3.
Data Flow Description of Combinational-Circuit Building Blocks
Electronics for Physicists
XOR Function Logic Symbol  Description  Truth Table 
Presentation transcript:

1 EE121 John Wakerly Lecture #6 Three-state Outputs Encoders Multiplexers XOR gates

2 Three-state buffers Output = LOW, HIGH, or Hi-Z. Can tie multiple outputs together, if at most one at a time is driven.

3 Different flavors

4

5 Timing considerations

6 Three-state drivers

7 Driver application

8 Three-state transceiver

9 Transceiver application

10 Three-state enables in ABEL

11 Encoders vs. Decoders DecoderEncoder

12 Binary encoders

13 Need priority in most applications

14 8-input priority encoder

15 Priority-encoder logic equations

16 74x148 8-input priority encoder –Active-low I/O –Enable Input –“Got Something” –Enable Output

17 74x148 circuit

18 74x148 Truth Table

19 Cascading priority encoders 32-input priority encoder

20 15-input priority encoder in ABEL Declarations

21 Constant expressions

22 Outputs

23 Alternative formulation WHEN is very natural for priority function

24 Multiplexers

25 74x151 8-input multiplexer

26 74x151 truth table

27 CMOS transmission gates 2-input multiplexer

28 Other multiplexer varieties 2-input, 4-bit-wide –74x157 4-input, 2-bit-wide –74x153

29 ABEL code for 74x153-like mux

30 Easier ABEL multiplexer code

31 Barrel shifter design example n data inputs, n data outputs Control inputs specify number of positions to rotate or shift data inputs Example: n = 16 –DIN[15:0], DOUT[15:0], S[3:0] (shift amount) Many possible solutions, all based on multiplexers

to-1 muxes 16-to-1 mux = 2 x 74x151 8-to-1 mux + NAND gate

bit 2-to-1 muxes 16-bit 2-to-1 mux = 4 x 74x157 4-bit 2-to-1 mux

34 Properties of different approaches

35 ABEL code for barrel shifter 20 inputs 16 outputs 16 product terms per output

36 2-input XOR gates Like an OR gate, but excludes the case where both inputs are 1. XNOR: complement of XOR

37 XOR and XNOR symbols

38 Gate-level XOR circuits No direct realization with just a few transistors.

39 CMOS XOR with transmission gates IF B==1 THEN Z = !A; ELSE Z = A;

40 Multi-input XOR Sum modulo 2 Parity computation Used to generate and check parity bits in computer systems. –Detects any single-bit error

41 Parity tree Faster with balanced tree structure

42 Next time Comparators Adders Multipliers Read-only memories (ROMs)