Welcome to 6.111! Introductory Digital Systems Laboratory

Similar documents
Welcome to 6.111! Introductory Digital Systems Laboratory

The Digital Abstraction

The Digital Abstraction

6.004 Computation Structures Spring 2009

Welcome to 6.S084! Computation Structures (special)

Physical Bits: Transistors and Logic

Processing Information: The Digital Abstraction. Concrete Encodings of Information

2014 Paper E2.1: Digital Electronics II

ECE 484 VLSI Digital Circuits Fall Lecture 02: Design Metrics

Memory, Latches, & Registers

Welcome to 6.111! Introductions. Introductions The Hardware

Lab 7 (Hands-On Experiment): CMOS Inverter, NAND Gate, and NOR Gate

VLSI Design I; A. Milenkovic 1

6.111 Lecture # 19. Controlling Position. Some General Features of Servos: Servomechanisms are of this form:

Using IBIS Models for Timing Analysis

Logic 0 Logic To provide an output load (or two) 5 Voltage Measurement Point V CC +5 74LS00 GND

Lecture 1. Tinoosh Mohsenin

ECE520 VLSI Design. Lecture 5: Basic CMOS Inverter. Payman Zarkesh-Ha

Digital Microelectronic Circuits ( ) Terminology and Design Metrics. Lecture 2: Presented by: Adam Teman

Lecture 2. Digital Basics

INF3430 Clock and Synchronization

ECE 6770 FINAL PROJECT

Computerized Data Acquisition Systems. Chapter 4

Memory, Latches, & Registers

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM

DS1270W 3.3V 16Mb Nonvolatile SRAM

Lecture 02: Logic Families. R.J. Harris & D.G. Bailey

Designing Information Devices and Systems II Fall 2017 Note 1

Microcircuit Electrical Issues

Electronic Circuits EE359A

IES Digital Mock Test

DIGITAL INTEGRATED CIRCUITS A DESIGN PERSPECTIVE 2 N D E D I T I O N

Digital Systems Power, Speed and Packages II CMPE 650

Digital Systems Laboratory

Class #6: Experiment The 555-Timer & Pulse Width Modulation

Preface to Third Edition Deep Submicron Digital IC Design p. 1 Introduction p. 1 Brief History of IC Industry p. 3 Review of Digital Logic Gate

Lab 2 Revisited Exercise

UMAINE ECE Morse Code ROM and Transmitter at ISM Band Frequency

Chapter 13 Oscillators and Data Converters

DS1075 EconOscillator/Divider

P4C164LL. VERY LOW POWER 8Kx8 STATIC CMOS RAM FEATURES DESCRIPTION V CC. Current (Commercial/Industrial) Operating: 55 ma CMOS Standby: 3 µa

ECE 497 JS Lecture - 22 Timing & Signaling

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Electronic Instrumentation ENGR-4300 Fall 2004 Section Experiment 7 Introduction to the 555 Timer, LEDs and Photodiodes

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Analog to Digital Converter

Lecture 11 Digital Circuits (I) THE INVERTER

Microcontroller Systems. ELET 3232 Topic 13: Load Analysis

Hello, and welcome to the Texas Instruments Precision overview of AC specifications for Precision DACs. In this presentation we will briefly cover

Tel: Fax:

Experiment # 2 Characteristics of TTL Gates

ECE 241 Digital Systems. Basic Information

Introduction (concepts and definitions)

Cyclone III Simultaneous Switching Noise (SSN) Design Guidelines

Laboratory 9. Required Components: Objectives. Optional Components: Operational Amplifier Circuits (modified from lab text by Alciatore)

Lecture Perspectives. Administrivia

Course Outline Cover Page

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

In this lecture, we will first examine practical digital signals. Then we will discuss the timing constraints in digital systems.

VLSI Physical Design Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Lecture Summary Module 1 Switching Algebra and CMOS Logic Gates

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

DS1075. EconOscillator/Divider PRELIMINARY FEATURES PIN ASSIGNMENT FREQUENCY OPTIONS

FAMILIARIZATION WITH DIGITAL PULSE AND MEASUREMENTS OF THE TRANSIENT TIMES

