CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十三學年度第一學期 Adapted from Prof. D. Patterson’s class notes Copyright 1998, 2000 UCB.

Slides:



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

CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
為什麼電腦不用十進位而用二進位?.
布林代數的應用--- 全及項(最小項)和全或項(最大項)展開式
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/3 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH3.5 ~ CH /10/31.
活動時間: 99 年 05 月 07 號 ( 五 ) 上午 9.20~12.10 活動地點:校本部科技大樓 4 樓 3401 E 化教學教室 電子系 - 光電實驗室 即時實驗現場互動.
目的 「升學調查系統」,幫助某一學校調查並記錄 其歷屆畢業生報考研究所的情況、未來提供給 學弟妹作參考,以及學校推廣之相關工作。 功能需求 紀錄並追蹤歷屆畢業生升學的狀態 協助畢業生做升學輔導 未來提供學弟妹作查詢、參考 計算上榜率、前十大學校上榜率.
核心能力意見調查 計畫主持人:劉義周教授 研究助理: 林珮婷 報告日期: 調查案的目標與性質 調查的主要目的在進行宣傳,讓全校師生可以瞭 解何謂「課程地圖」與「核心能力」。 通識中心將核心能力主要區分為「學術訓練」、 「就業準備」、「公民文化養成」、「個人特質 提升」等四大面向,本調查依據此四大面向進一.
網路程式設計 期末 project “ 高雄捷運相關景點 ” 系級 : 資工 2A 學號 : B 姓名 : 連娟綾 授課老師 : 馬尚彬 教授.
1.1 電腦的特性 電腦能夠快速處理資料:電腦可在一秒內處理數百萬個 基本運算,這是人腦所不能做到的。原本人腦一天的工 作量,交給電腦可能僅需幾分鐘的時間就處理完畢。 電腦能夠快速處理資料:電腦可在一秒內處理數百萬個 基本運算,這是人腦所不能做到的。原本人腦一天的工 作量,交給電腦可能僅需幾分鐘的時間就處理完畢。
EEM 486 EEM 486: Computer Architecture Lecture 1 Course Introduction and the Five Components of a Computer.
מבנה מחשבים הרצאה 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 結構 學習組合語言的基本工具.
聯合大學資工系 周念湘 BCC 數字系統. 聯合大學資工系 周念湘 2 r 進位:轉成 10 進位 r 代表「基底」  10 進位: r = 10  2 進位: r = 2 D r : 表示某個 r 進位的數 (r 不寫,表.
1 數位控制(一) 2 數位控制 課程計畫 課程目標 介紹數位控制理論 與工業界常用之數位控制器比較 實習數位控制器之模擬與設計 課程綱要 Introduction to Digital Control System The z Transform z-Plane Analysis of Discrete-Time.
第三部分:研究設計 ( 二): 研究工具的信效度 與研究效度 (第九章之第 306 頁 -308 頁;第四章)
CS1103 電機資訊工程實習 Department of Computer Science National Tsing Hua University.
Ubiquitous News(Unews) 的設計與實作 指導教授:黃毅然 教授 學生:葉雅琳 系別:資訊工程學系.
自動機 (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 ( )
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/25 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH 2.4~CH 2.6 &
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 網站
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.
電腦的基本單位 類比訊號 (analog signal) 指的是連續的訊號 數位訊號 (digital signal) 指的是以預先定義的符號表示不連續 的訊號 one bit 8 bits=one byte 電腦裡的所有資料,包括文 字、數據、影像、音訊、視 訊,都是用二進位來表示的。
電腦的基本單位 類比訊號 (analog signal) 指的是連續的訊號
全國奈米科技人才培育推動計畫辦公室 中北區奈米科技K -12 教育發展中心計畫 簡 報 報告人:楊鏡堂教授 計畫執行單位:國立清華大學動力機械工程學系 計畫種子學校:教育部顧問室 94 年度奈米科技人才培育先導型計畫年度成果報告 中華民國九十四年十月十四日.
: Finding Paths in Grid ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11486: Finding Paths in Grid 解題者:李重儀 解題日期: 2008 年 10 月 14 日 題意:給一個 7 個 column.
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  對有關母體參數的假設,利用樣本資料,決定接受或 不接受該假設的方法.
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 (
Registers(暫存器)與Counters(計數器):
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization.
Patterson Fall 97 ©UCB CS/EE 362 Hardware Fundamentals Lecture 8 (Chapter 1: Hennessy and Patterson) Winter Quarter 1998 Chris Myers.
International Technology University CEN 951 Computer Architecture Lecture 2 Five Components of a Computer.
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.
CPSC 321 Computer Architecture Summer 2005 Lecture 1 Introduction and Five Components of a Computer Praveen Bhojwani Adapted from CS 152 Spring 2002 UC.
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.
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.
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 國立清華大學資訊工程學系 九十九年度第二學期.
計 算 機 結 構 國立清華大學資訊工程系 黃婷婷教授.
T Computer Architecture, Autumn 2005
CS4100: 計算機結構 Course Outline
CS4100: 計算機結構 Course Outline
Presentation transcript:

CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十三學年度第一學期 Adapted from Prof. D. Patterson’s class notes Copyright 1998, 2000 UCB

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

Computer Architecture C.T.King Outline-2 二進制只有兩種狀態 對、錯 正、反 陰、陽 勝、負 真、偽 開、關 藍、綠

Computer Architecture C.T.King Outline-3 有沒有電子開關 ? “gate” as the switch

Computer Architecture C.T.King Outline-4 A Working Transistor (1/5)  Transistors consist of three terminals; the source, the gate, and the drain:

Computer Architecture C.T.King Outline-5 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.

Computer Architecture C.T.King Outline-6 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.

Computer Architecture C.T.King Outline-7 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. 開

Computer Architecture C.T.King Outline-8 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. 關

Computer Architecture C.T.King Outline-9 相關電壓電流特性 及電路分析等知識 我們是在___課中介紹的 答:「電子電路學」

Computer Architecture C.T.King Outline-10 有了開關就可以做邏輯閘  CMOS NAND:

Computer Architecture C.T.King Outline-11 有了邏輯閘就可做邏輯電路  加法器:

Computer Architecture C.T.King Outline-12 也可以做記憶元件  可存一個 bit 的東西: clock' S' Q' Q R' R S

Computer Architecture C.T.King Outline-13 答:「數位邏輯設計」 這部份的學問叫____

Computer Architecture C.T.King Outline-14 最後, 電腦的主要部份就都可以做了 Z N 暫存器 記憶體 PCIR 控制器 ALU clock 控制信號

Computer Architecture C.T.King Outline-15 Processor (active) Computer Control (“brain”) Datapath (“brawn”) Memory (passive) (where programs, data live when running) Devices Input Output Keyboard, Mouse Display, Printer Disk (where programs, data live when not running) Basic Organization of Any Computer

Computer Architecture C.T.King Outline-16 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  Register Transfer Level (RTL) description

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

Computer Architecture C.T.King Outline-18 instruction set software hardware Does it have to be hardware? Instruction Set as an Interface  Coordination of many levels of abstraction

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

Computer Architecture C.T.King Outline-20 “... 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 m Organization of Programmable Storage m Data Types and Data Structures: Encodings and Representations m Instruction Set m Instruction Formats m Modes of Addressing and Accessing Data Items and Instructions m Exceptional ConditionsSOFTWARE Instruction Set Architecture (ISA)

Computer Architecture C.T.King Outline-21 MIPS R3000 ISA  Instruction categories: Load/Store Computational Jump and Branch Floating Point coprocessor Memory Management Special R0 - R31 PC HI LO OP rs rt rdsafunct rs rt immediate jump target 3 Instruction Formats: all 32 bits wide Registers

Computer Architecture C.T.King Outline-22 Digital Alpha(v1, v3) HP PA-RISC(v1.1, v2.0) Sun Sparc(v8, v9) SGI MIPS(MIPS I, II, III, IV, V) Intel(8086,80286,80386, ,Pentium, MMX, SIMD, IA-64,...) Example ISA

Computer Architecture C.T.King Outline-23 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

Computer Architecture C.T.King Outline-24 Course Administration: CS  授課老師 : 金仲達 辦公室 : 資電 443 電話 :  助教 : (參考課程網頁) CS : 林旻平  上課時間 : CS : 星期二 10:10-12:00 星期四 10:10-11:00  上課地點 : 資電館 127 室  課程網頁 : ml

Computer Architecture C.T.King Outline-25 Course Administration: CS  授課老師 : 黃婷婷 辦公室 : 資電 442 電話 :  助教 : (參考課程網頁) CS : to be announced  上課時間 : CS : 星期二 10:10-12:00 星期四 10:10-11:00  上課地點 : 資電館 131 室  課程網頁 :

Computer Architecture C.T.King Outline-26 Text Book Computer Organization and Design: The Hardware/Software Interface, 2nd ed., David Patterson and John Hennessy, 1998 史丹福大學 校長 RISC, RAID

Computer Architecture C.T.King Outline-27 Topics Covered Computer Organization and Design: The Hardware/Software Interface, 2nd ed., D. Patterson and J. Hennessy, 1998 Topic Chapter Introduction1 The Role of Performance2 Instructions: Language of the Machine3 Arithmetic for Computers4 The Processor: Datapath and Control5 Enhancing Performance with Pipelining6 Exploiting Memory Hierarchy7 Interfacing Processors and Peripherals8

Computer Architecture C.T.King Outline-28 Prerequisite  Prerequisite courses: Logic design, assembly language and system programming  Basic machine structure Processor, memory, I/O  Read and write basic C programs  Read and write in an assembly language MIPS preferred  Understand the concept of virtual memory  Logic design Logic equations, schematic diagrams, finite state machine  Account on the CS workstations

Computer Architecture C.T.King Outline-29 Expected Course Workload  Learn MIPS instruction set  Learn processor emulators and benchmarking  6 homework assignments (1 per 2 weeks) 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 Assignments35% Midterm Exam: 30% (11/9/2004) Final Exam:35%(1/6/2005)

Computer Architecture C.T.King Outline-30 Course Problems  Cannot turn in homework on time No late homework is accepted  Forgot to turn in homework/ Dog ate computer ???  What is cheating? Study together in groups is encouraged Work must be your own