电子信息工程 微处理器 外文翻译 外文文献 英文文献_第1页
电子信息工程 微处理器 外文翻译 外文文献 英文文献_第2页
电子信息工程 微处理器 外文翻译 外文文献 英文文献_第3页
电子信息工程 微处理器 外文翻译 外文文献 英文文献_第4页
电子信息工程 微处理器 外文翻译 外文文献 英文文献_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、外文资料外文资料 所译外文资料: 1.作者G.Bouwhuis, J.Braat, A.Huijser 2.书名:Principles of Optical Disk Systems 3.出版时间:1991 年 9 月 4.所译章节:Session 2/Chapter9, Session 2/Chapter 11 原文:原文: Microprocessor One of the key inventions in the history of electronics, and in fact one of the most important inventions ever period, w

2、as the transistor. As time progressed after the invention of LSI integrated circuits, the technology improved and chips became smaller, faster and cheaper. The functions performed by a processor were implemented using several different logic chips. Intel was the first company to incorporate all of t

3、hese logic components into a single chip, this was the first microprocessor. A microprocessor is a complete computation engine that is fabricated on a single chip. A microprocessor executes a collection of machine instructions that tell the processor what to do. Based on the instructions, a micropro

4、cessor does three basic things: 1.Using the ALU (Arithmetic/Logic Unit), a microprocessor can perform mathematical operations like addition, subtraction, multiplication and division; 2.A microprocessor can move data from one memory location to another; 3.A microprocessor can make decisions and jump

5、to a new set of instructions based on those decisions. There may be very sophisticated things that a microprocessor does, but those are its three basic activities. Microprocessor has an address bus that sends an address to memory, a data bus that can send data to memory or receive data from memory,

6、an RD(read) and WR(write) line that lets a clock pulse sequence the processor and a reset line that resets the program counter to zero(or whatever) and restarts execution. And let s assume that both the address and data buses are 8 bits wide here. Here are the components of this simple microprocesso

7、r: 1. Registers A, B and C are simply latches made out of flip-flops. 2. The address latch is just like registers A, B and C. 3. The program counter is a latch with the extra ability to increment by 1 when told to do so, and also 1 to reset to zero when told to do so. 4. The ALU could be as simple a

8、s an 8-bit adder, or it might be able to add, subtract, multiply and divide 8-bit values. Lets assume the latter here. 5. The test register is a special latch that can hold values from comparisons performed in the ALU. An ALU can normally compare two numbers send determine if they are equal, if one

9、is greater than the other, etc. The test register can also normally hold a carry bit from the last stage of the adder. It stores these values in flip-flops and then the instruction decoder can use the values to make decisions. 6. There are six boxes marked “3-State”.These are tri-state buffers. A tr

10、i-state buffer can pass a 1, a 0 or it can essentially disconnect its output. A tri-state buffer allows multiple outputs to connect to a wire, but only one of then to actually drive a 1or a 0 onto the line. 7. The instruction register and instruction decoder are responsible for controlling all of th

11、e other components. Although they are not shown in this diagram, there would be control lines from the instruction decoder that would: 1. Tell the A register to latch the value currently on the data bus 2. Tell the B register to latch the value currently on the data bus 3. Tell the C register to lat

12、ch the value currently on the data bus 4. Tell the program counter register to latch the value currently on the data bus 5. Tell the address register to latch the value currently on the data bus 6. Tell the instruction register to latch the value currently on the data bus 7. Tell the program counter

13、 to increment 8. Tell the program counter to reset to zero 9. Activate any of the six tri-state buffers (six separate lines) 10. Tell the ALU what operation to perform 11. Tell the test register to latch the ALU s test bits 12. Activate the RD line 13. Activate the WR line Coming into the instructio

14、n decoder are the bits from the best register and clock line, as well as the bits from the instruction register. RAM and ROMThe address and data buses, as well as the RD and WR lines connect either to RAM or ROMgenerally both. In our sample microprocessor, we have an address bus 8 bits wide and a da