Multiplexer for Capacitive sensors

EE 280 Introduction to Digital Logic Design

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

Lecture 12 - Digital Circuits (I) The inverter. October 20, 2005

Lecture 11 Circuits numériques (I) L'inverseur

ECEN689: Special Topics in High-Speed Links Circuits and Systems Spring 2012

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

ECEN720: High-Speed Links Circuits and Systems Spring 2017

EE 233 Circuit Theory Lab 2: Amplifiers

Digital Fundamentals

P4C1256L LOW POWER 32K X 8 STATIC CMOS RAM FEATURES DESCRIPTION V CC. Current (Commercial/Industrial) Operating: 70mA/85mA CMOS Standby: 100µA/100µA

6-Bit A/D converter (parallel outputs)

EECS150 - Digital Design Lecture 28 Course Wrap Up. Recap 1

PROCESS-VOLTAGE-TEMPERATURE (PVT) VARIATIONS AND STATIC TIMING ANALYSIS

Lecture #1. Course Overview

16.2 DIGITAL-TO-ANALOG CONVERSION

UNIT-III POWER ESTIMATION AND ANALYSIS

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

Eye Diagram Basics: Reading and applying eye diagrams

EE 508 Lecture 1. Introduction to Course

E85: Digital Design and Computer Architecture

電子電路. Memory and Advanced Digital Circuits

VCXO Basics David Green & Anthony Scalpi

Digital Fundamentals 8/25/2016. Summary. Summary. Floyd. Chapter 1. Analog Quantities

Ch 5 Hardware Components for Automation

Lecture 30. Perspectives. Digital Integrated Circuits Perspectives

DS1073 3V EconOscillator/Divider

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lab 1.2 Joystick Interface

CHAPTER 6 DIGITAL CIRCUIT DESIGN USING SINGLE ELECTRON TRANSISTOR LOGIC

CMOS Digital Integrated Circuits Lec 11 Sequential CMOS Logic Circuits

QUICKSWITCH BASICS AND APPLICATIONS

ECE 3160 DIGITAL SYSTEMS LABORATORY

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

ENEE307 Lab 7 MOS Transistors 2: Small Signal Amplifiers and Digital Circuits

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

Transcription:

Welcome to 6.111! Introductory Digital Systems Laboratory Handouts: Info form (yellow) Course Calendar Safety Memo Kit Checkout Form Lecture slides Lectures: Chris Terman TAs: Karthik Balakrishnan HuangBin Son Colin Weltin-Wu 6.111 Fall 2004 Lecture 1, Slide 1

