2008SpCS61C-L35-ddg-io

2008SpCS61C-L35-ddg-io - CS61C L35 Input / Output (1)...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS61C L35 Input / Output (1) Garcia, Spring 2008 Click to edit Master subtitle style inst.eecs.berkeley.edu/~cs61c UCB CS61C : Machine Structures Lecture 34 Input / Output 2008-04-23 Arduino allows way cool i/o projects! Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. Available for Lecturer SOE Dan Garcia www.arduino.cc Hi to Gary McCoy from Tampa Florida ! CS61C L35 Input / Output (2) Garcia, Spring 2008 Review Manage memory to disk? Treat as cache Included protection as bonus, now critical Use Page Table of mappings for each process vs. tag/data in cache TLB is cache of Virtual Physical addr trans Virtual Memory allows protected sharing of memory between processes Spatial Locality means Working Set of Pages is all that must be in memory for process to run fairly well CS61C L35 Input / Output (3) Garcia, Spring 2008 Recall : 5 components of any Computer Processor (active) Compute r Contro l (brai n) Datapat h (brawn ) Memory (passive) (where program s, data live when running) Device s Inpu t Outpu t Keyboar d, Mouse Displa y , Printe Disk, Network Earlier Lectures Current Lectures CS61C L35 Input / Output (4) Garcia, Spring 2008 Motivation for Input/Output I/O is how humans interact with computers I/O gives computers long-term memory. I/O lets computers do amazing things: Read pressure of synthetic hand and control synthetic arm and hand of fireman Control propellers, fins, communicate in BOB (Breathable Observable Bubble) Computer without I/O like a car w/no wheels; great technology, but gets you nowhere CS61C L35 Input / Output (5) Garcia, Spring 2008 I/O Speed: bytes transferred per second (from mouse to Gigabit LAN: 7 orders of mag! ) Device Behavior Partner Data Rate (KBytes/s) Keyboard Input Human 0.01 Mouse Input Human 0.02 Voice output Output Human 5.00 Floppy disk Storage Machine 50.00 Laser Printer Output Human 100.00 Magnetic Disk Storage Machine 10,000.00 Wireless Network I or O Machine 10,000.00 Graphics Display Output Human 30,000.00 Wired LAN Network I or O Machine 125,000.00 When discussing transfer rates, use I/O Device Examples and Speeds CS61C L35 Input / Output (6) Garcia, Spring 2008 What do we need to make I/O work? A way to connect many types of devices A way to control these devices, respond to them, and transfer data A way to present them to user programs so they are useful cmd reg. data reg. Operating System APIs Files Proc Mem PCI Bus SCSI Bus CS61C L35 Input / Output (7) Garcia, Spring 2008 Instruction Set Architecture for I/O What must the processor do for I/O?...
View Full Document

Page1 / 28

2008SpCS61C-L35-ddg-io - CS61C L35 Input / Output (1)...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online