计算机组成原理大作业I.pdf

上传人:修**** 文档编号:75984023 上传时间:2023-03-06 格式:PDF 页数:3 大小:91.33KB
返回 下载 相关 举报
计算机组成原理大作业I.pdf_第1页
第1页 / 共3页
计算机组成原理大作业I.pdf_第2页
第2页 / 共3页
点击查看更多>>
资源描述

《计算机组成原理大作业I.pdf》由会员分享,可在线阅读,更多相关《计算机组成原理大作业I.pdf(3页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、计算机组成原理大 作 业 计算机组成原理 大作业(I)2、Consider a hypothetical microprocessor generating a 16-bit address(for example,assume that the program counter and the address registers are 16 bits wide)and havinga 16-bit data bus.(12 points)使用专业、班级学号姓名la)a).What is the maximum memory address space that the processor c

2、an access directlyif it is connected to a“16-bit memory”?题数一二总分b)b).What is the maximum memory address space that the processor can access directlyif it is connected to an“8-bit memory”?得分c)c).What architectural features will allow this microprocessor to access a separate“I/O space”?d)d).If an input

3、 and an output instruction can specify an 8-bit I/O port number,howmany 8-bit I/O ports can the microprocessor support?How many 16-bit I/O ports?Explain.一、系统总线部分 共计 30分1、Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed oftwo fields:the first byte contains the opcode

4、and the remainder the immediate operand or anoperand address.(10 points)a).a).What is the maximum directly addressable memory capacity(in bytes)?b).b).Discuss the impact on the system speed if the microprocessor bus has(1).(1).a 32-bit local address bus and a 16-bit local data bus,or(2).(2).a 16-bit

5、 local address bus and a 16-bit local data bus.c).c).How many bits are needed for the program counter and the instruction register?1计算机组成原理大 作 业3、Consider a 32-bit microprocessor whose bus cycle is the same duration as that of a16-bit microprocessor.Assume that,on average,20%of the operands and inst

6、ructionsare 32 bits long,40%are 16 bits long,and 40%are only 8 bits long.Calculate theimprovement achieved when fetching instructions and operands with the 32-bitmicroprocessor.(8 points)二、存储器部分 共计 70分2、Consider a computer with the following characteristics:total of 1Mbyte of main1、Consider a 32-bit

7、 microprocessor that has an on-chip 16-Kbyte four-way setassociativememory;word size of 1 byte;block size of 16 bytes;and cache size of 64 Kbytes.(25 points)cache.Assume that the cache has a line size of four 32-bit words.Draw a block diagram ofa a).For the main memory addresses of F0010,01234,and C

8、ABBE,give the correspondingthis cache showing its organization and how the different address fields are used to determinetag,cache line address,and word offsets for a direct-mapped cache.a cache hit/miss.Where in the cache is the word from memory location ABCDE8F8 mapped?b)b).Give any two main memor

9、y addresses with different tags that map to the same(25 points)cache slot for a direct-mapped cache.c)c).For the main memory addresses of F0010 and CABBE,give the corresponding tagand offset values for a fully-associative cache.d)d).For the main memory addresses of F0010 and CABBE,give the correspon

10、dingtag,cache set,and offset values for a two-way set-associative cache.2计算机组成原理大 作 业3、A computer system contains a main memory of 32K 16-bit words.It also has a 4Kwordcache divided into four-line sets with 64 words per line.Assume that the cache is initiallyempty.The processor fetches words from lo

11、cations 0,1,2,.,4351 in that order.It thenrepeats this fetch sequence nine more times.The cache is 10 times faster than main memory.Estimate the improvement resulting from the use of the cache.Assume an LRU policy forblock replacement.(10 points)4、Let s say this module of chips is packaged as a single 1-Mbyte chip,where the word sizeis 1 Mbyte.Give a high-level chip diagram of how to construct an 8-Mbyte computermemory using eight 1-Mbyte chips.Be sure to show the address lines in your diagram andwhat the address lines are used for(10 points)3

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