Free Essay

Central Processing Unit

In:

Submitted By aftab4elance
Words 7026
Pages 29
Introduction:
Pronounced as separate letters, CPU is the abbreviation for central processing unit. Sometimes referred to simply as the central processor, but more commonly called processor, the CPU is the brains of the computer where most calculations take place. In terms of computing power, the CPU is the most important element of a computer system.
On large machines, the CPU requires one or more printed circuit boards. On personal computers and small workstations, the CPU is housed in a single chip called a microprocessor. Since the 1970's the microprocessor class of CPUs has almost completely overtaken all other CPU implementations.
The CPU itself is an internal component of the computer. Modern CPUs are small and square and contain multiple metallic connectors or pins on the underside. The CPU is inserted directly into a CPU socket, pin side down, on the motherboard.
Each motherboard will support only a specific type (or range) of CPU, so you must check the motherboard manufacturer's specifications before attempting to replace or upgrade a CPU in your computer. Modern CPUs also have an attached heat sink and small fan that go directly on top of the CPU to help dissipate heat.
A central processing unit (CPU), also referred to as a central processor unit, is the hardware within a computer that carries out the instructions of a computer program by performing the basic arithmetical, logical, and input/output operations of the system. The term has been in use in the computer industry at least since the early 1960s.[2] The form, design, and implementation of CPUs have changed over the course of their history, but their fundamental operation remains much the same.
A computer can have more than one CPU; this is called multiprocessing. All modern CPUs are microprocessors, meaning contained on a single chip. Some integrated circuits (ICs) can contain multiple CPUs on a single chip; those ICs are called multi-core processors. An IC containing a CPU can also contain peripheral devices, and other components of a computer system; this is called a system on a chip (SoC).
Two typical components of a CPU are the arithmetic logic unit (ALU), which performs arithmetic and logical operations, and the control unit (CU), which extracts instructions from memory and decodes and executes them, calling on the ALU when necessary.
Not all computational systems rely on a central processing unit. An array processor or vector processor has multiple parallel computing elements, with no one unit considered the "center". In the distributed computing model, problems are solved by a distributed interconnected set of processors.

History

[pic]
EDVAC, one of the first stored program computers.
Computers such as the ENIAC had to be physically rewired to perform different tasks, which caused these machines to be called "fixed-program computers." Since the term "CPU" is generally defined as a device for software (computer program) execution, the earliest devices that could rightly be called CPUs came with the advent of the stored-program computer.
The idea of a stored-program computer was already present in the design of J. Presper Eckert and John William Mauchly's ENIAC, but was initially omitted so that it could be finished sooner. On June 30, 1945, before ENIAC was made, mathematician John von Neumann distributed the paper entitled First Draft of a Report on the EDVAC. It was the outline of a stored-program computer that would eventually be completed in August 1949.[3] EDVAC was designed to perform a certain number of instructions (or operations) of various types. Significantly, the programs written for EDVAC were stored in high-speed computer memory rather than specified by the physical wiring of the computer. This overcame a severe limitation of ENIAC, which was the considerable time and effort required to reconfigure the computer to perform a new task. With von Neumann's design, the program, or software, that EDVAC ran could be changed simply by changing the contents of the memory.
Early CPUs were custom-designed as a part of a larger, sometimes one-of-a-kind, computer. However, this method of designing custom CPUs for a particular application has largely given way to the development of mass-produced processors that are made for many purposes. This standardization began in the era of discrete transistor mainframes and minicomputers and has rapidly accelerated with the popularization of the integrated circuit (IC). The IC has allowed increasingly complex CPUs to be designed and manufactured to tolerances on the order of nanometers. Both the miniaturization and standardization of CPUs have increased the presence of digital devices in modern life far beyond the limited application of dedicated computing machines. Modern microprocessors appear in everything from automobiles to cell phones and children's toys.
While von Neumann is most often credited with the design of the stored-program computer because of his design of EDVAC, others before him, such as Konrad Zuse, had suggested and implemented similar ideas. The so-called Harvard architecture of the Harvard Mark I, which was completed before EDVAC, also utilized a stored-program design using punched paper tape rather than electronic memory. The key difference between the von Neumann and Harvard architectures is that the latter separates the storage and treatment of CPU instructions and data, while the former uses the same memory space for both. Most modern CPUs are primarily von Neumann in design, but elements of the Harvard architecture are commonly seen as well.[citation needed]
Relays and vacuum tubes (thermionic valves) were commonly used as switching elements; a useful computer requires thousands or tens of thousands of switching devices. The overall speed of a system is dependent on the speed of the switches. Tube computers like EDVAC tended to average eight hours between failures, whereas relay computers like the (slower, but earlier) Harvard Mark I failed very rarely.[2] In the end, tube based CPUs became dominant because the significant speed advantages afforded generally outweighed the reliability problems. Most of these early synchronous CPUs ran at low clock rates compared to modern microelectronic designs (see below for a discussion of clock rate). Clock signal frequencies ranging from 100 kHz to 4 MHz were very common at this time, limited largely by the speed of the switching devices they were built with.

Transistor and integrated circuit CPUs

