计算机专业英语Chapter.ppt
《计算机专业英语Chapter.ppt》由会员分享,可在线阅读,更多相关《计算机专业英语Chapter.ppt(45页珍藏版)》请在三一办公上搜索。
1、Computer English,Chapter 2 Basic Organization of Computers,Key points:useful terms and basic organization of computersDifficult points:describing the basic organization of computers,Requirements:,Terms of computer hardwareBasic Organization of computers and their functions 掌握专业词汇的构成规律,特别是常用词缀及复合词的构成
2、,New Words&Expressions:subsystem n.子系统operation n.操作,运算,执行命令(计)microprocessor n.计微处理器ystem buses 系统总线sequence n.时序,序列fetch vt.取数,取指令decode vt.解码,译解instruction n.指令,2.1 Introduction,Abbreviations:CPU(Central Processing Unit)中央处理器 I/O(Input/Output)输入输出(设备),Fig.2-1 Generic computer organization,2.1 Int
3、roduction,Most computer systems,from the embedded controllers found in automobiles and consumer appliances to personal computers and mainframes,have the same basic organization.This organization has three main components:the CPU,the memory subsystem,and the I/O subsystem.The generic organization of
4、these components is shown in Figure 2-1.大多数计算机系统,从汽车和日用电器中的嵌入式控制器到个人计算机和大型主机,都具有相同的基本组成。其基本组成包括三个主要部件:CPU、存储器子系统和I/O子系统。这些部件的一般组成如图2-1所示。,2.1 Introduction,2.1 Introduction,In this chapter,we first describe the system buses used to connect the components in the computer system.Then we examine the ins
5、truction cycle,the sequence of operations that occurs within the computer as it fetches,decodes,and executes an instruction.本章我们首先讲述计算机系统中用来连接计算机各部件的系统总线。然后再来考察指令周期,以及计算机在读取、解码和执行一条指令时所发生的操作顺序。,New Words&Expressions:pins n.插脚,管脚address bus 地址总线uppermost adj.最高的;adv.在最上control bus 控制总线data bus 数据总线vi
6、a prep.经,通过,经由multibit 多位bidirectional 双向的unidirectional 单向的hierarchy n.层次,层级I/O bus 输入输出总线local bus n.局域总线,2.2 System Buses,Physically,a bus is a set of wires.The components of the computer are connected to the buses.To send information from one component to another,the source component outputs dat
7、a onto the bus.The destination component then inputs this data from the bus.As the complexity of a computer system increases,it becomes more efficient(in terms of minimizing connections)at using buses rather than direct connections between every pair of devices.Buses use less space on a circuit boar
8、d and require less power than a large number of direct connections.They also require fewer pins on the chip or chips that comprise the CPU.从物理上来说,总线就是一组导线。计算机的部件就是连在总线上的。为了将信息从一个部件传到另一个部件,源部件先将数据输出到总线上,然后目标部件再从总线上接受这些数据。随着计算机系统复杂性的不断增长,使用总线比每个设备对之间直接连接要有效得多(就减少连接数量而言)。与大量的直接连接相比,总线使用较少的电路板空间,耗能更少,并且
9、在芯片或组成CPU的芯片组上需要较少的引脚。,2.2 System Buses,The system shown in Figure 2-1 has three buses.The uppermost bus in this figure is the address bus.When the CPU reads data or instructions from or writes data to memory,it must specify the address of the memory location it wishes to access.It outputs this addr
10、ess to the address bus;memory inputs this address from the address bus and use it to access the proper memory location.Each I/O devices,such as a keyboard,monitor,or disk drive,has a unique address as well.When accessing an I/O device,the CPU places the address of the device on the address bus.Each
11、device can read the address off of the bus and determine whether it is the device being accessed by the CPU.Unlike the other buses,the address bus always receives data from the CPU;the CPU never reads the address bus.图2-1所示的系统包括三组总线。最上面的是地址总线。当CPU从存储器读取数据或指令,或写数据到存储器时,它必须指明将要访问的存储器单元地址。CPU将地址输出到地址总线
12、上,而存储器从地址总线上读取地址,并且用它来访问正确的存储单元。每个I/O设备,比如键盘、显示器或者磁盘,同样都有一个唯一的地址。当访问某个I/O设备时,CPU将此设备的地址放到地址总线上。每一个设备均从总线上读取地址并且判断自己是否就是CPU正要访问的设备。与其他总线不同,地址总线总是从CPU上接收信息,而CPU从不读取地址总线。,2.2 System Buses,Data is transferred via the data bus.When the CPU fetches data from memory,it first outputs the memory address on i
13、ts address bus.Then memory outputs the data onto the data bus;the CPU can then read the data from the data bus.When writing data to memory,the CPU first outputs the address onto the address bus,then outputs the data onto the data bus.Memory then reads and stores the data at the proper location.The p
14、rocesses for reading data from and writing data to the I/O devices are similar.数据是通过数据总线传送的。当CPU从存储器中取数据时,它首先把存储器地址输出到地址总线上,然后存储器将数据输出到数据总线上,这样CPU就可以从数据总线上读取数据了。当CPU向存储器中写数据时,它首先将地址输出到地址总线上,然后把数据输出到数据总线上,这样存储器就可以从数据总线上读取数据并将它存储到正确的单元中。对I/O设备读写数据的过程与此类似。,2.2 System Buses,The control bus is different
15、from the other two buses.The address bus consists of n lines,which combine to transmit one n-bit address value.Similarly,the lines of the data bus work together to transmit a single multibit value.In contrast,the control bus is a collection of individual control signals.These signals indicate whethe
16、r data is to be read into or written out of the CPU,whether the CPU is accessing memory or an I/O device,and whether the I/O device or memory is ready to transfer data.Although this bus is shown as bidirectional in Figure 2-1,it is really a collection of(mostly)unidirectional signals.Most of these s
17、ignals are output from the CPU to the memory and I/O subsystems,although a few are output by these subsystems to the CPU.We examine these signals in more detail when we look at the instruction cycle and the subsystem interface.控制总线与以上两种总线都不相同。地址总线由n根线构成,n根线联合传送一个n位的地址值。类似地,数据总线的各条线合起来传输一个单独的多位值。相反,控
18、制总线是单根控制信号的集合。这些信号用来指示数据是要读入CPU还是要从CPU写出,CPU是要访问存储器还是要访问I/O设备,是I/O设备还是存储器已就绪要传送数据等等。虽然图2-1所示的控制总线看起来是双向的,但它实际上(主要)是单向(大多数都是)信号的集合。大多数信号是从CPU输出到存储器与I/O子系统的,只有少数是从这些子系统输出到CPU的。在介绍指令周期和子系统接口时,我们将详细地讨论这些信号。,2.2 System Buses,A system may have a hierarchy of buses.For example,it may use its address,data,a
19、nd control buses to access memory,and an I/O controller.The I/O controller,in turn,may access all I/O devices using a second bus,often called an I/O bus or a local bus.一个系统可能具有分层次的总线。例如,它可能使用地址、数据和控制总线来访问存储器和I/O控制器。I/O控制器可能依次使用第二级总线来访问所有的I/O设备,第二级总线通常称为I/O总线或者局部总线。,2.2 System Buses,New Words&Express
20、ions:instruction cycle 指令周期memory map n.计内存register n.寄存器port n.端口timing n.定时;时序;时间选择synchronize vt.使.同步assert vt.主张,发出deassert vt.撤销trigger vt.引发,引起,触发map v.映射,2.3 Instruction Cycle,The instruction cycle is the procedure a microprocessor goes through to process an instruction.First the microprocess
21、or fetches,or reads,the instruction from memory.Then it decodes the instruction,determining which instruction it has fetched.Finally,it performs the operations necessary to execute the instruction.(Some people also include an additional element in the instruction cycle to store results.Here,we inclu
22、de that operation as part of the execute function.)Each of these functions-fetch,decode,and execute-consists of a sequence of one or more operations.指令周期是微处理器完成一条指令处理的步骤。首先,微处理器从存储器读取指令,然后将指令译码,辩明它取的是哪一条指令。最后,它完成必要的操作来执行指令(有人认为在指令周期中还要包括一个附加的步骤来存储结果,这里我们把该操作当作执行功能的一部分)。每一个功能读取、译码和执行都包括一个或多个操作。,2.3 I
23、nstruction Cycle,Lets start where the computer starts,with the microprocessor fetching the instruction from memory.First,the microprocessor places the address of the instruction on to the address bus.The memory subsystem inputs this address and decodes it to access the sired memory location.(We look
24、 at how this decoding occurs when we examine the memory subsystem in more detail later in this chapter.)我们从微处理器从存储器中取指令开始讲述。首先,微处理器把指令的地址放到地址总线上,然后,存储器子系统从总线上输入该地址并予以译码,去访问指定的存储单元。(译码是如何进行的,我们将在后面的章节中介绍存储器子系统是更为详细的讨论。),2.3 Instruction Cycle,After the microprocessor allows sufficient time for memory
25、to decode the address and access the requested memory location,the microprocessor asserts a READ control signal.The READ signal is a signal on the control bus which the microprocessor asserts when it is ready to read data from memory or an I/O device.(Some processors have a different name for this s
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机专业 英语 Chapter
链接地址:https://www.31ppt.com/p-6342237.html