15、ta bus 8 bits wide. That means that the microprocessor an address (2n) 256 bytes of the memory and it can read or write 8 bits of the memory at a time. Let s assume that this simple microprocessor has 128 bytes of ROM starting at address 0 and 128 bytes of RAM starting at address 128. ROM stands for

16、 read-only memory. A ROM chip is programmed with a permanent collection of 2 pre-set bytes. The address bus tells the ROM chip which byte to get and place on the data bus. When the RD line changes state, the ROM chip presents the selected byte onto the data bus. RAM stands for random-access memory.

17、RAM contains bytes of information, and the microprocessor can read or write to those bytes depending on whether the RD or WR line is signaled. One problem with todays RAM chips is that they forget everything once the power goes off. That is why the computer needs ROM. By the way, nearly all computer

18、s contain some amount of ROM (it is possible to create a simple computer that contains no RAMmany microcontrollers do this by placing a handful of RAM bytes on the processor chip itselfbut generally impossible to create one that contains no ROM). On a PC, the ROM is called the BIOS (Basic Input/Outp

19、ut System). When the microprocessor starts, it begins executing instructions it finds in the BIOS. The BIOS instructions do things like test the hardware in the machine, and then it goes to the hard disk to fetch the boot sector. This boot sector is another small program, and the BIOS store it in RA

20、M after reading it off the disk. The microprocessor then begins executing the boot sectors instructions from RAM. The boot sector program will tell the microprocessor to fetch something else from the hard disk into RAM, which the microprocessor then executes, and so on. This is how the microprocesso

21、r loads and executes entire operating system. Microprocessor Instructions Even the incredibly simple microprocessor shown here will have a fairly large set of instructions that it can perform. The collection of instructions is implemented as bit patterns, each one of which has a different meaning wh

22、en loaded into the instruction register. Humans are not particularly good at remembering bit patterns, so a set of short words are defined to represent the different bit patterns. This collection of words is called the assembly languages of the processor. An assembler can translate the words into th

23、eir bit patterns very easily, and then the output of assembler is placed in memory for the microprocessor to execute. If you use C language programming, a C compiler will translate the C code into assembly language. So now the question is, “How do all of these instructions look in ROM? ” Each of the

24、se assembly language instructions must be represented by a binarynumber. These numbers all know as recodes. The instruction decoder needs to turn each of recodes into a set of signals that drive the different components inside the microprocessor. Lets take the ADD instruction as an example and look

25、at what it needs to do. During the first clock cycle, we need to actually load the instruction. Therefore the instruction decoder needs to: activate the tri-state buffer for the program counter; activate the RD line; activate the data-in tri-state buffer; latch the instruction into the instruction r

26、egister. During the second clock cycle, the ADD instruction is decoded. It needs to do very little: set the operation of ALU to addition; latch the output of the ALU into the C register. During the third clock cycle, the program counter is incremented (in theory this could be overlapped into the sec

27、ond clock cycle). Every instruction can be broken down as a set of sequenced operations like these that manipulate the 3 components of microprocessor in the proper order. Some instructions, like this ADD instruction, might take two or three clock cycles. Others might take five or six clock cycles. M

28、icroprocessor Performance The number of transistors available has a huge effect on the performance of a processor. As seen earlier, a typical instruction in a processor like an 8088 took 15 clock cycles to execute. Because of the design of the multiplier, it took approximately 80 cycles just to do o

29、ne 16-bit multiplication on the 8088. With more transistors, much more powerful multipliers capable of single-cycle speeds become possible. More transistors also allow for a technology called pipelining. In a pipelined architecture, instruction execution overlaps. So even though it might take five c

30、lock cycles to execute each instruction, there can be five instructions in various stages of execution simultaneously. That way it looks like one instruction completes every clock cycle. Many modern processors have multiple instruction decoders, each with own pipeline. This allows for multiple instr