[pic]
CPU, core memory, and external bus interface of a DEC PDP-8/I. Made of medium-scale integrated circuits.
The design complexity of CPUs increased as various technologies facilitated building smaller and more reliable electronic devices. The first such improvement came with the advent of the transistor. Transistorized CPUs during the 1950s and 1960s no longer had to be built out of bulky, unreliable, and fragile switching elements like vacuum tubes and electrical relays. With this improvement more complex and reliable CPUs were built onto one or several printed circuit boards containing discrete (individual) components.
During this period, a method of manufacturing many interconnected transistors in a compact space was developed. The integrated circuit (IC) allowed a large number of transistors to be manufactured on a single semiconductor-based die, or "chip." At first only very basic non-specialized digital circuits such as NOR gates were miniaturized into ICs. CPUs based upon these "building block" ICs are generally referred to as "small-scale integration" (SSI) devices. SSI ICs, such as the ones used in the Apollo guidance computer, usually contained up to a few score transistors. To build an entire CPU out of SSI ICs required thousands of individual chips, but still consumed much less space and power than earlier discrete transistor designs. As microelectronic technology advanced, an increasing number of transistors were placed on ICs, thus decreasing the quantity of individual ICs needed for a complete CPU. MSI and LSI (medium- and large-scale integration) ICs increased transistor counts to hundreds, and then thousands.
In 1964 IBM introduced its System/360 computer architecture which was used in a series of computers that could run the same programs with different speed and performance. This was significant at a time when most electronic computers were incompatible with one another, even those made by the same manufacturer. To facilitate this improvement, IBM utilized the concept of a microprogram (often called "microcode"), which still sees widespread usage in modern CPUs.[4] The System/360 architecture was so popular that it dominated the mainframe computer market for decades and left a legacy that is still continued by similar modern computers like the IBM zSeries. In the same year (1964), Digital Equipment Corporation (DEC) introduced another influential computer aimed at the scientific and research markets, the PDP-8. DEC would later introduce the extremely popular PDP-11 line that originally was built with SSI ICs but was eventually implemented with LSI components once these became practical. In stark contrast with its SSI and MSI predecessors, the first LSI implementation of the PDP-11 contained a CPU composed of only four LSI integrated circuits.[5]
Transistor-based computers had several distinct advantages over their predecessors. Aside from facilitating increased reliability and lower power consumption, transistors also allowed CPUs to operate at much higher speeds because of the short switching time of a transistor in comparison to a tube or relay. Thanks to both the increased reliability as well as the dramatically increased speed of the switching elements (which were almost exclusively transistors by this time), CPU clock rates in the tens of megahertz were obtained during this period. Additionally while discrete transistor and IC CPUs were in heavy usage, new high-performance designs like SIMD (Single Instruction Multiple Data) vector processors began to appear. These early experimental designs later gave rise to the era of specialized supercomputers like those made by Cray Inc.

Microprocessors

[pic]
Die of an Intel 80486DX2 microprocessor (actual size: 12×6.75 mm) in its packaging
[pic]
Intel Core i5 CPU on a Vaio E series laptop motherboard (on the right, beneath the heat pipe).
In the 1970s the fundamental inventions by Federico Faggin (Silicon Gate MOS ICs with self aligned gates along with his new random logic design methodology) changed the design and implementation of CPUs forever. Since the introduction of the first commercially available microprocessor (the Intel 4004) in 1970, and the first widely used microprocessor (the Intel 8080) in 1974, this class of CPUs has almost completely overtaken all other central processing unit implementation methods. Mainframe and minicomputer manufacturers of the time launched proprietary IC development programs to upgrade their older computer architectures, and eventually produced instruction set compatible microprocessors that were backward-compatible with their older hardware and software. Combined with the advent and eventual success of the ubiquitous personal computer, the term CPU is now applied almost exclusively[a] to microprocessors. Several CPUs (denoted 'cores') can be combined in a single processing chip.
Previous generations of CPUs were implemented as discrete components and numerous small integrated circuits (ICs) on one or more circuit boards. Microprocessors, on the other hand, are CPUs manufactured on a very small number of ICs; usually just one. The overall smaller CPU size as a result of being implemented on a single die means faster switching time because of physical factors like decreased gate parasitic capacitance. This has allowed synchronous microprocessors to have clock rates ranging from tens of megahertz to several gigahertz. Additionally, as the ability to construct exceedingly small transistors on an IC has increased, the complexity and number of transistors in a single CPU has increased many fold. This widely observed trend is described by Moore's law, which has proven to be a fairly accurate predictor of the growth of CPU (and other IC) complexity.[6]
While the complexity, size, construction, and general form of CPUs have changed enormously since 1950, it is notable that the basic design and function has not changed much at all. Almost all common CPUs today can be very accurately described as von Neumann stored-program machines.[b] As the aforementioned Moore's law continues to hold true,[6] concerns have arisen about the limits of integrated circuit transistor technology. Extreme miniaturization of electronic gates is causing the effects of phenomena like electromigration and subthreshold leakage to become much more significant. These newer concerns are among the many factors causing researchers to investigate new methods of computing such as the quantum computer, as well as to expand the usage of parallelism and other methods that extend the usefulness of the classical von Neumann model.

Operation

The fundamental operation of most CPUs, regardless of the physical form they take, is to execute a sequence of stored instructions called a program. The instructions are kept in some kind of computer memory. There are four steps that nearly all CPUs use in their operation: fetch, decode, execute, and writeback.
The first step, fetch, involves retrieving an instruction (which is represented by a number or sequence of numbers) from program memory. The location in program memory is determined by a program counter (PC), which stores a number that identifies the current position in the program. After an instruction is fetched, the PC is incremented by the length of the instruction word in terms of memory units.[c] Often, the instruction to be fetched must be retrieved from relatively slow memory, causing the CPU to stall while waiting for the instruction to be returned. This issue is largely addressed in modern processors by caches and pipeline architectures (see below).
The instruction that the CPU fetches from memory is used to determine what the CPU is to do. In the decode step, the instruction is broken up into parts that have significance to other portions of the CPU. The way in which the numerical instruction value is interpreted is defined by the CPU's instruction set architecture (ISA).[d] Often, one group of numbers in the instruction, called the opcode, indicates which operation to perform. The remaining parts of the number usually provide information required for that instruction, such as operands for an addition operation. Such operands may be given as a constant value (called an immediate value), or as a place to locate a value: a register or a memory address, as determined by some addressing mode. In older designs the portions of the CPU responsible for instruction decoding were unchangeable hardware devices. However, in more abstract and complicated CPUs and ISAs, a microprogram is often used to assist in translating instructions into various configuration signals for the CPU. This microprogram is sometimes rewritable so that it can be modified to change the way the CPU decodes instructions even after it has been manufactured.
After the fetch and decode steps, the execute step is performed. During this step, various portions of the CPU are connected so they can perform the desired operation. If, for instance, an addition operation was requested, the arithmetic logic unit (ALU) will be connected to a set of inputs and a set of outputs. The inputs provide the numbers to be added, and the outputs will contain the final sum. The ALU contains the circuitry to perform simple arithmetic and logical operations on the inputs (like addition and bitwise operations). If the addition operation produces a result too large for the CPU to handle, an arithmetic overflow flag in a flags register may also be set.
The final step, writeback, simply "writes back" the results of the execute step to some form of memory. Very often the results are written to some internal CPU register for quick access by subsequent instructions. In other cases results may be written to slower, but cheaper and larger, main memory. Some types of instructions manipulate the program counter rather than directly produce result data. These are generally called "jumps" and facilitate behavior like loops, conditional program execution (through the use of a conditional jump), and functions in programs.[e] Many instructions will also change the state of digits in a "flags" register. These flags can be used to influence how a program behaves, since they often indicate the outcome of various operations. For example, one type of "compare" instruction considers two values and sets a number in the flags register according to which one is greater. This flag could then be used by a later jump instruction to determine program flow.
After the execution of the instruction and writeback of the resulting data, the entire process repeats, with the next instruction cycle normally fetching the next-in-sequence instruction because of the incremented value in the program counter. If the completed instruction was a jump, the program counter will be modified to contain the address of the instruction that was jumped to, and program execution continues normally. In more complex CPUs than the one described here, multiple instructions can be fetched, decoded, and executed simultaneously. This section describes what is generally referred to as the "classic RISC pipeline", which in fact is quite common among the simple CPUs used in many electronic devices (often called microcontroller). It largely ignores the important role of CPU cache, and therefore the access stage of the pipeline.

