登陆注册
12976300000014

第14章 Computer Hardware(7)

The data lines provide a path for moving data between system modules. These lines, collectively, are called the data bus. The data bus typically consists of 8, 16, 32,or 64 separate lines, and the number of lines being referred to as the width of the data bus. Since each line can carry only 1 bit at a time, the number of lines determines how many bits can be transferred at a time. The width of the data bus is a key factor in determining overall system performance. For example, if the data bus is 8 bits wide, and each instruction is 16 bits long, then the CPU must access the memory module twice during each instruction cycle.

The address lines are used to designate the source or destination of the data on the data bus. For example, if the CPU wishes to read a word (8, 16, or 32 bits) of data from memory, it puts the address of the desired word on the address lines. Clearly, the width of the address bus determines the maximum possible memory capacity of the system. Furthermore, the address lines are generally also used to address I/O ports. Typically, the higher-order bits are used to select a memory location or I/O port within the module. For example, on an 8-bit bus, address 01111111 and below might reference location in a memory module (module 0) with 128 words of memory, and address 10000000 and above refer to devices attached to an I/O module (module 1).

The control lines are used to control the access to and the use of the data and address lines. Since the data and address lines are shared by all components, there must be a mean to control their use. Control signals transmit both command and timing information between system modules. Timing signals indicate the validity of data and address information. Command signals specify operations to be performed.

2. Bus Types

Bus lines can be separated into two generic types: dedicated and multiplexed. A dedicated bus line is permanently assigned either to one function or to a physical subset of computer components.

An example of functional dedication is the use of separate dedicated address and data lines, which is common to many buses. However, it is not essential. For example, address and data information may be transmitted over the same set of lines using an Address Valid control line. At the beginning of a data transfer, the address is placed on the bus and the Address Valid line is activated. At this point, each module has a specified period of time to copy the address and determine if it is the addressed module. The address is then removed from the bus, and the same bus connections are used for the subsequent read or write data transfer. This method of using the same lines for multiple purpose is known as time multiplexing.

The advantage of time multiplexing is the use of fewer lines, which saves space and, usually, cost. The disadvantage of time multiplexing is that more complex circuitry is needed within each module. Also, there is a potential reduction in performance since certain events that share the same lines cannot take place in parallel.

Physical dedication refers to the use of multiple buses, each of which connects only a subset of modules. A typical example is the use of an I/O bus to interconnect all I/O modules; this bus is then connected to the main bus through some type of I/O adapter module. The potential advantage of physical dedication is high throughput, because there is less bus contention. A disadvantage is the increased size and cost of the system.

【Vocabulary】

reception

n. 接待,接收

garble

vt. 混淆,断章取义

transmit

vt. 传输,传送,发射

pathway

n. 路径

represent

vt. 表现,象征,回忆

binary

adj. 二进位的,二元的

hierarchy

n. 层次,层级

collectively

adv. 全体的,共同的

designate

vt. 指明,指出,任命,指派

destination

n. 目的地,目标文件

reference

n. 提及,涉及,证明书,介绍信

validity

n. 有效性,合法性,正确性

dedicate

adj. 献身,致力于

multiplex

adj. 多元的

subsequent

adj. 后来的,并发的

permanent

adj. 永久的,持久的

contention

n. 争论,争辩,论点

【参考译文】

系统总线

总线是一种用来连接两个或多个设备的通信线路,它的关键特性是具有共享的传输介质。多种设备连接到总线上,连接在总线上的设备可以接收任何一个设备传送的信号。如果两个设备在同一时刻传送,那么信号将会重叠和混淆。因此,在同一时刻只能有一台设备成功传送。

在多种情况下,一条总线中有多条通信线路,每条线路都能传送代表二进制数1和0的信号。随着时间的持续,通过一条单独的线路可以传送一个二进制数序列。对于所有的线路,一条总线可以在多条线路上同时传送二进制数(并行模式)。例如,一个8位的数据可以通过8条总线线路传送。

计算机系统中包含许多条不同的总线为计算机系统结构中不同层次的部件提供通信线路。连接主要计算机部件(中央处理器、内存、输入/输出设备)的总线叫做系统总线,最常见的计算机相互连接结构是以使用一条或多条系统总线为基础的。

1.总线结构

典型的系统总线包含50~100条独立的线路,每条线路都具有指定的含义和功能。总线设计尽管有许多的不同之处,但是总线中的线路可以分为三类:数据总线、地址总线和控制总线。此外,也许还有为连接的模块供电的电源分配线路。

