ELE2120 Digital Circuits and Systems. Tutorial Note 5

Similar documents
Gates, Circuits, and Boolean Algebra

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

Chapter 7 Memory and Programmable Logic

Layout of Multiple Cells

Lecture 8: Synchronous Digital Systems

Chapter 2 Logic Gates and Introduction to Computer Architecture

Combinational-Circuit Building Blocks

Basic Logic Gates Richard E. Haskell

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Sequential 4-bit Adder Design Report

Lesson 12 Sequential Circuits: Flip-Flops

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

Switch board datasheet EB

Hardware and Software

3.Basic Gate Combinations

ENGI 241 Experiment 5 Basic Logic Gates

Introduction to Programmable Logic Devices. John Coughlan RAL Technology Department Detector & Electronics Division

RAPID PROTOTYPING OF DIGITAL SYSTEMS Second Edition

Introduction. Jim Duckworth ECE Department, WPI. VHDL Short Course - Module 1

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

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

University of St. Thomas ENGR Digital Design 4 Credit Course Monday, Wednesday, Friday from 1:35 p.m. to 2:40 p.m. Lecture: Room OWS LL54

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Elementary Logic Gates

ANALOG & DIGITAL ELECTRONICS

Let s put together a Manual Processor

ECE124 Digital Circuits and Systems Page 1

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

RAM & ROM Based Digital Design. ECE 152A Winter 2012

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

Logic in Computer Science: Logic Gates

Chapter 10 Advanced CMOS Circuits

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

DEPARTMENT OF INFORMATION TECHNLOGY

Modeling Latches and Flip-flops

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Operating Manual Ver.1.1

Two-level logic using NAND gates

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

Digital Logic Elements, Clock, and Memory Elements

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

Lecture 5: Gate Logic Logic Optimization

Lecture-3 MEMORY: Development of Memory:

CSE140: Components and Design Techniques for Digital Systems

REC FPGA Seminar IAP Seminar Format

9/14/ :38

Counters and Decoders

Design Verification and Test of Digital VLSI Circuits NPTEL Video Course. Module-VII Lecture-I Introduction to Digital VLSI Testing

The components. E3: Digital electronics. Goals:

Chapter 9 Latches, Flip-Flops, and Timers

Introduction to Digital System Design

DEGREE: Bachelor in Biomedical Engineering YEAR: 2 TERM: 2 WEEKLY PLANNING

LFSR BASED COUNTERS AVINASH AJANE, B.E. A technical report submitted to the Graduate School. in partial fulfillment of the requirements

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

A New Paradigm for Synchronous State Machine Design in Verilog

LAB #3 VHDL RECOGNITION AND GAL IC PROGRAMMING USING ALL-11 UNIVERSAL PROGRAMMER

Programmable Logic IP Cores in SoC Design: Opportunities and Challenges

Controlling a Dot Matrix LED Display with a Microcontroller

Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1.

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

Counters are sequential circuits which "count" through a specific state sequence.

MM74HCT373 MM74HCT374 3-STATE Octal D-Type Latch 3-STATE Octal D-Type Flip-Flop

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Digital Controller for Pedestrian Crossing and Traffic Lights

W03 Analysis of DC Circuits. Yrd. Doç. Dr. Aytaç Gören

CHAPTER 3 Boolean Algebra and Digital Logic

Combinational Logic Design Process

ASYNCHRONOUS COUNTERS

Fault Modeling. Why model faults? Some real defects in VLSI and PCB Common fault models Stuck-at faults. Transistor faults Summary

Mixed Logic A B A B. 1. Ignore all bubbles on logic gates and inverters. This means

Memory Basics. SRAM/DRAM Basics

Introduction to Digital Design Using Digilent FPGA Boards Block Diagram / Verilog Examples

Lecture 10 Sequential Circuit Design Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Multiplexers Two Types + Verilog

AC : PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD)

Master/Slave Flip Flops

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

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

Physics. Cambridge IGCSE. Workbook. David Sang. Second edition Cambers & Sibley: IGCSE Physics Cover. C M Y K

Understanding Logic Design

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

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

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

路 論 Chapter 15 System-Level Physical Design

Module 7 : I/O PADs Lecture 33 : I/O PADs

Introduction to CMOS VLSI Design

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

EGR 278 Digital Logic Lab File: N278L3A Lab # 3 Open-Collector and Driver Gates

MM54C150 MM74C Line to 1-Line Multiplexer

FPGA Clocking. Clock related issues: distribution generation (frequency synthesis) multiplexing run time programming domain crossing

Academic year: 2015/2016 Code: IES s ECTS credits: 6. Field of study: Electronics and Telecommunications Specialty: -

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

MOTION COORDINATOR MC206X Quick Connection Guide

The 104 Duke_ACC Machine

Digital Systems. Role of the Digital Engineer

Transcription:

ELE2120 Digital Circuits and Systems Tutorial Note 5

Outline 1. Complex PLD 2. Field - Programmable Gate Array (FPGA) 3. Lookup Table (LUT) 4. Multiplexer 5. Shannon s Expansion