Design and implementation

The basic concept of a CPU is as follows:
Hardwired into a CPU's design is a list of basic operations it can perform, called an instruction set. Such operations may include adding or subtracting two numbers, comparing numbers, or jumping to a different part of a program. Each of these basic operations is represented by a particular sequence of bits; this sequence is called the opcode for that particular operation. Sending a particular opcode to a CPU will cause it to perform the operation represented by that opcode. To execute an instruction in a computer program, the CPU uses the opcode for that instruction as well as its arguments (for instance the two numbers to be added, in the case of an addition operation). A computer program is therefore a sequence of instructions, with each instruction including an opcode and that operation's arguments.
The actual mathematical operation for each instruction is performed by a subunit of the CPU known as the arithmetic logic unit or ALU. In addition to using its ALU to perform operations, a CPU is also responsible for reading the next instruction from memory, reading data specified in arguments from memory, and writing results to memory.
In many CPU designs, an instruction set will clearly differentiate between operations that load data from memory, and those that perform math. In this case the data loaded from memory is stored in registers, and a mathematical operation takes no arguments but simply performs the math on the data in the registers and writes it to a new register, whose value a separate operation may then write to memory.

Control unit

The control unit of the CPU contains circuitry that uses electrical signals to direct the entire computer system to carry out stored program instructions. The control unit does not execute program instructions; rather, it directs other parts of the system to do so. The control unit must communicate with both the arithmetic/logic unit and memory.

Integer range

The way a CPU represents numbers is a design choice that affects the most basic ways in which the device functions. Some early digital computers used an electrical model of the common decimal (base ten) numeral system to represent numbers internally. A few other computers have used more exotic numeral systems like ternary (base three). Nearly all modern CPUs represent numbers in binary form, with each digit being represented by some two-valued physical quantity such as a "high" or "low" voltage.[f]
[pic]
[pic]
MOS 6502 microprocessor in a dual in-line package, an extremely popular 8-bit design.
Related to number representation is the size and precision of numbers that a CPU can represent. In the case of a binary CPU, a bit refers to one significant place in the numbers a CPU deals with. The number of bits (or numeral places) a CPU uses to represent numbers is often called "word size", "bit width", "data path width", or "integer precision" when dealing with strictly integer numbers (as opposed to floating point). This number differs between architectures, and often within different parts of the very same CPU. For example, an 8-bit CPU deals with a range of numbers that can be represented by eight binary digits (each digit having two possible values), that is, 28 or 256 discrete numbers. In effect, integer size sets a hardware limit on the range of integers the software run by the CPU can utilize.[g]
Integer range can also affect the number of locations in memory the CPU can address (locate). For example, if a binary CPU uses 32 bits to represent a memory address, and each memory address represents one octet (8 bits), the maximum quantity of memory that CPU can address is 232 octets, or 4 GiB. This is a very simple view of CPU address space, and many designs use more complex addressing methods like paging to locate more memory than their integer range would allow with a flat address space.
Higher levels of integer range require more structures to deal with the additional digits, and therefore more complexity, size, power usage, and general expense. It is not at all uncommon, therefore, to see 4- or 8-bit microcontrollers used in modern applications, even though CPUs with much higher range (such as 16, 32, 64, even 128-bit) are available. The simpler microcontrollers are usually cheaper, use less power, and therefore generate less heat, all of which can be major design considerations for electronic devices. However, in higher-end applications, the benefits afforded by the extra range (most often the additional address space) are more significant and often affect design choices. To gain some of the advantages afforded by both lower and higher bit lengths, many CPUs are designed with different bit widths for different portions of the device. For example, the IBM System/370 used a CPU that was primarily 32 bit, but it used 128-bit precision inside its floating point units to facilitate greater accuracy and range in floating point numbers.[4] Many later CPU designs use similar mixed bit width, especially when the processor is meant for general-purpose usage where a reasonable balance of integer and floating point capability is required.

Clock rate

The clock rate is the speed at which a microprocessor executes instructions. Every computer contains an internal clock that regulates the rate at which instructions are executed and synchronizes all the various computer components. The CPU requires a fixed number of clock ticks (or clock cycles) to execute each instruction. The faster the clock, the more instructions the CPU can execute per second.
Most CPUs, and indeed most sequential logic devices, are synchronous in nature.[h] That is, they are designed with, and operate under, assumptions about a synchronization signal. This signal, known as a clock signal, usually takes the form of a periodic square wave. By calculating the maximum time that electrical signals can move in various branches of a CPU's many circuits, the designers can select an appropriate period for the clock signal.
This period must be longer than the amount of time it takes for a signal to move, or propagate, in the worst-case scenario. In setting the clock period to a value well above the worst-case propagation delay, it is possible to design the entire CPU and the way it moves data around the "edges" of the rising and falling clock signal. This has the advantage of simplifying the CPU significantly, both from a design perspective and a component-count perspective. However, it also carries the disadvantage that the entire CPU must wait on its slowest elements, even though some portions of it are much faster. This limitation has largely been compensated for by various methods of increasing CPU parallelism. (see below)
However, architectural improvements alone do not solve all of the drawbacks of globally synchronous CPUs. For example, a clock signal is subject to the delays of any other electrical signal. Higher clock rates in increasingly complex CPUs make it more difficult to keep the clock signal in phase (synchronized) throughout the entire unit. This has led many modern CPUs to require multiple identical clock signals to be provided to avoid delaying a single signal significantly enough to cause the CPU to malfunction. Another major issue as clock rates increase dramatically is the amount of heat that is dissipated by the CPU. The constantly changing clock causes many components to switch regardless of whether they are being used at that time. In general, a component that is switching uses more energy than an element in a static state. Therefore, as clock rate increases, so does energy consumption, causing the CPU to require more heat dissipation in the form of CPU cooling solutions.
One method of dealing with the switching of unneeded components is called clock gating, which involves turning off the clock signal to unneeded components (effectively disabling them). However, this is often regarded as difficult to implement and therefore does not see common usage outside of very low-power designs. One notable late CPU design that uses extensive clock gating to reduce the power requirements of the videogame console is that of the IBM PowerPC-based Xbox 360.[7] Another method of addressing some of the problems with a global clock signal is the removal of the clock signal altogether. While removing the global clock signal makes the design process considerably more complex in many ways, asynchronous (or clockless) designs carry marked advantages in power consumption and heat dissipation in comparison with similar synchronous designs. While somewhat uncommon, entire asynchronous CPUs have been built without utilizing a global clock signal. Two notable examples of this are the ARM compliant AMULET and the MIPS R3000 compatible MiniMIPS. Rather than totally removing the clock signal, some CPU designs allow certain portions of the device to be asynchronous, such as using asynchronous ALUs in conjunction with superscalar pipelining to achieve some arithmetic performance gains. While it is not altogether clear whether totally asynchronous designs can perform at a comparable or better level than their synchronous counterparts, it is evident that they do at least excel in simpler math operations. This, combined with their excellent power consumption and heat dissipation properties, makes them very suitable for embedded computers.

