Design of Combination Circuits

Similar documents
United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Understanding Logic Design

COMBINATIONAL CIRCUITS

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Gates, Circuits, and Boolean Algebra

5 Combinatorial Components. 5.0 Full adder. Full subtractor

EE360: Digital Design I Course Syllabus

Sistemas Digitais I LESI - 2º ano

Combinational circuits

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Figure 8-1 Four Possible Results of Adding Two Bits

Lab 1: Full Adder 0.0

Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Two-level logic using NAND gates

Systems I: Computer Organization and Architecture

CHAPTER 3 Boolean Algebra and Digital Logic

CONTENTS PREFACE 1 INTRODUCTION 1 2 NUMBER SYSTEMS AND CODES 25. vii

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Combinational Logic Design

CSE140: Components and Design Techniques for Digital Systems

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

Binary Adders: Half Adders and Full Adders

Counters and Decoders

Course Requirements & Evaluation Methods

Digital Systems Laboratory

DEPARTMENT OF INFORMATION TECHNLOGY

Multiplexers Two Types + Verilog

EXPERIMENT 8. Flip-Flops and Sequential Circuits

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Let s put together a Manual Processor

Digital Electronics Detailed Outline

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

Two's Complement Adder/Subtractor Lab L03

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

BOOLEAN ALGEBRA & LOGIC GATES

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

DATA SHEETS DE COMPONENTES DA FAMÍLIA LÓGICA TTL GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS DESCRIÇÃO

ENGI 241 Experiment 5 Basic Logic Gates

LOGICOS SERIE Precios sujetos a variación. Ref. Part # Descripción Precio Foto Ref. Quad 2-Input NOR Buffered B Series Gate / PDIP-14

The components. E3: Digital electronics. Goals:

Upon completion of unit 1.1, students will be able to

Lab 1: Study of Gates & Flip-flops

3.Basic Gate Combinations

Seven-Segment LED Displays

Lecture 5: Gate Logic Logic Optimization

Copyright Peter R. Rony All rights reserved.

Life Cycle of a Memory Request. Ring Example: 2 requests for lock 17

Lecture 8: Synchronous Digital Systems

CSE140 Homework #7 - Solution

ASYNCHRONOUS COUNTERS


BINARY CODED DECIMAL: B.C.D.

The string of digits in the binary number system represents the quantity

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Decimal Number (base 10) Binary Number (base 2)

Content Map For Career & Technology

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

Guru Ghasidas Vishwavidyalaya, Bilaspur (C.G.) Institute of Technology. Electronics & Communication Engineering. B.

Gates, Plexers, Decoders, Registers, Addition and Comparison

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Elementary Logic Gates

Course: Bachelor of Science (B. Sc.) 1 st year. Subject: Electronic Equipment Maintenance. Scheme of Examination for Semester 1 & 2

Basic Logic Gates Richard E. Haskell

Module 4 : Propagation Delays in MOS Lecture 22 : Logical Effort Calculation of few Basic Logic Circuits

Cadence Verilog Tutorial Windows Vista with Cygwin X Emulation

ANALOG & DIGITAL ELECTRONICS

HCF4028B BCD TO DECIMAL DECODER

SOLUTIONS MANUAL DIGITAL DESIGN FOURTH EDITION M. MORRIS MANO California State University, Los Angeles MICHAEL D.

Operating Manual Ver.1.1

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Online Development of Digital Logic Design Course

Lab 17: Building a 4-Digit 7-Segment LED Decoder

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

Digital Systems. Syllabus 8/18/2010 1

ECE232: Hardware Organization and Design. Part 3: Verilog Tutorial. Basic Verilog

7CS-A(CD_lab) Actual date of covering the. Reason for not covering the topic in due time. Month in which the topic will be covered

Unit 3 Boolean Algebra (Continued)

Technical Aspects of Creating and Assessing a Learning Environment in Digital Electronics for High School Students

Karnaugh Maps (K-map) Alternate representation of a truth table

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Standart TTL, Serie Art.Gruppe

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN

VENDING MACHINE. ECE261 Project Proposal Presentaion. Members: ZHANG,Yulin CHEN, Zhe ZHANG,Yanni ZHANG,Yayuan

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

High Speed Gate Level Synchronous Full Adder Designs

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

Transcription:

EGC220 Design of Combination Circuits Baback Izadi Division of Engineering Programs bai@engr.newpaltz.edu Block diagram of combinational circuit Design of Combinational Logic 1

