introduction to digital logic design and computer …dshook/cse260/lectures/intro.pdf ·...

26
Introduction to Digital Logic Design and Computer Systems Course structure and expectations Intro to digital circuits Doug Shook via Jon Turner and Anne Bracy

Upload: doanhanh

Post on 19-Jul-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

Introduction to Digital Logic Design and Computer Systems

Course structure and expectationsIntro to digital circuits

Doug Shook via Jon Turner and Anne Bracy

Page 2: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

2

Hello, world!

Page 3: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

3

Course Website

http://cse.wustl.edu/~dshook/cse260

Page 4: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

4

Grading

Homework (15%) Labs (30%) Exams (3 exams, 15% each) Zybook (10%)– See webpage for info on how to register

Page 5: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

5

What's a Lecture, Anyway?

Not really a lecture....

You must come prepared!– Bring questions– Be ready to answer questions

Page 6: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

6

Textbook

Page 7: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

7

Academic Dishonesty

Don't cheat!– Zero tolerance.

If you are ever in doubt ASK.

Page 8: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

8

Problem

We want to compute things– What are the essential pieces?– What is the simplest computer you can conceive of?• Don't worry about speed

Page 9: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

9

Problem

Now consider speed: how can we make it go faster?– How does this change the essential pieces of your

simple machine?

Page 10: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

10

Transistors!

Page 11: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

11

Moore's Law

Page 12: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

12

Transistor Fabrication

Page 13: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

13

Transistor Fabrication

Page 14: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

14

Why are transistors so important?

Page 15: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

15

It is all quite logical.

Page 16: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

16

Binary Storage

Page 17: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

17

The Bit Three

Transistors – The workhorse

Logic – The law of the land

Binary – The language of our future overlords

Page 18: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

18

Computer Design in the Past

Page 19: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

19

How design is done today

Page 20: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

20

What's an FPGA?

Display showing internal registers memory locations

Field Programmable Gate Array (FPGA)

implements processor

Push buttons reset single step load data into

memory

Slide switches for selecting what to display

VGA displayconnector Program button

configures FPGA

Knob for entering data

Page 21: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

21

So what's the difference?

CPUs»Unchangable»General Purpose»High cost of development»Millions of transistors»High Speed

FPGAs»Reconfigurable»As specific as you want»Cheap (relatively)»1000s of transistors»Slower (but still adequate for design purposes)

Page 22: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

22

Still one piece missing

How do we tell a computer what to do?

Page 23: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

23

Machine language

Page 24: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

24

Talking to Machines

What kinds of instructions would you want to give a computer?– How many instructions would be enough?

Page 25: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

25

So what next?

Bottom up approach:– Part 1: Transistors and combinational logic– Part 2: Sequential logic– Part 3: Constructing a CPU

Page 26: Introduction to Digital Logic Design and Computer …dshook/cse260/lectures/intro.pdf · Introduction to Digital Logic Design and Computer Systems Course structure and expectations

26

For Next Time

Get the Zybook– This is required!

Do the Zybook sections before next class– Listed on the course website

Come with questions!– And come prepared to answer questions

Find a partner for homework assignments– First one is coming very soon