Parallelism

[pic]
[pic]
Model of a subscalar CPU. Notice that it takes fifteen cycles to complete three instructions.
The description of the basic operation of a CPU offered in the previous section describes the simplest form that a CPU can take. This type of CPU, usually referred to as subscalar, operates on and executes one instruction on one or two pieces of data at a time.
This process gives rise to an inherent inefficiency in subscalar CPUs. Since only one instruction is executed at a time, the entire CPU must wait for that instruction to complete before proceeding to the next instruction. As a result, the subscalar CPU gets "hung up" on instructions which take more than one clock cycle to complete execution. Even adding a second execution unit (see below) does not improve performance much; rather than one pathway being hung up, now two pathways are hung up and the number of unused transistors is increased. This design, wherein the CPU's execution resources can operate on only one instruction at a time, can only possibly reach scalar performance (one instruction per clock). However, the performance is nearly always subscalar (less than one instruction per cycle).
Attempts to achieve scalar and better performance have resulted in a variety of design methodologies that cause the CPU to behave less linearly and more in parallel. When referring to parallelism in CPUs, two terms are generally used to classify these design techniques. Instruction level parallelism (ILP) seeks to increase the rate at which instructions are executed within a CPU (that is, to increase the utilization of on-die execution resources), and thread level parallelism (TLP) purposes to increase the number of threads (effectively individual programs) that a CPU can execute simultaneously. Each methodology differs both in the ways in which they are implemented, as well as the relative effectiveness they afford in increasing the CPU's performance for an application.[i]

Instruction level parallelism

[pic]
Basic five-stage pipeline. In the best case scenario, this pipeline can sustain a completion rate of one instruction per cycle.
One of the simplest methods used to accomplish increased parallelism is to begin the first steps of instruction fetching and decoding before the prior instruction finishes executing. This is the simplest form of a technique known as instruction pipelining, and is utilized in almost all modern general-purpose CPUs. Pipelining allows more than one instruction to be executed at any given time by breaking down the execution pathway into discrete stages. This separation can be compared to an assembly line, in which an instruction is made more complete at each stage until it exits the execution pipeline and is retired.
Pipelining does, however, introduce the possibility for a situation where the result of the previous operation is needed to complete the next operation; a condition often termed data dependency conflict. To cope with this, additional care must be taken to check for these sorts of conditions and delay a portion of the instruction pipeline if this occurs. Naturally, accomplishing this requires additional circuitry, so pipelined processors are more complex than subscalar ones (though not very significantly so). A pipelined processor can become very nearly scalar, inhibited only by pipeline stalls (an instruction spending more than one clock cycle in a stage).
[pic]
Simple superscalar pipeline. By fetching and dispatching two instructions at a time, a maximum of two instructions per cycle can be completed.
Further improvement upon the idea of instruction pipelining led to the development of a method that decreases the idle time of CPU components even further. Designs that are said to be superscalar include a long instruction pipeline and multiple identical execution units.[9] In a superscalar pipeline, multiple instructions are read and passed to a dispatcher, which decides whether or not the instructions can be executed in parallel (simultaneously). If so they are dispatched to available execution units, resulting in the ability for several instructions to be executed simultaneously. In general, the more instructions a superscalar CPU is able to dispatch simultaneously to waiting execution units, the more instructions will be completed in a given cycle.
Most of the difficulty in the design of a superscalar CPU architecture lies in creating an effective dispatcher. The dispatcher needs to be able to quickly and correctly determine whether instructions can be executed in parallel, as well as dispatch them in such a way as to keep as many execution units busy as possible. This requires that the instruction pipeline is filled as often as possible and gives rise to the need in superscalar architectures for significant amounts of CPU cache. It also makes hazard-avoiding techniques like branch prediction, speculative execution, and out-of-order execution crucial to maintaining high levels of performance. By attempting to predict which branch (or path) a conditional instruction will take, the CPU can minimize the number of times that the entire pipeline must wait until a conditional instruction is completed. Speculative execution often provides modest performance increases by executing portions of code that may not be needed after a conditional operation completes. Out-of-order execution somewhat rearranges the order in which instructions are executed to reduce delays due to data dependencies. Also in case of Single Instructions Multiple Data — a case when a lot of data from the same type has to be processed, modern processors can disable parts of the pipeline so that when a single instruction is executed many times, the CPU skips the fetch and decode phases and thus greatly increases performance on certain occasions, especially in highly monotonous program engines such as video creation software and photo processing.
In the case where a portion of the CPU is superscalar and part is not, the part which is not suffers a performance penalty due to scheduling stalls. The Intel P5 Pentium had two superscalar ALUs which could accept one instruction per clock each, but its FPU could not accept one instruction per clock. Thus the P5 was integer superscalar but not floating point superscalar. Intel's successor to the P5 architecture, P6, added superscalar capabilities to its floating point features, and therefore afforded a significant increase in floating point instruction performance.
Both simple pipelining and superscalar design increase a CPU's ILP by allowing a single processor to complete execution of instructions at rates surpassing one instruction per cycle (IPC). Most modern CPU designs are at least somewhat superscalar, and nearly all general purpose CPUs designed in the last decade are superscalar. In later years some of the emphasis in designing high-ILP computers has been moved out of the CPU's hardware and into its software interface, or ISA. The strategy of the very long instruction word (VLIW) causes some ILP to become implied directly by the software, reducing the amount of work the CPU must perform to boost ILP and thereby reducing the design's complexity.