Course Website (http://mit.edu/6.111) 6.111 Fall 2004 Lecture 1, Slide 2

6.111 Goals Fundamentals of logic design combinational and sequential blocks System integration with multiple components FPGAs, memories, discrete components, etc. Learn a Hardware Description Language (Verilog) Interfacing issues with analog components ADC, DAC, sensors, etc. Understand different design methodologies Understand different design metrics component/gate count and implementation area, switching speed, energy dissipation and power Design & implement a substantial digital system Have fun! 6.111 Fall 2004 Lecture 1, Slide 3

Lab 1 Labs: learning the ropes Learn about the lab kit and wire something Learn about lab equipment in the Digital Lab (38-600): oscilloscopes and logic analyzers Program and test a PAL (Programmable Array Logic Device) Introduction to Verilog Lab 2 Design and implement a Finite State Machine (FSM) Use Verilog to program an FPGA Learn how to use an SRAM Report and its revision will be evaluated for CI-M Lab 3 Design a complicated system with multiple FSMs (Major/Minor FSM) Implement RAMs and ROMs in an FPGA Interfacing to analog components (ADC and DAC) 6.111 Fall 2004 Lecture 1, Slide 4

Final Project Done in groups of two or three Open ended You and the staff negotiate a project proposal Must emphasize digital concepts, but inclusion of analog interfaces (e.g., data converters, sensors or motors) common and often desirable Proposal Conference, several Design Reviews Design presentation in class (% of the final grade for the in-class presentation) Staff will provide help with project definition and scope, design, debugging, and testing It is extremely difficult for a student to receive an A without completing the final project 6.111 Fall 2004 Lecture 1, Slide 5

Why Digital? A Thought Experiment H T H T Goal: transmit results of 100 coin flips 6.111 Fall 2004 Lecture 1, Slide 6

Experiment #1: Analog Encoding H H T T 100 coin flips 2 100 possibilities Transmit voltage N/2 100 for possibility #N Required voltage resolution = 1/2 100 = ~8e-31 volts impossible to reliably transmit/receive voltages with that resolution 6.111 Fall 2004 Lecture 1, Slide 7

Rethink basic system architecture Noise and inaccuracy are inevitable; we can t reliably transmit/receive/manipulate infinite information-- we must design our system to tolerate some amount of error if it is to process information reliably. A system is a structure that is guaranteed to exhibit a specified behavior, assuming all of its components obey their specified behaviors. How is this achieved? CONTRACTS! Every system component will have clear obligations and responsibilities. If contracts are violated all bets are off. 6.111 Fall 2004 Lecture 1, Slide 8

Going Digital Digital representation = information encoded as a sequence of symbols chosen from a (small) set. Keep in mind that the world is not digital, we will simply engineer it to behave that way. Furthermore, we must use real physical (analog, continuous) phenomena to implement digital designs! Common choices Binary symbols (0, 1) If we have DC connectivity (wired): encode using voltages/currents If we don t have DC connectivity (wireless): encode using frequency/phase We ll work with these Going digital keeps the contracts simple limit quantum of information we process in exchange for reliablity 6.111 Fall 2004 Lecture 1, Slide 9

Using Voltages Digitally Key idea: don t allow 0 to be mistaken for a 1 or vice versa Use the same uniform representation convention for every component and wire in our digital system To implement devices with high reliability, we outlaw close calls via a representation convention which forbids a range of voltages between 0 and 1. Valid 0 Invalid Forbidden Zone Valid 1 volts Consequence: notion of valid and invalid signals 6.111 Fall 2004 Lecture 1, Slide 10

A Digital Processing Element Static discipline A combinational device is a circuit element that has one or more digital inputs one or more digital outputs a functional specification that details the value of each output for every possible combination of valid input values a timing specification consisting (at minimum) of an upper bound t pd on the required time for the device to compute the specified output values from an arbitrary set of stable, valid input values input A input B Output a 1 if at least 2 out of 3 of my inputs are a 1. Otherwise, output 0. output Y input C I will generate a valid output in no more than 2 minutes after seeing valid inputs 6.111 Fall 2004 Lecture 1, Slide 11

Why have processing blocks? The goal of modular design: ABSTRACTION What does that mean anyway: Rules simple enough for a 6-3 to follow Understanding BEHAVIOR without knowing IMPLEMENTATION Predictable composition of functions Tinker-toy assembly Guaranteed behavior under REAL WORLD circumstances 6.111 Fall 2004 Lecture 1, Slide 12

A Combinational Digital System A set of interconnected elements is a combinational device if each circuit element is a combinational device every input is connected to exactly one output or a constant (eg, some vast supply of 0 s and 1 s) the circuit contains no directed cycles Why is this true? Given an acyclic circuit meeting the above constraints, we can derive functional and timing specs for the input/output behavior from the specs of its components! We ll see lots of examples soon. But first, we need to build some combinational devices to work with 6.111 Fall 2004 Lecture 1, Slide 13

Wires: theory vs. practice Does a wire obey the static discipline? Noise: changes voltage V in (voltage close to boundary with forbidden zone) V out (voltage in forbidden zone: Oops, not a valid voltage!) V in V in Questions to ask ourselves: In digital systems, where does noise come from? How big an effect are we talking about? 6.111 Fall 2004 Lecture 1, Slide 14

Power Supply Noise Power supply Integrated circuit + - L s from chip leads R s and C s from Aluminum wiring layers Current loads from on-chip devices V from: IR drop (between gates: 30mV, within module: 50mV, across chip: 350mV) L(dI/dt) drop (use extra pins and bypass caps to keep within 250mV) LC ringing triggered by current steps 6.111 Fall 2004 Lecture 1, Slide 15

Crosstalk + - A B C C C O V A V B If node B is driven V A V B = C O CC + C C V A This situation frequently happens on integrated circuits where there are many overlapping wiring layers. In a modern integrated circuit V A might be 2.5V, C O = 20fF and C C = 10fF V B = 0.83V! Designers often try to avoid these really bad cases by careful routing of signals, but some crosstalk is unavoidable. 6.111 Fall 2004 Lecture 1, Slide 16

Intersymbol Interference V from energy storage left over from earlier signaling on the wire: transmission line discontinuities (reflections off of impedance mismatches and terminations) [Dally]Fig. 6-17 charge storage in RC circuit (narrow pulses are lost due to incomplete transitions) RLC ringing (triggered by voltage steps ) [Dally]Fig. 6-19 Fix: slower operation, limiting voltage swings and slew rates 6.111 Fall 2004 [Dally]Fig. 6-20 Lecture 1, Slide 17

Needed: Noise Margins! Does a wire obey the static discipline? V in (marginally valid) Noise V out (invalid!) No! A combinational device must restore marginally valid signals. It must accept marginal inputs and provide unquestionable outputs (i.e., to leave room for noise). VALID INPUT REPRESENTATIONS Valid 0 Forbidden Zone V OL V IL V IH V OH Valid 1 volts NOISE MARGINS VALID OUTPUT REPRESENTATIONS 6.111 Fall 2004 Lecture 1, Slide 18

Sample DC (signalling) Specification 6.111 Fall 2004 Lecture 1, Slide 19

Experiment #2: Digital Encoding H H T T Transmit: <.2V for tails, >.8V for heads Receive: <.4V is tails, >.6V is heads 0.2V Noise Margins 100 coin flips one transmission for each flip But when does receiver make measurements? Is HT or HHHTTT? 6.111 Fall 2004 Lecture 1, Slide 20

Experiment #3: Manchester Encoding H H T T Transmit: 0.8V 0.2V heads tails Receive: 0.6V 0.4V heads tails 0.2V Noise Margins 100 coin flips one transmission for each flip Receiver can tell when new information is present. 6.111 Fall 2004 Lecture 1, Slide 21

Example device: A Buffer V OH V IN V IL V OL V out V OL V IL V IH V OH 0 0 1 1 Voltage Transfer Characteristic (VTC): Plot of V out vs. V in where each measurement is taken after any transients have died out. V in Note: VTC does not tell you anything about how fast a device is it measures static behavior not dynamic behavior Static Discipline requires that we avoid the shaded regions aka forbidden zones ), which correspond to valid inputs but invalid outputs. Net result: combinational devices must have GAIN > 1 and be NONLINEAR. 6.111 Fall 2004 Lecture 1, Slide 22

