没有合适的资源?快使用搜索试试~ 我知道了~
textbook答案.pdf
需积分: 49 51 下载量 25 浏览量
2022-01-02
02:35:45
上传
评论 9
收藏 3.63MB PDF 举报
温馨提示


试读
183页
Computer Organization and Design - The Hardware Software Interface [RISC-V Edition] Solution Manual
资源详情
资源评论
资源推荐

StuDocu is not sponsored or endorsed by any college or university
Computer Organization and Design - The Hardware Software
Interface [RISC-V Edition] Solution Manual
Computer Organization (St. Francis Xavier University)
StuDocu is not sponsored or endorsed by any college or university
Computer Organization and Design - The Hardware Software
Interface [RISC-V Edition] Solution Manual
Computer Organization (St. Francis Xavier University)
Downloaded by zwld zwld (zwldgf5s7@tempmail.cn)
lOMoARcPSD|9303957

Chapter 1 Solutions S-3
1.1 Personal computer (includes workstation and laptop): Personal computers
emphasize delivery of good performance to single users at low cost and usually
execute third-party so ware.
Personal mobile device (PMD, includes tablets): PMDs are battery operated
with wireless connectivity to the Internet and typically cost hundreds of
dollars, and, like PCs, users can download so ware (“apps”) to run on them.
Unlike PCs, they no longer have a keyboard and mouse, and are more likely
to rely on a touch-sensitive screen or even speech input.
Server: Computer used to run large problems and usually accessed via a
network.
Warehouse-scale computer: ousands of processors forming a large cluster.
Supercomputer: Computer composed of hundreds to thousands of processors
and terabytes of memory.
Embedded computer: Computer designed to run one application or one set
of related applications and integrated into a single system.
1.2
a. Performance via Pipelining
b. Dependability via Redundancy
c. Performance via Prediction
d. M a k e t h e C o m m o n C a s e F a s t
e. Hierarchy of Memories
f. Performance via Parallelism
g. Design for Moore’s Law
h. Use Abstraction to Simplify Design
1.3 e program is compiled into an assembly language program, which is then
assembled into a machine language program.
1.4
a. 1280 × 1024 pixels = 1,310,720 pixels = > 1,310,720 × 3 = 3,932,160 bytes/
frame.
b. 3,932,160 bytes × (8 bits/byte) /100E6 bits/second = 0.31 seconds
1.5
a. performance of P1 (instructions/sec) = 3
× 10
9
/1.5 = 2 × 10
9
performance of P2 (instructions/sec) = 2.5 × 10
9
/1.0 = 2.5 × 10
9
performance of P3 (instructions/sec) = 4 × 10
9
/2.2 = 1.8 × 10
9
Downloaded by zwld zwld (zwldgf5s7@tempmail.cn)
lOMoARcPSD|9303957

