登陆注册
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.

同类推荐
  • 大学英语四级词汇词根词缀高效记忆:轻松背单词

    大学英语四级词汇词根词缀高效记忆:轻松背单词

    书中所收录的单词都是从历届大学英语4级考试题中提炼出来的。编者利用先进的电脑统计分析技术,对历年考试题中出现的单词进行系统的电脑分频,将历年考题中出现频率较高的单词甄选出来,标注为常考单词。考题中出现频率较低的,但是考试范围内的单词,标注为普通单词。极大地方便了考生有的放矢地去背单词。
  • 大学英语六级词汇新解

    大学英语六级词汇新解

    本书对对新大纲中单词词义进行了英、汉两种释义。特别是英语释义,使学生更容易对词义有直观、深刻的理解,在无形中提高读者的英语表达能力。对大学六级考试中单词的用法进行了详细、全面的讲解。只有掌握了这些用法,才能真正学以致用,克服英语用词中不知所措的弱点。
  • 欧美广播电视新闻英语

    欧美广播电视新闻英语

    当今世界交流频繁,语言是最重要的交流工具之一。能够听懂、看懂欧美国家的广播和电视节目,如BBC,VOA,CNN,NBC,ABC,CBS 等,是每一个从事英语工作及爱好者的愿望。但是,要达到这一目的,需要付出艰辛的努力。只有达到listening in,speaking out 这一境界,我们的英语水平才能不会因为时间的流逝而降低,而且会不断提高,真正走进英语国家的世界,了解英语国家的政治、经济、军事、外交、科技等各个方面。
  • 大学英语四级阅读技巧

    大学英语四级阅读技巧

    全书共涉及以下五个方面的内容:阅读理解概述、阅读理解解题技巧、四级阅读题型模式、历年阅读理解真题详解、全真预测试题。书中比较系统地介绍了阅读方法、技巧,帮助广大考生提高阅读能力,掌握临场解题技法,在进一步提高考生的应试能力的同时更能使其语言的综合能力稳步提升。
  • 大学英语六级听力训练

    大学英语六级听力训练

    本书针对听力的每种题型进行了详细的分析,让考生透彻地了解听力考试的测试方向、命题规律。同时,还提供了相应的应试技巧,帮助考生正确理解和解答听力题。本书将练习和测试相结合,一步一个台阶地提高听力水平。
热门推荐
  • 象言破疑

    象言破疑

    本书为公版书,为不受著作权法限制的作家、艺术家及其它人士发布的作品,供广大读者阅读交流。
  • 重生之妖相

    重生之妖相

    她是世人眼中养尊处优的官家小姐,却不知她乃是残忍杀伐与蛇蝎的化身。他是天之骄子,是光明的使者,他口口声声说着爱她,可是最终却想要她死。他是地狱之王,是黑暗中的王者,他说,既然注定是生活在黑暗中的人,便不应该去相信光明,不应该渴望光明。至此,她沉睡了七百年,当真正的阎罗归来,世界又该是怎样的腥风血雨。。。。
  • 崛起原始社会

    崛起原始社会

    意外到了原始社会时代,眼前是一个个茹毛饮血的原始人,自己怎么摆脱原始人的束缚,成为真正把握自己命运的人呢?请看文学爱好者在原始社会传播文化,制造信仰的崛起之路!星如雨,天地变。怀异宝,得传承。播文化,斗仙妖。造信仰,成主宰。李斯一举定鼎原始山海世界,走上了一条前无古人后无来者的王者之路!
  • 寻世之门

    寻世之门

    空婴身份是混沌,盘古开混沌化天地的混沌。也正是这个名为空婴的混沌孕育出了盘古。空婴本无五脏,但洪荒时代一战与燧人的那次交手,却破碎了她的整颗心……然而这颗心,早在空婴与幼年时燧人相识之初便因他而生……盘古为什么要恩将仇报,毁了孕育自己的空婴的本体,大爱?大恨?燧人又与空婴有着怎样的羁绊,重生归来的他们又将如何发展下去……
  • 变异刀塔

    变异刀塔

    末日浩劫八千年的和平,八千年的沉默,八千年后天书再次出现了字迹。“末日浩劫将至。”神界一片震惊,上一次魔神大战天书上显示“生灵涂炭”就已经导致那么大规模的死伤,末日浩劫岂不就是毁天灭地,天帝立即命令各方情报收集信息,防止或者说减轻浩劫的结果。果不其然,魔界正在大举仪式,召唤异世恶魔,这绝对是末日浩劫的导火索,神界必须终止召唤恶魔,即使成功了也要由自己看管,减少浩劫的冲击力度。
  • 唐人笔记

    唐人笔记

    我叫李尹,乃是纯阳弟子。在这江湖久了,自然会经历许多的故事。这些故事有的寂寞有的温暖,不过是让人听一听,看一看,若是诱人喜欢也是不错的事情。
  • 灵魂出窍那些年

    灵魂出窍那些年

    六道轮回,生死相续。但有一魂,不入黄泉,不入轮回,不忘今生,三两鬼友,游戏人间。
  • 天堑无涯

    天堑无涯

    妖族血脉,女娲后人,到底什么身份才是她的归宿?轩辕之力,蚩尤魔血,又如何在一人身上得以融合?魔思铃,无涯剑,手持神器的陆离能否解救天下苍生?就让我们一起领略充满爱恨情仇的热血东陆!
  • 旅者手札

    旅者手札

    旅行者伊尔萨的大陆见闻录见证魔兽森林,无尽之海,巨龙山脉,戈壁沙漠等各处的风土人情,魔兽巨怪。
  • 危城生存

    危城生存

    一觉醒来,整个世界都变样了,如何在这个充满了危机的世界中生存下去