31、uction streams, which means that more than one instruction can complete during each clock cycle. This technique can be quite complex to implement, so it can be lots of transistors. The trend in processor design has been toward full 32-bit ALU with fast floating point processors built in and pipeline

32、d execution with multiple instruction streams. There has also been a tendency toward special instructions that make certain operations particularly efficient. There has also been the addition of hardware virtual memory support and L1 caching on the processor chip. All of these trends push up the tra

33、nsistor count, leading to the multi-million transistor powerhouses available today. These processors can execute about one billion instructions per second! The Operational Amplifier will continue to be a vital component of analog design because it is a fundamental component. Each generation of elect

34、ronic equipment integrates more functions on silicon and takes more of the analog circuitry inside the IC. As digital applications increase, analog applications also increase because the predominant supply of data and interface applications are in the real world, and the real world is an analog worl

35、d. The LM386 is a power amplifier designed for use in low voltage consumer applications. The gain is internally set to 20 to keep external part count low, but the addition of an external resistor and capacitor between pins 1 and 8 will increase the gain to any value from 20 to 200.The inputs are gro

36、und referenced while the output automatically biases to one-half the supply voltage. The quiescent power drain is only 24 mill watts when operating from a 6 volt supply, making the LM386 ideal for battery operation. A Crystal is a basic piezoelectric quartz crystal. On its own, it cannot generate el

37、ectrical clocks. It has to be connected to a clock oscillator to get a clock waveform. There are two kinds of crystals: Series Resonant, which can be modeled as a high Q series LC circuit, and Parallel Resonant, which can be modeled as a high Q parallel LC circuit. A Crystal Oscillator is an oscilla

38、tor with the crystal as the feedback element. There are other kinds of oscillators with active or passive feedback components, but the crystal oscillator provides the most accurate and stable output frequency. Crystal oscillators are the preferred clock 4 source in most high-speed digital systems re

39、quiring clocks. A chip is a small piece of conducting material on which an integrated circuit is embedded. A microprocessor is a silicon chip that contains a CPU.In operation, a computer is both hardware and software. One is useless without another. The hardware design specifies the commands it can

40、follow, and the instructions tell it what to do. With the infiltration in the social field of the computer in recent years, the application of the one-chip computer is moving towards deepening constantly, drive tradition is it measure crescent benefit to upgrade day to control at the same time. In m

41、easuring in real time and automatically controlled one-chip computer application system, the one-chip computer often uses as a key part, only one-chip computer respect knowledge is not enough, should also follow the structure of the concrete hardware , and direct against and use the software of targ

42、ets characteristic to combine concretely, in order to do perfectly. 5 译文: 微处理器 晶体管是电子学发展史上的关键发明之一,它实际上也是人类历史上最重要的发明之一。集成 技术随着时间的推移而提高,芯片也更小,更快,更便宜。处理器完成的功能最早是由几个不同的 逻辑芯片实现的,英特尔公司率先将所有这些部件集成到单个芯片中,这就是最早的微处理器,它 是在单芯片上制造的完整的运算引擎。 微处理器执行一组机器指令,这些指令告诉微处理器去做什么,根据这些指令,微处理器能够 完成如下三项基本任务。1.微处理器使用其 ALU(算术/逻辑单

43、元)可以完成加、减、乘、除等数学 运算。2.微处理器可将数据从存储器的一个位置搬移到另一个位置。3.微处理器可做出判断,并根 据这些判断跳转到一组新的指令。 一个微处理器可以做非常复杂的工作,但上述三项是最基本的。微处理器有一套地址总线(向 存储器发送地址) ,一套数据总线(向存储器发送数据或者接收存储器数据),一条读信号线RD 和一 条写信号线 WR(用于通知存储器是从寻址地址读取数据还是写入数据) ,一条时钟信号线(为处理 器安排时序的时钟脉冲)和一条复位信号线(将程序计数器置零和重新开始执行)。这里假定数据总 线和地址总线的宽度都是位。 构成这个简易处理器的组件如下: 寄存器 A,寄存器

