Logic Design. Implementation Technology

Similar documents
ECE124 Digital Circuits and Systems Page 1

Chapter 10 Advanced CMOS Circuits

Gates, Circuits, and Boolean Algebra

The MOSFET Transistor

Here we introduced (1) basic circuit for logic and (2)recent nano-devices, and presented (3) some practical issues on nano-devices.

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

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

Chapter 7 Memory and Programmable Logic

Lecture 5: Gate Logic Logic Optimization

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

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

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

Analog & Digital Electronics Course No: PH-218

Chapter 2 Logic Gates and Introduction to Computer Architecture

Introduction to Digital System Design

ENGI 241 Experiment 5 Basic Logic Gates

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

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

Field-Effect (FET) transistors

Layout of Multiple Cells

CHAPTER 11: Flip Flops

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

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

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

Basic Logic Gates Richard E. Haskell

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

CMOS, the Ideal Logic Family

Bob York. Transistor Basics - MOSFETs

In-System Programming Design TM. Guidelines for ispjtag Devices. Introduction. Device-specific Connections. isplsi 1000EA Family.

5V Tolerance Techniques for CoolRunner-II Devices

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Chapter 6 TRANSISTOR-TRANSISTOR LOGIC. 3-emitter transistor.

Interfacing 3V and 5V applications

Sequential 4-bit Adder Design Report

Application Note AN-940

CO2005: Electronics I (FET) Electronics I, Neamen 3th Ed. 1

AN Level shifting techniques in I 2 C-bus design. Document information

CHAPTER 16 MEMORY CIRCUITS

Introduction to CMOS VLSI Design

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.

Chapter 9 Latches, Flip-Flops, and Timers

Multiplexers Two Types + Verilog

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

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

Memory Basics. SRAM/DRAM Basics

EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS

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

Gates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251

CD4001BC/CD4011BC Quad 2-Input NOR Buffered B Series Gate Quad 2-Input NAND Buffered B Series Gate

Bi-directional level shifter for I²C-bus and other systems.

Class 11: Transmission Gates, Latches

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

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

The components. E3: Digital electronics. Goals:

MM54C150 MM74C Line to 1-Line Multiplexer

Pass Gate Logic An alternative to implementing complex logic is to realize it using a logic network of pass transistors (switches).

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

Semiconductor Memories

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

Hardware and Software

ANALOG & DIGITAL ELECTRONICS

HCF4001B QUAD 2-INPUT NOR GATE

Low Power AMD Athlon 64 and AMD Opteron Processors

HCF4010B HEX BUFFER/CONVERTER (NON INVERTING)

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

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

3.Basic Gate Combinations

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

AZV5002. Low Power Audio Jack Detector with SEND/END Detection in Miniaturized Package. Description. Pin Assignments. Features NEW PRODUCT

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

Application Note 83 Fundamentals of RS 232 Serial Communications

Upon completion of unit 1.1, students will be able to

High-Speed, 5 V, 0.1 F CMOS RS-232 Driver/Receivers ADM202/ADM203

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

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

International Journal of Electronics and Computer Science Engineering 1482

A New Paradigm for Synchronous State Machine Design in Verilog

Figure 8-1 Four Possible Results of Adding Two Bits

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

IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, VOL. 7, NO. 3, SEPTEMBER

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

Interfacing Analog to Digital Data Converters

Lecture 30: Biasing MOSFET Amplifiers. MOSFET Current Mirrors.

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

Application Examples

A N. O N Output/Input-output connection

DESIGN OF GATE NETWORKS

Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial

PLL frequency synthesizer

Signal Types and Terminations

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

CMOS Logic Integrated Circuits

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

