




已阅读5页,还剩5页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第三章课后习题参考答案1 有一个具有20位地址和32位字长的存储器,问:(1) 该存储器能存储多少个字节的信息?(2) 如果存储器由512k8位sram芯片组成,需要多少芯片?(3) 需要多少位地址作芯片选择?解:(1) 220= 1m, 该存储器能存储的信息为:1m32/8=4mb (2)(1024k/512k)(32/8)= 8(片) (3) 需要1位地址作为芯片选择。3 用16k8位的dram芯片组成64k32位存储器,要求:(1) 画出该存储器的组成逻辑框图。(2) 设dram芯片存储体结构为128行,每行为1288个存储元。如单元刷新间隔不超过2ms,存储器读/写周期为0.5s, cpu在1s内至少要访问一次。试问采用哪种刷新方式比较合理?两次刷新的最大时间间隔是多少?对全部存储单元刷新一遍所需的实际刷新时间是多少?解:(1)组成64k32位存储器需存储芯片数为n=(64k/16k)(32位/8位)=16(片)每4片组成16k32位的存储区,有a13-a0作为片内地址,用a15 a14经2:4译码器产生片选信号 ,逻辑框图如下所示:(2)根据已知条件,cpu在1us内至少访存一次,而整个存储器的平均读/写周期为0.5us,如果采用集中刷新,有64us的死时间,肯定不行;所以采用分散式刷新方式:设16k8位存储芯片的阵列结构为128行128列,按行刷新,刷新周期t=2ms,则分散式刷新的间隔时间为:t=2ms/128=15.6(ms) 取存储周期的整数倍15.5ms(0.5的整数倍)则两次刷新的最大时间间隔发生的示意图如下可见,两次刷新的最大时间间隔为tmax tmax15.520.530.5 (s)对全部存储单元刷新一遍所需时间为t r t r0.5128=64 (s)4有一个1024k32位的存储器,由128k8位dram芯片构成。问:(1) 总共需要多少dram芯片?(2) 设计此存储体组成框图。(3) 设dram芯片存储体结构为512行,每行为2568个存储元。采用分散式刷新方式,如单元刷新间隔不超过8ms,则刷新信号周期是多少?解:(1)总共需要dram芯片数为:n=(1024k/128k)(32位/8位)=32(片)(2)此存储体组成框图 (3)如果选择一个行地址进行刷新,刷新地址为a0-a8,因此这一行上的2568个存储元同时进行刷新,即在8ms内进行512个周期。在8ms中进行512次刷新操作,按分散刷新方式8ms/512 = 15.5us刷新一次。5. 要求用256k16位sram芯片设计1024k32位的存储器。sram芯片有两个控制端:当有效时,该片选中。当=1时执行读操作,当=0时执行写操作。解:所设计的存储器单元数为1m,字长为32,故地址长度为20位(a19a0),所用芯片存储单元数为256k,字长为16位,故占用的地址长度为18位(a17a0)。由此可用位并联方式与地址串联方式相结合的方法组成组成整个存储器,共8片ram芯片,并使用一片2:4译码器。其存储器结构如图所示。7某机器中,已知配有一个地址空间为0000h-3fffh的rom区域。现在再用一个ram芯片(8k8)形成40k16位的ram区域,起始地址为6000h,假定ram芯片有和信号控制端。cpu的地址总线为a15-a0,数据总线为d15-d0,控制信号为r/(读/写), (访存),要求:(1) 画出地址译码方案。(2) 将rom与ram同cpu连接。解:(1)依题意,主存地址空间分布如下图所示,rom区16k16位;10片的8k8位ram片组成40k16位的ram区。rom需14位片内地址,而ram需13位片内地址,故可用a15-a13三位高地址经译码产生片选信号,方案如下:(2)rom和ram与cpu连接图:8 存储器容量为64m,字长64位,模块数m = 8,分别用顺序方式和交叉方式进行组织。存储周期t = 100ns,数据总线宽度为64位,总线周期= 50ns。若连续读出8个字,问顺序存储器和交叉存储器的带宽各是多少?解:信息总量:q=64位8=512位 顺序存储器和交叉存储器读出8个字的时间分别是:t2=mt=8100ns=810(s)t1=t+ (7-1)* =100+750= 4.510(s)顺序存储器带宽是:w2= q/t2=512(810)=6410(位/s)交叉存储器带宽是:w1=q/t1=512(4.510)=113.810(位/s)9 cpu执行一段程序时, cache完成存取的次数为2420次,主存完成存取的次数为80次,已知cache存储周期为40ns,主存存储周期为240ns,求cache/主存系统的效率和平均访问时间。解:先求命中率hh=nc/(nc +nm )2420(242080)0.968则平均访问时间为tatahtc +(1-h) tm =0.96840(1-0.968) 24046.4(ns)cache/主存系统的效率为eetc/ta=40/46.486.210已知cache存储周期40ns,主存存储周期200ns,cache/主存系统平均访问时间为50ns,求cache的命中率是多少?解:根据tahtc +(1-h) tm得h=(tm-ta)/ (tm-tc)=(200-50)/(200-40)=0.9375以下是大学体验英语综合教程2(第三版)课后翻译答案unit11. 任何年满18岁的人都有资格投票。(be eligible to, vote)answer:anyone over the age of 18 is eligible to vote.2. 每学期开学前,这些奖学金的申请表格就会由学校发给每一个学生。(apply for, scholarship)answer:a form to apply for these scholarships is sent by the university to every student before the start of every semester.3. 遵照医生的建议,我决定戒烟。(on the advice of)answer:on the advice of my doctor, i decided to give up smoking.4. 公园位于县城的正中央。(be located in)answer:the park is located right in the center of town.5. 这所大学提供了我们所需的所有材料和设备。(facilities)answer:the university provides all the materials and facilities we desire.1. 他们花了多年的时间寻找内心的平静,但是收效甚微。(search for)answer:they spent many years searching for peace of mind, but with little success.2. 这种新药的成功研制已经使许多疾病的治疗发生了根本性的变革。(revolutionize)answer:the successful development of the new drug has revolutionized the treatment of many diseases.3. 由于这个国家的经济不景气,这家公司濒于破产。(on the edge of)answer:the company is on the edge of bankruptcy due to the economic depression in the country.4. 大学毕业后他成为了一名护士。他认为护士这一职业可能很有发展前途。(rewarding)answer:he became a nurse after college. he thought nursing could be a very rewarding career.5. 他像往常一样在文件上签了名。(just as)answer:he signed his name on the paper just as he has always done it.unit21. 警察们正忙着填写关于这场事故的各种表格。(fill out)answer:the policemen are busy fi lling out forms about the accident.2. 我想在还车之前把油箱加满。(fill up, fuel tank)answer:i want to fi ll up the fuel tank before returning the car.3. 如果你要投诉,最好遵循正确的程序。(follow the procedure)answer:if you want to make a complaint, youd better follow the correct procedure.4. 要不是约翰帮忙,我们绝不会这么快就完成实验。(without)answer:we couldnt have fi nished the experiment so soon without johns help.5. 暴风雨之后,岸边的人们焦急地搜索湖面以期发现小船的踪迹。(scan for)answer:after the storm, the people on the shore anxiously scanned the lake for any sign of the boat.1. 这个国家不大,但是在国际事务中它却发挥着重要作用。(play a role)answer:this country is not big, but it plays an important role in international affairs.2. 正是在我叔叔的帮助下,我得以克服困难,按时完成了任务。(it is . that)answer:it was with the help of my uncle that i overcame the difficulty and completed the assignment in time.3. 毕业时他决定留在北京,而他最好的朋友却选择了去西藏。(while)answer:while he decided to stay in beijing upon graduation, his best friend chose to go to tibet.4. 在这次校园英语演讲比赛中,我们班的玛丽获得了第三名。(come in)answer:in this campus english speaking contest, mary from our class came in third.5. 你应该知道学习弹钢琴需要有时间,有金钱,还要有毅力。(as well as)answer:you should know that it takes time, money as well as perseverance to learn to play the piano.unit31. 我发现量入为出地过日子越来越难了。(increasingly)answer:i find it increasingly difficult to live within my income.2. 现代政治家们都试图以电视讲话来影响普通百姓。(reach out)answer:modern politicians try to reach out to ordinary people in their tv speeches.3. 应该帮助学生对人生采取积极的态度。(adopt)answer:pupils should be helped to adopt a positive attitude to life.4. 希望全班同学参加这些讨论。(participate in)answer:everyone in the class is expected to participate in these discussions.5. 如果你犯了罪就必须受到惩罚。(crime)answer:if you commit a crime you must expect to be punished.1.儿子的死让老妇人变得麻木痴呆了。(numb)answer:the old woman was numbed by her sons death.2.身处所有这些烦恼之中,他依然能保持乐观。(in the midst)answer:in the midst of all troubles, he managed to remain cheerful.3. 虽有困难,他们还是设法坚持试验下去。(carry on)answer:they managed to carry on their experiments in spite of the difficulties.4.我们必须淘汰不合格的申请人。(weed out)answer:we have to weed out unqualified applicants.5. 医生要他减少抽烟。(cut down on)answer:the doctor told him to cut down on smoking.unit41.她在公共汽车站一直等到末班车进站。(come in)answer:she waited at the bus stop until the last bus came in.2.如果我们能帮得上忙,尽管和我们联系。(contact)answer:if there is any way we can be of assistance, please do not hesitate to contact us.3 .他需要多少船务人员才能使他的游艇航行?(crew, yacht)answer:how many crew does he need to sail his yacht?4 .虽然她的新书没有上一本好,但是我还是喜欢它。(not quite as)answer:i enjoyed her new book though its not quite as good as her last one.5 .我从未遇到过如此善良的人。(never before)answer:never before have i met such a kind person.1.公共汽车放慢速度并停下,让那位乘客上车。(slow down)answer:the bus slowed down and stopped to allow the passenger to get on board.2.许多车子都驶过去了,可是没有一辆愿意让我们搭便车。(roll by)answer:many vehicles rolled by, but no one offered us a ride.3 .请勿践踏草地。(get off)answer:please get off the grass.4.他按妻子的吩咐,一下班就去了市场。(make ones way)answer:he made his way to the marketplace right after work, as his wife had asked him to do.5 .值得庆幸的是,史蒂夫 (steve) 从自行车上摔下来时没有摔断骨头。(luckily)answer:luckily, steve didnt break any bones when he fell off his bike.unit51. 我们得把感情放在一边,从专业的角度来对待这件事。(from a professional standpoint)answer:we have to put aside our emotions and take it from a professional standpoint.2. 这部戏非常精彩,我很快就沉浸于激动人心的剧情之中。(lose oneself in)answer:the play was so wonderful that i soon lost myself in the excitement of it.3 .她没有什么爱好除非你把看电视也算是一种爱好。(unless)answer:she hasnt got any hobbies unless you call watching tv a hobby.4. 他说他是直接从市长本人那里得到这个信息的。(first-hand)answer:he said that he had got the information first-hand from the mayor himself.5 .既然你不能回答这个问题,我们最好问问别人。(since)answer:since you cant answer the question, perhaps wed better ask someone else.1. 由于公共汽车司机突然刹车,旅客们都不由自主地向前摔倒。(brake, pitch forward)answer:all the passengers pitched forward because the bus driver braked sharply.2. 这个协议将冲破对自由贸易设置的障碍。(break through, obstacle)answer:this agreement will break through the obstacles to free trade.3 .我刚放下叫出租车的电话,车就来了。(soon after)answer:the taxi arrived soon after i rang for it.4. 在过去,不管我什么时候到家,我父母总会等我。(no matter)answer:my parents always waited up for me no matter what time i got home.5 .由于没有一方愿意让步,两个公司之间的对话完全破裂了。(break down)answer:talks between the two companies completely broke down, because neither of them wanted to give in.unit61. 那件工作很难做,不过我想试试看。(have a shot)answer:its a difficult job, but id like to have a shot.2. 这是一本关于商务实践而非理论的书。(as opposed to)answer:this is a book about business practice as opposed to theory.3. 社会活动从未耽误她的学习。(in the way)answer:social activities never get in the way of her studies.4. 直到1911年人们才发现第一种维生素。(it is not until . that)answer:it was not until 1911 that the first of the vitamins was identified.5. 尽管年事已高,爷爷每天还帮忙做家务。(despite)answer:despite advanced years, grandpa helps do housework every day.1. 我们的婚姻很幸福,但我们也曾经历过许多坎坷。(ups and downs)answer:our marriage is happy but weve had many ups and downs.2. 许多外语教师常常在课堂上自顾自地讲得太多。(be inclined to)answer:many teachers of foreign languages are inclined to talk too much themselves in class.3. 那位著名演员每天早晨锻炼一小时以保持健康。(work out)answer:the famous actor keeps fit by working out for an hour every morning.4. 与他促膝长谈之后,她的怀疑消失了。(melt away)answer:after a long heart-to-heart talk with him, her suspicion melted away.5. 目前我们没有职位空缺,但我们肯定会记住您的申请。(keep in mind)answer:we have no vacancies now, but well certainly keep your application in mind.unit71. 他并不后悔说过的话,只是觉得他完全可以不用这种方式表达。(could have done)answer:he did not regret what he had said but felt that he could have expressed it differently.2. 我们最好等到12月14日。那时大卫已考完试,就能和我们一起去度假了。(will have done)answer:wed better wait till 14 december. david will have had his exam by then, so hell be a
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论