Skip to main content

Computer Buses

Computer Buses

  A computer system consists of different devices.CPU must be able to communicate with all devices. The devices are connected together by a communications channel called bus. A bus consists of a set of communication lines or wires. It is used to move a large amount of bits in the form of electrical pulses from one unit to another. The bus is used to connect the following units:

  • Central Processing Unit
  1. Control Unit 
  2. Arithmetic and Logic Unit
  • Main Memory ( RAM, ROM)
  • Input / Output Devices
Bus is a common path to transfer data and commands between CPU, memory and input / output devices.It is also used to send or receive data from secondary storage.The capacity of a bus depends on the number of data lines in it.A bus with 16 lines can carry 16 bits or 2 bytes at a time. A bus with 32 lines can carry 32 bits or 4 bytes at a time .

Types Of  Buses


Different types of buses are as follows:

1. Data Bus

2.Address Bus

3.Control Bus 






1.Data Bus:
Data bus is the most common bus. It is used to carry data.It is an electrical path that connects CPU, memory, input / output devices and secondary storage devices.The bus contains parallel set of lines. The number of lines affects the speed of data transfer between different components. A data bus with more lines can carry more data.A data bus with 16 lines can carry 16 bits ( 2 bytes ) of data. A bus with 32 lines can carry 32 bits ( 4 bytes ) of data.

2.Address Bus :
Address bus is used to carry address information. It is a set of wires similar to data bus. It only connects central processing unit and memory. The following steps take place when CPU needs data from the memory:
  • CPU places the address of required data on address bus.
  • The address is carried to the memory.
  • The data from the requested address is fetched and placed on data bus. 
  • The data bus carries the data to CPU.
The number of lines in the address bus determines the maximum number of memory addresses.If an address bus has 8 lines, the maximum number of memory locations that can be addressed are 2 = 256. The computers used today have 32 bit address lines .These computers can access 4GB of memory.

3.Control Bus:
Control bus is used to transmit different commands or control signals from one component to another component. Suppose CPU wants to read data from main memory. It will use control bus to send the memory read command to the main memory of computer. The control bus is also used to transmit control signals like ACKS( Acknowledgement  signals) A control signal contains the following:
  • Timing Information:It  specifies the time for which a device can use data and address bus.
  • Command Signal:It specifies the type of operation to be performed . 
Suppose that CPU gives a command to the main memory to write data . The memory sends acknowledgement signal to CPU after writing the data successfully.CPU receives the signal and then moves to perform some other action.

Comments

Popular posts from this blog

Steps to remove google accounts from Computer

Open Google . You will see a round shaped picture of google account picture in top right corner as marked in below picture Click on it. Click on sign out of all accounts Click on Sign In at the top right corner as shown in picture below. Click on it. You will see following screen. Select your desired account from it and sign in . Reopen your form by clicking link provided to you, It will be open now.

Steps of splitting pdf files

Goto https://www.ilovepdf.com/split_pdf Click on Select PDF File. Upload your pdf file here. Select Extract Pages from right menu. Click on Split pdf button and wait for the procedure. Now Click on Download Split PDF and you will get a zip file in which there will be separate pdf.

Introduction to Object Oriented Programming ( OOP )

Object-Oriented Programming Object Oriented programming is a programing model that is based upon data and object. Classes   Classes are the blueprint of objects. Now you will think about what actually blueprints are. Blueprints are actually a design or plan to build something. Let's take an example like the map is detail plan of house classes are detail plan in  Object-Oriented programming. let's give you an example of a class on java so that you can unferstand. public class Car {          int horsePower;     String name;     String color;      String Company; } public class Sample {     public static void main(String[] args) {         Car car;         Car mehran;             } } Class name always start with capital letters . It is a good practice to name classes .  We will later learn how this is good. So in the above class Car ...