数据线路是系统模块之间传送数据的线路,这些线路统称为数据总线。典型的数据总线包含8、16、32、64条独立的线路,线路的数量也就是数据总线的宽度。因为每条线路每次只能传送1位,线路的数量决定了一次所能传送的位数。数据总线的宽度是影响整个系统性能的关键因素。例如,数据总线的宽度是8位,每条指令16位长,那么在每一指令周期中,CPU必须两次访问内存模块。

地址总线用来指定数据总线中的源头或目标数据。例如,如果 CPU 想从内存中读一个字长(8位、16位或32位)的数据,则要把期望数据的地址放到地址总线上。很明显,地址总线的宽度决定了系统最大的访问内存的能力。此外,地址总线也常用于地址输入输出端口。在通常情况下,高位用于在模块中选择内存的位置和输入输出端口。例如,在一个8位总线中,地址01111111及以下的地址部分指的是内存模块(模块 0)中的 128 个字的内存位置,地址10000000及以上的地址部分指的是连接在输入输出模块(模块1)上的设备。

控制总线用于控制访问和使用数据及地址总线,数据和地址总线是被所有部件共享的,所以必须通过一种方法控制它们的使用。控制信号和系统模块之间同时传送命令和定时信息。定时信号标志着数据和地址信息的有效性,由命令信号指定被执行的操作。

2.总线类型

总线可以分为两类:专用总线和复用总线。专用总线是指定位一种固定的功能或计算机的附属设备。

许多总线中普遍使用的相互独立的专用地址和数据线是专用功能总线的一个例子。但是这并不是问题的本质。例如,使用地址有效控制线,地址和数据信息就可以在同一套总线中传送。在开始传送数据时,把地址送入总线中,地址有效控制被激活。这时,每一模块都有一段特定的时间周期复制地址,并判断是否是该模块的地址,然后从总线中清除,随后的数据读或写操作使用同样的总线连接。这种将同一总线用于多种用途的方法叫做时分多路复用技术。

时分多路复用技术的优点是可以使用较少的总线,通常能节省空间和费用,它的缺点是在每一个模块中要设计更为复杂的电路。所以它可能会降低系统的性能,因为特定的时间需要共享同一套总线而不能并行处理。

设备专用总线指的是每一总线只连接一类模块的多个总线。典型的例子是用一条输入输出总线来使所有的输入输出模块相互连接,这些总线通过某种类型的输入输出模块适配器与主总线连接在一起。因为对总线的争夺利用少,所以设备专用总线具有数据流量大的优点和增加了系统的体积与费用的缺点。

【Reading Material】

Magnetic Disks

A magnetic disk looks like a small photograph record. Magnetic disks typically store 10 to 1,200 million character of information. So it provides a large amount of storage and rapid retrieval of any stored information. All disks are made of a substance coated with metal oxide, and can therefore be magnetized.

同类推荐
  • Stories by English Authors in London

    Stories by English Authors in London

    Frequently I have to ask myself in the street for the name of the man I bowed to just now, and then, before I can answer, the wind of the first corner blows him from my memory.
  • 大师论管人

    大师论管人

    本书是对世界上最具影响力的众多思想家有关管人方面的贡献的巧妙总结,每一位管人大师的思想背景、主要的管人观点和大师间的交叉影响,都能在本书中找到答案。
  • 世界500强企业都在用的国际英文合同大全集

    世界500强企业都在用的国际英文合同大全集

    《世界500强企业都在用的国际英文合同大全集》在介绍英语合同基础知识的基础上,分析英语合同的语言特点和常用词汇及句型,并为读者提供了各类合同实例并加以注释和翻译以方便大家学习。本书最后还提供了国际法规与惯例相关条款及合同术语中英文对照辅助资料,内容从易到难,循序渐进,让您一步一步掌握商务英语合同。
  • 谜语绕口令英语

    谜语绕口令英语

    谜语和绕口令是英语文学中两种比较独特的语言艺术形式。前者既饶有情趣,又可以启发心智,增进思考和想像能力;后者结构巧妙,诙谐风趣,富有音乐性,最适合口头背诵,深受广大英语读者的喜爱。
  • 一个人也能学好英语

    一个人也能学好英语

    当今社会,英语的实用越来越频繁了。尤其在80,90后表现得尤为突出。实用英语交流几乎成为了一项最基本的技能。就像开车一样,几乎成为了人人必会的项目。看到小伙伴们都能讲一口流利的英语。而自己所学的书面英语,根本不能达到交流的目的。而又碍于情面,逃避交友,社交。建议此种情况,作者根据此类人群的学习和心理特性,特别编写了《一个人也能学好英语》,就是让你一个人悄悄地修炼,等练成出关的时候,一口地道的美语,一定会让你的小伙伴惊讶不已的,羡慕、嫉妒、恨。
