CS4100: 計算機結構 Course Outline

Slides:



Advertisements
Similar presentations
CEG3420 L1 Intro.1 Copyright (C) 1998 UCB CEG3420 Computer Design Lecture 1 Philip Leong.
Advertisements

CSE 340 Computer Architecture Spring 2014 MIPS ISA Review
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
為什麼電腦不用十進位而用二進位?.
活動時間: 99 年 05 月 07 號 ( 五 ) 上午 9.20~12.10 活動地點:校本部科技大樓 4 樓 3401 E 化教學教室 電子系 - 光電實驗室 即時實驗現場互動.
核心能力意見調查 計畫主持人:劉義周教授 研究助理: 林珮婷 報告日期: 調查案的目標與性質 調查的主要目的在進行宣傳,讓全校師生可以瞭 解何謂「課程地圖」與「核心能力」。 通識中心將核心能力主要區分為「學術訓練」、 「就業準備」、「公民文化養成」、「個人特質 提升」等四大面向,本調查依據此四大面向進一.
Chapter 0 Computer Science (CS) 計算機概論 教學目標 瞭解現代電腦系統之發展歷程 瞭解電腦之元件、功能及組織架構 瞭解電腦如何表示資料及其處理方式 學習運用電腦來解決問題 認知成為一位電子資訊人才所需之基本條 件 認知進階電子資訊之相關領域.
1.1 電腦的特性 電腦能夠快速處理資料:電腦可在一秒內處理數百萬個 基本運算,這是人腦所不能做到的。原本人腦一天的工 作量,交給電腦可能僅需幾分鐘的時間就處理完畢。 電腦能夠快速處理資料:電腦可在一秒內處理數百萬個 基本運算,這是人腦所不能做到的。原本人腦一天的工 作量,交給電腦可能僅需幾分鐘的時間就處理完畢。
מבנה מחשבים הרצאה 1 מבנה מחשבים Lecture 1 Course Introduction Eytan Ruppin and Alon Schclar Slides from Randy H. Katz, John Wawrzynek and Dan Garcia Berkeley.
ENEE350 Spring07 1 Ankur Srivastava University of Maryland, College Park Adapted from Computer Organization and Design, Patterson & Hennessy, © 2005.”
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
CS1103 電機資訊工程實習 Department of Computer Science National Tsing Hua University.
Ubiquitous News(Unews) 的設計與實作 指導教授:黃毅然 教授 學生:葉雅琳 系別:資訊工程學系.
邏輯電路設計 Logic Circuit Design 教師:賴薇如 Office: 2307 Telephone:2431 Lab: 3412 Telephone:
自動機 (Automata) Time: 1:10~2:00 Monday: practice exercise, quiz 2:10~4:00 Wednesday: lecture Textbook: (new!) An Introduction to Formal Languages and Automata,
Computer Organization: Introduction Spring 2006 Jen-Chang Liu ( )
教材名稱:網際網路安全之技術及其應用 (編號: 41 ) 計畫主持人:胡毓忠 副教授 聯絡電話: 教材網址: 執行單位: 政治大學資訊科學系.
Image Interpolation Use SSE 指導教授 : 楊士萱 學 生 : 楊宗峰 日 期 :
ECE 232 L2 Basics.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 2 Computer.
資訊理論 授課老師 : 陳建源 研究室 : 法 401 網站
大華技術學院九十五學年度 資工系計算機概論教學大綱 吳弘翔. Wu Hung-Hsiang2 科目名稱:計算機概論與實習 授課老師:吳弘翔 學分數: 4 修別:必修 老師信箱:
CPEN Digital System Design Chapter 10 – Instruction SET Architecture (ISA) © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall.
CS / Schlesinger Lec1.1 1/20/99©UCB Spring 1999 Computer Architecture Lecture 1 Introduction and Five Components of a Computer Spring, 1999 Arie Schlesinger.
1 CSE SUNY New Paltz Chapter 1 Introduction CSE-45432Introduction to Computer Architecture Dr. Izadi.
CIS 314 : Computer Organization Lecture 1 – Introduction.
國立清華大學資訊工程學系 資訊工程系 2009/11/03P-1 Quiz & Solution 09810CS_ Computer Systems & Application Fall.
August 26 TA: Angela Van Osdol Questions?. What is a computer? Tape drives? Big box with lots of lights? Display with huge letters? Little box with no.
1 高等管理資訊系統. 2 授課教師 : 王耀德 研究室 : 主顧 686 電話 : (04) # 課輔時間 Wednesday 09:00~13:00 介紹.
電機工程系 選課輔導說明會. 選課輔導說明會宗旨 電機系自 95 年開始,同步進行『工程教育 認證』以及『系科本位課程』兩大與學生 課程相關的認證計畫。 電機系自 95 年開始,同步進行『工程教育 認證』以及『系科本位課程』兩大與學生 課程相關的認證計畫。 本系每年至少一次的系教育諮詢委員會, 廣邀產業界、學界、家長、畢業生、在校.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十三學年度第一學期 Adapted from Prof. D. Patterson’s class notes Copyright 1998, 2000 UCB.
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
Chapter 12 Estimation 統計估計. Inferential statistics Parametric statistics 母數統計 ( 母體為常態或 大樣本 ) 假設檢定 hypothesis testing  對有關母體參數的假設,利用樣本資料,決定接受或 不接受該假設的方法.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 一零一學年度第二學期.
Summary: Computer System Components Proc Caches Busses Memory I/O Devices: Controllers adapters Disks Displays Keyboards Networks.
Digital Systems Design L01 Introduction.1 Digital Systems Design Lecture 01: Introduction Adapted from: Mary Jane Irwin ( )
CPE232 Introduction1 CPE 335 Computer Organization Introduction Dr. Gheith Abandah [Adapted from the slides of Professor Mary Irwin (
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Digital System Design Course Introduction Lecturer : 吳安宇 Date : 2004/02/20.
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization.
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
Computer Organization and Design Computer Abstractions and Technology
Computer Architecture Mehran Rezaei
CS35101 Computer Architecture Spring 2006 Week 1 Slides adapted from: Mary Jane Irwin ( Course url:
Cps-104 Intro.1 ©GK Spring 1999 CPS104 Computer Organization Lecture 1 January 14, 1999 Gershon Kedem Slides available on:
Computer System Design Lecture 1 Wannarat Suntiamorntut.
by Computer System Design Lecture 1 Wannarat Suntiamorntut
 Lecture 2 Processor Organization  Control needs to have the  Ability to fetch instructions from memory  Logic and means to control instruction sequencing.
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
August 27 Books? ? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with.
數據通訊 By 王丕中 國立中興大學 資訊科學系. 什麼是數據通訊 數據通訊存在於現代人的所有生活中 數據通訊跟類比通訊的不同 數據通訊的好處 以液晶螢幕為例 對資科人來說 重心將放在由數據通訊所組成的網路與協 定.
Computer Architecture 計算機組織 成大資訊系 蘇銓清 Fall Syllabus Instructor – 蘇銓清 Prof. Chuan-Ching Sue Tel : (06) ext Fax : (06)
Lecture 1: Computer Architecture and Technology Professor Mike Schulte Computer Architecture ECE 201.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
CSIE30300 Computer Architecture Unit 01: Introduction Hsin-Chou Chi [Adapted from material by and
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB CS152 Computer Architecture and Engineering Lecture 1 August 27, 1997 Dave Patterson (http.cs.berkeley.edu/~patterson)
Computer Architecture Opening Yu-Lun Kuo 郭育倫 Department of Computer Science and Information Engineering Tunghai University Taichung, 40704, Taiwan R.O.C.
1 CHAPTER 1 COMPUTER ABSTRACTIONS AND TECHNOLOGY Parts of these notes have been adapter from those of Prof. Professor Mike Schulte, Prof. D. Patterson,
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
計 算 機 結 構 國立清華大學資訊工程系 黃婷婷教授.
EEL 4713/EEL 5764 Computer Architecture
T Computer Architecture, Autumn 2005
August 29 New address for Fang-Yi
CS4100: 計算機結構 Course Outline
January 16 The books are here. Assignment 1 now due Thursday 18 Jan.
Presentation transcript:

CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 一零二學年度第二學期

為什麼電腦不用十進位 而用二進位?

Signal: Two States (二進制) 對、錯 本土化、非本土化 陰、陽 high、low 正、反 勝、負 真、偽 Outline-2

Switch (電子開關) “gate” as the switch Outline-3

A Working Transistor (1/5) Transistors consist of three terminals; the source, the gate, and the drain: Outline-4

A Working Transistor (2/5) In the n-type transistor, both the source and the drain are negatively-charged and sit on a positively-charged well of p-silicon. Outline-5

A Working Transistor (3/5) When positive voltage is applied to the gate, electrons in the p-silicon are attracted to the area under the gate forming an electron channel between the source and the drain. Outline-6

A Working Transistor (4/5) When positive voltage is applied to the drain, the electrons are pulled from the source to the drain. In this state the transistor is on. 開 Outline-7

A Working Transistor (5/5) If the voltage at the gate is removed, electrons are not attracted to the area between the source and drain. The pathway is broken and the transistor is turned off. 關 Outline-8

相關電壓電流特性 及電路分析等知識 我們是在___課中介紹的 答:「電子電路學」「超大型積體電路設計」 Outline-9

有了開關就可以做邏輯閘 CMOS NAND: Outline-10

有了邏輯閘就可做邏輯電路 加法器: Outline-11

也可以做記憶元件 可存一個bit的東西: S' Q' Q R' R S clock' Outline-12

這部份的學問叫____ 答:「數位邏輯設計」 Outline-13

最後, 電腦的主要部份就都可以做了 暫存器 記憶體 控制器 控制信號 ALU N Z clock IR PC Outline-14

Basic Organization of Any Computer Keyboard, Mouse Computer Processor (active) Memory (passive) (where programs, data live when running) Devices Disk (where programs, data live when not running) That is, any computer, no matter how primitive or advance, can be divided into five parts: 1. The input devices bring the data from the outside world into the computer. 2. These data are kept in the computer’s memory until ... 3. The datapath request and process them. 4. The operation of the datapath is controlled by the computer’s controller. All the work done by the computer will NOT do us any good unless we can get the data back to the outside world. 5. Getting the data back to the outside world is the job of the output devices. The most COMMON way to connect these 5 components together is to use a network of busses. Control (“brain”) Input Datapath (“brawn”) Output Display, Printer Outline-15

Computer Organization Capabilities and performance characteristics of principal functional units, e.g., registers, ALU, shifters, ... Ways in which these components are interconnected (structure) Information flows between components (data, datapath) Logic and means by which such information flow is controlled (control logic) Register Transfer Level (RTL) description Deeper view. Design state of art organization in 1990. This is only the computer organization. What is computer architecture ? Outline-16

What is Computer Architecture? Computer Architecture = Instruction Set Architecture + Machine Organization I/O system Processor Compiler Operating System (MS Windows) Application (IE) Digital Design Circuit Design Datapath & Control Transistors Memory Hardware Software Assembler Instruction Set Architecture Machine Organization Outline-17

Instruction Set as a Critical Interface Coordination of many levels of abstraction software instruction set hardware Does it have to be hardware? Outline-18

Another Perspective lw $15, 0($2) lw $16, 4($2) sw $16, 0($2) High Level Language Program temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; Compiler lw $15, 0($2) lw $16, 4($2) sw $16, 0($2) sw $15, 4($2) Assembly Language Program ISA Assembler Machine Language Program 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 Machine Interpretation Control Signal Specification ALUOP[0:3] <= InstReg[9:11] & MASK ° Outline-19

Instruction Set Architecture (ISA) “... the attributes of a [computing] system as seen by the programmer, i.e. the conceptual structure and functional behavior, as distinct from the organization of the data flows and controls, the logic design, and the physical implementation.” — Amdahl, Blaaw, and Brooks, 1964 Organization of Programmable Storage Data Types and Data Structures: Encodings and Representations Instruction Set Instruction Formats Modes of Addressing and Accessing Data Items and Instructions Exceptional Conditions SOFTWARE Outline-20

MIPS R3000 ISA Instruction categories: Load/Store Computational Registers Instruction categories: Load/Store Computational Jump and Branch Floating Point coprocessor Memory Management Special R0 - R31 PC HI LO 3 Instruction Formats: all 32 bits wide OP rs rt rd sa funct OP rs rt immediate OP jump target Outline-21

Example ISA Digital Alpha (v1, v3) 1992-97 HP PA-RISC (v1.1, v2.0) 1986-96 Sun Sparc (v8, v9) 1987-95 SGI MIPS (MIPS I, II, III, IV, V) 1986-96 Intel (8086,80286,80386, 1978- 80486,Pentium, MMX, SIMD, IA-64, ...) ARM (v1,v2…v8) 1985- Outline-22

Why Do Computer Architecture? RAPID CHANGES It is exciting! It has never been more exciting! It impacts every other aspect of electrical engineering and computer science Outline-23

Course Administration 授課老師: 黃婷婷 辦公室: 資電442 電話: 31310 email: tingting@cs.nthu.edu.tw 助教: 許博揚 pyhsu@cs.nthu.edu.tw Office Hour: wed 16:00-17:00 (資電227) 唐翊倫 alanishere.haha@gmail.com O.H.: mon 14:20-15:20 (資電 227) 楊廷量 lance60901@gmail.com O.H.: mon 18:30-19:30 (資電 228) 何培安 james552214@gmail.com O.H.: thu 16:30-17:30 (資電 228) 梁凱澤 superco1113@gmail.com O.H.: wed 18:30-19:30 (資電 228) 上課時間: CS4100-02: 星期二10:10-12:00 星期四10:10-12:00 上課地點: 台達館 104室 課程網頁: http://www.cs.nthu.edu.tw/~tingting/cs4100.html Outline-24

Text Book 史丹福大學 校長 RISC, RAID Computer Organization and Design: The Hardware/Software Interface, 4th ed., David Patterson and John Hennessy, 2010 史丹福大學 校長 RISC, RAID Outline-25

Topics Covered Computer Organization and Design: The Hardware/Software Interface,4th ed., D. Patterson and J. Hennessy, 2010 Topic Chapter Introduction 1 The Role of Performance 1 Instructions: Language of the Machine 2 Arithmetic for Computers 3 The Processor: Datapath and Control 4 Enhancing Performance with Pipelining 4 Exploiting Memory Hierarchy 5 Storage and Other I/O Topics * 6 Outline-26

Prerequisite Prerequisite courses: Logic design Outline-27

Expected Course Workload Learn MIPS instruction set Learn processor emulators and benchmarking 6+ homework assignments (1 per 2 weeks) & 1 final project Each assignment is a mixture of design, calculation, programming, measurement, and discussion problems Assignments will be posted on the course homepage Independent of, but complement, examinations One mid-term and one final examination Grade breakdown Homework Assignments & Final project 30% Midterm Exam (7-9PM, April 15): 35% Final Exam (June 10): 35% Outline-28

Resource on Internet to Help Your Learning Website http://www.cs.nthu.edu.tw/~tingting/courses/cs4100.html Open Course Ware (OCW) http://ocw.nthu.edu.tw/ocw/index.php?page=course&cid=76& ShareCourse http://www.sharecourse.net/sc/index.php Outline-29

Course Problems Cannot make examinations No makeup examinations Cannot turn in homework on time No late homework is accepted What is cheating? Study together in groups is encouraged Work must be your own Outline-30