ECE 274 Digital Logic

Similar documents
ECE 274 Digital Logic Fall 2009 Digital Design

Digital Design. Chapter 1: Introduction

ECE Digital Logic (Labs) ECE 274 Digital Logic. ECE Digital Logic (Textbook) ECE Digital Logic (Optional Textbook)

ECE 274 Digital Logic. Digital Design. Datapath Components Shifters, Comparators, Counters, Multipliers Digital Design

Digital Design. Sequential Logic Design -- Controllers. Copyright 2007 Frank Vahid

CHAPTER 2 LITERATURE STUDY

Topic 20: Huffman Coding

EE Controls Lab #2: Implementing State-Transition Logic on a PLC

CS 135: Computer Architecture I. Boolean Algebra. Basic Logic Gates

Dataflow Language Model. DataFlow Models. Applications of Dataflow. Dataflow Languages. Kahn process networks. A Kahn Process (1)

MEASURE THE CHARACTERISTIC CURVES RELEVANT TO AN NPN TRANSISTOR

METHOD OF LOCATION USING SIGNALS OF UNKNOWN ORIGIN. Inventor: Brian L. Baskin

Sequential Logic (2) Synchronous vs Asynchronous Sequential Circuit. Clock Signal. Synchronous Sequential Circuits. FSM Overview 9/10/12

Experiment 3: Non-Ideal Operational Amplifiers

First Round Solutions Grades 4, 5, and 6

Experiment 3: Non-Ideal Operational Amplifiers

Application Note. Differential Amplifier

Kirchhoff s Rules. Kirchhoff s Laws. Kirchhoff s Rules. Kirchhoff s Laws. Practice. Understanding SPH4UW. Kirchhoff s Voltage Rule (KVR):

Math Circles Finite Automata Question Sheet 3 (Solutions)

MAXIMUM FLOWS IN FUZZY NETWORKS WITH FUNNEL-SHAPED NODES

Synchronous Machine Parameter Measurement

ECE 274 Digital Logic. Digital Design. RTL Design RTL Design Method. RTL Design Memory Components

The Discussion of this exercise covers the following points:

Synchronous Machine Parameter Measurement

Student Book SERIES. Patterns and Algebra. Name

Abacaba-Dabacaba! by Michael Naylor Western Washington University

Lecture 20. Intro to line integrals. Dan Nichols MATH 233, Spring 2018 University of Massachusetts.

ABB STOTZ-KONTAKT. ABB i-bus EIB Current Module SM/S Intelligent Installation Systems. User Manual SM/S In = 16 A AC Un = 230 V AC

Section 16.3 Double Integrals over General Regions

Unit 1: Chapter 4 Roots & Powers

Algorithms for Memory Hierarchies Lecture 14

Make Your Math Super Powered

Module 9. DC Machines. Version 2 EE IIT, Kharagpur

Engineer-to-Engineer Note

& Y Connected resistors, Light emitting diode.

Example. Check that the Jacobian of the transformation to spherical coordinates is

Lab 8. Speed Control of a D.C. motor. The Motor Drive

Engineer-to-Engineer Note

Understanding Basic Analog Ideal Op Amps

Ultra Low Cost ACCELEROMETER

Ultra Low Cost ACCELEROMETER

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 4143/5195 Electrical Machinery Fall 2009

Exercise 1-1. The Sine Wave EXERCISE OBJECTIVE DISCUSSION OUTLINE. Relationship between a rotating phasor and a sine wave DISCUSSION

MOS Transistors. Silicon Lattice

CS2204 DIGITAL LOGIC & STATE MACHINE DESIGN fall 2008

Regular languages can be expressed as regular expressions.

Misty. Sudnow Dot Songs

TIME: 1 hour 30 minutes

9.4. ; 65. A family of curves has polar equations. ; 66. The astronomer Giovanni Cassini ( ) studied the family of curves with polar equations

Synchronous Generator Line Synchronization

Student Book SERIES. Fractions. Name

Homework #1 due Monday at 6pm. White drop box in Student Lounge on the second floor of Cory. Tuesday labs cancelled next week