热门推荐
  • 新娘②:傻妻(全本)

    新娘②:傻妻(全本)

    【重点推荐落的新文】《新娘④:将门嫡女》http://novel.hongxiu.com/a/426342/一朝穿越,装傻七载,只为在家族中的日子好过一些。可是谁知,她仍然无法逃出多桀的命运,代姐姐嫁给了一个传说中无权无势的男人。成婚当天,她坐在彻夜燃烧的花烛前,仍没有等到那个来为她揭开盖头的夫君。当天边的第一缕曙光来临之时,她毅然决然地一把扯下头上的那块红布。她,从此不再让任何人操控她的命运。他心不甘情不愿地娶了一个傻子为妻。所幸直接将她扔到偏僻的角落不闻不问。可是,一次巧遇,让他对她心生怜惜,也让她,在之后的日子里,痛彻心扉……**************************************落新开的微博:http://t.sina.com.cn/1865523352群号:(入群请附红袖ID哈~)落部落:17873884(已满O(∩_∩)O)落部落2:135064011(虚位以待,大家快快加入吧O(∩_∩)O)**************************************推荐落的其他作品:《新娘①:哑妻(全本)》http://novel.hongxiu.com/a/219989/《新娘②:傻妻(全本)》http://novel.hongxiu.com/a/250304/《新娘③:丑妻传奇(上部完)》http://novel.hongxiu.com/a/296286/
  • 瘟疫危机

    瘟疫危机

    病毒爆发,丧尸横行。本来已死的人却活了过来,本来空无一人的城市却出现了活人,神秘的组织,恐怖的瘟疫,冲出城市,世界却早已毁灭,底层小人物该何去何从?
  • 我的高校不正常

    我的高校不正常

    吸血鬼、狼人、妖怪、食尸鬼、阴阳师、超能力者、外星人、鬼魂、来自二次元的人物……当这一切真实的存在,当他们活生生地出现在你的面前并且成为了你的同学时候,你会做出什么反应?对此,凌浩表示:“我这是打开的方式不对么?”
  • 异世猖狂:神偷九小姐

    异世猖狂:神偷九小姐

    她是二十四世纪的神偷,却穿越到了一个痴呆儿废柴的身上,斗气?魔法?她魔武双修碾压一切天才,好不容易逆袭了,你告诉我,我不是亲生的!?!好吧,那我再去找我的亲生父母,小伙伴们我们走,建个城,找个人,团结一致,徐徐升
  • 那片橙色的四叶草的海洋

    那片橙色的四叶草的海洋

    十年那时,会有那片我们约定好的,那片耀眼的橙海他们是一个明星般的存在,看得见却摸不着不是不喜欢,而是不敢爱距离,会有多远
  • 鬼新娘来临

    鬼新娘来临

    向流星许愿,愿她第一次也是唯一一次的旅行绚丽;向月亮盟誓,许她那一种也是唯一一种的变幻圆满;愿我们珍惜生命的唯一,懂得第一次的美好!
  • 剑穿九霄

    剑穿九霄

    一代剑神,转世重生。一剑灭天地,万剑穿九霄!是成就无上之存在,还是堕入红尘?
  • 每天学一点销售心理擒拿术

    每天学一点销售心理擒拿术

    《每天学一点销售心理擒拿术》内容简介:人生处处都在销售:画家销售艺术,音乐家销售声音,政治家销售主张,作家销售文笔,发明家销售创新,男人销售魅力,女人销售美丽,销售无处不在,不论你从事什么行业,持有什么样的人生态度,都必须面对一个问题:销售自己,销售是一门生存艺术,《每天学一点销售心理擒拿术》将帮你成为洞察世事、见微知著的人,让你学会捕获人心,成功地推销出自己。
  • 铜雀楼

    铜雀楼

    “江湖传闻铜雀楼铁壁铜墙无坚不摧,七层楼宇层层机关算尽道法惊觉,可即便如此,江湖中人还是对这诡秘莫测的铜雀楼贼心不死。叹为观止间,铜雀楼的宝贝,才真是叫天下人眼馋呢!”花莒儿娓娓道来,声音好似三月黄莺让人着迷。
  • 青少年必知语文学家的故事(启迪青少年的语文故事集)

    青少年必知语文学家的故事(启迪青少年的语文故事集)

    本丛书重视语文的基础知识训练,选编了常用词语、好词好句、古文名句解读,谚语、歇后语集萃,还有语文趣味故事、语文之谜以及语文大家的故事等等,目的是使中小学生在快乐的阅读中逐步提高语文知识,增加文学素养,为将来走出社会自立人生打下坚实的基础。