



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Little background info :
According to computer architecture, a bus is defined as a system that transfers data between hardware components of a computer or between two separate computers.
System bus is a single bus that helps all major components of a computer to communicate with each other. It is made up of an address bus, data bus and a control bus.
Image source : Google Images
Data bus and Address bus?
The data bus carries the data to be stored , while address bus carries the location to where it should be stored.
1) Address Bus : Address bus is a part of the computer system bus that is dedicated for specifying a physical address.
--> When the computer processor needs to read or write from or to the memory, it uses the address bus to specify the physical address of the individual memory block it needs to access (the actual data is sent along the data bus).
--> More correctly, when the processor wants to write some data to the memory, it will assert the write signal, set the write address on the address bus and put the data on to the data bus.
Similarly, when the processor wants to read some data residing in the memory, it will assert the read signal and set the read address on the address bus. After receiving this signal, the memory controller will get the data from the specific memory block (after checking the address bus to get the read address) and then it will place the data of the memory block on to the data bus.
Good to know : The size of the memory that can be addressed by the system determines the width of the address bus and vice versa. For example, if the width of the address bus is 32 bits, the system can address 2^32 memory blocks (that is equal to 4GB memory space, given that one block holds 1 byte of data).
2) Data Bus : A data bus simply carries data.
Typically, the same data bus is used for both read/write operations.
--> When it is a write operation, the processor will put the data (to be written) on to the data bus.
--> When it is the read operation, the memory controller will get the data from the specific memory block and put it in to the data bus.
Good to know :
--> The data bus consist of 8, 16, or 32 parallel lines.
--> The data bus is bidirectional bus, means the data can be transferred from CPU to main memory and vice versa.
--> The number of data lines used in the data bus is equal to the size of data word being written or read.
--> The data bus also connects the I/O ports and CPU. So, the CPU can write data to or read it from the memory or I/O ports.
What is the difference between Address Bus and Data Bus?
-> Data bus is bidirectional, while address bus is unidirectional.
--> That means data travels in both directions but the addresses will travel in only one direction. The reason for this is that unlike the data, the address is always specified by the processor.
The width of the data bus is determined by the size of the individual memory block , while the width of the address bus is determined by the size of the memory that should be addressed by the system.
Inside computers, there are many internal components. In order for these components to communicate with each other they make use of wires that are known as a ‘bus’.
Functions of Buses in Computers
Summary of functions of buses in computers
The buses transfer or send data in either serial or parallel method of data transfer. This allows for the exchange of 1, 2, 4 or even 8 bytes of data at a time. (A byte is a group of 8 bits). Buses are classified depending on how many bits they can move at the same time, which means that we have 8-bit, 16-bit, 32-bit or even 64-bit buses.
Address bus is unidirectional because the memory can be pointed with an address, but processor/controller cannot be pointer with an address by the memory device...
It is a group of wires or lines that are used to transfer the addresses of Memory or I/O devices. It is unidirectional. In Intel 8085 microprocessor, Address bus was of 16 bits. This means that Microprocessor 8085 can transfer maximum 16 bit address which means it can address 65,536 different memory locations.
A ‘bus’ in a computer is a pathway that carries data between different components of the system. For instance, if the CPU wants to get its next instructions from memory, or send data to a disk or to a graphics chip for processing, those bytes of data are carried between the components on a bus. The analogy is to an actual city bus, where passengers (the data) are picked up at one location and dropped off at another location, where other passengers are picked up and brought back to the first.
Address Bus : It is a group of wires or lines that are used to transfer the addresses of Memory or I/O devices. It is unidirectional.In Intel 8085 microprocessor, Address bus was of 16 bits. This means that Microprocessor 8085 can transfer maximum 16 bit address which means it can address 65, different memory locations. This bus is multiplexed with 8 bit data bus. So the most significant bits (MSB) of address goes through Address bus (A7-A0) and LSB goes through multiplexed data bus (AD0-AD7).
Data Bus :As name tells that it is used to transfer data within Microprocessor and Memory/Input or Output devices. It is bidirectional as Microprocessor requires to send or receive data. The data bus also works as address bus when multiplexed with lower order address bus. Data bus is 8 Bits long. The word length of a processor depends on data bus, thats why Intel 8085 is called 8 bit Microprocessor because it have an 8 bit data bus.
Control Bus : Microprocessor uses control bus to process data, that is what to do with the selected memory location. Some control signals are Read, Write and Opcode fetch etc. Various operations are performed by microprocessor with the help of control bus. This is a dedicated bus, because all timing signals are generated according to control signal. Microprocessor : Microprocessor is the heart of any processing device. Its a basic building block of modern processors and controllers. Its a register based multi-purpose electronics device which takes input from us, process that input data according to the program written in external memory and gives us useful results. This device is only consists of processing unit, that is Memory and I/O devices are need to be connected externally. As it requires external memory and I/O devices so it requires large space and is larger in size. It is of no use without interfacing with external memory and I/O ports.
Microcontroller : Microcontroller is also like a Microprocessor except that a Microcontroller made by Integrating Memory and I/O ports on a single chip. It doesn't requires external ROM, I/O ports for its operation. As memory such as ROM/RAM is integrated on a single IC chip, thus it is small in size. It is basically used for controlling various machines. Programming of both Microcontroller And Microprocessor is almost similar.
Applications and Uses of Microprocessor:
In Control Units : Microprocessors are used widely as controllers in industries and home appliances. In industries, we uses them to control temperature, speed of motor and other parameters. On the other side we also use them in our home appliances like Microwave Oven and Washing machine etc.
In Instruments : In this field, we use microprocessors in other instruments that may be lab instruments or industry instruments. This type is just like above. Some examples are: Frequency Counters, Function Generators and Spectrum Analyzers. In Communication Systems: Microprocessor is widely used in communication systems. In telephone industry they are used in telephone handsets, Telephone Exchanges and Modulator-Demodulator etc. Microprocessors are also used in television broadcasting and satellite communication.
In other Office and Home Applications : As we all know about Personal Computers and almost we all have them at our homes, offices etc. So we daily uses them for different tasks. Daily new software programs are made to do things more quickly. Microprocessors are also used in some toys and other entertainment appliances. Their are also many sectors where we make use of microprocessors.