Solutions to exercise 1 in ETS052 Computer Communication

Arduino for Model Railroaders

CS2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2005

Outline. A.I. Applications. Searching for the solution. Chess game. Deep Blue vs. Kasparov 20/03/2017

How to Build Wealth Like Warren Buffett.

Polar Coordinates. July 30, 2014

Engineer-to-Engineer Note

(CATALYST GROUP) B"sic Electric"l Engineering

Geometric quantities for polar curves

Series. Teacher. Numbers

Engineering: Elec 3509 Electronics II Instructor: Prof. Calvin Plett,

JUMO Wtrans B Programmable Head Transmitter with Radio Transmission

ECE 274 Digital Logic Spring Digital Design. Combinational Logic Design Process and Common Combinational Components Digital Design

A Novel Back EMF Zero Crossing Detection of Brushless DC Motor Based on PWM

Electronic Circuits I - Tutorial 03 Diode Applications I

Spiral Tilings with C-curves

Extremely small "footprint" and the highest circuit density available AK550. Front Wire Entry

Domination and Independence on Square Chessboard

Addition Mission: Facts Practice

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

NP10 DIGITAL MULTIMETER Functions and features of the multimeter:

DP400 / DM350. Inverter. Total Solutions from the Single Source Provider DP400 PULSED MAG - PULSED MIG CO2 - MAG - MIG - FCAW

Mini Mario & Friends: amiibo Challenge

Array chip resistors size ARC241/ARC242 ARV241/ARV242

Crime Scene Documentation. Crime Scene Documentation. Taking the C.S. What should my notes include. Note Taking 9/26/2013

FOMA M702iG Manual for Data Communication

MATH 118 PROBLEM SET 6

Pro Series White Toner and Neon Range

From Off-The-Shelf to Market-Ready New Age Enclosures is your Single Source Solution. Let us quote modifiying our Stock Enclosures to meet your

Job Sheet 2. Variable Speed Drive Operation OBJECTIVE PROCEDURE. To install and operate a Variable Speed Drive.

Direct Current Circuits. Chapter Outline Electromotive Force 28.2 Resistors in Series and in Parallel 28.3 Kirchhoff s Rules 28.

TRUMBULL PUBLIC SCHOOLS

Power rating at 80 C watts R0005 ohms R0006 to R01. R001 to R01 Power. to R015. (mω) 1 0.2, 0.25, 0.3, 0.

Challenge! 1 Warm-up. 2 Conversation. Language box. a Discuss the pictures with a partner.

Have u Herd? Herd is the Word. join. toolkit. COOL WAYS to TALK ABOUT BOOKS WITH YOUR

From Off-The-Shelf to Market-Ready New Age Enclosures is your Single Source Solution. Let us quote modifiying our Stock Enclosures to meet your

Digital Migration Radio PD60X. DMR Standard Radio, Feature-Rich, Innovative Design, Compact Size, Integrates with Hytera Applications

The Math Learning Center PO Box 12929, Salem, Oregon Math Learning Center

April 9, 2000 DIS chapter 10 CHAPTER 3 : INTEGRATED PROCESSOR-LEVEL ARCHITECTURES FOR REAL-TIME DIGITAL SIGNAL PROCESSING

Series AE W PFC INDUSTRIAL POWER SUPPLY

MAYWOOD. Hospitality & ConferenCe tables FURNITURE CORP. GSA Approved! Contract #GS-28F-0050W. Established 1918

L I THE COMMONWEALTH INFORMATION

ITEC2620 Introduction to Data Structures

Seven Sisters. Visit for video tutorials

1 tray of toffee 1 bar of toffee. 10 In the decimal number, 0 7, the 7 refers to 7 tenths or

Section 17.2: Line Integrals. 1 Objectives. 2 Assignments. 3 Maple Commands. 1. Compute line integrals in IR 2 and IR Read Section 17.

Spotted at APA. Top Points this week. Spring f ro. Year 7. Year 8. Year 9. Year 10. Year 11. Student Newsletter ~

Joanna Towler, Roading Engineer, Professional Services, NZTA National Office Dave Bates, Operations Manager, NZTA National Office

Transcription:

ECE - Digitl Logic (Textbook - Required) ECE Digitl Logic Instructor: Romn Lysecky, rlysecky@ece.rizon.edu Office Hours: TBA, ECE F Lecture: MWF :-: PM, ILC Course Website: http://www.ece.rizon.edu/~ece/ Author: ISBN: 8---- Website: http://www.cs.ucr.edu/~vhid/dd/ ECE - Digitl Logic (Textbook - Optionl) ECE - Digitl Logic (Lbs) Verilog for Author:, Romn Lysecky ISBN: 8---- Note: A good Verilog HDL book is required for this course. TAs: Lnce Sldnh, lnce@emil.rizon.edu Derek Nielson, dgn@emil.rizon.edu Lb Sections: Section : T 8:AM-:AM, ECE, TA: TBD Section : T :PM-:PM, ECE, TA: TBD Section : W :PM-:PM, ECE, TA: TBD Section : R :AM-:PM, ECE, TA: TBD Section 8: F :PM-:PM, ECE, TA: TBD ECE - Digitl Logic (Syllbus - Grding) Course Brekdown: Finl % Midterms () % Quizzes () % Lb Assignments % Homework % Design Chllenges % Grding: % A 8 % B 8% C % D Below % E All grdes re ssigned on n individul bsis. Punctulity: Don t be lte! ECE - Digitl Logic (Course Policies) Cell Phones: Plese turn your cell phone off before coming to clss! Acdemic Dishonesty: Any cdemic dishonesty will no be tolerted, plese consult the UA Code of Acdemic Integrity. ALL course work should be completed entirely on your own You re llowed to discuss generl concepts nd ides But you should not discuss specific homework or lb ssignments

ECE - Digitl Logic (Course Policies) Reding: Be prepred, red over mteril BEFORE clss. Regrdes: All requests for regrdes MUST be submitted in writing within one week of the distribution of grded mteril. Chpter : Introduction Slides to ccompny the textbook, First Edition, by, John Wiley nd Sons Publishers,. http://www.ddvhid.com Copyright 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 this copyright 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. Instructors my mke printouts of the slides vilble to students for resonble photocopying chrge, without incurring roylties. Any other use requires explicit permission. Instructors 8 my obtin PowerPoint source or obtin specil use permissions from Wiley see http://www.ddvhid.com for informtion. Why Study?. ECE - Digitl Logic (Silicon Wfer nd Die Photos) 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 Portble music plyers Stellites Cell phones DVD plyers Video recorders Musicl instruments Cmers TVs??? Individul IC (die) FPGA Copyright 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 Pentium Processor ECE - Digitl Logic (Moore s Lw) Gordon Moore: co-founder of Intel. Predicted tht number of trnsistors per chip would grow exponentilly (double every 8 months). Anlog signl Inifinite possible vlues Ex: voltge on wire creted by microphone Sound wves Wht Does Digitl Men? Digitl signl Finite possible vlues Ex: button pressed on keypd. move the membrne, which moves the mgnet, digitl signl microphone which cretes current in the nerby wire vlue Copyright nlog signl Possible vlues:.,.,.,... infinite possibilities vlue Possible vlues:,,,, or. Tht s it.

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) Copyright vlue 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: V: Copyright Exmple of Digitiztion Benefit Digitized signl not perfect re-cretion, but higher smpling Volts Volts Volts rte nd more bits per encoding brings closer. originl signl d digitized signl d lengthy trnsmission (e.g, cell phone) lengthy trnsmission (e.g, cell phone) sme received signl How fix -- higher, lower,? Cn fix -- esily distinguish s nd s, restore Digitized Audio: Compression Benefit Digitized udio cn be compressed e.g., MPs 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 Exmple compression scheme: --> --> X --> X How Do We Encode Dt s Binry for Our Digitl System? 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 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 red red red button blue blue blue ir green green green temperture sensor blck blck blck degrees How to Encode Text: ASCII, Unicode How to Encode Numbers: Binry Numbers ASCII: - (or 8-) bit encoding of ech letter, number, or symbol Unicode: Incresingly populr -bit bit encoding Encodes chrcters from vrious world lnguges Symbol R S T L N E. <tb> Encoding Symbol r s t l n e! <spce> Encoding Question: Wht does this ASCII bit sequence represent? R E S T Ech position represents quntity; symbol in position mens how mny of tht quntity Bse ten (deciml) Ten symbols:,,,..., 8, nd More thn -- 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 Q: How much? + = + = Copyright Note: smll red () in slide indictes nimtion Copyright 8

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 Copyright 8 8 8 8 8 How to Encode Numbers: Binry Numbers Bse (binry) Arithmetic Eights ( ) column Fours ( ) column Twos ( ) column Ones ( ) column = x + x + x + x Convert the following vlue from binry (zero s nd one s) to deciml vlue =????? Choose your nswer: A), B) C) 8 Converting from Deciml to Binry Numbers: Subtrction Method (Esy for Humns) 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: 8 = 8 = 8 =8 8 ok, keep going 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: 8 is 8 is 8 8 = 8 =8+= 8 DONE -= 8 DONE Copyright nswer 8 Copyright nswer 8 Converting from Deciml to Binry Numbers: Subtrction Method Exmple Converting from Deciml to Binry Numbers: Division Method (Good for Computers) Q: Convert the number from deciml to binry A: Remining quntity Binry Number 8 Copyright - - - - 8 8 8 is more thn, cn t use 8 8 Done! in deciml is in binry. 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 Binry Number divide by - insert reminder Continue dividing since quotient () is greter thn divide by - insert reminder Continue dividing since quotient () is greter thn Copyright

M r op r o c Converting from Deciml to Binry Numbers: Division Method (Good for Computers) Exmple: Convert deciml number to binry (continued) Deciml Number Binry Number divide by - insert reminder Continue dividing since quotient () is greter thn divide by 8 - insert reminder Since quotient is, we cn conclude tht is in binry Encoding: Number Systems Bse (binry) Arithmetic Convert the following deciml vlue to binry (zero s nd one s) vlue =??????? Choose your nswer: A) B) C) Copyright Bse Sixteen: Another Bse Somes Used by Digitl Designers Encoding: Number Systems: System Conversion hex binry hex binry Nice becuse ech position represents four bse two positions Used s compct mens to write binry numbers Known s hexdeciml, or just hex hex binry hex binry Convert the following hexdeciml vlue to binry (zero s nd one s) vlue 8 8 CAB =???????????? A B C D E F Q: Write in hex F A B C D E F Choose your nswer: A) B) C) Copyright 8 Implementing Digitl Systems: Progrmming Microprocessors Vs. Designing Digitl Circuits Desired motion-t-night detector Copyright I I I I I I I I P P P P P P P P Progrmmed microprocessor Custom designed digitl Microprocessors common choice to implement digitl system Esy to progrm Chep (s low s $) Avilble now void min() { while () { P = I &&!I; b // F = nd!b, } F } : :: ::. : When Microprocessors Aren t Good Enough With microprocessors so esy, chep, nd vilble, why design digitl? Microprocessor my be too slow Or too big, power hungry, or costly Smple digitl cmer tsk execution s (in seconds) on microprocessor versus digitl : Tsk Microprocessor Custom Digitl Circuit Red. Compress 8. Store.8 Copyright Imge Sensor Microprocessor () (Red, Compress, Memory nd Store) (b) (c) Imge Sensor Memory Imge Sensor Memory Red Red Q: How long for ech implementtion option? Compress Store Compress Microprocessor (Store) +8+ = sec.+.+.8 =. sec.+.+ =. sec Good compromise

Chpter Summry Digitl systems surround us Inside computers 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 s Where do we go from here? ECE Course Gols: Combintionl Logic Design Sequentil Logic Design Design of Common Dt Components Register-Trnsfer Level (RTL) Design Modern pproch to Optimiztion of Digitl Circuits using HDL (Verilog) Copyright (Humor?) There re types of people in the world: Those who get binry nd those who don t.