44、 B 和寄存器 C:它们是由触发器构成的简易锁存器。 地址锁存器:和寄存器A,一样。 程序计数器:一种具备“加一”功能和“置零”功能的锁存器。 算术逻辑单元:可以简单到只是一个位加法器,也可以是能够完成位加、减、乘、除 的单元(此处我们假定为后者) 。 测试寄存器:一种保存 ALU 比较结果的专用锁存器。通常,ALU 能够将两个数进行比较, 并判断出二者是否相等或者一个比另一个更大。测试寄存器也可以保存加法运算最后一步的进位。 这些数值保存在触发器当中,指令译码器利用这些数值做出判决。 “State”是三态缓冲器。它可以传送逻辑,逻辑,或者和输出断开。三态缓冲器 允许在一条信号线上连接多个输出

45、信号,但只有一个信号输出。 指令寄存器和指令译码器负责控制所有其他组件。 从指令译码器引出完成如下功能的控制信号线: 通知寄存器锁定当下出现在数据总线上的数值 6 通知寄存器锁定当下出现在数据总线上的数值。 通知寄存器锁定当下出现在数据总线上的数值 通知程序计数器锁定当下出现在数据总线上的数值 通知地址寄存器锁定当下出现在数据总线上的数值 通知指令寄存器锁定当下出现在数据总线上的数值 通知程序计数器增加 通知程序计数器复位置零 激活任何一个三态缓冲器 通知 ALU 需要完成的操作 通知测试寄存器锁定ALU 的测试位 激活 RD 信号线 激活 WR 信号线 指令译码器的数据位不仅来自指令寄存器,

46、而且来自测试寄存器和时钟信号线。 只读存储器和随机存取存储器数据总线、地址总线、读写信号线都连接到 ROM 上或者连接到 RAM 上(通常两者都有) 。在这个微处理器例子中,有一套位地址总线和一套位数据总线。这意 味着微处理器可寻址 256 字节的存储器, 一次可以读写位数据。 假定该微处理器有 128 字节 (地 址从开始)的 RAM 和 128 字节(地址从 128 开始)的 RAM。 ROM 是只读存储器。ROM 芯片是用一组永久的预设字节进行编程得到的。 地址总线告知 ROM 芯片 要将哪个字节取出并置于数据总线上。当RD 信号线改变状态时,ROM 芯片将选中的字节输出到数据 总线上。

47、 ROM 是随机存取存储器。 ROM 中包含着以字节为单位的信息, 微处理器能够依据 RD/WR 信号哪个 有效来决定字节的读写。当前 RAM 芯片的一个问题是:掉电后,所有保存在RAM 上的内容全部丢 失。这就是计算机需要 ROM 的原因。 顺便提一下,几乎所有计算机都有一定数量的 ROM(可以建造一种简单的不含 RAM 的计算机 许多微控制器在片内集成了一定数量的RAM但是一般不可能建造出一种不含ROM 的计算机) 。 在 PC 机中,ROM 被称作 BIOS 基本输入输出系统) 。当计算机启动时,它就执行在 BIOS 中找到的 指令。这些 BIOS 指令完成对机内硬件的测试,然后从硬盘中读取引导扇区。引导扇区也是一个小 程序,BIOS 将其从硬盘中读出来之后,这个小程序就存储在RAM 中。然后,微处理器开始从RAM 执 行引导扇区的指令。这个程序将告知微处理器从硬盘其他位置读取信息到RAM 中,然后微处理器执 行相应的指令等。这就是微处理器装载和执行整个操作系统的过程。 微处理器指令 甚至这里给出的简单得难以置信的微处理器也拥有一套相当

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论