Thread-level parallelism

Another strategy of achieving performance is to execute multiple programs or threads in parallel. This area of research is known as parallel computing. In Flynn's taxonomy, this strategy is known as Multiple Instructions-Multiple Data or MIMD.
One technology used for this purpose was multiprocessing (MP). The initial flavor of this technology is known as symmetric multiprocessing (SMP), where a small number of CPUs share a coherent view of their memory system. In this scheme, each CPU has additional hardware to maintain a constantly up-to-date view of memory. By avoiding stale views of memory, the CPUs can cooperate on the same program and programs can migrate from one CPU to another. To increase the number of cooperating CPUs beyond a handful, schemes such as non-uniform memory access (NUMA) and directory-based coherence protocols were introduced in the 1990s. SMP systems are limited to a small number of CPUs while NUMA systems have been built with thousands of processors. Initially, multiprocessing was built using multiple discrete CPUs and boards to implement the interconnect between the processors. When the processors and their interconnect are all implemented on a single silicon chip, the technology is known as a multi-core processor.
It was later recognized that finer-grain parallelism existed with a single program. A single program might have several threads (or functions) that could be executed separately or in parallel. Some of the earliest examples of this technology implemented input/output processing such as direct memory access as a separate thread from the computation thread. A more general approach to this technology was introduced in the 1970s when systems were designed to run multiple computation threads in parallel. This technology is known as multi-threading (MT). This approach is considered more cost-effective than multiprocessing, as only a small number of components within a CPU is replicated to support MT as opposed to the entire CPU in the case of MP. In MT, the execution units and the memory system including the caches are shared among multiple threads. The downside of MT is that the hardware support for multithreading is more visible to software than that of MP and thus supervisor software like operating systems have to undergo larger changes to support MT. One type of MT that was implemented is known as block multithreading, where one thread is executed until it is stalled waiting for data to return from external memory. In this scheme, the CPU would then quickly switch to another thread which is ready to run, the switch often done in one CPU clock cycle, such as the UltraSPARC Technology. Another type of MT is known as simultaneous multithreading, where instructions of multiple threads are executed in parallel within one CPU clock cycle.
For several decades from the 1970s to early 2000s, the focus in designing high performance general purpose CPUs was largely on achieving high ILP through technologies such as pipelining, caches, superscalar execution, out-of-order execution, etc. This trend culminated in large, power-hungry CPUs such as the Intel Pentium 4. By the early 2000s, CPU designers were thwarted from achieving higher performance from ILP techniques due to the growing disparity between CPU operating frequencies and main memory operating frequencies as well as escalating CPU power dissipation owing to more esoteric ILP techniques.
CPU designers then borrowed ideas from commercial computing markets such as transaction processing, where the aggregate performance of multiple programs, also known as throughput computing, was more important than the performance of a single thread or program.
This reversal of emphasis is evidenced by the proliferation of dual and multiple core CMP (chip-level multiprocessing) designs and notably, Intel's newer designs resembling its less superscalar P6 architecture. Late designs in several processor families exhibit CMP, including the x86-64 Opteron and Athlon 64 X2, the SPARC UltraSPARC T1, IBM POWER4 and POWER5, as well as several video game console CPUs like the Xbox 360's triple-core PowerPC design, and the PS3's 7-core Cell microprocessor.

Data parallelism

A less common but increasingly important paradigm of CPUs (and indeed, computing in general) deals with data parallelism. The processors discussed earlier are all referred to as some type of scalar device. As the name implies, vector processors deal with multiple pieces of data in the context of one instruction. This contrasts with scalar processors, which deal with one piece of data for every instruction. Using Flynn's taxonomy, these two schemes of dealing with data are generally referred to as SIMD (single instruction, multiple data) and SISD (single instruction, single data), respectively. The great utility in creating CPUs that deal with vectors of data lies in optimizing tasks that tend to require the same operation (for example, a sum or a dot product) to be performed on a large set of data. Some classic examples of these types of tasks are multimedia applications (images, video, and sound), as well as many types of scientific and engineering tasks. Whereas a scalar CPU must complete the entire process of fetching, decoding, and executing each instruction and value in a set of data, a vector CPU can perform a single operation on a comparatively large set of data with one instruction. Of course, this is only possible when the application tends to require many steps which apply one operation to a large set of data.
Most early vector CPUs, such as the Cray-1, were associated almost exclusively with scientific research and cryptography applications. However, as multimedia has largely shifted to digital media, the need for some form of SIMD in general-purpose CPUs has become significant. Shortly after inclusion of floating point execution units started to become commonplace in general-purpose processors, specifications for and implementations of SIMD execution units also began to appear for general-purpose CPUs. Some of these early SIMD specifications like HP's Multimedia Acceleration eXtensions (MAX) and Intel's MMX were integer-only. This proved to be a significant impediment for some software developers, since many of the applications that benefit from SIMD primarily deal with floating point numbers. Progressively, these early designs were refined and remade into some of the common, modern SIMD specifications, which are usually associated with one ISA. Some notable modern examples are Intel's SSE and the PowerPC-related AltiVec (also known as VMX).

Performance

The performance or speed of a processor depends on the clock rate (generally given in multiples of hertz) and the instructions per clock (IPC), which together are the factors for the instructions per second (IPS) that the CPU can perform.[10] Many reported IPS values have represented "peak" execution rates on artificial instruction sequences with few branches, whereas realistic workloads consist of a mix of instructions and applications, some of which take longer to execute than others. The performance of the memory hierarchy also greatly affects processor performance, an issue barely considered in MIPS calculations. Because of these problems, various standardized tests, often called "benchmarks" for this purpose—such as SPECint – have been developed to attempt to measure the real effective performance in commonly used applications.
Processing performance of computers is increased by using multi-core processors, which essentially is plugging two or more individual processors (called cores in this sense) into one integrated circuit. Ideally, a dual core processor would be nearly twice as powerful as a single core processor. In practice, however, the performance gain is far less, only about 50%,[11] due to imperfect software algorithms and implementation. Increasing the number of cores in a processor (i.e. dual-core, quad-core, etc.) increases the workload that can be handled. This means that the processor can now handle numerous asynchronous events, interrupts, etc. which can take a toll on the CPU (Central Processing Unit) when overwhelmed. These cores can be thought of as different floors in a processing plant, with each floor handling a different task. Sometimes, these cores will handle the same tasks as cores adjacent to them if a single core is not enough to handle the information.

