Table of contents
1.
Introduction
2.
Bus Transfer
2.1.
Bus Transfer using multiplexer
2.2.
Bus Transfer using three-state buffer
3.
Memory Transfer
3.1.
Read Operation
3.2.
Write Operation
4.
Frequently Asked Questions
4.1.
What is bus and memory transfer?
4.2.
How does memory transfer work?
4.3.
Which of the bus is used for data transfer?
5.
Conclusion
Last Updated: Jun 2, 2024
Medium

Bus and Memory Transfer

Author HET FADIA
1 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Bus Transfer is the most efficient way to transfer data. The data transferred in the bus transfer is collected using bus lines. Similarly, the transfer of data from the memory unit to the outside environment and vice versa is known as memory transfer.

bus and memory transfer

Bus Transfer

  • In a digital system of registers, a path must be provided to move information.
  • Suppose separate lines are used between each register and all other registers in the system. In that case, the number of wires connecting all of the registers will be excessive because we are connecting each register with another register.
  • A bus structure will not require an excessive connection. Thus it is very useful in transferring information.
  • A bus is made up of a collection of common lines, one for each bit of a register, that are used to transfer binary data one by one.

There are two methods in bus transfer:

  • Bus transfer using Multiplexer
  • Bus transfer using Three states bus buffer

Bus Transfer using multiplexer

We can generate a common bus using a multiplexer. Multiplexer helps us choose the source register to put the binary data on the bus. Control Signal controls the input and output gating.

bus transfer using multiplexer

In the above figure

  • Ri is the register. Rin and Rout are its input and output gating signals of Register Ri, respectively. When Rin is set to 1, the data is loaded into the register bus Ri. When Rout is set to 1, the data of the register bus Ri is loaded into the register bus.
  • Z is the register, and Zin and Zout are the input and output gating signals of Register Z.
  • Similarly, Y is the register and Yin and Yout are the input and output gating signals of Register Y.

Bus Transfer using three-state buffer

  • We can also generate a bus system using three-state gates instead of multiplexers.
  • Three State Buffer helps us generate a common bus. 
  • Here the three-state gates are similar to the digital circuit having three gates. Here the first two are similar to having logic 0 and 1. The third gate is in a state of high impedance.
bus transfer using three-state buffer

Figure showing three-state buffer

Memory Transfer

There are two memory operations in memory transfer

  • Read Operation: It is the transfer of the data from memory to the outside environment.
  • Write Operation: It is the transfer of the new data to be stored to the memory. 

Let us have a look at some of the registers and abbreviations used for memory:

  • MBR: MBR stands for memory buffer register. It is also known as (Memory Data Register) MDR. It stores the data being transferred to and from memory.
  • MAR: The Memory Address Register(MAR) is the CPU register used to store the memory’s address at which the data is stored and fetched. It is often represented as AR(Address Register). M represents the memory word.

Read Operation

The transfer of data from the Address Register into the Memory Buffer Register is known as the Read Operation.

The read operation is represented by  MBR ← [AR] M . It states that the Memory Unit M is transferred from [AR] representing Address register to Memory Buffer Register (MBA).

Write Operation

Write Operation is the transfer of new data into the memory. 

The write operation is denoted by [AR] M ← R1. It states that the Memory M from Register R1 is transferred to Address Register([AR]).

write operation

Figure showing Read and Write operation on the memory unit.

Must Read hardwired and microprogrammed control unit and what is middleware

Frequently Asked Questions

What is bus and memory transfer?

A bus transfer is an effective way of transferring data by using bus systems. While Memory transfer means the transfer of data from memory to the external environment or the transfer of new data into the memory.

How does memory transfer work?

Memory transfer involves moving data between different memory locations, typically between the CPU and RAM or between RAM and storage devices, using data buses.

Which of the bus is used for data transfer?

In computer architecture, the data bus transfers the data between various components like CPU, memory, and I/O devices. The number of parallel lines of the data bus determines the number of bits it can transfer in a single bus cycle.

Conclusion

Cheers if you reached here!! 

This article discusses the bus and memory transfer in detail. We also discussed the types of memory transfer.

Check out related blogs to learn more about registers and memory below

Check out Coding Ninjas Studio to learn more about computer networksOOPsDBMScompetitive programmingDSAattempt mock testsinterview preparation, and much more.

Happy Learning!!!

Live masterclass