What is Computer Architecture? – Computer architecture deals with the functional behavior of a computer system as viewed by a programmer. It can also be described as the logical structure of the system unit that housed electronic components.
The computer architecture forms the backbone fro building successful computer systems.
What is Computer Architecture?
Components of Computer
A computer consists of following main components:-
- Input/Output (I/O) Unit
- Central Processing Unit
- Memory Unit.
The computer accepts coded information through input unit by the user. It is a device that is used to give required information to the computer. e.g keyboard, mouse, etc.
An input unit performs the following functions:-
- It accepts the instructions and data from the user.
- It converts these intructions and data in computer in acceptable format.
- It supplies the converted instructions and data to the computer system for further processing.
This unit sends the processed results to the user. It is mainly used to display the desired result to the user as per input instruction. E.g video monitor, printer and plotter, etc.
The following funtions are performed by an output unit:-
- It accepts the results produced by the computer which are in coded form and hence cannot be easily understood by us.
- It converts these coded results to human acceptable form.
- It supplies the converted results to the user.
Central Processing Unit (CPU)
it consists of set of registers, arithmetci logic unit and control unit, which together interpret and execute instuctions in assembly language.
The primary functions of the CPU are as follows:-
- the CPU transfers instructions and input data from main memory to registers, i.e internal memory.
- The CPU executes the instruction in the stored sequence.
- When necessary, CPU transfers output data from registers to main memory.
Central Processing Unit is often called the brain of computer. The CPU is fabricated as a single Integrated CIrcuits (IC) and is also known as Microprocessor.
A CPU controls all the internal and external devices and performs arithmetic and logic operations.
The CPU consists of following main sub-systems:-
Arithmetic Logic Unit (ALU)
ALU consits the electronic circuitry that executes all arithmetic and logical operations on the available data.
ALU uses Registers to hold the data that is being processed.
Most ALUs can perform the following operations:-
- Logical operations (AND, NOT, OR, XOR)
- Arithmetic operations (additions, subtraction, multiplications and division.)
- Bit-Shifting operations (shifting or rotating a word by a specified number of bit to the left or right with or without sign.)
- Comparison operations (=, <, <=, >, >=)
These are special purpose and high-speed temporary memory units. Registers are not referenced by their address, but are directly accessed and manipulate by the CPU during execution. Registers store data, instructions, address and intermidiate results of processing. The number and size of registers vary from processor to processor
CU coordinates with input and output devices of a computer. It directs the computer to carry out stored program instruction by communicating with the ALU and the registers. It organizes the processign of data and instructions.
The Basic functions of control unit is to fetch the instruciton stored in the main memory, identify the operations and the devices involved in it and accordingly generate control signals.
The microprocessor is the controling element in a computer system and is sometimes referred to as the chip. Microprocessor is the main hardware that drives the computer. It is large Printed Circuits Board (PCB) , which is used in all electronic systems such as computer, calculator, digital system, etc. The speed of CPU depends upon the type of microprocessor used.
- Intel 4004 was the first microprocessor made by Intel in 1971 by scientist Ted Hoff and Engineer Frederico Faggin.
- Some of the popular microprocessor are Intel core i7, Intel, Dual Core, Pentium IV, Etc.
What is Computer Architecture?
The main circuit board contained in any computer is called motherboard. It is also known as the main board or logic board or system board or planar board. The Biggest piece of silicon housed in the system unit of a computer is motherboard.
All the other electronic devices and circuits of conputer system are attached to this board like, CPU, ROM, RAM, expansion slots. PCI Slots and USB ports. It also includes controllers for devices like the hard drive, DVD drive, keyboard and mouse. In other words, motherboard make everything in a computer work together.
What is Computer Architecture?
Interconnection Of Units
CPU Sends the data, instruction and information to the components inside the computer as well as to the peripheral devices attached to it.
In other words, A bus is a set of wires used for interconnections, where each wire can carry one bit of data. In Other words, bus is a set of electronic signal pathways that allows information and signals to travel between components inside or outside of a computer.
A computer bus can be divided into two types:-
- Internal Bus:- The Internal Bus connects components inside the motherboard like, CPU, and system memory. It Is call the System Bus.
Internal Bus can be diveded into two types:-
- The command to access the memory or the I/O device is carried by the control bus.
- The address of I/O device or memory is carried by the address bus. the data to be transfered is carried by the data bus.
- External Bus:- The External bus connects the different external devices; peripherals, expansion slots, I/O ports and drive connections to the rest of computer. It is also referred to as the expansion bus.
UPS – (Uninterruptible Power Supply), is an electrical appratus that provides emergency power to a load when the input power source or mains power fails.
Buffer – Buffer is a temporary storage where register holds the data for further execution.
Accumalator:- Accumalator is a register in a CPU in which intermediate arithmetic and logic results are stored.
The Performance or computer is affected by the size of registers, size of RAM, speed of system clock and size of cache memory.
The Speed Of Performance is measured in millions of cycles per second or megahertz (MHz.)
The instruction cycle represents the sequece of events that take place as an instruction is read from memory and executed.
A simple instrucion cycle consists of the following steps:-
- Fetching the instruciton from the memory
- Decoding the instruction for operation.
- Executing the instruction.
- Storing in memory.
In above steps, step 1 and 2 instruction are same and known as fetch cycle and step 3 and 4 instruction are different and known as execute cycle.
Computer understands instrucions only in terms of 0’s and 1’s. which is called the machine language. A computer program is a set of instruction that describe the steps to be performed for carrying out a computational task. The processor must have two inputs; instructions and data.
The instrucitonns tell the processor what actions are needed to be performed on the data. An instruction is further divided into two parts; operation (op-code) and operand. The processor must execute and the operand defines the parameter of the action and depends on the operation.
Machine Cycle :- it is defined by the time. that takes to fetch two operands from registers and performs the ALU operation and stores the result in a register.
Pipelining – it improves execution speed by the putting the execution steps of several instruction into parallel.
Sockets – Sockets are the connecting points of chip on the motherboard.
Load instrucitons is used for loading data into CPU accumalator register from memory.
If You Like This Information Please Comment Down For More Networking Content Click Here