Complex PLD(CPLD) Combined by PAL-like blocks With interconnection wires to connect all the PAL-like blocks

Complex PLD(CPLD) XOR with 1 programmable input: If input = 1, complement the OR gate output. If input = 0, retain the OR gate output. D-type flip flop: Store value of the previous state Multiplexer: Select between value of current state or previous state Tri-state buffer: Control the pin to be input or output Close: output. Open: input.

Field Programmable Gate Array(FPGA) FPGAs are a distinct from SPLDs and CPLDs and typically offer the highest logic capacity. An FPGA consists of an array of logic blocks, surrounded by programmable I/O blocks, and connected with programmable interconnect. A typical FPGA contains from 64 to tens of thousands of logic blocks and an even greater number of flip-flops. Most FPGAs do not provide 100% interconnect between logic blocks (to do so would be prohibitively expensive). Instead, sophisticated software places and routes the logic on the device much like a PCB auto-router would place and route components.

Field Programmable Gate Array (FPGA) CPLD FPGA Structure AND and OR planes Constructed by many logic blocks Compatible Combinational circuits Sequential circuits Capability 10,000 equ. Gates >1000,000 equ. Gates Power consumption Large Reasonable small

Lookup Table (LUT) Steps for generate Lookup Table: 1.Write down the truth table 2. Transfer the output column to lookup table. 2 input multiplexer For the function (X1+X2)

Exercise: LUT for FPGA For the logic function F1=X1X3+X2X3+X1X2, 1.Write down the truth table for F1. 2. Draw the LUT for F1. 3. What would be the result if Select = 0? Q2 Q1 X1 X2 X3 F 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Q3

Exercise: FPGA For the logic function F1=X1X3+X2X3+X1X2, 1.Write down the truth table for F1. 2. Draw the LUT for F1. 3. What would be the result if Select = 0? Q2 0 0 0 1 0 1 11 Step 2 fill the lookup table Q1 X1 X2 X3 F 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 Q3 Step 1 fill the truth table

Multiplexer Multiplexer circuit has a number of data inputs, one or more select inputs, and one output.

Multiplexer Transmission Gate Symbol Transmission Gate Equivalent circuit Truth Table Why we use both PMOS and NMOS transistors to build transmission gate? Answer: 1.NMOS transistors passes 0 well and 1 poorly while PMOS transistor passes 1 well and 0 poorly. It is possible to combine an NMOS and a PMOS transistor into a single switch that is capable of driving its output terminal either to a low or high voltage equally well. 2.Small impedance(~100ohm) between x and f when closed. However, high impedance (~10 9 ohm) when opened. 3. Very short time delay between x and f.

Exercise(1): Multiplexer What is the truth table for Load, Data, A, B and output? Load Data Output

Exercise(1): Multiplexer Analysis: (1) Load = 0: TG1 closed,tg2 opened; A=Data, B=A, Output=Data; State Transmission (2) Load = 1:TG1 opened, TG2 closed; A=Output, B=A, Output=A ; State Retained

Exercise(1): Multiplexer Data Q Load _ Q D-Latch Load Data Output

Multiplexer 4-to-1 multiplexer 3 2-to-1 multiplexer Larger multiplexer can be built based on small multiplexers such as 4-to-1 or 2-to-1 multiplexer, e.g., a 4-to-1 multiplexer can be built with 3 2-to- 1multiplexers,a 8-to-1 multiplexer can be composed of 2 4-to-1 and a 2-to- 1 multiplexers, and a 16-to-1 multiplexer can be set up using 5 4-to-1 multiplexers.

Exercise(2): Multiplexer Implement the circuit for the truth table shown below by using a 4-to-1 multiplexer: W1 W2 W3 F 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 1

Shannon s Expansion Multiplexer implementations of logic functions require that a given function be decomposed in terms of the variables that are used as the select inputs. This can be accomplished by means of a theorem proposed by Claude Shannon s Expansion Theorem Any Boolean function can be written in the form This expansion can be done in terms of any of the n variables. Example: f(w1,w2,w3)=w1w2+w1w3+w2w3 Expanding this function in terms of w1 gives which is the expression that we derived above Method I f(w1,w2,w3)=w1(w2+w3)+(w1+w1 )w2w3= w1(w2+w3+ w2w3)+w1 w2w3=w1(w2+w3)+w1 w2w3 Method II f(0,w2,w3)=w2w3 f(1,w2,w3)=w2+w3+w2w3 =w 2 +w 3 f(w1,w2,w3)=w 1 f(0,w2,w3)+w1 f(1,w2,w3)= w1 w2w3+ w1(w2+w3)

Shannon s Expansion Steps for solving Shannon s Expansion Method I 1. Expand(or split) the function into two part (with respect to w1 and w1 ). 2. Combine the terms into two groups of w1 and w1. Method II 1. For f(w1,w2,.wn), let w1=0, the remain minimized function is the factor for w1 2. For f(w1,w2,.wn), let w1=1, the remain minimized function is the factor for w1

Exercise: Shannon s Expansion Use the Shannon s Expansion to expand the following function: w1+w2 w3+w2w3 with respect of w1, w2: