Introduction to Computer Engineering EECS 203 dickrp/eecs203/ Brief course overview. What s your major?

Similar documents
expression simply by forming an OR of the ANDs of all input variables for which the output is

Overview of Today s Lecture:

The Evaluation Theorem

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

More on automata. Michael George. March 24 April 7, 2014

Name Ima Sample ASU ID

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

The practical version

Lecture 3: Equivalence Relations

CMSC 330: Organization of Programming Languages

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

Fast Boolean Algebra

NFA DFA Example 3 CMSC 330: Organization of Programming Languages. Equivalence of DFAs and NFAs. Equivalence of DFAs and NFAs (cont.

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science

Boolean algebra.

Designing Information Devices and Systems I Spring 2018 Homework 7

CS103 Handout 32 Fall 2016 November 11, 2016 Problem Set 7

Combinational Logic. Precedence. Quick Quiz 25/9/12. Schematics à Boolean Expression. 3 Representations of Logic Functions. Dr. Hayden So.

1 Nondeterministic Finite Automata

Finite Automata Part Three

Resources. Introduction: Binding. Resource Types. Resource Sharing. The type of a resource denotes its ability to perform different operations

6.004 Computation Structures Spring 2009

Lecture 7 notes Nodal Analysis

Minimal DFA. minimal DFA for L starting from any other

Digital Control of Electric Drives

Introduction to Electrical & Electronic Engineering ENGG1203

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

CS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions

Designing finite automata II

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

Outline Last time: Deriving the State Diagram & Datapath (Cont.) Mapping the Datapath onto Control

Solution for Assignment 1 : Intro to Probability and Statistics, PAC learning

Elements of Computing Systems, Nisan & Schocken, MIT Press. Boolean Logic

Review of Calculus, cont d

Fault Modeling. EE5375 ADD II Prof. MacDonald

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014

p-adic Egyptian Fractions

Finite Automata-cont d

Homework Solution - Set 5 Due: Friday 10/03/08

Boolean Algebra. Boolean Algebra

CS 311 Homework 3 due 16:30, Thursday, 14 th October 2010

1 Online Learning and Regret Minimization

Week 10: Line Integrals

EE273 Lecture 15 Asynchronous Design November 16, Today s Assignment

Parse trees, ambiguity, and Chomsky normal form

Section 6: Area, Volume, and Average Value

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2019

Review of Gaussian Quadrature method

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

Exponentials - Grade 10 [CAPS] *

and that at t = 0 the object is at position 5. Find the position of the object at t = 2.

ECE 327 Solution to Midterm 2016t1 (Winter)

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University

Chapter 1: Boolean Logic

IMPORTANT. Read these directions carefully:

Designing Information Devices and Systems I Spring 2018 Homework 8

Coalgebra, Lecture 15: Equations for Deterministic Automata

Finite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Fall Notes - Unit 1

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

Physics 1402: Lecture 7 Today s Agenda

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

Lecture 1: Introduction to integration theory and bounded variation

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

List all of the possible rational roots of each equation. Then find all solutions (both real and imaginary) of the equation. 1.

Convert the NFA into DFA

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016

1B40 Practical Skills

Exam 2 Solutions ECE 221 Electric Circuits

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-378: Computer Hardware Design Winter Notes - Unit 1

Potential Changes Around a Circuit. You must be able to calculate potential changes around a closed loop.

Overview of Calculus I

Model Reduction of Finite State Machines by Contraction

Designing Information Devices and Systems I Anant Sahai, Ali Niknejad. This homework is due October 19, 2015, at Noon.

The First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a).

Sample Exam 5 - Skip Problems 1-3

Hints for Exercise 1 on: Current and Resistance

Chapter 0. What is the Lebesgue integral about?

Special Relativity solved examples using an Electrical Analog Circuit

Nondeterminism and Nodeterministic Automata

Spring 2017 Exam 1 MARK BOX HAND IN PART PIN: 17

4 7x =250; 5 3x =500; Read section 3.3, 3.4 Announcements: Bell Ringer: Use your calculator to solve

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

Math Lecture 23

Equations and Inequalities

Fall 2017 Exam 1 MARK BOX HAND IN PART PIN: 17

Appendix 3, Rises and runs, slopes and sums: tools from calculus

Mathematics Number: Logarithms

10. AREAS BETWEEN CURVES

Riemann Sums and Riemann Integrals

332:221 Principles of Electrical Engineering I Fall Hourly Exam 2 November 6, 2006

Math 113 Exam 1-Review

COMPUTER SCIENCE TRIPOS

Transcription:

http://ziyng.eecs.northwestern.edu/ dickrp/eecs203/ Brief course overview Instructor: Roert Dick Office: L477 Tech Emil: dickrp@northwestern.edu Phone: 847 467 2298 TA: Emil: TT: Emil: Nel Oz neloz@u.northwestern.edu Dvid Bild d-ild@northwestern.edu Hrdwre design Low-level progrmming 3 Wht s your mjor? Computer geek lredy? Good! You ll still proly see lot of new things in this course Go hed nd sk questions tht push eyond the sic mteril If you wnt to go eyond the norml ls, I ll e hppy to mke suggestions EECS 203 should ly the foundtions for logic design nd understnding the connections etween electrons nd softwre 4 5 Not computer geek yet? Good! Bckgrounds You re going to e working with computers in lmost ny field Understnding how they work t the lowest levels nd knowing how to uild them will put you hed your peers If you re not computer geek yet, sit in the front of the clssroom nd sk questions! It s the est wy to keep the course s pce sne Different ckgrounds EECS 203 cn e hrd course However, if you work hrd, I m totlly confident tht you will lern how to uild useful computers TAs nd I will help In the pst, mny Mterils Science, BME, nd IEMS did solutely mzing work 6 7 Rules Core course gol If something in lecture doesn t mke sense, plese sk If it doesn t mke sense to you, others hve the sme question! Do you feel like there is gp in your ckground, e.g., forgot out resistnce nd cpcitnce? It s O.K. I hve hndouts nd office hours to help ut don t fll ehind! You re pying huge mount of money for this I expect lot However, I ll do whtever I cn to mke sure you get s much out of this course s you put in By the end of this course, I wnt every one of you to e cple of designing nd uilding simple ut useful computer systems from integrted circuits, wires, nd ssemly lnguge instructions In fct, it s requirement 8 9

How to get l supplies How to get l supplies How to suscrie to miling list Some good references Decide grding policies Pln office hours Course overview (if time permits) Ech student is required to py $20 for l supplies Integrted circuits, wires, cpcitors, resistors, etc. Mke check out to Northwestern University Tke the check to Crol Surm in Tech L359 Tke the receipt to Alert Lyerl in CG30 to pick up l kits 11 12 Wesite References http://ziyng.eecs.northwestern.edu/ dickrp/eecs203/ Will use lckord for grdes Primry reference: M. Morris Mno nd Chrles R. Kime. Logic nd Computer Design Fundmentls. Prentice-Hll, NJ, fourth edition, 2008 Zvi Kohvi. Switching nd Finite Automt Theory. McGrw-Hill Book Compny, NY, 1978 Rndy H. Ktz. Contemporry Logic Design. The Benjmin/Cummings Pulishing Compny, Inc., 1994 J. Hennessy nd D. Ptterson. Computer Architecture: A Quntittive Approch. Morgn Kufmnn Pulishers, CA, third edition, 2003 13 14 Grding scheme Lte homework ssignments 15% homeworks 35% ls 20% midterm exm 30% finl exm After the clss, on the due dte: -5% After tht, 10% per dy penlty Three or more working dys lte: No credit I ll hnd out solutions 15 16 Lte l ssignments When to strt ls Lte l verifictions will e done t the discretion of the TAs In other words, lthough this will sometimes e possile, I m not going to force the TA to skip their clsses, reserch work, or mels to hold extr l verifiction hours Lte l checks (without prior pprovl): -20% Three or more working dys lte: No credit The TAs spend huge mount of time checking ls Hving them do l checks outside of the scheduled hours mkes it difficult to keep up in their own clsses nd reserch Strt ls erly to see if you hve questions The TAs nd I will e hppy to help Will need time to finish fter pointed in right direction 17 18

Ls L check times Open ls New ls will normlly e ssigned on Mondys Tech CG30 L checks will normlly e on Mondys (tenttively) The TAs nd I my leve note nd go from our offices to CG24 during office hours to nswer l questions First l much quicker thn others Need to get go to get kit ASAP You will need to sign up for l time slot 19 20 Office hours options Course overview Know wht is computer engineering is 1 Most likely I will hve office hours Mon/Tue 15:00 16:00 Know some resons to lern computer engineering 2 Hopefully these times work for most people Understnd course gols 3 TA office hours will e nnounced soon Know which future courses EECS 203 cn prepre you for Know course topics Strt lerning sic logic definitions 21 22 Wht is computer engineering? Wht is computer engineering? You need something solid to stnd on Design nd implementtion of computer systems Applictions mke more sense if you understnd progrmming Hrdwre nd softwre design Progrmming mkes more sense if you understnd processors Relted to electricl engineering nd computer science with n emphsis on digitl circuits Processor mke more sense if you understnd logic design Logic design mkes more sense if you understnd circuits nd discrete mth The est computer engineers re lso good t electricl engineers nd computer science Circuits mke more sense if you understnd trnsistors Every understnding rests on others Knowing fundmentls helps in fields where computers re used Computer engineering requires understnding the mny levels nd the wys they fit together 23 24 Why computer engineering Why computer engineering? Fun Why re you tking this clss? Computers re lmost mgicl Wht do you wnt to lern? Wht kind of ckground do you hve? You ll lern how they work nd how to uild new ones You ll lern (discrete) mth, semiconductor physics, nd the theory of lgorithms When you see something cool do you rech for screwdriver? Who ws electrocuted s young child trying to figure out how something works? Who hs written code? Who hs designed something complicted for the fun of it? 25 You ll e le to use your knowledge cretively 26

Why computer engineering? Fun Why computer engineering? Flexile In the end, your cretions will e tested ginst unforgiving physicl lws in the rel world There re mny right wys (wys tht work) to design computer ut there re lso mny wrong wys (wys tht don t work) There re mesurle nd cler differences etween the qulity of different designs You ll spend lot of time with hrd-working people who shre your interest in designing mchines tht mke life etter Lern hrdwre nd softwre design, cn move in either direction Emedded system design Computer rchitecture VLSI design Digitl circuit design Softwre engineering Algorithm design Informtion technology If you finish Ph.D., mny other doors lso open 27 28 Why computer engineering? Money Highest 2006 2007 slries reported y Ntionl Assocition of Colleges nd Employers, Ferury 2007 Field Averge slry ($) Chemicl engineering 60,054 Computer engineering 54,877 Electricl engineering 54,599 Mechnicl engineering 54,587 Economics 51,631 Computer science 51,070 Finnce 47,905 Civil engineering 47,145 Accounting 46,508 Business dministrtion/mngement 43,523 Mrketing/mrketing mngement 41,323 Why computer engineering? Money Money lone isn t good reson to pick mjor Do wht you love!...ut if you love computer engineering, the finncil stuff might mke it esier to justify to your reltives 29 30 Future courses Future courses Advnced digitl logic design Computer rchitecture Design nd nlysis of lgorithms Fundmentls of computer system softwre Introduction to computer networks Introduction to VLSI CAD Introduction to mechtronics Microprocessor system design Progrmming for computer engineers VLSI systems design 31 32 Course topics in context Course topics Logic gtes Bsic units of digitl logic design Truth tles Simple Boolen function representtion Boolen lger Another wy of representing nd mnipulting Boolen functions Two-level logic forms Logic minimiztion: Boolen lger, Krnugh mps, nd Quine-McCluskey s method (if time permits) Reduce re, power consumption, or improve performnce Hzrds Implementtion in CMOS Numer systems: deciml, inry, octl, hex, nd Gry codes Signed nd unsigned numers 33 34