Design Steps From the specification of the circuit, determine the number of inputs and outputs and assign a symbol to each. Derive a truth table, assigning inputs to the left and outputs to the right. Place all possible combination of inputs i.e all 0 s to all 1 s Using the problem definition determine each output. If combinations are left without a specified output, mark them as don t cares. Simplify each output using K-map. Draw a circuit for each output per requirement ie. All NAND, all NOR, AND OR, OR AND, XOR, etc. Design an Adder Design of Combinational Logic 2

Design an Adder Design of a full adder Design of Combinational Logic 3

Design of Combinational Logic 4

Design of Combinational Logic 5

Four-bit adder subtractor (with overflow detection) Design of a BCD Excess 3 code convertor. Design a circuit which takes BCD inputs and generate an Excess 3 code. Decimal Digit Input BCD Output Excess-3 A B C D W X Y Z 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 1 0 0 2 0 0 1 0 0 1 0 1 3 0 0 1 1 0 1 1 0 4 0 1 0 0 0 1 1 1 5 0 1 0 1 1 0 0 0 6 0 1 1 0 1 0 0 1 7 0 1 1 1 1 0 1 0 8 1 0 0 0 1 0 1 1 9 1 0 0 1 1 1 0 0 Design of Combinational Logic 6

Step 2. Step 2. Design of Combinational Logic 7

Design of a multiplier. Design a combinational circuit that multiplies two numbers A and B (A and B are multibit variables). The range of A is from 0 to 2 and the range of B is 1 to 3. Step 2. Step 2. Design of Combinational Logic 8

Two-bit by two-bit binary multiplier Design of Combinational Logic 9

Parity Generator Even Parity Circuit Design of Combinational Logic 10

Design of a 7-Segment Display Driver BCD Input Seven-Segment Decoder A B C D a b c d e f g 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 1 1 0 1 1 0 1 0 0 1 1 1 1 1 1 0 0 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 0 0 0 1 0 0 0 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 0 1 1 All other inputs 0 0 0 0 0 0 0 Design of Combinational Logic 11

Truth Table of a Three-to-Eight-Line Decoder (1 out of 8 Decoder) 3 8 Decoder Design of Combinational Logic 12

2 4 Decoder with one enable line and low active outputs Structural Verilog Description of 2 to 4-Line Decoder Design of Combinational Logic 13

Structural Verilog Description of 2 to 4-Line Decoder Design a 4 16 decoder using 3 8 decoders Design of Combinational Logic 14

Implementing a full adder using a decoder Truth Table of an 8 3 Encoder Design of Combinational Logic 15

Truth Table of a Priority Encoder K-Maps for a priority encoder Design of Combinational Logic 16

Four-input priority encoder Parity Checker Design of Combinational Logic 17

Two-to-one-line multiplexer Design of Combinational Logic 18

Two-to-one-line multiplexer Four-to-one-line multiplexer Design of Combinational Logic 19

Mux DeMux Click here for a demonstration. Design a 4 1 Mux using 2 1 Mux s Design of Combinational Logic 20

Implementing a Boolean function with a multiplexer Implementing a Boolean function with a multiplexer Design of Combinational Logic 21

The Demultiplexer S1 S0 Y3 Y2 Y1 Y0 0 0 0 0 0 Din 0 1 0 0 Din 0 1 0 0 Din 0 0 1 1 Din 0 0 0 Design of Combinational Logic 22

1 8 DeMux Do the circuits seem familiar? Design of Combinational Logic 23

Test 2 Simplification using Boolean logic Simplification using K-map (up to 5 variables) SOP, POS, Standard SOP and POS, Min. SOP and POS Design of combinational circuits Circuit conversion to all NAND or NOR gates Design and use of Multiplexers Demultiplexers Decoders Encoders Graphic symbol for a threestate buffer Design of Combinational Logic 24

Gate level schematic for a two-bit greater-than comparator circuit Structural Verilog Description of Two-Bit Greater-Than Circuit Design of Combinational Logic 25

Dataflow Verilog Description of Two-Bit Greater-Than Comparator Conditional Dataflow Verilog Description of Two-Bit Greater-Than Circuit Design of Combinational Logic 26

Conditional Dataflow Verilog Description of Two-Bit Greater-Than Circuit Using Combinations Behavioral Verilog Description of Two-Bit Greater-Than Circuit Design of Combinational Logic 27

Testbench for the Structural Model of the Two-Bit Greater-Than Comparator Propagation Delay for an Inverter Design of Combinational Logic 28

Circuit to demonstrate an HDL (Verilog) Module smpl_circuit (A, B, C, D, E) input A, B, C; output D, E; wire w1; and # (30) G1 (w1, A, B); not #10 G2 (E, C); or #(20) G3 (D, w1, E); endmodule Design of Combinational Logic 29

Interaction between stimulus and design modules Design of Combinational Logic 30