计算机组成原理
第一章概论
李曦
llxx@ustc.edu.cn
算盘= 计算器≠ 计算机?Tiny ?
程序是如何执行的?用到哪些设备?
“计算机在干啥”?
COD课程的作用
• 所有大学计算机系都开设COD相关课程
– “为今后学习操作系统、编译原理、计算机体系结构、
数据库技术、并行计算、分布式系统等课程打基础”。
• 相关课程
– 数字电路
–– 程序设计程序设计
– 组成原理
• 重点 “单核单处理器”系统
– 介绍多核、多处理器等并行系统
• 强调软硬件接口
– 操作系统
– 编译原理
– 体系结构
– 计算机网络
– 分布式系统。。。
“计算机系统设计”涉及的问题
计算机科学永恒的问题:如何设计出更好的计算机,如何利用好现有的计算机
《计算机组成》:what, how, why
硬盘硬盘 电源电源导线和电缆导线和电缆
软驱软驱
内存内存
微处理器微处理器
扩展槽扩展槽
((CPUCPU))
扩展卡扩展卡
主板主板
Motherboard with Two Processors
• Intel Quad-Core Xeon Processors
BOOT过程
科学、技术or工程?
课程标准:CS2013/CE2016
• IEEE/ACM Computer Science Curriculum 2013
– ARKA含8个KU(5个必修,3个选修)
• 数字逻辑与系统
• 数据表示
• 汇编级机器组
• 存储系统组成与结构
•• 接口与通信接口与通信
• 功能组成
• 多处理及结构
• 性能优化
• 从两个层次的角度
– organization or microarchitecture
• the internal implementation of a computer at the register and
functional unit level
– system architecture
• the organization of the computer at the cache and bus level
教材与参考书
• 《Computer Organization and Design—The HW/SW I/F》
– David Patterson and John Hennessy,5th Ed, 2013, COD
– “
Design an ISA that is appropriate for a given application, taking
into consideration key computer organization design principles”
• CPU和Cache强,MEM和I/O弱
• 强调性能分析:一些学校用作Computer architecture教材
• “Computer organization and architecture:Designing for
performance”, COA