COMBINATIONAL CIRCUITS

Similar documents
UNIT III Design of Combinational Logic Circuits. Department of Computer Science SRM UNIVERSITY

Unit 9. Multiplexers, Decoders, and Programmable Logic Devices. Unit 9 1

COMBINATIONAL LOGIC CIRCUITS. Dr. Mudathir A. Fagiri

Chapter 3 Combinational Logic Design

ELCT201: DIGITAL LOGIC DESIGN

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Function of Combinational Logic ENT263

Logic. Combinational. inputs. outputs. the result. system can

Design of Combinational Logic

Combinational Logic. Jee-Hwan Ryu. School of Mechanical Engineering Korea University of Technology and Education

DESIGN AND IMPLEMENTATION OF ENCODERS AND DECODERS. To design and implement encoders and decoders using logic gates.

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

A B D 1 Y D 2 D 3. Truth table for 4 to 1 MUX: A B Y 0 0 D D D D 3

ENGIN 112 Intro to Electrical and Computer Engineering

MODULAR CIRCUITS CHAPTER 7

Digital Logic Design ENEE x. Lecture 14

Why digital? Overview. Number Systems. Binary to Decimal conversion

Decoding A Counter. svbitec.wordpress.com 1

University of Toronto Faculty of Applied Science and Engineering Final Examination

Combinational Logic. By : Ali Mustafa

Boolean Logic Continued Prof. James L. Frankel Harvard University

CprE 281: Digital Logic

Slides for Lecture 19

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

Sample Test Paper - I

UNIT II COMBINATIONAL CIRCUITS:

Logic Design Combinational Circuits. Digital Computer Design

Unit 3 Session - 9 Data-Processing Circuits

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Digital Electronics Circuits 2017

COMBINATIONAL LOGIC FUNCTIONS

Chapter 4 (Lect 4) Encoders Multiplexers Three-State Gates More Verilog

Fundamentals of Computer Systems

Chapter # 4: Programmable and Steering Logic

S.E. Sem. III [ETRX] Digital Circuit Design. t phl. Fig.: Input and output voltage waveforms to define propagation delay times.

CHAPTER VI COMBINATIONAL LOGIC BUILDING BLOCKS

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

CSE 140 Lecture 11 Standard Combinational Modules. CK Cheng and Diba Mirza CSE Dept. UC San Diego

CSEE 3827: Fundamentals of Computer Systems. Combinational Circuits

Chapter 3 Ctd: Combinational Functions and Circuits

Ch 4. Combinational Logic Technologies. IV - Combinational Logic Technologies Contemporary Logic Design 1

CprE 281: Digital Logic

CSE370 HW3 Solutions (Winter 2010)

CHAPTER1: Digital Logic Circuits Combination Circuits

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

SRC Language Conventions. Class 6: Intro to SRC Simulator Register Transfers and Logic Circuits. SRC Simulator Demo. cond_br.asm.

Analysis of clocked sequential networks

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

Layout of 7400-series Chips Commonly Used in. CDA 3101: Introduction to Computer Hardware and Organization

ว ตถ ประสงค ของบทเร ยน

COE 202: Digital Logic Design Combinational Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

ECE 2300 Digital Logic & Computer Organization

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

Documentation Standards

COMP2611: Computer Organization. Introduction to Digital Logic


Binary addition (1-bit) P Q Y = P + Q Comments Carry = Carry = Carry = Carry = 1 P Q

Unit 9. Multiplexers, Decoders, and Programmable Logic Devices

CHAPTER VI COMBINATIONAL LOGIC BUILDING BLOCKS

Menu. 7-Segment LED. Misc. 7-Segment LED MSI Components >MUX >Adders Memory Devices >D-FF, RAM, ROM Computer/Microprocessor >GCPU

Digital System Design Combinational Logic. Assoc. Prof. Pradondet Nilagupta

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

Systems I: Computer Organization and Architecture

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

TYPICAL QUESTIONS & ANSWERS

