CpE358/CS381. Switching Theory and Logical Design. Class 4



Similar documents
Analog & Digital Electronics Course No: PH-218

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

ANALOG & DIGITAL ELECTRONICS

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

MM74HC14 Hex Inverting Schmitt Trigger

CpE358/CS381. Switching Theory and Logical Design. Class 10

.LOW POWER DISSIPATION .HIGH NOISE IMMUNITY M74HC154 4 TO 16 LINE DECODER/DEMULTIPLEXER. HIGH SPEED tpd = 15 ns (TYP.) at VCC =5V

MM74HC273 Octal D-Type Flip-Flops with Clear

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

CMOS, the Ideal Logic Family

MM74HC174 Hex D-Type Flip-Flops with Clear

CD4027BC Dual J-K Master/Slave Flip-Flop with Set and Reset

CMOS Logic Integrated Circuits

Application Examples

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

CD4027BM CD4027BC Dual J-K Master Slave Flip-Flop with Set and Reset

8051 hardware summary

EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS

MM74HC4538 Dual Retriggerable Monostable Multivibrator

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

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

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

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

High-Speed, Low r ON, SPST Analog Switch (1-Bit Bus Switch)

HCF4056B BCD TO 7 SEGMENT DECODER /DRIVER WITH STROBED LATCH FUNCTION

DM74LS191 Synchronous 4-Bit Up/Down Counter with Mode Control

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

DG2302. High-Speed, Low r ON, SPST Analog Switch. Vishay Siliconix. (1-Bit Bus Switch with Level-Shifter) RoHS* COMPLIANT DESCRIPTION FEATURES

54191 DM54191 DM74191 Synchronous Up Down 4-Bit Binary Counter with Mode Control

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

54LS169 DM54LS169A DM74LS169A Synchronous 4-Bit Up Down Binary Counter

INTEGRATED CIRCUITS. 74LVC08A Quad 2-input AND gate. Product specification IC24 Data Handbook Jun 30

CD4013BC Dual D-Type Flip-Flop

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

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

. MEDIUM SPEED OPERATION - 8MHz . MULTI-PACKAGE PARALLEL CLOCKING FOR HCC4029B HCF4029B PRESETTABLE UP/DOWN COUNTER BINARY OR BCD DECADE

MADR TR. Single Driver for GaAs FET or PIN Diode Switches and Attenuators Rev. V1. Functional Schematic. Features.

DM74LS153 Dual 1-of-4 Line Data Selectors/Multiplexers

CD40174BC CD40175BC Hex D-Type Flip-Flop Quad D-Type Flip-Flop

74AC191 Up/Down Counter with Preset and Ripple Clock

3-input EXCLUSIVE-OR gate. The 74LVC1G386 provides a 3-input EXCLUSIVE-OR function.

MADR TR. Quad Driver for GaAs FET or PIN Diode Switches and Attenuators Rev. 4. Functional Schematic. Features.

74HC107; 74HCT107. Dual JK flip-flop with reset; negative-edge trigger


DM74LS151 1-of-8 Line Data Selector/Multiplexer

DM74LS47 BCD to 7-Segment Decoder/Driver with Open-Collector Outputs

Features INSTRUCTION DECODER CONTROL LOGIC AND CLOCK GENERATORS COMPARATOR AND WRITE ENABLE EEPROM ARRAY READ/WRITE AMPS 16

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

74HC32; 74HCT General description. 2. Features and benefits. Quad 2-input OR gate

4-bit binary full adder with fast carry CIN + (A1 + B1) + 2(A2 + B2) + 4(A3 + B3) + 8(A4 + B4) = = S1 + 2S2 + 4S3 + 8S4 + 16COUT

74HC165; 74HCT bit parallel-in/serial out shift register

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

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

LM139/LM239/LM339/LM2901/LM3302 Low Power Low Offset Voltage Quad Comparators

74HC4040; 74HCT stage binary ripple counter

HCC4541B HCF4541B PROGRAMMABLE TIMER

PS323. Precision, Single-Supply SPST Analog Switch. Features. Description. Block Diagram, Pin Configuration, and Truth Table. Applications PS323 PS323

CD4008BM CD4008BC 4-Bit Full Adder

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

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

74HC393; 74HCT393. Dual 4-bit binary ripple counter

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

MM54C150 MM74C Line to 1-Line Multiplexer

CD4511BM CD4511BC BCD-to-7 Segment Latch Decoder Driver

74HC175; 74HCT175. Quad D-type flip-flop with reset; positive-edge trigger