References: ➢ "1. INTRODUCTION" (PDF). 1108 USER'S GUIDE (Manual). Envos Corporation. p. 1. Retrieved May 24, 2012. ➢ A Third Survey of Domestic Electronic Digital Computing Systems. Ballistic Research Laboratories. ➢ First Draft of a Report on the EDVAC. Moore School of Electrical Engineering, University of Pennsylvania. 1945. ➢ Amdahl, G. M., Blaauw, G. A., & Brooks, F. P. Jr. (1964). Architecture of the IBM System/360. IBM Research. ➢ Digital Equipment Corporation (November 1975). "LSI-11 Module Descriptions". LSI-11, PDP-11/03 user's manual (2nd ed.). Maynard, Massachusetts: Digital Equipment Corporation. pp. 4–3. ➢ Excerpts from A Conversation with Gordon Moore: Moore's Law (PDF). Intel. 2005. Retrieved 2012-07-25. ➢ "Application-customized CPU design". IBM developerWorks. Retrieved 2005-12-17. ➢ Garside, J. D., Furber, S. B., & Chung, S-H (1999). AMULET3 Revealed. University of Manchester Computer Science Department. ➢ Huynh, Jack (2003). "The AMD Athlon XP Processor with 512KB L2 Cache". University of Illinois — Urbana-Champaign. pp. 6–11. Retrieved 2007-10-06. ➢ "CPU Frequency". CPU World Glossary. CPU World. 25 March 2008. Retrieved 1 January 2010. ➢ "What is (a) multi-core processor?". Data Center Definitions. SearchDataCenter.com. 27 March 2007. Retrieved 1 January 2010.

Similar Documents

Free Essay

Cpu- Central Processing Unit

...| CPUCentral Processing Unit | | | | NT1110- | | This video was about the components and functions that take place in the CPU. The video creates a visual of more or less where the components are, how they connect and what’s happening inside the CPU. The Information in this video was very specific and explained all the different elements of a CPU very well. I learned that there are a lot of things happening all simultaneously in the CPU. I also learned about the different components, their functions and placements of them inside. What I thought to be a little confusing was the details about Cache. All the different locations of the cache and different kinds of cache are too similar but I’m sure over time with more experience and hands on activities I will get more familiar with it. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPUCentral Processing Unit | | | | NT1110- | | This video was about the components and functions that take place in the CPU. The video creates a visual of more or less where the components are, how they connect and what’s happening inside the CPU. The Information in this video was very specific and explained all the different elements of a CPU very well. I learned that there are a lot of things happening all simultaneously in the CPU...

Words: 567 - Pages: 3

Premium Essay

Cpu Discription

...This part of the reading will examine the CPU, Buses, Controllers, and Main Memory. Other sections will examine input devices, output devices, and secondary memory. The Central Processing Unit (CPU) Figure 2: The Central Processing Unit The computer does its primary work in a part of the machine we cannot see, a control center that converts data input to information output. This control center, called the central processing unit (CPU), is a highly complex, extensive set of electronic circuitry that executes stored program instructions. All computers, large and small, must have a central processing unit. As Figure 2 shows, the central processing unit consists of two parts: The control unit and the arithmetic/logic unit. Each part has a specific function. Before we discuss the control unit and the arithmetic/logic unit in detail, we need to consider data storage and its relationship to the central processing unit. Computers use two types of storage: Primary storage and secondary storage. The CPU interacts closely with primary storage, or main memory, referring to it for both instructions and data. For this reason this part of the reading will discuss memory in the context of the central processing unit. Technically, however, memory is not part of the CPU. Recall that a computer's memory holds data only temporarily, at the time the computer is executing a program. Secondary storage holds permanent or semi-permanent data on some external magnetic or optical medium...

Words: 2592 - Pages: 11

Free Essay

Technology

...Unit 5 assignment 1: video summary 3 Video 1.05 is about CPUs, how a CPU is organized, CPU speed, advances in processing speed, Cache, Sockets, ZIF and Heat. Video 1.05 shows the roles of the Controller, ALU, cache, frontside bus and backside bus. Also shows us the difference between multiprocessing, multiprocessors and dual core processors. Topics CPU * CPU Speed * Advances in processing speed * Cache * Sockets * ZIF * Heat Terms used in video 1.05 with their definitions * Major manufactures: Intel and AMD * System bus: A system bus is a single computer bus for the data transfer between the central processing unit and the memory. * Frontside bus: (FSB) the bus via which a processor communicates with its RAM and chipset; one half of the Dual Independent Bus (the other half being the backside bus). * Controller: Control unit definition, the part of a CPU that interprets the instructions in ... transmission line to a control unit on a selector channel at the computer center. * ALU: An arithmetic-logic unit (ALU) is the part of a computer processor (CPU) that carries out arithmetic and logic operations on the operands in computer instruction words. * Internal bus: An internal bus is a type of data bus that only operates internally in a computer or system. It carries data and operations as a standard bus. * Cache: Two types of caching are commonly used in personal computers: memory caching and disk caching...

Words: 603 - Pages: 3

Free Essay

Tcad Modeling

...I. Statement of Problem As processing demands continue to increase in the field of computer science and the computing industry, there is a need to improve the cooling systems for central processing units. These processors consist of transistors which amplify and switch electronic signals within the computer. As these transistors conduct electricity through operation, they generate waste heat. If waste heat is not properly managed then it may affect the processing power of a system, or even damage it permanently. This proposal offers a new way of dealing with waste heat while also generating electricity. II. State of the Art Currently the most common method of cooling central processing units (CPU) is through the use of a fan. The fan draws hot air away from the processor and dissipates it to a safer area. As the processor begins to function at a greater capacity, the fan will pump air away from it at a faster rate. This technique is most common because of its cost-effectiveness and versatility. There is another, less common method available for CPU cooling, and that is with a liquid cooling unit. Liquid cooling units work in a similar convective manner as fans do. They simply pump a source of cool liquid over the processing unit in a tube, allowing the heat to be dissipated from the transistors. This liquid is circulated to a heat sink where it may cool down and then be reused for cooling. III. Proposed Solution A new solution to the problem of CPU cooling involves...

Words: 1011 - Pages: 5

Free Essay

Fgdsg