Appendix A: Digital Logic. CPSC 352- Computer Organization

Design of Sequential Circuits

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

CprE 281: Digital Logic

A B OUT_0 OUT_1 OUT_2 OUT_

Software Engineering 2DA4. Slides 8: Multiplexors and More

ECE 341. Lecture # 3

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Lecture 2 Review on Digital Logic (Part 1)

Chapter 5. Digital systems. 5.1 Boolean algebra Negation, conjunction and disjunction

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

:3 2 D e c o de r S ubs ys te m "0 " One "1 " Ze ro "0 " "0 " One I 1 "0 " One "1 " Ze ro "1 " Ze ro "0 " "0 "

Chapter 2. Review of Digital Systems Design

Section 1A. Introduction & Basic Principles. Engineering Areas

DIGITAL LOGIC CIRCUITS

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques s complement 2 s complement 1 s complement

COMBINATIONAL CIRCUITS

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

3. Combinational Circuit Design

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

DE58/DC58 LOGIC DESIGN DEC 2014

UNIT 1. BOOLEAN ALGEBRA AND COMBINATIONAL CIRCUITS

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Floating Point Representation and Digital Logic. Lecture 11 CS301

COSC3330 Computer Architecture Lecture 2. Combinational Logic

Computer Science Final Examination Friday December 14 th 2001

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Hardware Design I Chap. 4 Representative combinational logic

Transcription:

OMINTIONL IRUITS pplications Parity Generation and heking Even Parity P e P e P P P P P P5 P P6 ( ) = m(,, ) =, Odd Parity P o P e Three-bit Parity Generator ( ) = m(,,5, ) P P P P P P5 P P6 = 6 Three-bit Parity Generator P e P o ata P e Parity it P e for even parity ata P o Parity it P o for odd parity

OMINTIONL IRUITS pplications Parity Generation and heking 5 6 8-bit Parity Generator P e P o 5 6 P e 8-bit Even Parity hecker P e when P e = P e Transmitter - Receiver Parity Generator 8 Parity it even Parity hecker = Parity OK, activate receiver = Parity not OK, activate "alarm"

ecoders binary code of n bits is capable of representing up to n distinct elements of coded information. decoder is a combinational circuit that converts binary information from n input lines to maximum of n unique output lines. n - to - m line decoder n m = = = = = = = 5 = - to - 8 -line decoder pplications OMINTIONL IRUITS

OMINTIONL IRUITS pplications ecoders E = E Low level active E = E = E = E - to - -line decoder with ENLE input E

OMINTIONL IRUITS pplications ecoders E = E Low level active E = E = E = E - to - -line decoder with ENLE input and inverted outputs E 5

OMINTIONL IRUITS pplications ecoders Expanding ecoders E X8 decoder E to High level active X8 decoder E 8 to 5 6

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder Implementation of a full adder i S o Truth Table of the full adder i X8 decoder 5 6 S

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder SNLS8 G G G & G 5 6 Y Y Y Y Y Y5 Y6 Y 8 (ctive Low) Outputs : Y,..., Y 6 Inputs :,, and Enable Inputs G, G and G If G + G =, then Y i = High (i =,..., ) If G =, then Y i = High (i =,..., ) -line to 8-line decoder/demultiplexer G G G & G 5 6 Y Y Y F F (,, ) = + + (,, ) = 8

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder 8 MSI decoder module (Medium Scale Integrated) The truth table of the 8 [] 9

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder '5 MSI decoder module (Medium Scale Integrated) -line to 6-line decoder/demultiplexer The truth table of the 5 []

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder ddress ecoding []

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder onversion of encoded data to a format suitable for driving a numeric display (-segment display). f a g b e d c 5 6 8 9 Type has reversed diodes (common cathodes) esimal Point P 9 f e 8 a d g b c P 5 6 Type ssumption : LE is ON if F i =, where i = a, b, c, d, e, f, g LE is OFF if F i = -bit code. Variables are,,, ( is LS and is MS) n example of the seven-segment display HSP-56 Green

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder F F F F F F F a b c d e f g (,,, ) = (,,,5,6,,8,9) = (,,,,,,8,9) = (,,,,5,6,,8,9) = (,,,5,6,8,9) = (,,6,8) = (,,5,6,8,9) = (,,,5,6,8,9) a b c d e f g 5 6 8 9 x x x x x x x x x x x x Truth table of the -segment decoder with active high outputs. -segment display driver (ctive high output) LS ctive low outputs Open-collector outputs Sink urrent = m Output Max. voltage = 5V LS9 ctive high outputs Open-collector outputs Sink urrent = 8m Output Max. voltage = 5.5V lanking input I LS9 a b c d e f g

