Chapter 1: Introduction

Similar documents
ECE 274 Digital Logic. Digital Design. Datapath Components Registers. Datapath Components Register with Parallel Load

ECE 274 Digital Logic. Digital Design. Sequential Logic Design Controller Design: Laser Timer Example

Chapter 3: Sequential Logic Design -- Controllers

CPE 200L LABORATORY 2: DIGITAL LOGIC CIRCUITS BREADBOARD IMPLEMENTATION UNIVERSITY OF NEVADA, LAS VEGAS GOALS:

GRABLINKTM. FullTM. - DualBaseTM. - BaseTM. GRABLINK Full TM. GRABLINK DualBase TM. GRABLINK Base TM

Pitch I. I. Lesson 1 : Staff

LCD Data Projector VPL-S500U/S500E/S500M

CMST 220 PUBLIC SPEAKING

Before Reading. Introduce Everyday Words. Use the following steps to introduce students to Nature Walk.

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 28. Setting Up the Projector 15

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 29. Setting Up the Projector 16

Engineer To Engineer Note

Application Support. Product Information. Omron STI. Support Engineers are available at our USA headquarters from

Chapter 5. Synchronous Sequential Logic. Outlines

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 30. Setting Up the Projector 17

walking. Rhythm is one P-.bythm is as Rhythm is built into our pitch, possibly even more so. heartbeats, or as fundamental to mu-

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 29. Setting Up the Projector 16

Corporate Logo Guidelines

Contents. English. English. Your remote control 2

Lecture 3: Circuits & Layout

Pro Series White Toner and Neon Range

style type="text/css".wpb_animate_when_almost_visible { opacity: 1; }/style

Outline. Circuits & Layout. CMOS VLSI Design

Notations Used in This Guide

DRAFT. Vocal Music AOS 2 WB 3. Purcell: Music for a While. Section A: Musical contexts. How is this mood achieved through the following?

lookbook Higher Education

CPSC 121: Models of Computation Lab #2: Building Circuits

Contents 2. Notations Used in This Guide 7. Introduction to Your Projector 8. Using Basic Projector Features 34. Setting Up the Projector 17

Explosion protected add-on thermostat

User's Guide. Downloaded from

Notations Used in This Guide

A New Concept of Providing Telemetry Data in Real Time

Day care centres (ages 3 to 5) Kindergarten (ages 4 to 5) taken part in a fire drill in her building and started to beep.

Answers to Exercise 3.3 (p. 76)

ARCHITECTURAL CONSIDERATION OF TOPS-DSP FOR VIDEO PROCESSING. Takao Nishitani. Tokyo Metropolitan University

Applications to Transistors

Safety Relay Unit G9SB

Animals. Adventures in Reading: Family Literacy Bags from Reading Rockets

Reproducible music for 3, 4 or 5 octaves handbells or handchimes. by Tammy Waldrop. Contents. Performance Suggestions... 3

Train times. Monday to Sunday

SeSSION 9. This session is adapted from the work of Dr.Gary O Reilly, UCD. Session 9 Thinking Straight Page 1

User's Guide. Downloaded from

Panel-mounted Thermostats

LCD VIDEO MONITOR PVM-L1700. OPERATION MANUAL [English] 1st Edition (Revised 2)

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial

Train times. Monday to Sunday. Stoke-on-Trent. Crewe

Introduction. APPLICATION NOTE 712 DS80C400 Ethernet Drivers. Jun 06, 2003

TAP 413-1: Deflecting electron beams in a magnetic field

lookbook Transportation - Airports

LAERSKOOL RANDHART ENGLISH GRADE 5 DEMARCATION FOR EXAM PAPER 2

LCD VIDEO MONITOR PVM-L3200. OPERATION MANUAL [English] 1st Edition (Revised 1)

DIGITAL EFFECTS MODULE OWNER'S MANUAL

Standard Databases for Recognition of Handwritten Digits, Numerical Strings, Legal Amounts, Letters and Dates in Farsi Language

LOGICAL FOUNDATION OF MUSIC

MILWAUKEE ELECTRONICS NEWS

Your Summer Holiday Resource Pack: English

Kelly McDermott h#s tr#veled the U.S., C#n#d# #nd Europe #s performer, te#cher #nd student. She h#s # B#chelor of Music degree in flute perform#nce

WE SERIES DIRECTIONAL CONTROL VALVES

Solutions For Live Video & Television Productions. LiveXpert is a brand OF

