Hardware and Functions of a Micro Processor

Authors Avatar

Ricki Lambert

Computer Systems

M2

Introduction

In this assignment I have been asked to describe, with the aid of diagrams, the hardware (including logic gates, registers, buses, CU, ALU and memory) and its function within a model microprocessor.

Firstly it is important to understand the basics of a microprocessor and outline what its main functions are to be. A microprocessor is known as a central processing unit, the CPU and is madder from silicon to produce an electronic chip. The components of the CP are vast and they shall be outlined in further detail throughout. A processor can be through of as the heart of any computer and will control the logic of almost any digital device; this can be within any household component, not just a personal computer. There are three characteristics of any computer and they are;

  • The instruction set – This is the collection of instructions in the assembly language. Whenever an instruction is developed, the new instruction is chosen at random from the instruction set (with all instructions given an equal probability of being selected).
  • Bandwidth – The number of bits processed into a single instruction
  • Clock speed – This is the frequency that determines how fast devices that are connected to the bus system operate

To make the system / processor faster we can do two things, increase the bandwidth and increase the clock speed. Below is an example of the structure of a microprocessor.

The CPU has four main functions, fetch, decode, execute and write back, these processes will be outlined in greater depth in the latter part of this assignment. Let’s now have a look at some of the microprocessors components.

Logic Gates

Logic gates aid the computer in receiving results dictated by a set of components and rules. The logic gate has several inputs but only one output dependant on the various inputs. It is important to remember tat computers only work in values of zeroes and ones, zero representing low voltage and one representing high voltage. To make the computer system function, by processing useful information these binary values need to be converted in to meaningful logic.

There are several differing types of logic gates and they are;

  • NOT – The NOT gate is sometimes known as an interpreter because it will change the values into the opposite in which they went in. An example of this is one going in and zero coming out (high voltage in, low voltage out)
  • AND – The AND gate is somewhat different to the NOT gate in that this time it takes two inputs rather than just one. For the AND gate to output a high voltage it must receive two inputs of both one. If this condition is not met then the output will be a low voltage. This can be represented in a truth table which can be seen below;
Join now!

 

  • OR – The OR gate is similar to the AND gate in that it again has two input values. This time however if there is an input of 1 at least once then the output will be one. The only time the output will be zero is when both values are zero on input. This is an exact reverse of the AND gate.

 

  • NAND – The NAND logic gate tends to give a only a high voltage output unless both inputs are high voltage in which case a low voltage will be given.
  • NOR ...

This is a preview of the whole essay