OMINTIONL IRUITS pplications ombinational Logic Implementation with ecoder -segment display driver F e Segment e : (,,, ) = (,,6, 8) X X X X X X (,,, ) = + = ( ) F e + LS9 has blanking input i i Fe (,,, ) = ( + ) i = ( + ) i If lanking input is LOW, then F i = LOW

OMINTIONL IRUITS pplications Encoder n encoder is a combinational circuit which has s (or fewer) inputs and s output lines. In general : When encoder module has n inputs, then the number of output s must satisfy the expression : n inputs Encoder s outputs s n 5

OMINTIONL IRUITS pplications Encoder Octal-to inary encoder Only one input is allowed to be at same time. = I = I = I + I + I + I 5 + I + I + I 5 6 6 + I + I + I oolean functions for octal-to-binary encoder I I V Output is if I is or all inputs are. mbiguity We can add one extra output V, which is only if at least one input is. V = if all inputs are. V = I + + I + I + I + I + I5 + I6 I Implemented with three four-input OR-gates Note! We have different input combinations. Only seven input combinations are defined. Minimum logic implementation leads to the assumption that only one input I i in each time is allowed to be. 6

OMINTIONL IRUITS pplications Encoder Priority Encoder ctive high inputs V x x x x x x x x Truth Table of a -input Priority Encoder

OMINTIONL IRUITS pplications P P P P P P5 P P6 P P P 5 P P 8 P9 P P V = + + + P P P P X P P5 P P6 P P P 5 P P 8 P9 P P = + P P P P P X P5 P P6 P P P 5 P 8 P P P9 P = + Encoder Priority Encoder V 8

OMINTIONL IRUITS pplications Encoder MSI Priority Encoder module : [] 9

OMINTIONL IRUITS pplications Multiplexer (data selector) []

OMINTIONL IRUITS pplications Multiplexer (data selector) n input and n selection lines whose bit combinations determine which input is selected. Y i Y S Quadruple -to--line multiplexer = S + S where i =,,, i i Simple expansion to have a6-to- muxer -to- Multiplexer Y I I Y S Two- to -one - line multiplexer Y = S I + S I S Y Multiplexer with three-state gate I I S Y Logic diagram

OMINTIONL IRUITS pplications Multiplexer (data selector) We must ensure that only one three-state buffer has acces to the output while all other buffers are maintained in a high-impedance state. Y E S S Y x x z The truth table of the -to--line muxer with enable input Select Enable S S E X decoder -to--line muxer with Enable input

OMINTIONL IRUITS pplications Multiplexer (data selector) Implementing a three-input function with a 8x multiplexer EN 5 6 MUX Y W F F (,, ) = (,, ) (,, ) = (,,,5, 6) SNLS5

OMINTIONL IRUITS pplications Multiplexer (data selector) P i 5 6 8 9 5 6 5 Implementing a four-input function with a 8x multiplexer S S S F F = F = F = F = F = F = F = F = Truth table of the oolean function F (,,, ) (,,,,,,, ) F = = 5 S S S 5 6 8X MUX F

OMINTIONL IRUITS pplications Multiplexer Implementing a Parallel-to-Serial conversion with a X multiplexer S S S S S time S time Y ata valid (stable states) - Y time time S S 5

The End 6