Binarycse

Computing For Everyone

Thu02232012

Last update09:47:49 AM

Microprocessor

Microprocessors

The microprocessor, (or CPU), is the brain of the computer. The picture above shows a slot 1 processor with heatsinks and a fan, which prevent it from overheating. Below is the processor without the heatsinks and fan, being inserted into a slot 1 motherboard connection. Slot 1 processors have the microprocessor and level 2 cache memory mounted on a circuit board, (or card), which is enclosed inside of a protective shell.
The enclosed slot 1 processor card contains the central processing unit, (or CPU), with its level 1 cache memory. The central processing unit also contains the control unit and the arithmetic/logic unit, both working together as a team to process the computer's commands. The control unit controls the flow of events inside the processor. It fetches instructions from memory and decodes them into commands that the computer can understand. The arithmetic/logic unit handles all of the math calculations and logical comparisons. It takes the commands from the control unit and executes them, storing the results back into memory. These 4 steps, (fetch, decode, execute, and store), are what's called the "machine cycle" of a computer. These 4 basic steps are how the computer runs each and every program. The microprocessor's level 1 cache memory, is memory that is contained within the CPU itself. It stores the most frequently used instructions and data. The CPU can access the cache memory much faster than having to access the RAM, (or Random Access Memory). Below is a picture of what's inside of a Pentium 3 processor. The control unit, arithmetic/logic unit, and level 1 cache are contained within the center CPU chip. Level 2 cache memory is visible on the right-hand side of the processor card.


Level 1 cache memory is memory that is included inside of the CPU itself. It is usually smaller and faster than level 2 cache memory. Level 2 cache memory is memory between the RAM and CPU. It is used when the level 1 cache memory is full or is too small to hold the intended data. Originally it was not directly on the CPU chip itself.  The photo above shows level 2 cache memory on the processor card, beside the CPU. Below are two photos of a CPU. The photo on the bottom is a view of the CPU chip from the outside. The photo on the top is a large map of the inside of the CPU, showing the different areas and what their function is. See if you can find the areas that fetch, decode, and execute the instructions.


At the top you can also see the clock driver. The clock driver is what times, or sets the pace, for the computer. The clock's speed, is how CPUs are rated. Each machine cycle consists of two beats. Each beat the control unit fetches and decodes data, which is called the "instruction cycle." At the same time the arithmetic/logic unit executes and stores data, which is called the "execution cycle." The speed of a clock is rated by how many beats per second it can accomplish. 1 billion beats per second is referred to as 1Ghz. For every beat, (except the very first), a machine cycle is completed. Common CPUs available today perform at 3Ghz and faster. This means that a 3Ghz CPU can execute 3,000,000,000 instructions in a single second!.

The slot 1 processor is no longer being produced. These are later model processors than the slot 1. Currently AMD is using the socket 939, socket 940, and socket 754 processors. Pentium is using the socket 775 and socket 478 processors. All of these processors look similar, but they do have some differences, including the number of contact points, (or pins), that they have. Another difference in some of the newer processors is that the level 2 cache memory is located directly on the CPU chip itself. Any cache memory located outside of a CPU like this is called level 3 cache memory. The usage is still the same though. Level 1 cache memory is still located closest to the core of the CPU and is still usually smaller and faster than the level 2 cache memory. Some of the newer processors even have level 3 cache memory located directly on the CPU itself. Any cache memory located outside of a CPU like this is called level 4 cache memory. As with the other levels of cache memory, the higher the level, the further away from the core of the CPU it is located. The higher levels of cache memory also are usually larger and slower than the smaller levels. The photo above shows the front and back of a Pentium 4 Extreme Edition socket 775 processor. It has level 3 cache memory located directly on the CPU itself.  The photo below shows the AMD processor installed on a motherboard with a heatsink and fan.



 