74F257A Quad 2-line to 1-line selector/multiplexer, non-inverting (3-State)

74HC02; 74HCT General description. 2. Features and benefits. Ordering information. Quad 2-input NOR gate

74HC377; 74HCT General description. 2. Features and benefits. 3. Ordering information

Obsolete Product(s) - Obsolete Product(s)

DATA SHEET. HEF40374B MSI Octal D-type flip-flop with 3-state outputs. For a complete data sheet, please also download: INTEGRATED CIRCUITS

MADR TR. Quad Driver for GaAs FET or PIN Diode Switches and Attenuators. Functional Schematic. Features. Description. Pin Configuration 2

1 TO 4 CLOCK BUFFER ICS551. Description. Features. Block Diagram DATASHEET

74HC595; 74HCT General description. 2. Features and benefits. 3. Applications

POWER-VOLTAGE MONITORING IC WITH WATCHDOG TIMER

54LS193 DM54LS193 DM74LS193 Synchronous 4-Bit Up Down Binary Counters with Dual Clock

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

.OPERATING SUPPLY VOLTAGE UP TO 46 V

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

Digital Systems. Syllabus 8/18/2010 1

BSEE Degree Plan Bachelor of Science in Electrical Engineering:

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

DS1307ZN. 64 x 8 Serial Real-Time Clock

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

Gates, Circuits, and Boolean Algebra

74HC238; 74HCT to-8 line decoder/demultiplexer

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

LC898300XA. Functions Automatic adjustment to the individual resonance frequency Automatic brake function Initial drive frequency adjustment function

74F168*, 74F169 4-bit up/down binary synchronous counter

Features. Instruction. Decoder Control Logic, And Clock Generators. Address Compare amd Write Enable. Protect Register V PP.

LOW POWER SCHOTTKY. GUARANTEED OPERATING RANGES ORDERING INFORMATION PLASTIC N SUFFIX CASE 648 SOIC D SUFFIX CASE 751B

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

Digital Electronics Detailed Outline

A Lesson on Digital Clocks, One Shots and Counters

CD74HC4046A, CD74HCT4046A

74HC138; 74HCT to-8 line decoder/demultiplexer; inverting

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

CMOS Power Consumption and C pd Calculation

Transcription:

Switching Theory and Logical Design Class 4 1-122

Today Fundamental concepts of digital systems (Mano Chapter 1) Binary codes, number systems, and arithmetic (Ch 1) Boolean algebra (Ch 2) Simplification of switching equations (Ch 3) Digital device characteristics (e.g., TTL, CMOS)/design considerations (Ch 10) Combinatoric logical design including LSI implementation (Chapter 4) Hazards, Races, and time related issues in digital design (Ch 9) Flip-flops and state memory elements (Ch 5) Sequential logic analysis and design (Ch 5) Synchronous vs. asynchronous design (Ch 9) Counters, shift register circuits (Ch 6) Memory and Programmable logic (Ch 7) Minimization of sequential systems Introduction to Finite Automata 1-123

Logic Families RTL Resistor-Transistor Logic DTL Diode-Transistor Logic TTL Transistor-Transistor Logic ECL Emitter-Coupled Logic MOS Metal-oxide semiconductor CMOS Complementary MOS 1-124

RTL RTL Characteristics: Minimum component count Passive pull-up +V A B C Y Y A B C Y=(A+B+C) 1-125

DTL DTL characteristics: Diode AND circuit at input Passive pull-up +V A B C Y Y A B C Y=(ABC) 1-126

Open Collector TTL TTL Characteristics: Replace DTL diodes with multiple emitter transistor Passive pull-up +V A B C Y A Y B Y=(ABC) C 1-127

Totem Pole TTL Totem-pole TTL Characteristics: Active pull-up +V A B C Y A Y B Y=(ABC) C 1-128

Conventional TTL Switching transistors on/off requires junctions to saturate Saturated junctions require time to recover This limits speed of TTL +V 1-129

Schottky TTL Schottky diodes and Schottky transistors replace conventional TTL transistors Schottky junctions have improved high speed switching characteristics because the do not allow the switching transistor to saturate +V 1-130

Tri-State Logic 32 Communications bus Device 1 (e.g., CPU) Device 2 (e.g., memory) Device 3 (e.g., I/O) 1-131

Tri-State Logic 0-Enable_B 1-Enable_A Data_N Device A Device B 1-132