Can this be a combinational device? Suppose that you measured the voltage transfer curve of the device shown below. Could we build a logic family using it as a single-input combinational device? V IH 3 2 V OUT V IL 5 (0,5) 4 (1,4) V OH Hmmm, it had better be an INVERTER V OH The device must be able to actually produce the desired output level. Thus, V OL can be no lower than 0.5 V. Try V OL = 0.5 V V IH must be high enough to produce V OL Try V IH = 3 V V OL 1 0 0 (2.5,1) (3,0.5) 1 2 3 4 5 V OL V IH V IN V IL Now, choose noise margins find an N and set V OH = V IH + N V IL = V OL + N Such that V IH IN generates V OL or less out; AND V IL IN generates V OH or more out. Try N = 0.5 V 6.111 Fall 2004 Lecture 1, Slide 23

Summary We ll use voltages to encode information Digital encoding valid voltage levels for representing 0 and 1 forbidden zone avoids mistaking 0 for 1 and vice versa Noise Want to tolerate real-world conditions: NOISE. Key: tougher standards for output than for input devices must have gain and have a non-linear VTC Combinational devices Each logic family has Tinkertoy-set simplicity, modularity predictable composition: parts work whole thing works static discipline digital inputs, outputs; restore marginal input voltages complete functional spec valid inputs lead to valid outputs in bounded time 6.111 Fall 2004 Lecture 1, Slide 24