120 likes | 289 Views
LAB1. 2005/3/7 By TA:xkuei 魏士貴. Office time. 魏士貴 葉護熹 Office: EE BL Building ( 博理館 ) Room 627 Phone: 3366-3613 Office hours: (1) Mon. 4:45~5:45pm (2) Wed. 3:30~4:30pm. Computer Application. Automatic teller machine Computer in automobiles
E N D
LAB1 2005/3/7 By TA:xkuei 魏士貴
Office time • 魏士貴 葉護熹 • Office: EE BL Building (博理館) Room 627 • Phone: 3366-3613 • Office hours: (1) Mon. 4:45~5:45pm (2) Wed. 3:30~4:30pm
Computer Application • Automatic teller machine • Computer in automobiles • Human genome project • Laptop computer • Sport • 3C->1C (Computer, Communication andConsumer electronics )
Von Neumann machine(1952) Input Output bus CPU memory Controller Bottleneck is restricted by the bus
Von Neumann machine (cont.) • Program and Data will be loaded into memory before execution of the program • CPU is independent unit, and it accepts instructions to do operation with data
Concept of “Stored program”(內儲程式) • Use binary system • Instruction is stored in the memory like data
Concept of “Stored program” (cont.) MEM 會計程式 (機械碼) 文書編輯程式(機械碼) C 編譯程式(機械碼) CPU 薪資資料 帳冊
Data path and control 記憶體 指令 暫存器 pc 位址 A 資料或指令 暫存器 cpu 暫存器 CPU B 資料 暫存器 資料 控制單元
bit/byte/word • Bit 0,1 • Byte 01000011 =8Bit • Word =4xByte =4x8Bit • Instruction • KB =1024Byte =千Byte • MB =百萬Byte • GB =十億Byte
Performance • A = 指令總數/程式 • B = 時脈週期數/指令 • C = 秒數/時脈週期 • time = AxBxC
Performance改善公式 • New_pfm =Old_pfm x (改善比重 x 改善率 + 未改善比重) • 啟示一:買電腦 • 啟示二:電腦的未來發展