登陆注册
3765300000014

第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.

同类推荐
  • 翻开就能用 商务外贸英语

    翻开就能用 商务外贸英语

    本书收录了10个与本单元密切相关的单词。汇集了20个与对话相关的短语,包含上一部分的单词。经典、贴切、鲜活的两段对话。网罗了10到20个使用频率最高的句子,分门别类,增加读者的句式储备量。在英语学习的同时,增加一些与话题相关的小知识。活跃学习气氛。
  • 那些来自华尔街的赚钱经(每天读一点英文)

    那些来自华尔街的赚钱经(每天读一点英文)

    该丛书由美国英语教师协会推荐,特点有三:幽默逗趣,文字浅显易懂,让你笑着学英文!
  • 加州之旅(Aunt Jane's Nieces on the Ranch)

    加州之旅(Aunt Jane's Nieces on the Ranch)

    莱曼.弗兰克.鲍姆(pgsk.com Baum,1856—1919)是美国知名儿童文学作家。本书讲述的是约翰叔叔和两个侄女在加州露易丝的农场度假时,发生在农场里一所老房子的奇特故事。农场的原主人私藏了属于米尔德里德的财富,于是她以保姆之名来到农场寻找自己的财富,而其过程并不顺利。
  • 商务英语情景口语王

    商务英语情景口语王

    语言的学习是一个循序渐进的过程。它需要我们牢记单词的含义,理解常用句型及其应用,更需要我们把所学到的语言知识,灵活自如地应用到各种现实场景中,发挥语言的交际作用。最好的方法,莫过于提前了解这些场景,知道母语使用者在这些场景中是如何使用语言的,模仿他们的语言,最后在不知不觉中提高了自己的语言表达能力。
  • 商务英语公关900句典

    商务英语公关900句典

    本书分为办公室篇和商务公关篇两大部分。办公室篇主要介绍在办公室内的公关交际活动,包括电话业务、礼仪接待、求职面试、统筹安排等内容。商务公关篇主要围绕“做买卖”这主题,从联系业务、参观访问、会议商谈、签订合同等各方面详细地地介绍在公关方面的礼仪和技巧。
热门推荐
  • 闪婚惊爱:总裁老公难伺候

    闪婚惊爱:总裁老公难伺候

    家道中落的叶凝曦,为了拯救爸爸留下的公司答应嫁给金融界年轻才俊,却在结婚之前发生了意外。用尽了所有努力自以为抓住了他的心,然而那都不过是对另一个人的。“别以为在外面我就不敢把你怎么样?”他冷笑。“我不过是一个花了五亿买来的二手货而已,有什么资格吃醋?”她淡漠。
  • 金刚錍论私记

    金刚錍论私记

    本书为公版书,为不受著作权法限制的作家、艺术家及其它人士发布的作品,供广大读者阅读交流。汇聚授权电子版权。
  • 苍泱

    苍泱

    没有介绍,内容请自行挖掘。(凑字数ing)
  • 现代公关礼仪教程

    现代公关礼仪教程

    本书介绍了人们在公关活动中必备的礼仪基本知识,结合现实生活中的实际案例,对现代公关礼仪的规范进行了详细的讲解。主要包括:现代公关礼仪概说、仪表礼仪、仪态礼仪、仪容礼仪、交谈礼仪等。
  • 仙妻要休夫

    仙妻要休夫

    身为从小什么都被一手包办的废柴,突然发现能修炼了,季云晚的确很高兴。可下一秒,她就被雷劈晕了过去。并且被告知,自己肩负着巴拉巴拉......(此处省略不知道多少字)的重任。对此,季云晚只想骂人,“那么多厉害的不选,选我?谁选的?脑子......”话还没说完,一道雷就落到了她面前。季云晚:“我做,我做还不行嘛,凡事都好商量。”于是,季云晚踏上了前有妖魔鬼怪,后有雷劫的大龄修仙之路。慢慢的,季云晚发现,原来有些事情,由始至终只有她一个人被蒙在鼓里。然后,季云晚怒了!众人齐刷刷的指着某人:“不关我们的事,他是主谋。”某人:“......”季云晚:“谁帮我写一份休书,这事就算了。”某人:“......”众人:“都是被打个半死,该怎么选?” (PS:虽然书名略有脑残,但那是作者自己手哆嗦,书里男女主感情戏份并不多。)
  • The Signal-Man 信号员(英文版)

    The Signal-Man 信号员(英文版)

    The ghost story "The Signal-Man" is written in 1866, which concerns a spectre seen beside a tunnel entrance. The signal-man of the title tells the narrator of a ghost that has been haunting him. Each spectral appearance precedes, and is a harbinger of, a tragic event on the railway on which the signalman works. The signalman's work is at a signalbox in a deep cutting near a tunnel entrance on a lonely stretch of the line, and he controls the movements of passing trains. When there is danger, his fellow signalmen alert him via telegraph and alarms. Three times, he receives phantom warnings of danger when his bell rings in a fashion that only he can hear. Each warning is followed by the appearance of the spectre, and then by a terrible accident. The first accident involves a terrible collision between two trains in the tunnel. Dickens may have based this incident on the Clayton Tunnel rail crash that occurred in 1861.
  • 大炎演义

    大炎演义

    英雄不问出处,豪杰起于草庐。天下终归乱世,浑噩有谁一统?西武末年,少主年幼,外戚专横跋扈,卖官鬻爵之事亦不为少数,又恰值饥荒恶疾肆虐横行,各地民不聊生,各乡村民、诸侯纷纷揭竿而起。然苍生大道,究竟有谁来护,又究竟有何定数?乱世之中,究竟谁人称王?
  • 有花堪折

    有花堪折

    沈辉这辈子流过三次眼泪。第一次,他还是青葱少年,以为急救室里的苏浅就要死了。第二次,苏浅这个害人不浅的抛下他去了美国。第三次,苏浅当着所有人的面对他说了一句话。
  • 青少年应该知道的宗教音乐(阅读中华国粹)

    青少年应该知道的宗教音乐(阅读中华国粹)

    音乐是最容易引起心弦共鸣的艺术形式之一。以舒缓或明快的韵律唱诵经文,既能抚平心灵深处的创伤,又能深解经义。嘹亮的法音会使听者身心宁静,体验安祥和快乐。
  • 追妻无门:女boss不好惹

    追妻无门:女boss不好惹

    青涩蜕变,如今她是能独当一面的女boss,爱了冷泽聿七年,也同样花了七年时间去忘记他。以为是陌路,他突然向他表白,扬言要娶她,她只当他是脑子抽风,他的殷勤她也全都无视。他帮她查她父母的死因,赶走身边情敌,解释当初拒绝她的告别,和故意对她冷漠都是无奈之举。突然爆出她父母的死居然和冷家有丝毫联系,还莫名跳出个公爵未婚夫,扬言要与她履行婚约。峰回路转,破镜还能重圆吗? PS:我又开新文了,每逢假期必书荒,新文《有你的世界遇到爱》,喜欢我的文的朋友可以来看看,这是重生类现言,对这个题材感兴趣的一定要收藏起来。