{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

L01-ac-intro-numbers-6up

L01-ac-intro-numbers-6up - inst.eecs.berkeley.edu/~cs61c...

This preview shows pages 1–3. Sign up to view the full content.

CS61C L01 Introduction + Numbers (1) Chae, Summer 2008 © UCB Albert Chae Instructor inst.eecs.berkeley.edu/~cs61c inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #1 – Introduction and Number Representation 1 2008-06-23 Welcome to CS61C! CS61C L01 Introduction + Numbers (2) Chae, Summer 2008 © UCB “I stand on the shoulders of giants…” Prof David Patterson Prof John Wawrznek TA Andy Carle Lec. SOE Dan Garcia CS61C L01 Introduction + Numbers (3) Chae, Summer 2008 © UCB More giants Thanks to these talented folks (& many others) whose contributions have helped make 61C a really tremendous course! TA Scott Beamer TA Kurt Meinz TA Matt Johnson CS61C L01 Introduction + Numbers (4) Chae, Summer 2008 © UCB Where does CS61C fit in? http://hkn.eecs.berkeley.edu/student/cs-prereq-chart1.gif BC swap? We will not be enforcing the CS61B prerequisite this summer. CS61C L01 Introduction + Numbers (5) Chae, Summer 2008 © UCB Are Computers Smart? To a programmer: Very complex operations / functions: - (map (lambda (x) (* x x)) ‘(1 2 3 4)) Automatic memory management: - List l = new List; “Basic” structures: - Integers, floats, characters, plus, minus, print commands Computers are smart! CS61C L01 Introduction + Numbers (6) Chae, Summer 2008 © UCB Are Computers Smart? In real life: Only a handful of operations: - { and , or , not } No automatic memory management. Only 2 values: - {0, 1} or {low, high} or {off, on} Computers are dumb!

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

View Full Document
CS61C L01 Introduction + Numbers (7) Chae, Summer 2008 © UCB 61C What are “Machine Structures”? * Coordination of many levels (layers) of abstraction I/O system Processor Compiler Operating System (Mac OSX) Application (ex: browser) Digital Design Circuit Design Instruction Set Architecture Datapath & Control transistors Memory Hardware Software Assembler CS61C L01 Introduction + Numbers (8) Chae, Summer 2008 © UCB 61C Levels of Representation lw \$t0, 0(\$2) lw \$t1, 4(\$2) sw \$t1, 0(\$2) sw \$t0, 4(\$2) High Level Language Program (e.g., C) Assembly Language Program (e.g.,MIPS) Machine Language Program (MIPS) Hardware Architecture Description (Logic, Logisim, etc.) Compiler Assembler Machine Interpretation temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; 0000 1001 1100 0110 1010 1111 0101 1000 1010 1111 0101 1000 0000 1001 1100 0110 1100 0110 1010 1111 0101 1000 0000 1001 0101 1000 0000 1001 1100 0110 1010 1111 Logic Circuit Description (Logisim, etc.) Architecture Implementation CS61C L01 Introduction + Numbers (9) Chae, Summer 2008 © UCB Anatomy: 5 components of any Computer Processor Computer Control (“brain”) Datapath (“brawn”) Memory (where programs, data live when running) Devices Input Output Keyboard, Mouse Display , Printer Disk (where programs, data live when not running) CS61C L01 Introduction + Numbers (10) Chae, Summer 2008 © UCB Overview of Physical Implementations Integrated Circuits (ICs) Combinational logic circuits, memory elements, analog interfaces. Printed Circuits (PC) boards substrate for ICs and interconnection, distribution of CLK, Vdd, and GND signals, heat dissipation.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 8

L01-ac-intro-numbers-6up - inst.eecs.berkeley.edu/~cs61c...

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

View Full Document
Ask a homework question - tutors are online