Chapter 6 Know commonly used combinational subcircuits –Multiplexers –Decoders –Encoders Know VHDL constructs used to define combinational circuits.

Slides:



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

5.5 Encoders A encoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Logic Circuits Design presented by Amr Al-Awamry
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Combinational Logic Building Blocks
ECE 331 – Digital System Design
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
1 Chapter 6 Functions of Combinational Logic. 2 Figure 6--1 Logic symbol for a half-adder Adder.
Shannon’s Expansion Muxes and Encoders. Tri-State Buffers  A tri-state buffer has one input x, one output f and one control line e Z means high impedance,
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Combinational Logic Chapter 4.
Outline Decoder Encoder Mux. Decoder Accepts a value and decodes it Output corresponds to value of n inputs Consists of: Inputs (n) Outputs (2 n, numbered.
Combinational Logic Design
Decoders.
Figure 6.1. A 2-to-1 multiplexer.
Combinational Logic. Outline 4.1 Introduction 4.2 Combinational Circuits 4.3 Analysis Procedure 4.4 Design Procedure 4.5 Binary Adder- Subtractor 4.6.
COE 202: Digital Logic Design Combinational Circuits Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
Multiplexers and Demultiplexers, and Encoders and Decoders
(Combinational Logic Circuit)
EE2420 – Digital Logic Summer II 2013 Hassan Salamy Ingram School of Engineering Texas State University Set 12: Multiplexers, Decoders, Encoders, Shift.
ECE 331 – Digital System Design Multiplexers and Demultiplexers (Lecture #13)
Combinational Logic Design – Design Procedure, Encoders/Decoders
CS/EE 3700 : Fundamentals of Digital System Design
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.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits
1 ECE 545—Digital System Design with VHDL Lecture 1 Digital Logic Refresher Part A – Combinational Logic Building Blocks.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Digital Systems Section 11 Decoders and Encoders.
Digital System Design Multiplexers and Demultiplexers, and Encoders and Decoders.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
MSI Combinational logic circuits
Digital Design Lecture 8 Combinatorial Logic (Continued)
Combinational Circuits. Outline Boolean Algebra Decoder Encoder MUX.
CSE 140 Lecture 13 Combinational Standard Modules Professor CK Cheng CSE Dept. UC San Diego 1.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Decoders Zhijian John Wang. What are they? Overview of a decoder A device that reverses the process of an encoder Convert information from one format.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
Decoder Chapter 12 Subject: Digital System Year: 2009.
MSI Circuits.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
1 Digital Logic Design (41-135) Chapter 6 Combinational Circuit Building Blocks Younglok Kim Dept. of Electrical Engineering Sogang University Spring 2006.
Instructor: Alexander Stoytchev
ENG2410 Digital Design “Combinational Logic Design”
CS221: Digital Logic Design Combinational Circuits 3
Combinational Circuits
Multiplexers and Demultiplexers,
Part 4 Combinational Logic.
Combinational Logic Circuits
Combinational Circuit Design
Overview Introduction Logic Gates Flip Flops Registers Counters
Instructor: Alexander Stoytchev
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Instructor: Alexander Stoytchev
ECE 551: Digital System Design & Synthesis
FIGURE 4.1 Block diagram of combinational circuit
COE 202: Digital Logic Design Combinational Circuits Part 3
Instructor: Alexander Stoytchev
Multiplexers Anindya IE CSE.
CSC 220: Computer Organization COMBINATIONAL CIRCUITS-2
ECE 331 – Digital System Design
Combinational Circuits
Instructor: Alexander Stoytchev
LOGIC Circuits.
Adder, Subtructer, Encoder, Decoder, Multiplexer, Demultiplexer
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
ECE2030 HW-6.
Presentation transcript:

Chapter 6 Know commonly used combinational subcircuits –Multiplexers –Decoders –Encoders Know VHDL constructs used to define combinational circuits

Multiplexers f s w 0 w f s w 0 w 1 2 to 1 Multiplexer f s w 0 w 1

f s 1 w 0 w 1 s 0 w 2 w 3 f s 1 w 0 w w 0 w 1 s 0 w 2 w fs 1 0 s 0 w 2 w 3 4 to 1 Multiplexer

Using 2-to-1 multiplexers to build a 4-to-1 multiplexer. 0 w 0 w w 2 w f 0 1 s 1 s w 0 w fs 1 0 s 0 w 2 w 3

Synthesis of Logic Functions Using Multiplexers fw 1 0 w XOR

Shannon’s Expansion Any Boolean function can be written f(w1,w2,…wn) = w1f(0,w2,…,wn) + w1f(1,w2,…, wn) f=w1w2 + w1w3 + w2w3 = w1(w2w3) + w1(w2+w3) –!w1(0w2 + 0w3 + w2w3) + w1(1w2 + 1w3 + w2w3) –!w1(w2w3) + w1(w2 + w3 + w2w3) 5a x0 = 0, 6a x1 = x –!w1(w2w3) + w1(w2 + w3) through successive application of 13a x + xy = x Shannon provided yet another tool for logic synthesis

Decoders y 0 w 1 0 w 0 xx En y y y w 0 y 0 w 1 y 1 y 2 y 3 A 2-to-4 decoder

w 1 w 0 y 0 y 1 y 2 y 3 En

3-to-8 Decoder using two 2-to-4 decoders w 2 w 0 y 0 y 1 y 2 y 3 w 0 En y 0 w 1 y 1 y 2 y 3 w 0 y 0 w 1 y 1 y 2 y 3 y 4 y 5 y 6 y 7 w 1

? w 1 w 0 w 0 y 0 w 1 y 1 y 2 y 3 w 2 w 3 f s 0 s 1 1

w 1 w 0 w 0 y 0 w 1 y 1 y 2 y 3 f s 0 s 1 1 w 2 w 3

Demultiplexers Using a decoder –En is data input –w1,w0 select which output is active –y3,…,y0 are data outputs y 0 w 1 0 w 0 xx En y y y

Encoders Assumes only one input active w 3 y 1 0 y 0 w 1 w w w w y 0 w 2 w 3 y 1

Priority Encoders w0 lowest priority w3 highest priority zindicates inputs active y1, y0 binary number of highest priority active d w 0 y 1 d y z 1 x x 0 x w x 0 x w x w

Code Converters 3-to-8 binary decoder 8-to-3 binary encoder BCD-to-7-segment decoder ce w 0 a w 1 b c d w 2 w 3 e f g a g bf d w 0 a 1 b w w w c d e f g