Tri-state Devices in out=f(in) out CE1 CE2 if(ce1=1 AND CE2=0) { out=f(in) } else out=hi-z; 1-133

ECL Differential input amplifier Differential outputs to drive transmission lines Unsaturated transistor operation provides high speed V cc2 =GND V cc1 =GND Y OR A B (A+B) A+B Y NOR A B V EE = -5.2V 1-134

ECL A B Differential Input Receiver 1-135

MOS V DD V DD Y=(AB) Y=(A+B) A A B B 1-136

MOS vs. CMOS MOS upper transistor is analogous to RTL logic resistor CMOS circuit is analogous to TTL totem pole CMOS draws essentially no power in static state Power is consumed when switching states power consumption frequency V DD V DD Y=A A Y=A A 1-137

Fan-out Exceeding fanout degrades performance or prevents proper operation 0 I OH 1 I OL X 1 I IH I IL I IH I IL Fanout IOH I OL = min, IIH IIL 1-138

Noise Margin Worst case with loading power temperature V OH V CC margin V IH Worst case tolerable input with power temperature margin V IL V OL 0 V V out V in 1-139

Propagation delay 1 in out t PHL t PLH 1-140

Comparison of Logic Families Logic Family Common designation Fanout P d (mw) t p (ns) Noise margin RTL - 5 12 25 0.4 V DTL - 8 12 30 1.0 V TTL 74xx/54xx 10 UL 10 9 0.4 V Low power (LP) TTL 74Lxx 20 UL 1 33 0.4 V High Speed TTL 74Hxx 10 UL 22 6 0.4 V Schottky TTL 74Sxx 10 UL 19 3 0.3 V LP Schottky TTL 74LSxx 20 UL 2 9.5 0.4 V Advanced Schottky TTL 74ASxx 40 UL 10 1.5 0.4 V Advanced LP Schottky TTL 74ALSxx 20 UL 1 4 0.4 V Fast TTL 74Fxx 20 UL 4 3 0.4 V ECL high 25 2 0.3 V Conventional CMOS 4xxx 30@1MHz 40% Vdd TTL pin compatible CMOS High-speed TPC CMOS TTL compatible CMOS 74C 74HC 74HCT Less at higher frequency 10 UL.01@DC 1@1MHz 5@10MHz 5-20 40% Vdd 40% Vdd >0.4 V 1-141

Logic Family Tradeoffs tp 35 30 25 20 15 74L TTL CMOS DTL RTL Better speed/power tradeoff 10 5 0 74LS TTL 74ALS TTL 74F TTL 74 TTL 74AS TTL 74H TTL 74S TTL ECL 0 5 10 15 20 25 30 Pd 1-142

Summary Fundamental concepts of digital systems (Mano Chapter 1) Binary codes, number systems, and arithmetic (Ch 1) Boolean algebra (Ch 2) Simplification of switching equations (Ch 3) Digital device characteristics (e.g., TTL, CMOS)/design considerations (Ch 10) Combinatoric logical design including LSI implementation (Chapter 4) Hazards, Races, and time related issues in digital design (Ch 9) Flip-flops and state memory elements (Ch 5) Sequential logic analysis and design (Ch 5) Synchronous vs. asynchronous design (Ch 9) Counters, shift register circuits (Ch 6) Memory and Programmable logic (Ch 7) Minimization of sequential systems Introduction to Finite Automata 1-143

Design Projects Design projects are INDIVIDUAL EFFORTS. Projects are due during Class 15 (June 24) Several choices for projects will be described. Each has associated with it a Level of Difficulty Pick any N projects with a level of difficulty totaling at least 10 points. Grade(s) on project(s) will be multiplied by difficulty level and added to determine overall project grade. Any amount of extra credit is permitted. Design must include expression of Boolean functions designed and their minimization. Any methods used in the course are permitted. Extra credit will be given for multiple approaches. Show all work. Credit will be deducted for excessively complicated designs (where possible, provide an estimate the minimum required complexity for the design) Timing diagrams are required for all sequential designs. Make and state realistic assumptions about gate delays and other timing considerations (e.g., the frequency or period of clocks). 1-144

Design Projects Pick any combination of design projects with Difficulty totaling at least 10: 1. Garage Door Opener (Difficulty = 3): Output functions: Fmotorup(), Fmotordown() both functions of inputs: top_limit_sw, bottom_limit_sw, obstruction_sensor, open_close_button,timer. Press open_close_button momentarily to move door. Door continues moving until either: timer expires, door reaches top limit, door reaches bottom limit, door encounters obstacle while moving down. Obstacle encountered while moving down causes door to open TopLimit Open/Close MotorUp Obstruction Garage Door Opener MotorDown Motor BottomLimit 1-145

