DOC PREVIEW
CORNELL CS 3410 - Lecture Slides

This preview shows page 1-2-3-23-24-25-26-47-48-49 out of 49 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 49 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1InformationCourse ObjectiveWho am I?Who am I?Course StaffBookGradingGradingAdministriviaCommunicationSections & ProjectsAcademic IntegrityComputer System OrganizationCompilers & AssemblersCompilersAssemblersComputer System OrganizationInstruction Set ArchitectureTransistors and GatesLogic and StateA CalculatorBasic Computer SystemSimple ProcessorInside the ProcessorOverviewMIPS R3000 ISACalling ConventionsData LayoutBuffer OverflowsParallel ProcessingApplicationsWhy should you care?Example: Can answer the question…Example 2: Moore's LawExample 3: New DevicesCovered in this courseSlide 38A switchSwitchesTransistorsNPN TransistorsP and N TransistorsThen and NowInverterNAND GateNOR GateBuilding FunctionsReflectHakim WeatherspoonSpring 2011Computer ScienceCornell UniversityCS 3410: Systems ProgrammingCS 3410: Computer System Organization and Programming© Hakim Weatherspoon, Computer Science, Cornell UniversityInformation•Instructor: Hakim Weatherspoon ([email protected])•Tu/Th 1:25-2:40•Phillips 101© Hakim Weatherspoon, Computer Science, Cornell UniversityCourse Objective•Bridge the gap between hardware and software–How a processor works–How a computer is organized•Establish a foundation for building higher-level applications–How to understand program performance–How to understand where the world is going© Hakim Weatherspoon, Computer Science, Cornell UniversityWho am I?•Prof. Hakim Weatherspoon –(Hakim means Doctor, wise, or prof. in Arabic)–Background in EducationUndergraduate University of Washington•Played Varsity Football–Some teammates collectively make $100’s of millions–I teach!!!Graduate University of California, Berkeley•Some class mates collectively make $100’s of millions•I teach!!!–Background in Operating SystemsPeer-to-Peer Storage•Antiquity project - Secure wide-area distributed system•OceanStore project – Store your data for 1000 yearsNetwork overlays•Bamboo and Tapestry – Find your data around globeTiny OS•Early adopter in 1999, but ultimately chose P2P direction© Hakim Weatherspoon, Computer Science, Cornell UniversityWho am I?•Cloud computing/storage–Optimizing a global network of data centers–Cornell Ntional λ-Rail Rings testbed–Software Defined Network Adapter–Energy: KyotoFS/SMFS•Antiquity: built a global-scale storage system© Hakim Weatherspoon, Computer Science, Cornell UniversityCourse Staf•[email protected]•TAs–Han Wang ([email protected])–Bo Peng ([email protected])–Jun Erh ([email protected])•Undergraduate consultants–Ansu Abraham ([email protected])–Ethan Kao ([email protected])–Peter Tseng ([email protected])–Jiaqi Zhai ([email protected])Administrative Assistant: –Angela Downing ([email protected])© Hakim Weatherspoon, Computer Science, Cornell UniversityBook•Computer Organization and Design–The Hardware/Software Interface•David Patterson, John Hennessy–Get the 4th Edition© Hakim Weatherspoon, Computer Science, Cornell UniversityGrading•4 Programming Assignments (35-45%)–Work in groups of two•4-5 Homeworks Assignments (20-25%)–Work alone•2 prelims (30-40%)•Discretionary (5%)© Hakim Weatherspoon, Computer Science, Cornell UniversityGrading•Regrade policy–Submit written request to lead TA, and lead TA will pick a diferent grader –Submit another written request, lead TA will regrade directly –Submit yet another written request for professor to regrade.© Hakim Weatherspoon, Computer Science, Cornell UniversityAdministrivia•http://www.cs.cornell.edu/courses/cs3410/2011sp–Office Hours / Consulting Hours–Lecture slides & schedule–Logisim–CSUG lab access (esp. second half of course)•SectionsT 2:55 – 4:10pm Hollister 372W 3:35 – 4:50pm Upson 215R 11:40 – 12:55pm Hollister 372R 2:55 – 4:10pm Hollister 368F 2:55 – 4:10pm Phillips 213TBD–Will cover new material–Next week: intro to logisim© Hakim Weatherspoon, Computer Science, Cornell UniversityCommunication•Email–[email protected]–The email alias goes to me and the TAs, not to whole class•Assignments–CMS: http://cms.csuglab.cornell.edu•Newsgroup–cornell.class.cs3410–For students© Hakim Weatherspoon, Computer Science, Cornell UniversitySections & Projects•Sections start next week–But can go this week to find a project partner•Projects will be done in two-person teams–We will pair you up if you don’t have a preferred partner–Start early, time management is key–Manage the team efort© Hakim Weatherspoon, Computer Science, Cornell UniversityAcademic Integrity•All submitted work must be your own–OK to study together, but do not share soln’s–Cite your sources•Project groups submit joint work–Same rules apply to projects at the group level–Cannot use of someone else’s soln•Closed-book exams, no calculators•Stressed? Tempted? Lost?Come see me before due date!Plagiarism in any form will not be tolerated© Hakim Weatherspoon, Computer Science, Cornell UniversityComputer System Organization© Hakim Weatherspoon, Computer Science, Cornell UniversityCompilers & Assemblersint x = 10;x = 2 * x + 15;Ccompileraddi r5, r0, 10muli r5, r5, 2addi r5, r5, 15MIPSassemblylanguage001000000000010100000000000010100000000000000101001010000100000000100000101001010000000000001111MIPSmachinelanguageassembler© Hakim Weatherspoon, Computer Science, Cornell UniversityCompilersMIPS assembly languageCcompilersum3:lw r9, 0(r5)lw r10, 4(r5)lw r11, 8(r5)add r3, r9, r10add r3, r3, r11jr r31main:...addi r5, r0, 1000jal sum3sw r3, 12(r5) ...int sum3(int v[]) {return v[0] + v[1] + v[2];}main() {...int v[] = ...;int a = sum3(v);v[3] = a;...}© Hakim Weatherspoon, Computer Science, Cornell UniversityAssemblersMIPS machine languageassembler100011001010100100000000000000001000110010101010000000000000010010001100101010110000000000001000 000000010010101000011000001000000000000001101011000110000010000000000011111000000000000000001000.........001000000000010100000011111010000000110000010000000000000000000010101100101000110000000000001100...MIPS assembly languagesum3:lw r9, 0(r5)lw r10, 4(r5)lw r11, 8(r5)add r3, r9, r10add r3, r3, r11jr r31main:...addi r5, r0, 1000jal sum3sw r3, 12(r5) ...© Hakim Weatherspoon, Computer Science, Cornell UniversityComputer System OrganizationComputer System =?Input +Output +Memory +Datapath


View Full Document

CORNELL CS 3410 - Lecture Slides

Documents in this Course
Marra

Marra

43 pages

Caches

Caches

34 pages

ALUs

ALUs

5 pages

Caches!

Caches!

54 pages

Memory

Memory

41 pages

Caches

Caches

32 pages

Caches

Caches

54 pages

Caches

Caches

34 pages

Caches

Caches

54 pages

Load more
Download Lecture Slides
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Slides and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Slides 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?