A microprocessor incorporates most or all of the functions of a computer's central processing unit (CPU) on a single integrated circuit (IC, or microchip).The first microprocessors emerged in the early 1970s and were used for electronic calculators, using binary-coded decimal (BCD) arithmetic on 4-bit words. Other embedded uses of 4- and 8-bit microprocessors, such as terminals, printers, various kinds of automation  etc, followed rather quickly. Affordable 8-bit microprocessors with 16-bit
addressing also led to the first general purpose microcomputers  in the mid-1970s.Computer processors were for a long period constructed out of small and medium-scale ICs containing the equivalent of a few to a few hundred transistors. The integration of the whole CPU onto a single chip therefore greatly reduced the cost of processing capacity. From their humble beginnings, continued increases in microprocessor capacity have rendered other forms of computers almost completely obsolete (see history of computing hardware), with one or more microprocessor as processing element in everything from the smallest embedded systems and handheld devices to the largest mainframes and supercomputers.
Since the early 1970s, the increase in capacity of microprocessors has been known to generally follow Moore's Law, which suggests that the complexity of an integrated circuit, with respect to minimum component cost, doubles every two years.The Intel 4004 is generally considered the first microprocessor,and cost in the thousands of dollars.The first known advertisement for the 4004 is dated to November 1971; it appeared in Electronic News. The project that produced the 4004 originated in 1969, when Busicom, a Japanese calculator manufacturer, asked Intel to build a chipset for high-performance desktop calculators. Busicom original design called for a programmable chip set consisting of 7 different chips, three of them were used to make a special-purpose CPU with its program stored in ROM and its data stored in shift register read-write memory. Ted Hoff, the Intel engineer assigned to evaluate the project, believed the Busicom design could be simplified by using dynamic RAM storage for data, rather than shift register memory, and a more traditional general-purpose CPU architecture. Hoff came up with a four–chip architectural proposal: a ROM chip for storing the programs, a dynamic RAM chip for storing data, a simple I/O device and a 4-bit central processing unit (CPU), which he felt could be integrated into a single chip, although he was not a chip designer. This chip would later be called the 4004 microprocessor.

8-bit designs

The Intel 4004 was followed in 1972 by the Intel 8008, the world's first 8-bit microprocessor. According to A History of Modern Computing, (MIT Press), pp. 220–21, Intel entered into a contract with Computer Terminals Corporation, later called Datapoint, of San Antonio TX, for a chip for a terminal they were designing. Datapoint later decided not to use the chip, and Intel marketed it as the 8008 in April, 1972. This was the world's first 8-bit microprocessor. It was the basis for the famous "Mark-8" computer kit advertised in the magazine Radio-Electronics in 1974.

The 8008 was the precursor to the very successful Intel 8080 (1974), Zilog Z80 (1976), and derivative Intel 8-bit processors. The competing Motorola 6800 was released in August 1974 and the similar MOS Technology 6502 in 1975 (designed largely by the same people). The 6502 rivaled the Z80 in popularity during the 1980s.

12-bit designs

The Intersil 6100 family consisted of a 12-bit microprocessor (the 6100) and a range of peripheral support and memory ICs. The microprocessor  recognised the DEC
PDP-8 minicomputer  instruction set. As such it was sometimes referred to as the CMOS-PDP8. Since it was also produced by Harris Corporation, it was also known as the Harris HM-6100. By virtue of its CMOS technology and associated benefits, the 6100 was being incorporated into some military designs until the early 1980's.

16-bit designs



The first multi-chip 16-bit microprocessor was the National Semiconductor IMP-16, introduced in early 1973. An 8-bit version of the chipset was introduced in 1974 as the IMP-8. During the same year, National introduced the first 16-bit single-chip microprocessor, the National Semiconductor PACE, which was later followed by an NMOS  version, the INS8900.Other early multi-chip 16-bit microprocessors include one used by Digital Equipment Corporation (DEC) in the LSI-11 OEM board set and the packaged PDP 11/03 minicomputer, and the Fairchild Semiconductor MicroFlame 9440, both of which were introduced in the 1975 to 1976 timeframe.
The first single-chip 16-bit microprocessor was TI's TMS 9900, which was also compatible with their TI-990 line of minicomputers. The 9900 was used in the TI 990/4 minicomputer, the TI-99/4A home computer, and the TM990 line of OEM microcomputer boards. The chip was packaged in a large ceramic 64-pin DIP package, while most 8-bit microprocessors such as the Intel 8080 used the more common, smaller, and less expensive plastic 40-pin DIP. A follow-on chip, the TMS 9980, was designed to compete with the Intel 8080, had the full TI 990 16-bit instruction set, used a plastic 40-pin package, moved data 8 bits at a time, but could only address 16 KB. A third chip, the TMS 9995, was a new design. The family later expanded to include the 99105 and 99110.