...Lab 1 Task 1: Output Output Input Input Accumulator Accumulator Arithmetic Logic Unit Arithmetic Logic Unit Control Unit Control Unit Memory Memory Von Neumann Model Definitions: Memory - Memory stores data temporarily for rapid retrieval. Control Unit – The control unit is a component of a computer’s central processing unit (CPU) that directs operation of the processor. Arithmetic Logic Unit – A digital circuit that performs arithmetic and bitwise logical operations on integer binary numbers. Accumulator – A register for short-term, intermediate storage of arithmetic and logic data in a computer’s central processing unit. Input – The act of entering data into a computer. Output – Anything that comes out of a computer. Task 2: Examples of input - 1. Keyboard 2. Mouse Examples of output - 1. Monitor 2. Printer Examples of memory devices - 1. Hard Drive 2. Flash Drive Examples of devices that are both input and output devices - 1. Modem 2. Network Cards 3. Desktops are much easier to customize and upgrade. 3. Desktops are much easier to customize and upgrade. 2. Notebooks are portable and desktops aren’t. 2. Notebooks are portable and desktops aren’t. 1. With a notebook, everything comes in one small device. On desktops, everything is usually separate components. 2. With a notebook, everything comes in one small device. On desktops, everything is usually separate components. 5. Both notebooks and desktops have system...

Words: 344 - Pages: 2

Free Essay

Ipos System

...understanding on IPOS (Input Output Processing Storage) A computer is an electronic device, operating under the control of instructions stored in its own memory, which can accept data (input), process the data according to specified rules (process), produce results (output), and store the results (storage) for future use. The IPOS cycle happens every time you use a computer its stands for Input, processing, output and storage. These are the steps in the IPOS cycle. First input is entered into the computer through an input device, second, the CPU (Central Processing Unit) of the computer processes the information. Third the computer can output the information as a finished product or forth it can save it in storage for a later use. Output devices are continuously changing as technology advances. The IPOS cycle is the process the computer goes through to receive input, process the data, output a display of the results and storage store the information for a later use. An input device like a keyboard enters information into the computer. An output device like a monitor displays the results or information from the computer. Storage device act like an input/output device with the additional quality of saving data to use at a later date. Input is anything we wish to embed in a system for some type of use. It is any type of data or instruction used by a computer. It is the process of sending information to the computer’s CPU (central processing unit). Different types of things are...

Words: 721 - Pages: 3

Free Essay

Microprocessor Wars

...are a few companies that produce the x86 microarchitecture chips found in almost every desktop and many mobile devices today but only two are true heavy hitters in the market, Intel and Advanced Micro Devices (AMD). The market slug fest that has been happening between these two companies have driven the pace at which computing has advanced by leaps and bounds. They are a perfect example of how competition and not just supply and demand push industries to their pinnacle. To give a little background to the current market situation, Intel was the original inventor of the x86 microarchitecture central processing unit in 1978. Advanced Micro Devices didn’t start making chips until 1982; four years after Intel had already released their first x86 microprocessor chip as a company. Advanced Micro Devices along with Intel has over 99.5% of the market for x86 architecture central processing units. This means the two companies quite literally own the market and control the supply of computer processors. MaximumPC.com’s own history of the situation that expertly describes the beginnings and even reciprocal situation of today market states: “Much has been made recently over the x86 licensing agreement between Intel and AMD, and we have to travel back to 1982 to see how it all began. That was the year AMD inked a deal allowing them to manufacture and sell both 8086 and 8088 processors. The very next year, AMD released the Am286, an exact clone of Intel's 286 processor, right down to the...

Words: 1792 - Pages: 8

Free Essay

Microprocessor

...Microprocessor A microprocessor is a single chip integrating all the functions of a central processing unit (CPU) of a computer. It includes all the logical functions, data storage, timing functions and interaction with other peripheral devices. In some cases, the terms 'CPU' and 'microprocessor' are used interchangeably to denote the same device. Like every genuine engineering marvel, the microprocessor too has evolved through a series of improvements throughout the 20th century. A brief history of the device along with its functioning is described below. Its Working It is the central processing unit which coordinates all the functions of a computer. It generates timing signals, sends and receives data to and from every peripheral used inside or outside the computer. The commands required to do this are fed into the device in the form of current variations which are converted into meaningful instructions by the use of a Boolean Logic System. It divides its functions in two categories, logical functions and processing functions. The arithmetic and logical unit and the control unit handle these functions respectively. The information is communicated through a bunch of wires called buses. The address bus carries the 'address' of the location with which communication is desired while the data bus carries the data that is being exchanged. Arithmetic & Logic Unit (ALU) This part of the central processing unit deals with operations such as addition, subtraction, and multiplication of...

Words: 1249 - Pages: 5

Premium Essay

Health Service

...greater specificity regarding data collection and storage. Week 7 Name each of the six components of a computer system and indicate the function of each. Central Processing Unit (CPU)- is where the actual computing takes place which includes three major subcomponents: arithmetic/logic unit (ALU), control unit and registers. The speed and power of the CPU influences the computers capabilities. Primary Storage- is the internal memory where data is stored for access by the CPU Secondary Storage- consists of devices and media designed to maintain small or large quantities of data. Input Devices- is a way of entering data into the computer in different formats; keyboard, scanning and voice input. Users can select the input that meets their organization criteria in order to enter data. Output Devices- data is processed and can be used by the user via printed form, digitally for future processing, audio or spoken form. Outputs of healthcare managers are visual displays, printed documents and audio. Communications Devices- “connect” the computer to enable communication with other computers, either within the organization or external to the organization. 1. Central processing unit (CPU), where the actual “computing” takes place. Consists of three major subcomponents: the arithmetic/logic unit (ALU), the control unit, and registers 2. Primary storage, or “internal” memory,...

Words: 836 - Pages: 4

Free Essay

Fundamentals of Hardware and Software

