Saturday, July 11, 2015

FUNCTIONAL UNITS OF A COMPUTER

FUNCTIONAL UNITS OF A COMPUTER:-PC is a gadget that works upon data or information. It is an electronic gadget which acknowledges information, stores the information, does number juggling and rationale operation and yields the data in craved configuration.
Despite the fact that the size, shape, execution, dependability and expense of PCs have been changing throughout the years, the fundamental coherent structure proposed by Von Neumann has not change. The inward building design of PCs varies starting with one framework demonstrate then onto the next. A piece chart of the essential PC association indicating distinctive utilitarian units is demonstrated as follows. Here the strong lines demonstrate the stream of direction and information and the spotted lines speak to the control practiced by the control unit.

 
INPUT UNIT :-

Data unit acknowledges coded data from human administrators through electromechanical gadgets, for example, the console or from different PCs over advanced correspondence lines. The data got is either put away in the memory for later reference or promptly utilized by the Arithmetic and Logic hardware to perform the coveted operation. At long last the outcome is sent back to the outside through the yield unit. The console is wired so that at whatever point a key is squeezed, the relating letter or digit is consequently interpreted into its comparing code and sent straightforwardly to either the memory or the processor. Different sorts of information gadgets: Joy stick, track ball, mouse (guiding gadgets), scanner and so on.

MEMORY UNIT :-
The memory unit stores system and information. There are two classes of memory gadgets :- Primary memory and Secondary memory.
Primary memory (Main memory)
⦁     Contains a large number of semiconductor cells each capable of storing one bit of information.
⦁     These cells are processed in group of fixed size called words containing ‘n’ bits. The main memory is organized such that the contents ofone word can be stored or retrieved in one basic operation.
⦁     For accessing data, a distinct address is associated with each word location.
⦁    Data and programs must be in the primary memory for execution.
⦁    Number of bits in each word is called the word length and it may vary from 16 to 64 bits.
⦁     Fast memory
⦁    Expensive
⦁    Time required to access one word is called Memory Access Time - 10nS to 100nS. This time is fixed and independent of the location. E g. Random Access Memory (RAM).
Secondary storage
⦁     They are used when large amount of data have tobe stored (also when frequent access is not necessary) E.g. Hard Disk, Compact Disk, Floppy Disk, Magnetic Tapes etc.

PROCESSOR UNIT :-
⦁     The heart of the PC framework is the Processor unit. It comprises of Arithmetic and Logic Unit and Control Unit.
Math and Logic Unit (ALU):-
⦁    Most PC operations (Arithmetical and coherent) are executed in ALU of the processor.
⦁    For instance: Suppose two numbers (operands) situated in the primary memoryare to be included. These operands are brought into math unit – real expansion is conveyed. The outcome is at that point put away in the memory or held inthe processor itself for prompt utilization.
⦁    Note that all operands may not live in the primary memory. Processor contains various fast stockpiling components called Registers, which may be utilized for impermanent stockpiling of every now and again utilized operands. Every register can store single word of information.
⦁    Access times to registers are 5 to 10 times quicker than access time to memory.

Control Unit :-
⦁     The operations of the considerable number of units are facilitated by the control solidarity (go about as the operational hub that sends control sign to different units).
⦁    Timing flag that oversees the I/O exchanges are produced by the Control Unit.
⦁    Synchronization signs are likewise produced by the Control Unit.
⦁    By selecting, translating and executing the project guidelines the system directions the control unit has the capacity keep up request and direct the operation of the whole framework.
The control unit and ALU's are generally numerous timesfaster than different gadgets associated with a PC framework. This empowered a solitary processor to control various outer gadgets, for example, feature terminals, attractive taped, plate recollections, sensors, shows and mechanical controllers which are much slower than the processor.

OUTPUT UNIT :-
⦁    Counter piece of information unit.
⦁    Output gadgets acknowledge parallel information from the PC - translates it into unique structure and supplies this outcome to the outside world. E.g. Printer, Video terminals (gives both information & yield capacities), realistic presentations.

Basic Operational Concepts:-

⦁     Activity in a PC is administered by directions.
⦁     To perform a given errand, an arrangement of directions called system must be there in the fundamental memory .
⦁    Individual directions are brought from the memory into the processor which executes the particular operation.
⦁    Data to be utilized as operands are additionally put away in the mem.
E.g.Add LOCA, R0
This direction includes the operandat the memory area LOCA tothe operand in the Processor R0 furthermore, puts the total into the register R0. Here the first substance of LOCA are saved while those of R0are overwritten.
Steps:-
Memory access operation-  1.  Instruction is fetched from the main memory into the processor .
2.  Operand at LOCA is fetched.
ALU operation-  3.  Add the contents to the contents of R0.
4.  Finally store the result in R0
NOTE:-  Information exchange between the primary memory and the processor are begun by sending the location of the memory area to be gotten to the memory unit and issuing the proper control motion by the control unit.

No comments:

Post a Comment