Reverse Iterative Deepening for Finite-Horizon MDPs with Large Branching Factors

INPUT CAPTURE WITH ST62 16-BIT AUTO-RELOAD TIMER

Outline. Annual Sales. A Brief History. Transistor Types. Invention of the Transistor. Lecture 1: Circuits & Layout. Introduction to CMOS VLSI Design

1. Connect the wall transformer to the mating connector on the Companion. Plug the transformer into a power outlet.

92.507/1. EYR 203, 207: novaflex universal controller. Sauter Systems

For public transport information phone Bus 415. Easy access on all buses. Middleton Alkrington Middleton Junction Chadderton Oldham

Soft Error Derating Computation in Sequential Circuits

1. acquiring 2. compilation 3. cornerstone 4. concise 5. comprehensive 6. advancement

PRACTICE FINAL EXAM T T. Music Theory II (MUT 1112) w. Name: Instructor:

Homework 1. Homework 1: Measure T CK-Q delay

The Big Wide World. spices. harbour

The Official IDENTITY SYSTEM. A Manual Concerning Graphic Standards and Proper Implementation. As developed and established by the

What do these sentences describe? Write P for plants, A for animals or B for both next to each sentence below. They ve got roots.

Introduction to Digital Logic Missouri S&T University CPE 2210 Introduction and Application Areas

Evaluation of the Suitability of Acoustic Characteristics of Electronic Demung to the Original Demung

months ending June 30th 2001 Innovators in image processing

THE SOLAR NEIGHBORHOOD. XV. DISCOVERY OF NEW HIGH PROPER MOTION STARS WITH 0B4 yr 1 BETWEEN DECLINATIONS 47 AND 00

LOGOMANUAL. guidelines how to use Singing Rock logotype. Version 1.5 English. Lukáš Matěja

1 --FORMAT FOR CITATIONS & DOCUMENTATION-- ( ) YOU MUST CITE A SOURCE EVEN IF YOU PUT INFORMATION INTO YOUR OWN WORDS!

Preview Only. Editor s Note. Pronunciation Guide

Unit 10: I don t feel very well

Star. Catch a. How. Teachers Pack. A starry moonlit adventure. Based on the beautiful picture book by Oliver Jeffers

A Proposed Keystream Generator Based on LFSRs. Adel M. Salman Baghdad College for Economics Sciences

ViaLiteHD RF Fibre Optic Link

TAU 2013 Variation Aware Timing Analysis Contest

SMOKE FRGTORY FOG AITD HAZE GE]'IERATOßS

VISUAL IDENTITY GUIDE

Safety Relay Unit G9SB

Chapter 1: Data Storage. Copyright 2015 Pearson Education, Inc.

9. The Structure of Chanted Ipili Tindi

The wonders of the mind. The way we are. Making a difference. Around the world. Module 1. Module 2. Module 3. Module 4

lookbook Corporate LG provides a wide-array of display options that can enhance your brand and improve communications campus-wide.

Data Storage and Manipulation

ARNOLD SCHWARZENEGGER

Contents. Thank you for the music page 3 Fernando 9 Waterloo 18

Encoders and Decoders: Details and Design Issues

Appendix A. Quarter-Tone Note Names

Big Adventures. Why might you like to have an adventure? What kind of adventures might you enjoy?

Your KIM. characters, along with a fancy. includes scrolling, erase to end of screen, full motions, and the usual goodies. The

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2.

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It

Transcription:

Chpter : Introduction Slides to ccompny the textbook, First Edition, by, John Wiley nd Sons Publishers, 7. http://www.ddvhid.com Copyright 7 Instructors of courses requiring Vhid's textbook (published by John Wiley nd Sons) hve permission to modify nd use these slides for customry course-relted ctivities, subject to keeping Digitl this copyright Design notice in plce nd unmodified. These slides my be posted s unnimted pdf versions on publicly-ccessible course websites.. PowerPoint source (or pdf with nimtions) my not be posted to publicly-ccessible websites, but my be posted for students on internl protected sites or distributed directly to students by other electronic mens. Copyright 7 Instructors my mke printouts of the slides vilble to students for resonble photocopying chrge, without incurring roylties. Any other use requires explicit permission. Instructors my obtin PowerPoint Frnk source Vhid or obtin specil use permissions from Wiley see http://www.ddvhid.com for informtion.

