Download presentation
Presentation is loading. Please wait.
Published byMelissa Oliver Modified over 8 years ago
1
Lecture 0. Course Introduction Prof. Taeweon Suh Computer Science & Engineering Korea University COSE222, COMP212, CYDF210 Computer Architecture
2
Korea Univ Course Information Instructor Prof. Taeweon Suh Textbook Computer Organization and Design by David Patterson and John Hennessy, 5 th Ed., Morgan Kaufmann, 2013 (Required, No Korean-translated version) Reference Digital Design and Computer Architecture by David Money Harris and Sarah L. Harris, Morgan Kaufmann, 2012 Prerequisites COSE221, COMP211 Digital Logic Design COMP169 C Programming Office hours After class as needed By appointment at Lyceum 307 Class web http://esca.korea.ac.kr http://esca.korea.ac.kr Contact Information suhtw@korea.ac.kr suhtw@korea.ac.kr 02-3290-2397 2
3
Korea Univ TA (Teaching Assistant) 최병준 Graduate Student Computer Systems Lab at Lyceum 322B Email: cbj5210@nate.com Tel: 02-3290-2685 (office) 010-5353-5210 (mobile) 3
4
Korea Univ Your Computers? You have spent 1.5 years as a computer science major Your computers? How is the computer able to execute all those applications? 4
5
Korea Univ Your FAQ 5 Computer Ads in 2008
6
Korea Univ Your FAQ 6 45nm Computer Ads in 2010
7
Korea Univ Your FAQ 7 Computer Ads in 2013
8
Korea Univ Abstraction Abstraction helps us deal with complexity Hide lower-level detail 8
9
Korea Univ Abstraction Analogies 9 Combustion Engine in a car Break system in a car Abstraction layer Driver Machine Details Hardware board in a vending machine Machine Details Customer Abstraction layer
10
Korea Univ Abstractions in Computer 10 Hardware Implementation (x86) Instruction Set Architecture (ISA) Assembly language or Machine language Operating Systems Programming using APIs Provides APIs (Application Programming Interface)
11
Korea Univ Abstractions in Smartphones 11 Hardware Implementation (ARM) Instruction Set Architecture (ISA) Operating Systems Application Programming using APIs http://arstechnica.com/apple/2012/09/detailed-analysis-of-apple-a6-core-reveals-layout-done-by-hand/
12
Korea Univ A Computer System (~ 2010) 12 CPU North Bridge South Bridge Main Memory FSB (Front-Side Bus) DMI (Direct Media I/F) Hard disk USB PCIe card Peripheral devices Graphics card Focus of this course But, don’t forget the big picture!
13
Korea Univ Evolution of Computer Systems 13 Keep in mind that CPU and computer systems are evolving at a fast pace CPU North Bridge South Bridge Main Memory (DDR2) FSB (Front-Side Bus) DMI (Direct Media I/F) Core 2 Duo – based Systems Core i7– based Systems CPU IOH (Input/Output Hub) South Bridge Main Memory (DDR3) DMI (Direct Media I/F) Quickpath (Intel) or Hypertransport (AMD)
14
Korea Univ Core i7 (Ivy Bridge)-based Systems 14 FDI: Flexible Display Interface SPI: Serial Peripheral Interface SMBus: System Management Bus
15
Korea Univ Ultimate Goal 15 Understand How Your Computer Works Really!
16
Korea Univ Digital Logic vs Computer Architecture COSE221 (COMP211): Digital Logic Design We learned digital logic What you can do with it? Combinational logic design 7 segment logic, multiplexer etc Sequential logic design Vending machine logic Digital clock logic But, what you have designed does NOT provide any programmability to users COSE222 (COMP212): Computer Architecture We study and design computers, focusing on CPU (processor) Processor provides programmability to users 16
17
Korea Univ Hardware in Computer Computer architecture course mainly covers how to build a CPU with the basic elements 17 2 nd Generation Core i7 processor 995 million transistors in 216mm 2 (32nm technology) (COSE222, COMP212) Digital Logic (COSE221, COMP211)
18
Korea Univ Computer Architecture COSE221, COMP211 Digital Logic Design 18 COMP169 C Programming COMP166 Computer Programming And Java, C++, C# … int main() { int a, b, c; a = 3; b = 9; c = a + b; return c; } COSE222, COMP212, CYDF210 Computer Architecture course is where software meets hardware
19
Korea Univ COSE222, COMP212, CYDF210 Computer Architecture 19 Modern x86-based computers are very complicated; It is covered in advanced computer architecture course in graduate school Our goal is to learn and understand the basic operation and mechanism of computers, so we focus on Commercially successful yet simple CPU (32-bit MIPS) (http://www.mips.com/products/cores/)http://www.mips.com/products/cores/ Memory hierarchy (cache, main memory, and hard- disk)
20
Korea Univ Objectives Understand how computer works How the code in high-level language is translated to machine code and gets executed in CPU Learn machine language (assembly language) MIPS instructions Learn microarchitecture CPU implementation Learn memory hierarchy in computer Register, Cache, Main memory, and Hard-disk Design CPU with Verilog-HDL (individual class project) 20
21
Korea Univ Grading Policy Exams (50%) Midterm Exam: 20% Final exam: 30% Quizzes: 10% Assignments: 10% Term Project (CPU Design): 30% Your CPU should be able to run Prof. Suh’s program on DE2 board Fail rules You will be given an “F” if you miss classes more than 3 times 2 late show-ups will be counted as 1 absence 21
22
Korea Univ Warning Don’t take this course if you don’t know what the combinational and sequential logic is what clock is what latch and flip-flop are FSM (Finite State Machine) Verilog-HDL Please take “COSE221 Digital Logic Design” next spring and come back! 22
23
Korea Univ Expectations You will have a lot of fun throughout this class But, it could take a lot of time to finish your term project After successfully completing this course, you will have a lot of confidence in computers and how computer works! 23
24
Korea Univ Backup Slides 24
25
Korea Univ DE2 Board 25 7 Segments Switches Push buttons LEDs LCD Serial Port FPGA (Cyclone-II)
26
Korea Univ More Detailed Info 26
27
Korea Univ DE2 Board Connections 27
28
Korea Univ Computer System for Final Project 28 Address Bus Data Bus 32-bit Data Timer GPIO 8KB Memory (Instructions, Data) MIPS CPU ALU EAX R15 …. R1 R0 Address Bus Data Bus 32-bit Instruction
29
Korea Univ Our Computer System in FPGA 29 Address Bus Data Bus 32- bit Timer GPIO 8KB Memory MIPS CPU AL U EAXEAX R15R15 ….…. R1R1 R0R0 Address Bus Data Bus 32- bit
30
Korea Univ iPhone 4 Teardown 30 http://news.cnet.com/8301-13924_3-20006904-64.html http://www.ifixit.com/Teardown/iPhone-4-Teardown/3130/1 GSM (Global System for Mobile communications): 2G, 3G, 4G.. UMTS (Universal Mobile Telecommunications Systems): one of 3G technologies being developed into 4G
31
Korea Univ iPhone 4 Teardown 31 A4 Processor (ARM Cortex A8) designed by Apple manufactured by Samsung GSM and more GSM (Global System for Mobile communications): 3G Samsung flash memory (32GB): K9PFG08 Audio Codec (Cirrus Logic) 512MB Mobile DDR
32
Korea Univ iPhone 4 Teardown Accelerometer detects when the user has rotated the device from portrait to landscape, then automatically changes the contents of the display accordingly Proximity sensor detects when you lift iPhone to your ear and immediately turns off the display to save power and prevent inadvertent touches until iPhone is moved away Ambient light sensor automatically adjusts the display’s brightness to the appropriate level for the current ambient light, enhancing the user experience and saving power at the same time 32
33
Korea Univ iPhone 5 Teardown 33 http://www.ifixit.com/Teardown/iPhone+5+Teardown/10525/2 16GB NAND Flash from Hynix 3-axis gyroscope Wi-Fi module A6 application processor, based off the ARMv7 ISA 1GB Elpida LP (Low Power) DDR2 integrated according to Chipworks Touchscreen controller Accelerometer LTE modem
34
Korea Univ Galaxy S4 Teardown 34 http://www.ifixit.com/Teardown/Samsung-Galaxy-S-III-Teardown/ Exynos 4412: Quad-core A9 with 1GB DDR2 Intel Wireless Processor Samsung 16GB eMMC (MultiMediCard) + 64MB NAND Flash http://www.samsung.com/
35
Korea Univ Galaxy S4 Teardown 35 http://www.techinsights.com/inside-samsung-galaxy-s4/ Exynos 5 Octa (Exynos 5410): quad-core Cortex-A15 and quad-core Cortex-A7 -- Wikipedia
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.