




已阅读5页,还剩7页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第一部分:数据表示、运算和运算器部件数据进制转换和二进制数据运算1. 把下面给出的几个十进制的数化成二进制的数(无法精确表示时,小数点后取3位)、八进制的数、十六进制的数:7+3/4, -23/64, 5.472. 把下面给出的几种不同进制(以下标形式给出在右括号之后)的数化成十进制的数:- (1010.0101)2, (23.47)8, - (1A3C.D)163. 完成下面几个二进制的数的算术运算:1010.111+0101.101, 1010.111-0101.101, 1110*0101, 10111101/1101数据的原、反、补码表示和计算1. 写出下面两组数的原、反、补码表示,并用补码计算每组数的和、差。双符号位的作用是什么?它只出现在什么电路之处?(1) X= 0.1101 Y= -0.0111(2) X= 10111101 Y= -001010112. 仿照计算机的计算过程,用原码计算在11题的第(1)小题给出的两个定点小数的乘积。3. 仿照计算机的计算过程,用原码计算在11题的第(1)小题给出的两个小数Y/X的商和正确的余数。数据校验码,浮点数表示和计算1. 海明校验码具有怎样的检错纠错能力?为实现对8位数据的海明校验,应安排几个校验位?设计这一海明校验码的编码逻辑表达式、译码逻辑表达式。2. IEEE规定用哪三种字长的浮点数,用哪两编码分别表示浮点数阶码和尾数?这种表示 的优点何在?3. 如何计算格式已定的浮点数的表示范围?怎样估算浮点数的表示精度?4. 假定 X = 0.0110011*211, Y = 0.1101101*2-10 (此处的数均为二进制) ,(1). 浮点数阶码用4位移码、尾数用8位原码表示(含符号位),写出该浮点数能表示的绝对值最大、最小的(正数和负数)数值;(不使用隐藏位技术)(2). 写出X、Y的正确的浮点数表示(注意,此处预设了个小陷阱);(3). 计算X + Y ,(4). 计算X * Y 。运算器部件1. 解释定点运算器的功能和组成逻辑部件?以Am2901芯片为实例,来介绍定点运算器的有关知识,你的认可程度如何?2. 运算器内累加器数目的多少对计算机性能有什么影响?乘商寄存器的主要功能是什么?它与运算器内的通用寄存器在使用方面的差异表现在哪里?3. 以教学计算机为例,说明应如何控制与操作运算器完成指定的数据运算、传送功能,为什么必须在Am2901芯片之外解决向运算器提供最低位的进位输入信号,最低、最高位的移位输入信号,以及状态位的接收与记忆问题。设计完成如下操作功能的操作步骤和必须提供的信号: 把100送入R0,R0的内容送入R1,完成R0-R1并存入R0, R1的内容减1,R1的内容送入Q ,R1和Q与C联合右移一位。第二部分:指令、指令系统和控制器部件指令格式与寻址方式1. 一条指令通常由哪两个部分组成?指令的操作码一般有那几种组织方式?各自应用在什么场合?各自的优缺点是什么?2. 什么是形式地址?简述对变址寻址、相对寻址、基地址寻址应在指令中给出些什么信息?如何得到相应的实际(有效)地址?各自有什么样的主要用法?3. 为读写输入/输出设备,通常有哪几种常用的方式用以指定被读写设备?4. CISC(复杂指令系统计算机)和 RISC(精简指令系统计算机)计算机的指令系统的区别表现在哪里?它们各自追求的主要目标是什么?控制器组成1. 简述计算机的控制器的功能和基本组成,微程序的控制器和组合逻辑的控制器在组成和运行原理方面的相同、不同之处表现在哪里?2. 微程序的下一条微指令地址通常有哪些来源?从微程序设计的角度,指出可能需要支持哪些微程序执行流程结构?为此又应有什么样的硬件线路支持?你对芯片Am2910的内部组成和所提供的功能留有什么好的和不好的印象?3. 节拍发生器的功能是什么?它属于那种类型的线路?确定节拍状态编码时要注意些什么问题?控制器设计1. 在16位的教学计算机上有选择地扩展出如下几条指令,包括确定指令格式和具体内容,指令执行步骤,每一步的操作功能和控制信号等,最后再在教学计算机上真正实现出来,调试正确并应用在程序中,要求不能破坏无关的通用寄存器的内容。(1) ADC指令,即实现带进位加的运算(2) CALR指令,子程序入口地址在一个寄存器中(3) LDRX和STRX指令,即选用变址寻址方式实现内存读写操作的指令2. 8位字长的教学计算机比起16位字长的教学计算机,在指令格式、可以使用的累加器数目、指令执行步骤划分等方面差异表现在什么地方?为什么会是这样?第三部分:多级结构的存储器系统多级结构概述和内存储器部分1. 在计算机中,为什么要采用多级结构的存储器系统?它的应用是建立在程序的什么特性之上的? 何谓信息的一致性原则和包含性原则?2. 比较DRAM和SRAM芯片存储信息的原理,主要特性和使用场合等方面的区别。3. 在所用主存储器芯片已确定的情况下,还要进一步大幅度提高主存储器系统的读写速度的办法是什么?低位地址的多体交叉是何含义?优点何在?4. 假定需要把教学计算机的控制存储器也能变成贮存的一部分,希望能用监控程序的E命令修改它的内容,应该怎样来实现,请设计出可行方案。高速缓冲存储器部分1. 高速缓冲存储器在计算机系统中的主要作用是什么,用什么类型的存储器芯片实现,为什么?高速缓存与主存在读写原理方面有何区别?2. 高速缓冲存储器有哪3种主要的映像方式?从地址映射和抵制变换比较它们们各自的组成特点。3. 说明影响高速缓存命中率的因素都有哪一些,并简单解释一下是如何影响的。虚拟存储器部分1. 是个什么概念。它的存储介质是什么,虚拟存储器要解决的是什么问题。2. 虚拟存储器要求有什么硬件与软件支持,段式存储管理与页式存储管理的区别表现在哪些方面,段式存储为什么会形成“碎块”。3. 为什么要采用磁盘阵列技术?何为逻辑盘,何为物理盘?作为一个逻辑盘使用的多个物理盘需要在转速和所用扇区等方面严格的同步吗?为什么?阵列盘中的RAID0,RAID1,RAID4和RAID5指的是什么类型的容错处理?综合习题Problem 1某计算机的存储器系统配置如下所示:存储器类型容量价格($/B)访问时间命中率Cache116KB10-310ns99%Cache2256KB10-520ns99.99%Main Memory32MB10-6100ns99.9999%Disk Memory8GB10-910ms100%(a).求该计算机存储器系统的平均访问时间和平均访问价格;(b). 如果由于成本原因,去掉二级缓存,则平均访问时间和平均价格又是多少?Problem 2The diagram above illustrates a blocked, direct-mapped cache for a computer that uses 32-bit data words and 32-bit byte addresses. A. What is the maximum number words of data from main memory that can be stored in the cache at any one time? B. How many bits of the address are used to select which line of the cache is accessed? C. How many bits wide is the tag field? D. Briefly explain the purpose of the one-bit V field associated with each cache line. E. Assume that memory location 0x2045C was present in the cache. Using the row and column labels from the figure, in what cache location(s) could we find the data from that memory location? What would the value(s) of the tag field(s) have to be for the cache row (s) in which the data appears? F. Can data from locations 0x12368 and 0x322FF8 be present in the cache at the same time? What about data from locations 0x2536038 and 0x1034? Explain. When an access causes a cache miss, how many words need to be fetched from memory to fill the appropriate cache location(s) and satisfy the request? Problem 3Consider the following program: integer A1000; for i = 1 to 1000 for j = 1 to 1000 Ai = Ai + 1 When the above program is compiled with all compiler optimizations turned off and run on a processor with a 1K byte direct-mapped write-back data cache with 4-word cache blocks, what is the approximate data cache miss rate? (Assume integers are one word long and a word is 4 bytes.)Problem 4某个虚拟地址的页面大小为1024个字,共有8个虚拟页面,4个物理页面。页表如下:虚拟页面物理页面03112不在内存3不在内存425不在内存607不在内存(1) 列出所有产生缺页的虚拟地址。(2) 0、3728、1023、1024、1025、7800和4096的物理地址是多少?Problem 5The Microsoft Xbox:Microsoft recently began selling a new video game console called the Xbox. The system is based on a 733 MHz. .Intel processor that is believed to be a scaled-down Pentium III. You have been hired to help design a competing product. But, before you begin planning this new system, you decide to first review the organization of Xbox architecture.After some research, you assemble the facts below. While many of the details have not been released to the public * , it is likely that the system will have the specifications given below.System:CharacteristicValuesVirtual Addresses 32 bitsPhysical Addresses 36 bitsAddressing ModeByte AddressingPage Size 4 KBCache Organization:CharacteristicTLBLevel1Level2OrganizationSplit I/DSplit I/DUnifiedCache sizeI: 32 EntriesD: 64 EntriesI: 16 KBD: 16 KB128 KBCache associativity4-way SetAssociative4-way SetAssociative8-way SetAssociativeReplacementPseudo-LRUPseudo-LRUPseudo-LRUBlock sizeN/A32 Bytes 32 BytesWrite policyN/AI: Write-back orWrite-through(programmable)D: Write-backWrite-through orWrite-back (programmable)* In addition to being a “best guess” at some of these details, this table has simplified some issues for the sake of this problem.Below is the diagram of the memory organization for data accesses.(a) For the diagram illustrating a data access on the previous page, fill in the width in bits or number of entries, as appropriate, for each of the letters A through M shown.A _B _C _D _E _F _G _H _I _J _K _L _M _(b) The number of entries in the data TLB is greater than the number in the instruction TLB. Aside from die space, give one reason why the designers chose to make the data TLB larger.(c) In designing your new game embedded processor, you decide to increase the cache block size. Describe three potential impacts on performance caused by the increase in block size.(d) Your first design for this new system included a TLB and the operating system used paging and provided virtual memory. Unfortunately, due to the overhead of virtual memory disk accesses, you later decide to remove the virtual memory support from the OS. One of the other engineers on the team asks whether the TLB should be removed or not given the change to the VM. Give an answer and justify why or why not.第四部分:输入输出设备与输入输出系统输入输出设备1. CRT显示器中为什么采用光栅扫描方式?光栅扫描与随机扫描各自的优缺点是什么?如何计算显示存储器的容量和读写速度?字符发生器的功能是什么?2. 简单说明针式打印机、 喷墨式印字机、激光印字机都是如何控制打印出字符字形的一个打印点的原理性过程。输入输出系统1. 计算机总线的功能是什么?通常用什么类型的器件构建总线?为什么?从功能区分,总线由哪3种类型组成?各自对计算机系统性能有什么影响?2. 通用可编程接口中应由哪些部件组成?各自的功能是什么?3. 中断在计算机系统中的作用有哪一些? 简述CPU可以响应中断请求的条件和时刻,简述一次中断处理的完整过程。4. 简述一次DMA处理的完整过程。综合习题Problem 1Here are a variety of building blocks used in an I/O system that has a synchronous processor-memory bus running at 200 MHz and one or more I/O adapters that interface I/O buses to the processor-memory bus. Memory system: The memory system has a 32-bit interface and handles four-word transfers. The memory system has separate address and data lines and, for writes to memory, accepts a word every clock cycle for 4 clock cycles and then takes an additional 4 clock cycles before the words have been stored and it can accept another transaction. DMA interface: The I/O adapters use DMA to transfer the data between the I/O buses and the processor-memory bus. The DMA unit arbitrates for the processor-memory bus and sends/receives four-word blocks from/to the memory system. The DMA controller can accommodate up to eight disks. Initiating a new I/O operation (including the seek and access) takes 1 ms, during which another I/O cannot be initiated by this controller (but outstanding operations can be handled). I/O bus: The I/O bus is a synchronous bus with a sustainable bandwidth of 10 MB/sec; each transfer is one word long. Disks: The disks have a measured average seek plus rotational latency of 12 ms
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年电子行业5G技术应用前景研究报告
- 2025年智能农业技术在农产品运营管理中的应用前景研究报告
- 2025年养老行业智能养老服务市场前景研究报告
- 2025年区块链技术在智能合约行业的应用与发展前景研究报告
- 2025年金属行业新材料应用前景研究报告
- 2025年电子竞技行业电子竞技市场规模与发展前景分析研究报告
- 安定区2025年甘肃定西市安定区融媒体中心选调工作人员笔试历年参考题库附带答案详解
- 宁夏2025年宁夏回族自治区生态环境厅事业单位自主公开招聘急需紧缺高层次人才公笔试历年参考题库附带答案详解
- 商洛市2025陕西商洛学院工程训练中心人员招聘考试2人笔试历年参考题库附带答案详解
- 华池县2025年甘肃庆阳华池县事业单位引进急需紧缺人才11人(第一批第三次)笔试历年参考题库附带答案详解
- 儿童异物吸入的急救和预防
- 医疗行业实验室自动化的趋势和影响
- 会诊联络精神病学
- 家居门店店面管理制度
- 护理病例汇报演讲
- (高清版)DG∕TJ 08-55-2019 城市居住地区和居住区公共服务设施设置标准
- 运输安装费合同协议
- 作风建设测试题及答案
- 医学院研究生招生考试回避制度
- 汽车代工协议书模板
- 黄石市语文初中试卷及答案
评论
0/150
提交评论