The CPU is a device inside your computer that processes all of the information going through your computer. It receives instructions, decodes them and then executes them. It does this really really fast. Lots of modern CPUS are "clocked" at 3GHZ+ which means that the CPU can do this cycle 3 billion times a second. This is per core. Most modern CPUS have 2 or more cores which means that each core can do 3 billion cycles a second. In a multicore processor cores can be allocated to different tasks unlike a single core processor where one core has to do everything.
The cycle of the CPU is simple and involves 3 devices: the ROM/RAM memory and the CPU its self. The CPU will fetch its instructions from the RAM and will then go to the ROM to work out what to do with the instruction. It will then process it and start the cycle again.
The CPU its self has two parts: the control unit, which uses electrical signals to direct the system and execute instructions. The other part, the ALU(arithmetic and logic unit) carries out all arithmetic and logical operations including addition subtraction and comparisons.
Cache is a very small, but very fast amount of memory that is inside the CPU or just outside it. Instructions/data that is used often by the CPU is put here, this is so the CPU does not have to keep checking the main memory which is slower. There is several levels of cache, the higher the level the more cache but slower speed.
Cache is a very small, but very fast amount of memory that is inside the CPU or just outside it. Instructions/data that is used often by the CPU is put here, this is so the CPU does not have to keep checking the main memory which is slower. There is several levels of cache, the higher the level the more cache but slower speed.
An average CPU, common place in most £500 PCs is an Intel I5. This has 4 cores, and each core runs at 3.4GHZ. A CPU like this would cost £140 on its own.
Source:
Source:
Bus
The bus is a circuit that connects key components together on a motherboard. Information travels along the buses between components, for example between a CPU and RAM.
CPU Conponents
Accumulator: the accumulator holds the instruction that is being processed by the CPU RIGHT NOW.
Memory Registers: the memory register holds memory addresses that are in use by the CPU, when the CPU goes to fetch an instruction it looks here for the address of the instruction in the memory.
Arithmetic and Logic unit: This here is where the actual execution of an instruction takes place. The
CPU uses the instruction (the operator) and the memory address it is pointed too (opperand) and uses this to execute the instruction.
Memory Address Register: this contains the register of the opperand in the systems memory, that is being operated on in the accumulator.
Current Instruction Register: this contains the register of the operator that is being executed on an opperand in the accumulator.
Control Unit: the control unit controls what goes where in the CPU for example when the CPU fetches an instruction it will decode it and put it in the accumulator and the registers in the current instruction register and memory address register.
Program counter: this keeps track of where the CPU is in a program
Have a little look again into bus and potential speeds/types and the advantages and disadvantages. Be careful with spelling (components) and look at the formatting of your work here, using sub-headings to highlight the separate topics covered. Images would also help bring a more dynamic flair to the blog.
ReplyDelete