Course topics Course topics Arithmetic circuits, decoders, encoders, nd multiplexers of compiltion of higher-level lnguges Sequentil logic: Ltches, flip-flops Computer orgniztion Finite stte mchines Microcontrollers Assemly lnguge progrmming 35 36 Softwre Hrdwre Esy to chnge nd design Usully hs low performnce compred to hrdwre implementtion Usully difficult to design nd implement compred to softwre High power consumption Necessry (ll softwre runs on hrdwre) Generl-purpose processor High performnce Digitl signl processor (DSP) Low power Hrdwre description lnguges cn mke this esier Field progrmmle gte rry (FPGA) Appliction specific integrted circuit (ASIC) 37 38 Hrdwre/softwre rules of thum Emedded systems Specil-purpose computers, computers within devices which re generlly not seen to e computers If you cn do it in softwre, do it in softwre However, some things cn t e done in sne wy with softwre Lrger mrket thn generl-purpose computers y volume nd monetry vlue If you cn t do it in softwre ut you cn do it with n HDL, do it with n HDL Microcontrollers rule Cool ppliction-specific optimiztions Sometimes the results of utomtion ren t good enough If you re tired, don t do hrdwre implementtion Power Size Reliility Hrd dedlines Softwre design errors usully men wsted time Hrdwre design errors often men fried chips 39 40 Mrket Digitl nd nlog signls +3.3 high V How lrge is the semiconductor mrket? 0 $270.3 109 for 2007 nd growing fst undefined low time (microsecs) Semiconductor Industry Assocition Anlog: Continuously vrying signl Digitl: Discrete vlues, ssumed instntneous trnsition In relity, digitl ssumption is pproximtion Use thresholds 41 43

Digitl voltge regenertion Boolen lger 3.3 V OUT 0 0 V IN Error in input ppers on output Voltge regenertion hides input vrition 3.3 The only vlues re 0 (or flse) nd 1 (or true) One cn define opertions/functions/gtes Boolen vlues s input nd output A truth tle enumertes output vlues for ll input vlue comintions 44 45 AND OR 0 0 0 0 1 0 1 0 0 1 1 1 + 0 0 0 0 1 1 1 0 1 1 1 1 + AND = = = OR = = + 46 47 NOT Comintionl vs. sequentil logic clock D flip flops 0 1 1 0 q + + plin old comintionl logic NOT = = 0.65 No feedck etween inputs nd outputs comintionl Outputs function of the current inputs, only Feedck sequentil Outputs function of the current nd previous inputs 48 49 Sequentil logic Summry Outputs depend on current stte nd (mye) current inputs Next stte depends on current stte nd input For implementle mchines, there re finite numer of sttes Synchronous Stte chnges upon clock event (trnsition) occurs Asynchronous Stte chnges upon inputs chnge, suject to circuit delys Brief overview Introduction nd definitions 50 51

Mndelrot set disply code Mndelrot set imge produced y code threshold = 1000 iter = 500 def f(c, iter): = (0 + 0j) for i in xrnge(iter): = **2 + c if s() > threshold: rek return desc = [[complex(x, y) for x in xfrnge(-2, 2, 0.0015)] for y in xfrnge(1, -1, -0.0015)] 52 53 Computers enled mny inventions Reding ssignment (for next clss) Simultion, utomtion, knowledge discovery In strophysics, chemistry, iology, medicine, etc. M. Morris Mno nd Chrles R. Kime. Logic nd Computer Design Fundmentls. Prentice-Hll, NJ, fourth edition, 2008 Sections 1.1, 2.1, nd 2.2 CMOS hndout from M. Morris Mno nd Chrles R. Kime. We supplements to Logic nd Computer Design Fundmentls. Prentice-Hll, NJ. http://www.writphotec.com/mno/supplements Red these s soon s possile 54 56 Computer geek culture references Z i+1 = Z 2 i + K 57