1.50 Hardware Infrastructure Report
CPU
The Central Processing Unit (CPU) is a computer component that converts data input into information output. It is a complicated and broad set of electronic circuits that performs compiled instructions. All computers and laptops must have a central processing unit to operate as it acts as the ‘brain’ of the device. There are numerous ways of referring to a CPU, such as processor, microprocessor or central processor. Compared to some older models, the more recent models are small, square and have connectors underneath it. The CPU is attached to the slot or socket of the motherboard. It is usually secured and held down by a small lever.
Main Functions of a CPU
The main purpose of a CPU is to decode any
…show more content…
Within a program exists millions of instructions, which are each stored at a specific address. These instruction addresses are recorded by the program counter. The program counter is a system within the CPU that takes note of the position of the CPU when a program is running, which are the instruction addresses. Addresses are transferred through the address bus to be used from the memory while instructions go through the data bus to reach the instruction register.
Decode The CPU has an “assembler” that is able to translate Assembly Language into binary code. From this, instructions can be read and executed. Assembly Language is a language that only the CPU can understand but different CPUs may have different versions of Assembly Languages. Despite what code a program is written in, the code will be broken down to the CPUs Assembly Language to carry out this process.
Execute
The CPU is able to carry out three different steps corresponding to the instructions. The first possible step is to use its Arithmetic Logic Unit (ALU), which is able to process and calculate mathematical operations. The second possible step is to transport data from a location to another. The last possible step is to jump to the addresses of other instructions depending on the CPU’s
The Operating System manages the flow of data and tells the processor what component needs to be doing. It does this my relaying one piece of information at a time but done so fast it seems it is doing it all at the same time. It does this by giving the information to the processer in computer language, so it can understand.
Processor: A computer processer, otherwise known as the CPU (Central Processing Unit) is a part of the computer that receives input and decides that the output will be. Many modern CPUs are capable of processing trillions of calculations per second. The speed of a processor measured by how many operations a CPU can do in one second; this is done in MHz or GHz (Megahertz or Gigahertz). A processer with the speed of 1 MHz does 1,000,000 operations per second, and a 1GHz processer does 1,000,000,000 operations per second. This is known as the clock speed.
What do CPU’s do? The CPU is the Central Processing Unit; its aim is to be there the act as the brain of the computer. Other common name for the CPU is the processor. It is in control of the power the computer is receiving and using and the calculations that enable to the computer to be used. CPUs come in differing form factors and each has a particular way in which it will fit on to the motherboard. The most common manufactures of this part that people will know are Intel and AMD. The CPU is in charge of allowing programmes to be used. The CPU sorts the commands of a program into an order which enables it to be used.
A CPU, is what is regularly alluded to as a processor. A processor contains numerous discrete parts inside it, for example, one or more memory reserves for directions and information, guideline decoders, and different sorts of execution units for performing number juggling or legitimate operations.
a. The CPU tells the RAM which address holds the data that the CPU wants to
1. Consider a processor that supports virtual memory. It has a virtually indexed physically tagged cache, TLB, and page table in memory. Explain what happens in such a processor from the time the CPU generates a virtual address to the point where the referenced memory contents are available to the processor.
The processor (otherwise known as CPU) is the very soul and performance core of the computer system; it is what allows the operating system and other software applications to-run. Every program demands dedication from the processor to decode commands that are then actionedinside the CPU to make them work.When a program is running, the CPU has to make every command work consistently one after the other. However, modern processors have the power to process commands side by side. This means that the quicker the commands are executed, the quicker the program responds to the user. Central Processing Units (CPUs) play an important role when it comes to maintaining
Computer only understand 0 and 1 so everything typed on the keyboard input tab CPU convert into 0s and 1s.e.g. If you input the number 230 and 60 and want to have a result of the sum of these two numbers computer do not understand this number. These numbers go to the RAM then to CPU. Inside CPU electronic component known as control unit receive order from RAM in form of instruction then it breaks down into specific commands for others components.
The objective of this lab is to be able to understand how the CPU functions work, as well as understanding machine and assembly language.
There are two types of control unit which are hardwired and micro program where hardwired are for fixed architecture and are typically RISC and cost more than micro program because of the time required to design the circuits , but they are faster. Micro program control units are slower than hardwired but are easier and cheaper to implement as the instructions are stored in special control memory. The control unit controls all data going in, out and inside the CPU. The control unit decodes the data from ram and turns it into an instruction depending on what instruction set the control unit is programed or hardwired to have. Then if the instruction involves any logic or mathamatical caluculations it gets sent to the alu
A.The CPU tells the RAM which address holds data that the CPU wants to read.
Each programming language uses a piece of software, called a compiler or an interpreter, to translate your program code into machine language. Machine language is also called binary language, and is represented as a series of 0s and 1s. The compiler or interpreter that translates your code tells you if any programming language component has been used incorrectly. Syntax errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every syntax error. If you write a computer program using a language such as C++ but spell one of its words incorrectly or reverse the proper order of two words, the software lets you know that it found a mistake by displaying an error message as soon as you try to translate the program.
Assembly language is converted into executable machine code by a utility program referred to as an assembler; the conversion process is referred to as assembly, or assembling the code.
Since each instruction type that a computer must perform requires additional transistors and circuitry, a larger list or set of computer instructions tends to make the microprocessor more complicated and slower in operation.
Von Neumann architecture is a type of computer architecture model that acts as a store-program digital computer which uses a processing unit and a separate storage system that holds instruction and data. The processing unit is a combination of the control unit which has program counter and an instruction register and processor registers with an Arithmetic logic Unit (ALU). The memory unit is a block of shared storage registers that stores both data and instructions (Petterson & Lennessy, 2014). The memory block has a data bus and an address bus for communication with the processor. A Von Neumann system is characterized by a common bus that does both instruction fetching and operations of data. This means handling of data and instructions has to be done in sequential order which is known as Von Neumann Bottleneck, since the bus cannot operate in a full duplex manner.