32-bit designs

16-bit designs had only been on the market briefly when 32-bit implementations started to appear.The most significant of the 32-bit designs is the MC68000, introduced in 1979. The 68K, as it was widely known, had 32-bit registers but used 16-bit internal data paths and a 16-bit external data bus to reduce pin count, and supported only 24-bit addresses. Motorola generally described it as a 16-bit processor, though it clearly has 32-bit architecture. The combination of high performance, large (16 megabytes or 224 bytes) memory space and fairly low cost made it the most popular CPU design of its class. The Apple Lisa and Macintosh designs made use of the 68000, as did a host of other designs in the mid-1980s, including the Atari ST and Commodore Amiga.The world's first single-chip fully-32-bit microprocessor, with 32-bit data paths, 32-bit buses, and 32-bit addresses, was the AT&T Bell Labs BELLMAC-32A, with first samples in 1980, and general production in 1982. After the divestiture of AT&T in 1984, it was renamed the WE 32000 (WE for Western Electric), and had two follow-on generations, the WE 32100 and WE 32200. These microprocessors were used in the AT&T 3B5 and 3B15 minicomputers; in the 3B2, the world's first desktop supermicrocomputer; in the "Companion", the world's first 32-bit laptop computer; and in "Alexander", the world's first book-sized supermicrocomputer, featuring ROM-pack memory cartridges similar to today's gaming consoles. All these systems ran the UNIX System V operating system.Intel's first 32-bit microprocessor was the iAPX 432, which was introduced in 1981 but was not a commercial success. It had an advanced capability-based object-oriented architecture, but poor performance compared to contemporary architectures such as Intel's own 80286 (introduced 1982), which was almost four times as fast on typical benchmark tests. However, the results for the iAPX432 was partly due to a rushed and therefore suboptimal Ada compiler.The ARM first appeared in 1985. This is a RISC processor design, which has since come to dominate the 32-bit embedded systems processor space due in large part to its power efficiency, its licensing model, and its wide selection of system development tools. Semiconductor manufacturers generally license cores such as the ARM11 and integrate them into their own system on a chip products; only a few such vendors are licensed to modify the ARM cores. Most cell phones include an ARM processor, as do a wide variety of other products. There are microcontroller-oriented ARM cores without virtual memory support, as well as SMP applications processors with virtual memory.
Motorola's success with the 68000 led to the MC68010, which added virtual memory support. The MC68020, introduced in 1985 added full 32-bit data and address busses. The 68020 became hugely popular in the Unix supermicrocomputer market, and many small companies (e.g., Altos, Charles River Data Systems) produced desktop-size systems. The MC68030 was introduced next, improving upon the previous design by integrating the MMU into the chip. The continued success led to the MC68040, which included an FPU for better math performance. A 68050 failed to achieve its performance goals and was not released, and the follow-up MC68060 was released into a market saturated by much faster RISC designs. The 68K family faded from the desktop in the early 1990s.

64-bit designs

64-bit microprocessor designs have been in use in several markets since the early 1990s, the early 2000s saw the introduction of 64-bit microprocessors targeted at the PC market.With AMD's introduction of a 64-bit architecture backwards-compatible with x86, x86-64 (now called AMD64), in September 2003, followed by Intel's near fully compatible 64-bit extensions (first called IA-32e or EM64T, later renamed Intel 64), the 64-bit desktop era began. Both versions can run 32-bit legacy applications without any performance penalty as well as new 64-bit software. With operating systems Windows XP x64, Windows Vista x64, Linux, BSD and Mac OS X that run 64-bit native, the software is also geared to fully utilize the capabilities of such processors. The move to 64 bits is more than just an increase in register size from the IA-32 as it also doubles the number of general-purpose registers.