S-4 Chapter 1 Solutions
b. cycles(P1) = 10 × 3 × 10
9
= 30 × 10
9
s
cycles(P2) = 10 × 2.5 × 10
9
= 25 × 10
9
s
cycles(P3) = 10 × 4 × 10
9
= 40 × 10
9
s
c. No. instructions(P1) = 30 × 10
9
/1.5 = 20 × 10
9
No. instructions(P2) = 25 × 10
9
/1 = 25 × 10
9
No. instructions(P3) = 40 × 10
9
/2.2 = 18.18 × 10
9
CPI
new
= CPI
old
× 1.2, then CPI(P1) = 1.8, CPI(P2) = 1.2, CPI(P3) = 2.6
f = No. instr. × CPI/time, then
f (P1) = 20 × 10
9
× 1.8/7 = 5.14 GHz
f (P2) = 25 × 10
9
× 1.2/7 = 4.28 GHz
f (P1) = 18.18 × 10
9
× 2.6/7 = 6.75 GHz
1.6
a. Class A: 10
5
instr. Class B: 2 × 10
5
instr. Class C: 5 × 10
5
instr. Class D: 2 × 10
5
instr.
Time = No. instr. × CPI/clock rate
Total time P1 = (10
5
+ 2 × 10
5
× 2 + 5 × 10
5
× 3 + 2 × 10
5
× 3)/(2.5 × 10
9
) =
10.4 × 10
−4
s
Total time P2 = (10
5
× 2 + 2 × 10
5
× 2 + 5 × 10
5
× 2 + 2 × 10
5
× 2)/(3 × 10
9
) =
6.66 × 10
−4
s
CPI(P1) = 10.4 × 10
−4
× 2.5 × 10
9
/10
6
= 2.6
CPI(P2) = 6.66 × 10
−4
× 3 × 10
9
/10
6
= 2.0
b. clock cycles(P1) = 10
5
× 1 + 2 × 10
5
× 2 + 5 × 10
5
× 3 + 2 × 10
5
× 3 = 26 × 10
5
clock cycles(P2) = 10
5
× 2 + 2 × 10
5
× 2 + 5 × 10
5
× 2 + 2 × 10
5
× 2 = 20 × 10
5
1.7
a. C P I = T
exec
× f/No. instr.
Compiler A CPI = 1.1
Compiler B CPI = 1.25
b. f
B
/f
A
= (No. instr.(B) × CPI(B))/(No. instr.(A) × CPI(A)) = 1.37
c. T
A
/T
new
= 1.67
T
B
/T
new
= 2.27
Downloaded by zwld zwld (zwldgf5s7@tempmail.cn)
lOMoARcPSD|9303957

Chapter 1 Solutions S-5
1.8
1.8.1 C = 2 × DP/(V
2
× F)
Pentium 4: C = 3.2E–8F
Core i5 Ivy Bridge: C = 2.9E–8F
1.8.2 Pentium 4: 10/100 = 10%
Core i5 Ivy Bridge: 30/70 = 42.9%
1.8.3 (S
new
+ D
new
)/(S
old
+ D
old
) = 0.90
D
new
= C × V
new
2 × F
S
old
= V
old
× I
S
new
= V
new
× I
Therefore:
V
new
= [D
new
/(C × F)] 1/2
D
new
= 0.90 × (S
old
+ D
old
) − S
new
S
new
= V
new
× (S
old
/V
old
)
Pentium 4:
S
new
= V
new
× (10/1.25) = V
new
× 8
D
new
= 0.90 × 100 − V
new
× 8 = 90 − V
new
× 8
V
new
= [(90 − V
new
× 8)/(3.2E8 × 3.6E9)]
1/2
V
new
= 0.85 V
Core i5:
S
new
= V
new
× (30/0.9) = V
new
× 33.3
D
new
= 0.90 × 70 − V
new
× 33.3 = 63 − V
new
× 33.3
V
new
= [(63 − V
new
× 33.3)/(2.9E8 × 3.4E9)]
1/2
V
new
= 0.64 V
1.9
1.9.1
Downloaded by zwld zwld (zwldgf5s7@tempmail.cn)
lOMoARcPSD|9303957
剩余182页未读,继续阅读
















林木雨风
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- cmake编译OpenCV4.8.0+opencv-contrib4.8.0过程中手动下载资源
- Oracle单实例自动化安装Shell脚本
- 【Axure资源】web网页端高复用组件库, 包括下拉菜单文件上传穿梭框日期城市选择器
- rt-thread-code-stm32f429-st-disco.rar开发板STM32F429I-DISCOVERY
- cisco思科复习资料2
- cisco思科复习资料1
- 西门子 S120驱动 SIEMENS 6SL3120-1TE21-8AA0 VER-A 存储器备份
- 鱼骨时间轴demo【JQuery版本】
- windows zmq环境搭建安装包
- 分布式DeviceProfile部件是设备硬件能力和系统软件特征的管理器
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0