Design Projects 2. Traffic Light Controller (Difficulty = 5): Output functions: Light_NS_Red(), Light_NS_Yellow(), Light_NS_Green(), Light_EW_Red(), Light_EW_Yellow(), Light_EW_Green(). All are functions of inputs EW_ped_button, NS_ped_button, NS_vehicle, EW_vehicle,clock. With no pedestrian or traffic, light cycles Green 55 seconds, Yellow 5 seconds, Red 60 seconds. If EW pedestrian pushes button to cross, NS Green cycle is ends immediately. Ditto for NS pedestrian. If EW vehicle enters stop area during Red light, if there have been no NS vehicles in past 15-20 seconds, NS Green cycle ends immediately. Ditto for NS vehicle. Extra credit (Difficulty = 2): Include green and yellow left turn arrow for NS traffic. Green arrow is 10 seconds at start of green interval for N traffic followed by Yellow arrow for 5 seconds. Green arrow is 10 seconds at end of green interval for S traffic, followed by 5 second yellow arrow. Pedestrian buttons NS EW NS EW Vehicle sensors Traffic Light Controller Clock {R,Y,G}{NS,EW} N/S E/W 1-146

Design Projects - Continued 3. Seven Segment Alphabetic decoder (Difficulty=8). Seven segment displays have been used for years to display the numerals from 0 to 9. The 7447 TTL device can decode BCD to a 7 segment. Design a decoding circuit that has as its input ASCII characters and outputs signals to drive a seven segment display to represent the alphabet. Non-alphabetic characters can be ignored (Don t Care). You may design the circuit to respond to upper case only or upper and lower case, or both. The outputs for A-Z should look like: ASCII b 0 b 7 ASCII to 7 segment decoder a g f a e g b d c 1-147

Design Projects - Continued 4. Morse Code Electronic Keyer (Difficulty = 10) Two inputs: dot and dash, one output normally 0, switches to 1 when output signal is asserted. Morse code consists of two timed code elements: short signals (dots length T) and long signals (dashes length 3T). Letters and other code symbols are created by combining sequences of dots and dashes. Within a letter, the spacing between code elements is equal to the length of a dot. An electronic keyer generates dots and dashes of precise length automatically. If the dot input is asserted, a sequence of dots (T on, T off) is output. If the dash input is asserted, a sequence of dashes is output (3T on, T off). If both inputs are asserted, an alternating sequence of dot-dash-dotdash is sent (T on, T off, 3T on, T off, ). If dash is continually asserted and dot is momentarily asserted, a single dot is sent in the middle of the string of dashes. (The converse facility is extra credit) The speed at which dots and dashes are generated is externally set by the user and may be assumed to be a constant. The initial transmission of dots and dashes may be assumed to occur at fixed times, corresponding to the beginning of a dot interval. Extra credit: the initial transmission may start at a time instant that is a fraction of a dot interval, but the duration of code elements must be retained. Dot Dash Morse Code Electronic Keyer Morse out Clock 1-148

Design Projects - Continued 5. Tail Light Sequencer (Difficulty = 6) There are five inputs to the tail light sequencer: Clock, Right, Left, Stop, and Flasher. The tail light sequencer has 7 outputs, corresponding to seven lights across the back of a car, numbered 1-7 from left to right. If the Right input is asserted, the three right lights (5,6, and 7) flash at the rate of 3/second, first 5 for 1/3 rd second, then 6, then 7, then 5 again. If the Left input is asserted, Lights 3, 2, and 1 similarly flash. If Flash is asserted, light 4, followed by lights 3 and 5, followed by 2 and 6, followed by 1 and 7 similarly flash. If Stop is asserted, all lights are turned on. If Stop and either Left or Right are asserted, all lights are turned on, but either lights 1,2,3 or 5,6,7 blink out for 1/3 rd second each. Right 1 2 3 4 5 6 7 Left Flash Tail Light Sequencer Stop Clock 1-149

Design Projects - Continued 6. Electronic Dice (Difficulty=7) 7 LEDs flash in a seemingly random fashion (20/second) until user presses a button. Flashing stops within 1 second and LEDs display a pattern representing the 6 possible die faces. Probability of any outcome is equally likely. Roll Electronic Dice Clock 1-150

Homework 4 due in Class 6 As always, show all work: Problems 10-6, 10-11 1-151