. HIGH SPEED .LOW POWER DISSIPATION .COMPATIBLE WITH TTL OUTPUTS M54HCT27 M74HCT27 TRIPLE 3-INPUT NOR GATE. tpd = 9 ns (TYP.

74HC154; 74HCT to-16 line decoder/demultiplexer

A Lesson on Digital Clocks, One Shots and Counters

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

Layout and Cross-section of an inverter. Lecture 5. Layout Design. Electric Handles Objects. Layout & Fabrication. A V i

HIGH SPEED-10 MBit/s LOGIC GATE OPTOCOUPLERS

Transcription:

Logic Design Implementation Technology

Outline Implementation of logic gates using transistors Programmable logic devices Complex Programmable Logic Devices (CPLD) Field Programmable Gate Arrays (FPGA) Dynamic operation of logic gates Transmission gates

Transistor as a Switch Logic circuits are implemented using transistors Logic variables ( and ) are represented either as levels of current or voltage. We will use voltage. A threshold is define and any voltage below threshold is one logic value and any voltage above threshold is the other logic value Positive logic system: logic zero is represented by low voltage and logic is represented by higher voltage Negative logic system: logic zero is represented by high voltage and logic is represented by low voltage

Transistor as a Switch

Transistor as a Switch Transistors in logic circuits operates as switches Most popular type of transistors: metal oxide semiconductor field effect transistor (MOSFET) Two types of MOSFET: n-channel (NMOS) and p-channel (PMOS) Terminals: source, drain, gate and substrate A MOSFET is controlled by the gate voltage NMOS: V G high -> transistor on V G low -> transistor off

Transistor as a Switch x = "low" x = "high" (a) A simple switch controlled by the input x Gate Source Drain Substrate (Body) (b) NMOS transistor V G V S V D (c) Simplified symbol for an NMOS transistor Figure 3.2. NMOS transistor as a switch.

Transistor as a Switch x = "high" x = "low" (a) A switch with the opposite behavior of Figure 3.2 a Gate Drain Substrate (Body) V DD Source (b) PMOS transistor V G V S V D (c) Simplified symbol for a PMOS transistor Figure 3.3. PMOS transistor as a switch.

Transistor as a Switch V D V D = V V D V G V S = V Closed switch when V G = V DD Open switch when V G = V (a) NMOS transistor V S = V DD V DD V DD V G V D V D Open switch when V G = V DD V D = V DD Closed switch when V G = V (b) PMOS transistor Figure 3.4. NMOS and PMOS transistors in logic circuits.

Consider V f as a function of V x NMOS Logic Gates V DD 5 V + - R V f R V f V x V x (a) Circuit diagram (b) Simplified circuit diagram x f x f (c) Graphical symbols Figure 3.5. A NOT gate built using NMOS technology.

NMOS Logic Gates V DD V f V x x x 2 f V x 2 (a) Circuit (b) Truth table x x f x 2 x 2 f (c) Graphical symbols Figure 3.6. NMOS realization of a NAND gate.

NMOS Logic Gates V DD V x V x 2 V f x x 2 f (a) Circuit (b) Truth table x x x f 2 x 2 f (c) Graphical symbols Figure 3.7. NMOS realization of a NOR gate.

NMOS Logic Gates V DD V DD V f A V x x x 2 f V x 2 (a) Circuit (b) Truth table x x f x 2 x 2 f (c) Graphical symbols Figure 3.8. NMOS realization of an AND gate.

NMOS Logic Gates V DD V DD V f x x 2 f V x V x 2 (a) Circuit (b) Truth table x x x f 2 x 2 f (c) Graphical symbols

CMOS Gates In NMOS the logic functions are realized by arrangements of NMOS transistors combined with a pull-up device that acts as a resistor. V DD V f V x V x n Pull-down network (PDN)

CMOS Gates In CMOS circuits the pull-up device is replaced by a pull-up network (PUN) build using PMOS transistors For any valuation of inputs, either PDN pulls V f down to Gnd or PUN pulls V f up to V DD PDN and PUN have equal number of transistors, which are arranged so that the networks are dual V DD Pull-up network (PUN) V f V x V x n Pull-down network (PDN)

CMOS Gates V DD T V x V f x T T 2 T 2 on off off on f (a) Circuit (b) Truth table and transistor states Figure 3.2. CMOS realization of a NOT gate.

CMOS Gates V DD T T 2 V f V x T 3 x x 2 T T 2 T 3 T 4 f V x 2 T 4 on on off off on off on off off off on on off on off on (a) Circuit (b) Truth table and transistor states

CMOS Gates How to design the transistor circuit for a logic function f? f= gives the PUN f= gives the PDN f =(x x 2 ) = x + x 2 f = x x 2

CMOS Gates V DD T T 2 V f V x T 3 x x 2 T T 2 T 3 T 4 f V x 2 T 4 on on off off on off on off off off on on off on off on (a) Circuit (b) Truth table and transistor states

NOR Gate f =(x + x 2 ) = x x 2 f = x + x 2

V DD V x T V x 2 T 2 T 3 T 4 V f x x 2 T T 2 T 3 T 4 on on of f of f on of f on of f of f of f on on of f on of f on f (a) Circuit (b) T ruth table and transistor states

V DD V DD V f V x V x 2

V DD f = x + x 2x 3 f =(x + x 2x 3) = x (x 2 + x 3 ) V f V x V x 2 V x 3

Negative Logic System Negative logic system: lower voltage represents V DD V f V x V x 2 V f V x V x 2 L L H H L H L H H H H L (a) Circuit (b) Voltage level Copyright s S. Shirani

Negative Logic System x x 2 f x x 2 f (a) Positive logic truth table and gate symbol x x 2 f x x 2 f (b) Negative logic truth table and gate symbol

Standard Chips An approach used widely until mid-98s was to connect chips each containing only a few logic gates 74 series: chips with different logic gates

Standard Chips For each specific 74 series chip several variants are build with different technologies 74LS: build with transistor-transistor logic (TTL) 74HC: build using CMOS technology

Standard Chips

Standard Chips Because of their low capacity, standard chips are seldom used today except for buffers Pin Pin 2 Pin 4 Pin 6 Pin 8 Pin 3 Pin 5 Pin 7 Pin 9 Pin 2 Pin 4 Pin 6 Pin 8 Pin 9 Pin Pin 3 Pin 5 Pin 7

Programmable Logic Devices The function provided by each of the 74 series parts is fixed Each chip contains only a few logic gates These chips are inefficient for building large circuits Solution: manufacture chips that contain relatively large amount of logic with a structure that is not fixed These chips are called programmable logic devices (PLDs) Several types of PLDs are available: PLA, PAL, CPLD, and FPGA

Programmable Logic Technology Simple programmable logic devices (PLDs) such as programmable logic array (PLA) and programmable array logic (PAL) have been in use for over 2 years. PLA: the idea is that logic functions can be realized in sum-of products form 3

x x 2 x n Input buffers and inverters x x x n x n P AND plane P k OR plane General structure of a PLA f f m 32

Programmable Logic Technology Programmable connections (switches) are difficult to fabricate and reduce the speed of circuit In PALs the AND plane is programmable but the OR plane is fixed. To compensate for reduced flexibility, PALs are manufactured in a range 35

Programmable Logic Technology On many PLAs and PALs the output of the OR gate is connected to a flip flop whose output can then be feedback as an input into the AND gate array. This way simple state machines are implemented 37

Programming PLAs and PALs In PLA or PAL switches exist between the inputs and AND gate These switches should be programmed to implement a circuit There are several thousands programmable switches in commercial chips Manual programming is not an option CAD systems are employed for this purpose CAD is running on a computer that is connected to a programming unit CAD generates a file that states how each switch should be to realize the designed circuit

Programming PLAs and PALs PLD is placed in the programming unit and the programming file is transferred from the computer system Usually PLAs and PALs are part of circuit and are on a printed circuit board Usually the chip should be removed from the board for programming In system programming is usually not provided for PLAs and PALs but is available for more sophisticated chips

CPLD PLAs andpals are enough for implementing moderate size circuits For more sophisticated circuits CPLDs are used CPLD: multiple blocks and internal wiring that connects the blocks Each block is similar to a PAL or PLA so it is called PAL like block

CPLD

CPLD

CPLD Interconnection wiring contains programmable switches that are used to connect PAL-like blocks Commercial CPLDs have 2 to PAL-like blocks CPLD devices usually support in system programming A small connector is place on the board and for programming it is connected to the computer The circuit on CPLD that allows this type of programming is called JTAG (Joint Test Action Group).

CPLD

Field Programmable Gate Arrays (FPGA) One way to quantify a circuit s size is to assume that the circuits is to be built using only simple gates (e.g., NAND gates) and estimate how many of these gates are needed This method is called equivalent gates PLA/PAL: 6 gates CPLD:, gates Not large by modern standards To implement larger circuits we use FPGAs

Field Programmable Gate Arrays (FPGA) FPGAs: do not contain AND or OR planes FPGA contains three main types of resources: logic blocks I/O blocks for connecting to the pins interconnection wires and switches Each logic block in an FPGA has a small number of input and outputs The most commonly used logic block is a look-up table (LUT) LUT: contains storage cells that are used to implement a small logic function

FPGA

FPGA

FPGA

FPGA

FPGA

FPGA FPGAs are configured by using the in-system programming method FPGAs are volatile: they will lose stored contents whenever the power is turned off Often a small PROM is included on the board that houses the FPGA and the storage cells are loaded automatically from the PROM when the power is applied

Dynamic operation of logic gates x N N 2 A f (a) A NOT gate driving another NOT gate V DD V DD V A V x V f C (b) The capacitive load at node A

Dynamic operation of logic gates V DD V x 5% 5% Gnd Propagation delay Propagation delay V A V DD 5% 9% 9% 5% Gnd % % t r t f

Buffer V DD V x V f (a) Implementation of a buffer x f (b) Graphical symbol

Tri-state Buffer e = e x f x f x e = f (a) A tri-state buffer (b) Equivalent circuit e x f Z Z e x f (c) Truth table (d) Implementation

e Tri-state Buffer e x f x f (a) (b) e e x f x f (c) (d)

Tri-state Buffer x f s x 2 Figure 3.59. An application of tri-state buffers.

Transmission Gate It is possible to combine an NMOS and a PMOS transistor into a single switch It is called a transmission gate Vs=5 and Vs = turns the switch on. When Vx =, NMOS is on and Vf will be When Vx=5, PMOS transistor will be on and Vf will be 5

XOR Implementing XOR using AND and OR and NOT requires 22 transistors. This can be reduced using transmission gates

Multiplexer