Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Chapter 4 The Central Processing Unit and Memory.

Similar presentations


Presentation on theme: "1 Chapter 4 The Central Processing Unit and Memory."— Presentation transcript:

1 1 Chapter 4 The Central Processing Unit and Memory

2 2 Understanding Integrated Circuits

3 3 Integrated Circuits n Integrated circuits are made up of semiconductor devices that act as electronic switches in digital circuits. n A semiconductor is capable of either conducting electricity or preventing its flow, depending on whether it is charged.

4 4 Integrated Circuits (continued) n Integrated circuit (IC) chips are mass produced using a photolithographic process similar to contact printing. n An IC contains electrical components, such as transistors and resistors, and the electrically conductive pathways that connect them. n A typical microcomputer contains a motherboard on which is mounted a processor chip, a bank of memory chips, and various controller chips.

5 5 The Motherboard n The motherboard provides electrical pathways among the chips. n Chips are designed to perform functions:  Processor Chips - often referred to as the central processing unit (CPU), contains all the components necessary for computer processing.  Memory Chips - contain thousands of millions of transistors for the storage of bit values.  Special-Purpose Chips - some control video, sound, input devices, or storage devices.

6 6 Motherboard Diagram

7 7 The Central Processing Unit

8 8 n The “brains” of a computer system is the central processing unit (CPU). n The CPU:  Receives input  Interprets instructions provided by programs  Processes data  Directs other components of the system to act  Controls output

9 9 The CPU Elements n Control Unit - coordinates the flow of data and instructions. n Arithmetic/Logic Unit - performs calculations and comparisons of data. n Registers - hold program instructions, data values, and memory locations as the processor executes a program. n Buses - carry bits between a CPU’s components and outside devices.

10 10 Clock n The clock is part of the control unit. It provides a fixed stream of quartz-crystal-generated electrical pulses that the CPU and other components use for synchronization. n A clock circuit provides electrical pulses that the CPU and other components use for synchronization. Clock rates are usually quoted in millions of cycles (pulses) per second, or MHz (megahertz).

11 11 Main Memory

12 12 Main Memory (Primary Storage) n Accepts and holds program instructions and data. n Acts as the CPU’s source for data and instructions, and as a destination for operation results. n Holds the final processed information until it can be sent to the desired output or storage devices, such as a printer or disk drive.

13 13 Storage Location and Capacities n Program instructions and data reside in individual memory locations, known as by their addresses. n Memory capacities are measured in bytes, kilobytes, megabytes, gigabytes and even terabytes.

14 14 Random Access Memory (RAM) n Main memory is often referred to as random access memory (RAM). n Random access memory means that the computer can go directly to the instructions and data it wants using the memory address, rather than searching one location after another. n RAM is temporary, volatile memory.

15 15 Read-Only Memory (ROM) n Read-only memory (ROM) is permanently stored, nonvolatile memory. Programs supplied on ROM chips are usually referred to as firmware. n Programmable read-only memory (PROM) allows users to write their own program on ROM memory chips. n Erasable programmable read-only memory (EPROM) chips can be erased and rewritten with new information.

16 16 The Computer in Action

17 17 The Machine Cycle n When a CPU executes a program, it reads each instruction, interprets it, executes it and stores the results to complete the operation. n This process of executing a single instruction is often referred to as the fetch, decode, execute and store cycle, or the machine cycle. n These four steps are broken down into two phases, the instruction cycle and the execution cycle.

18 18 The Machine Cycle (continued)

19 19 Advances in Microprocessors

20 20 Technological Advances n Parallel Pipelining - increases performance by allowing execution of one instruction while another instruction is fetched. n Superscalar Architecture - designed to execute multiple instructions per clock cycle. n Branch Prediction - provides a sort of intelligence to the processor that can predict with a certain percentage of accuracy which way a program will branch.

21 21 Technological Advances (continued) n CISC (complex instruction set computing). CISC chips contain a large set of instructions, each of which may take considerable decoding before it can be executed. n RISC (reduced instruction set computing). RISC chips provide fewer built-in instructions, and are generally faster than CISC chips because each instruction requires less decoding prior to its execution.

22 22 Multiprocessor Systems n Originally designed for to accomplish high-end engineering/graphics tasks, multiprocessor systems are now used by most companies who need to process huge amounts of operational data very quickly. n Asymmetric multiprocessing systems are made up of processors that are each designed to handle a particular task. n Symmetric multiprocessing systems are made up of processors that can handle any task.

23 23 Massively Parallel Processing n Massively parallel processing (MPP) systems are computers that are made up of hundreds, even thousands, of individual processors working together.

24 24 The Development of Intel Processors n In 1981, IBM and Microsoft began co-marketing the operating system known as DOS (Disk Operating System) for use on the IBM PC. n The Intel 8088 microprocessor operated at 4.77MHz, could access up to 1MB of RAM and had an 8-bit data bus. n The Intel 80286 operated at 8-12MHz, could access up to 16MB of RAM and had a 16-bit data bus. n The Intel 80386 operated at 16-33MHz, and could have accessed up to 4 GB of RAM if all of the bits in its 32-bit address register had been used.

25 25 The Development of Intel Processors (continued) n The 80486 has clock speeds of 25-100MHz, and is still capable of accessing up to 4GB of RAM. It also incorporates a built-in math coprocessor and 8KB of very fast memory cache. n The Pentium processors has speeds of 60-100MHz, has a 64-bit data bus and is capable of executing two instructions at once.

26 26 Other Advanced Processors n DEC Alpha Chip - has a 64-bit register, data bus and address bus. The current Alpha processors run at 200 MHz and feature a peak throughput of 400 MIPS. n Motorola/IBM/Apple PowerPC 601 - are designed to power portable and desktop systems and provide the type of processing associated with graphic workstations. IBM systems will be able to run Macintosh software and Macintosh systems will be able to run IBM RS/6000 software.

27 27 Other Advanced Processors (continued) n Silicon Graphics R4000 Series Processors - one major advantage of the R4000 is that it runs the Microsoft Windows NT operating system, which automatically guarantees they will run the applications already designed for this environment. The latest chip in this family is the R4400, which has a 75 MHz clock rate and is made up of 2.2 million transistors.

28 28 n Sun Microsystems SPARC Processors - Sun Microsystems and Texas Instruments have teamed up to create the MicroSPARC and SuperSPARC, 32-bit processors that run in the 40 MHz and 50 MHz, and run under UNIX. Future versions are scheduled to have 64-bit registers, data buses and address buses. Other Advanced Processors (continued)

29 29 Processors of the Future

30 30 Future Processors n A new technique will use layers of transistors on a chip, rather than a single layer. n These new “super microprocessors” will include multiple processing units and replace the need to run multiple processors in parallel.


Download ppt "1 Chapter 4 The Central Processing Unit and Memory."

Similar presentations


Ads by Google