Why Study?. Look under the hood of computers Solid understnding --> confidence, insight, even better progrmmer when wre of hrdwre resource issues Electronic devices becoming digitl Enbled by shrinking nd more cpble chips Enbles: Better devices: Better sound recorders, cmers, crs, cell phones, medicl devices,... New devices: Video gmes, PDAs,... Known s embedded systems Thousnds of new devices every yer Designers needed: Potentil creer direction Stellites Portble music plyers Cell phones DVD plyers Video recorders Musicl instruments Cmers TVs??? Copyright 7 995 997 999 3 5 7 Yers shown bove indicte when digitl version begn to dominte (Not the first yer tht digitl version ppered) Note: Slides with nimtion re denoted with smll red "" ner the nimted items

Anlog signl Wht Does Digitl Men? Inifinite possible vlues Ex: voltge on wire creted by microphone Digitl signl Finite possible vlues Ex: button pressed on keypd. Sound wves move the membrne, 3 microphone which moves the mgnet, which cretes current in the nerby wire vlue Copyright 7 nlog signl Possible vlues:.,.,.9,... infinite possibilities time vlue 3 digitl signl time Possible vlues:,,, 3, or. Tht s it. 3

Digitl Signls with Only Two Vlues: Binry Binry digitl signl -- only two possible vlues Typiclly represented s nd One binry digit is bit We ll only consider binry digitl signls Binry is populr becuse Trnsistors, the bsic digitl electric component, operte using two voltges (more in Chpt. ) Storing/trnsmitting one of two vlues is esier thn three or more (e.g., loud beep or quiet beep, reflection or no reflection) vlue time Copyright 7

Exmple of Digitiztion Benefit Anlog signl (e.g., udio) my lose qulity Voltge levels not sved/copied/trnsmitted perfectly Digitized version enbles ner-perfect sve/cpy/trn. Smple voltge t prticulr rte, sve smple using bit encoding Voltge levels still not kept perfectly But we cn distinguish s from s Let bit encoding be: V: V: 3 V: Copyright 7 Digitized signl not perfect re-cretion, but higher smpling rte nd more bits per encoding brings closer. Volts Volts Volts 3 3 originl signl time d digitized signl time d lengthy trnsmission (e.g, cell phone) lengthy trnsmission (e.g, cell phone) 3 received signl time How fix -- higher, lower,? time Cn fix -- esily distinguish s nd s, restore time 5

Digitized Audio: Compression Benefit Digitized udio cn be compressed e.g., MP3s A CD cn hold bout songs uncompressed, but bout compressed Compression lso done on digitized pictures (jpeg), movies (mpeg), nd more Digitiztion hs mny other benefits too Copyright 7 Exmple compression scheme: --> --> X --> X 6

How Do We Encode Dt s Binry for Our Digitl nlog phenomen electric signl AD digitl dt digitl dt sensors nd other inputs Digitl System DA electric signl ctutors nd other outputs digitl dt digitl dt Copyright 7 System? Some inputs inherently binry Button: not pressed (), pressed () Some inputs inherently digitl Just need encoding in binry e.g., multi-button input: encode red=, blue=,... Some inputs nlog Need nlog-to-digitl conversion As done in erlier slide -- smple nd encode with bits r ed r ed r ed button blue blue blue ir g r een g r een g r een temperture sensor blck blck blck 33 degrees 7

How to Encode Text: ASCII, Unicode ASCII: 7- (or 8-) bit encoding of ech letter, number, or symbol Unicode: Incresingly populr 6-bit bit encoding Encodes chrcters from vrious world lnguges S ymbol R S T L N E. <tb> En c oding S ymbol r s t l n e 9! <sp c e> En c oding Question: Wht does this ASCII bit sequence represent? R E S T Copyright 7 Note: smll red () in slide indictes nimtion 8

How to Encode Numbers: Binry Numbers Ech position represents quntity; symbol in position mens how mny of tht quntity Bse ten (deciml) Ten symbols:,,,..., 8, nd 9 More thn 9 -- next position So ech position power of Nothing specil bout bse -- used becuse we hve fingers Bse two (binry) Two symbols: nd More thn -- next position So ech position power of Copyright 7 5 3 3 3 Q: How much? + = + = 5 9