...SECTION 1 FUNDAMENTALS OF HARDWARE AND SOFTWARE A computer is an electronic device, operating under the control of instructions stored in its memory.  Input – accept data  Processing – manipulate data  Output – produce results from the processing  Storage – store the data and results for future use HARDWARE Hardware is the physical parts of the computer. There are five main components: 1. Central Processing Unit 2. Primary Storage devices 3. Secondary Storage devices 4. Input Devices 5. Output Devices 1. The Central Processing Unit (CPU) is also known as the processor. It is the brain of the computer and converts data into information. CPU speed is measured in Hertz. 1 hertz = 1 clock cycle/machine instruction per second 1 Kilohertz (KHz) = 1000 Hz 1 Megahertz (MHz) = 1000 KHz = 1 000 000 Hz (1 million) 1 Gigahertz (GHz) = 1000 MHz = 1 000 000 000 Hz (1 billion) A CPU with speed of 1 GHz can execute 1 billion machine instructions per second. There are two main parts of the CPU: A: Control unit – This controls the sequencing of operations of the CPU by fetching and decoding instructions and coordinating the input and output devices. B: Arithmetic Logic Unit (ALU) – This manipulates the data. It performs arithmetic operations (including addition, subtraction, division and multiplication and logical operations (including reasoning and performing the comparisons necessary to make decisions). 2. Main Memory/Immediate Access Storage (IMAS)/Primary...

Words: 818 - Pages: 4

Free Essay

My Files

...1. A microprocessor is a computer processor that incorporates the functions of computer’s central processing unit (CPU) on a single integrated circuit (IC), or at most a few integrated circuits. The microprocessor is a multipurpose, programmable device that accepts digital data as input, processes it according to instructions stored in its memory, and provides results as output. 2. A digital signal processor (DSP) is a specialized microprocessor (or a SIP block), with its architecture optimized for the operational needs of digital signal processing. 3. A graphics processing unit (GPU), also occasionally called visual processing unit (VPU), is a specialized electronic circuit designed to rapidly manipulate and alter memory to accelerate the creation of images in a frame buffer intended for output to a display.  4. A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of NOR flash or OTP ROM is also often included on chip, as well as a typically small amount of RAM. 5. Advantages of Microcontrollers a)      Microcontrollers act as a microcomputer without any digital parts. b)     As the higher integration inside microcontroller reduce cost and size of the system. c)      Usage of microcontroller is simple, easy for troubleshoot and system maintaining. d)     Most of the pins are programmable by the user for performing...

Words: 746 - Pages: 3

Premium Essay

System Unit

...Differentiate among various styles of system units of system units Identify chips, adapter cards, and other Identify chips, adapter cards, and other components of aamotherboard components of motherboard Describe the components of aaprocessor and how Describe the components of processor and how they complete aamachine cycle they complete machine cycle Identify characteristics of various personal Identify characteristics of various personal computer processors on the market today computer processors on the market today Define aabit and describe how aaseries of bits Define bit and describe how series of bits represents data represents data Explain how programs transfer in Explain how programs transfer in and out of memory and out of memory Differentiate among the various Differentiate among the various types of memory types of memory Describe the types of expansion slots and Describe the types of expansion slots and adapter cards adapter cards Explain the difference among aaserial port, aa Explain the difference among serial port, parallel port, aaUSB port, and other ports parallel port, USB port, and other ports Describe how buses contribute to aa Describe how buses contribute to computer’s processing speed computer’s processing speed Identify components in mobile computers Identify components in mobile computers and mobile devices and mobile devices Chapter 4 The Components of the System Unit Next The System Unit What is the system unit? Case that contains electronic components...

Words: 3218 - Pages: 13

Free Essay

The Basics of Computer Hardware

...Basics of computer hardware The Basics of Computer Hardware By: Stephen Lomangino Dr. Fahey ITT-Technical Institute: College of Information Technology Abstract This paper identifies the many different parts a computer needs to operate and perform basic tasks. Among these are the motherboard, central processing unit (CPU), and random access memory (RAM). While these components are somewhat mandatory for computer performance this paper will also cover optional pieces of hardware that can improve quality and speed of the computer. These can include graphics processing units (GPU) and additional RAM. All parts of the computer can be upgraded but one must take into consideration the size and airflow capabilities of the computer case to be sure that all upgrades will fit without getting too hot or crowded. If the case were to get too hot the CPU could overheat and shut down the computer. Due to this possible situation this paper will go over the special precautions that must be made to accommodate the size and heat generation of upgraded hardware. The Basics of Computer Hardware Building a computer is similar to building a house, first you build the foundation then everything gets built on top of it. Instead of building on concrete, the foundation for a computer is the case and the motherboard. The case is equivalent to the walls and ceiling of the house, once you have those you can put any other amenities into the house as needed. Computer...

Words: 1905 - Pages: 8

Premium Essay

Busses

...Exploring the Motherboard and Busses What are the major components of the motherboard? Provide a brief description of each component. CPU: The central processing unit is basically the ‘brain’ of the computer. It is where all the computing takes place. Wiki states “Electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logical, control and input/output (I/O) operations specified by the instructions (Central processing unit)” BIOS Chip: Encrypted with code, it takes the computer through a boot up process until the OS is ready to take over. Upgrading only the motherboard will give some performance improvement to a computer system. Why would the improvement be limited? Upgrading the motherboard would give it a performance improvement but yes improvement would be limited. This is simply because there is much more than just the motherboard that makes up a computer. There is RAM, there is a hard drive. Also when upgrading the motherboard you have to make sure to upgrade the CPU and memory. What is the need for all the different busses found on a motherboard? Why can these busses not be replaced with a single bus? To understand why we need different busses, you need to understand what a bus is. A bus gives a path to a device so it can sent data to the CPU and other devices. There are more than one device that needs to send it information there for we can not just have one...

Words: 385 - Pages: 2

Free Essay

Cpu + Alu

...CPU’s and ALU’s Table of content Page 1 Introduction Page 2 CPU Page 3 CPU Pictures Page 4 ALU Page 5 ALU Picture Page 6   Introduction CPU Many people consider the CPU (Central Processing Unit) to be the brains of the computer. This is not true because, for the most part, the CPU cannot keep data stored inside it like a human brain. It is used to process much of the information needed by the computer, just like our brain thinks and processes information and gives orders to our other body parts. ALU Stands for (Arithmetic Logic Unit). An ALU is an integrated circuit within a CPU that performs arithmetic and logic operations. Arithmetic instructions include addition, subtraction, and shifting operations, while logic instructions include AND, OR, XOR, and NOT operations.   CPU (Central Processing Unit) CPU (Central Processing Unit) - otherwise known as a processor - is an electronic circuit that can execute computer programs. Both the miniaturization and standardization of CPUs have increased their presence far beyond the limited application of dedicated computing machines. Modern microprocessors appear in everything from automobiles to mobile phones. The clock rate is one of the main characteristics of the CPU when performance is concerned. Clock rate is the fundamental rate in cycles per second (measured in hertz, kilohertz, megahertz or gigahertz) for the frequency of the clock in any synchronous circuit...

Words: 653 - Pages: 3