How to Encode Numbers: Binry Numbers Working with binry numbers In bse ten, helps to know powers of one, ten, hundred, thousnd, ten thousnd,... In bse two, helps to know powers of one, two, four, eight, sixteen, thirty two, sixty four, one hundred twenty eight (Note: unlike bse ten, we don t hve common nmes, like thousnd, for ech position in bse ten -- so we use the bse ten nme) Q: count up by powers of two 9 8 7 6 5 5 56 8 6 3 3 6 8 5 56 8 6 3 6 8 Copyright 7

Converting from Deciml to Binry Numbers: Subtrction Method (Esy for Humns) Gol Get the binry weights to dd up to the deciml quntity Work from left to right (Right to left my fill in s tht shouldn t hve been there try it). Desired deciml number: 3 6 8 =3 3 6 8 3 6 8 too much =6 3 6 8 too much =8 ok, keep going =8+= 3 6 8 DONE Copyright 7 nswer 3 6 8

Converting from Deciml to Binry Numbers: Subtrction Method (Esy for Humns) Subtrction method To mke the job esier (especilly for big numbers), we cn just subtrct selected binry weight from the (remining) quntity Then, we hve new remining quntity, nd we strt gin (from the present binry position) Stop when remining quntity is Remining quntity: 3 6 8 3 is too much 3 6 8 6 is too much 3 6 8 8 = 3 6 8 -= 3 6 8 DONE Copyright 7 nswer 3 6 8

Converting from Deciml to Binry Numbers: Subtrction Method Exmple Q: Convert the number 3 from deciml to binry A: Remining quntity Binry Number 3 3 6 8 3-6 7 3 6 8 7-3 3 6 8 8 is more thn 7, cn t use - 3 6 8 Copyright 7-3 6 Done! 3 in deciml is in binry. 8 3

Converting from Deciml to Binry Numbers: Division Method (Good for Computers) Divide deciml number by nd insert reminder into new binry number. Continue dividing quotient by until the quotient is. Exmple: Convert deciml number to binry Deciml Number 6 divide by - insert reminder Binry Number Copyright 7 Continue dividing since quotient (6) is greter thn 3 6 divide by -6 insert reminder Continue dividing since quotient (3) is greter thn

Converting from Deciml to Binry Numbers: Division Method (Good for Computers) Exmple: Convert deciml number to binry (continued) Deciml Number 3 divide by - insert reminder Binry Number Continue dividing since quotient () is greter thn divide by 8 - insert reminder Since quotient is, we cn conclude tht is in binry Copyright 7 5

Bse Sixteen: Another Bse Sometimes Used by ers h e x 8 A F 6 6 3 6 6 6 8 A F bin r y h e x bin r y Nice becuse ech position represents four bse two positions Used s compct mens to write binry numbers Known s hexdeciml, or just hex 8 9 A 3 B 5 C D Q: Write in hex 6 7 E F F Copyright 7 6

Implementing Digitl Systems: Progrmming Microprocessors Vs. Designing Digitl Circuits Desired motion-t-night detector Progrmmed microprocessor Custom designed digitl circuit.3 Microprocessors common choice to implement digitl system Esy to progrm Chep (s low s $) Avilble now Copyright 7 I I I I 3 I I 5 I 6 I 7 P P P P3 P P5 P6 P7 Microprocessor void min() { while () { P = I &&!I; // F = nd!b, } } b F 6: 7:57:6 9:9: time 7

: When Microprocessors Aren t Good With microprocessors so esy, chep, nd vilble, why design digitl circuit? Microprocessor my be too slow Or too big, power hungry, or costly Smple digitl cmer tsk execution times (in seconds) on microprocessor versus digitl circuit: Tsk Microprocessor Custom Digitl Circuit Red 5. Compress 8.5 Store.8 Copyright 7 Enough ( ) ( b ) ( c ) Imge Sensor Memory Imge Sensor Memory Imge Sensor Memory Microprocessor (Red, Compress, nd Store) Red circuit Red circuit Q: How long for ech implementtion option? Compress circuit Store circuit Compress circuit Microprocessor (Store) 5+8+ = sec.+.5+.8 =. sec.+.5+ =.6 sec Good compromise 8

Digitl systems surround us Inside computers Chpter Summry Inside huge vriety of other electronic devices (embedded systems) Digitl systems use s nd s Encoding nlog signls to digitl cn provide mny benefits e.g., udio -- higher-qulity storge/trnsmission, compression, etc. Encoding integers s s nd s: Binry numbers Microprocessors (themselves digitl) cn implement mny digitl systems esily nd inexpensively But often not good enough -- need custom digitl circuits Copyright 7 9