L-1.4:Types of Buses (Address, Data and Control) in Computer Organization and Architecture

Gate Smashers
11 Aug 201907:59

Summary

TLDRIn this educational video, the presenter delves into the intricacies of computer architecture, focusing on the types of buses and their functions. The address bus, carrying memory addresses, is explained with examples like the 8085 microprocessor, which has a 16-bit address bus allowing access to 65536 memory slots. The data bus, bidirectional and responsible for transferring data between components, is also discussed, with its size depending on the word size of the system. Lastly, the control bus, crucial for sending control and timing signals, is highlighted as essential for coordinating the execution of instructions. The video emphasizes the importance of understanding these fundamental concepts for a solid grasp of computer architecture.

Takeaways

  • 🚌 **Types of Buses**: The video discusses three main types of buses in computer architecture: address bus, data bus, and control bus, each with specific roles.
  • 📍 **Address Bus Function**: The address bus carries memory addresses to specify the location from which data is to be fetched or to which data is to be sent.
  • 🔢 **Address Bus Calculation**: The number of bits in the address bus determines the total memory slots available, calculated as 2 raised to the power of the number of bits.
  • 💾 **Example of Address Bus**: In the case of an 8085 microprocessor, a 16-bit address bus allows for 65536 memory slots.
  • 🛤️ **Unidirectional Address Bus**: The address bus is unidirectional, meaning it is used to send addresses from the processor to memory or input/output devices but not the other way around.
  • 📊 **Data Bus Bidirectionality**: Unlike the address bus, the data bus is bidirectional, allowing data to be transferred to and from the processor.
  • 🔄 **Data Bus and Registers**: The data bus is used to transfer data between the processor, memory, and input/output devices, as well as within the microprocessor's internal registers.
  • 🗂️ **Data Bus Size**: The size of the data bus is determined by the size of the word, which is the amount of data that can be stored at a memory location.
  • ⏲️ **Control Bus Role**: The control bus carries control and timing signals, which are managed by the control unit to ensure proper instruction execution timing.
  • 👨‍🏫 **Importance of Understanding Buses**: A clear understanding of how buses function is fundamental to grasping larger concepts in computer architecture.

Q & A

  • What are the three main types of buses in computer architecture discussed in the video?

    -The three main types of buses discussed are the address bus, data bus, and control bus.

  • What does the address bus carry in a computer system?

    -The address bus carries the memory addresses to which the CPU or microprocessor needs to access data.

  • How is the number of slots in memory determined by the address bus length?

    -The number of slots in memory is determined by 2 raised to the power of the address bus length in bits.

  • What is the length of the address bus in an 8085 microprocessor?

    -The length of the address bus in an 8085 microprocessor is 16 bits.

  • What does a 16-bit address bus allow for in terms of memory slots?

    -A 16-bit address bus allows for 2^16, or 65,536 memory slots.

  • What is the function of the data bus in a computer system?

    -The data bus is responsible for carrying the actual data between the CPU, memory, and input/output devices.

  • Is the data bus unidirectional or bidirectional?

    -The data bus is bidirectional, allowing data to be transferred both to and from the CPU.

  • What is the relationship between the size of the data bus and the size of the data or word in memory?

    -The size of the data bus is determined by the size of the data or word being transferred, which can be up to the maximum size of data that can be stored in a memory location.

  • What does the control bus carry and what is its purpose?

    -The control bus carries control and timing signals, which are used to coordinate the execution of instructions and manage the flow of data within the computer system.

  • Why is the control unit important for the proper functioning of a computer system?

    -The control unit is important because it generates the necessary control signals and timing for the execution of instructions, ensuring that operations are performed correctly and in the right sequence.

  • What advice does the presenter give to students trying to understand computer architecture?

    -The presenter advises students not to cram and instead focus on understanding the small concepts, as this will help them grasp the bigger concepts more effectively.

Outlines

00:00

🚌 Introduction to Buses in Computer Architecture

This paragraph introduces the topic of different types of buses in computer architecture and the basis for their design. It explains the roles of the address bus, data bus, and control bus. The address bus carries memory addresses, allowing the CPU to access specific locations in memory or input/output devices. The data bus facilitates the transfer of data between components, and it is bidirectional, unlike the address bus, which is unidirectional. The control bus carries control and timing signals, which are managed by the control unit to ensure proper execution of instructions. The paragraph uses the 8085 microprocessor as an example to illustrate these concepts, discussing the significance of the bus lengths in relation to the memory capacity and data size.

05:01

🔢 Understanding Data and Control Buses in Detail

The second paragraph delves deeper into the functionality of the data and control buses. It emphasizes the importance of the data bus's size, which is determined by the word size of the system, and in the given example, it is 16 bits, allowing it to carry two bytes of data. The paragraph also clarifies how the control bus operates, discussing the necessity of control signals for various operations such as loading data into registers, incrementing values, and memory read/write operations. The control unit's role in generating these signals and managing the timing of instruction execution is highlighted. The paragraph concludes with advice for students to understand these fundamental concepts thoroughly, as they form the basis for grasping more complex aspects of computer architecture.

Mindmap

Keywords

💡Bus

A bus in computer architecture refers to a subsystem that transfers data between components. It is a shared communication path that allows data, address, and control signals to be transmitted between different parts of a computer system. In the video, the presenter discusses different types of buses, such as the address bus, data bus, and control bus, highlighting their roles in facilitating communication within a computer.

💡Address Bus

The address bus is a part of a computer's hardware architecture that carries address information from the CPU to memory or input/output devices. It determines the maximum amount of memory that can be accessed by the CPU. In the script, the presenter uses the 8085 microprocessor as an example, explaining that its 16-bit address bus allows access to 65536 memory locations.

💡Data Bus

The data bus is responsible for transferring actual data between different parts of a computer system, such as between the CPU and memory or peripherals. It is bidirectional, meaning data can flow in both directions. The script mentions that the size of the data bus determines the amount of data that can be transferred at once, with the example of a 16-bit data bus being able to carry 16 bits of data.

💡Control Bus

The control bus carries control signals that manage the operations of the computer, such as timing and synchronization of various components. It is used by the control unit to coordinate the execution of instructions. The script explains that control signals are crucial for ensuring that instructions are executed correctly and in the right sequence.

💡Microprocessor

A microprocessor is a compact integrated circuit that contains the central processing unit (CPU) of a computer. It is the brain of the computer that performs most of the processing inside the computer. The video script uses the 8085 microprocessor as an example to illustrate how address and data buses interact with it.

💡Control Unit

The control unit is a part of the CPU that fetches instructions from memory, decodes them, and coordinates the operation of other parts of the computer to execute those instructions. It uses control signals that travel through the control bus. The script emphasizes the importance of the control unit in managing the timing and execution of instructions.

💡Memory

Memory in a computer system refers to the storage components that hold data and instructions for the CPU. The script discusses how the address bus is used to specify the location in memory from which data is fetched or to which data is written.

💡Input/Output Devices

Input/output (I/O) devices are hardware components that allow a computer to interact with the outside world. Input devices provide data to the computer, while output devices display or process data from the computer. The script explains how the address bus is used to access data from I/O devices.

💡Slots

In the context of the script, slots refer to the individual memory locations that can be addressed by the CPU. The number of slots is determined by the length of the address bus. For example, a 16-bit address bus provides 65536 slots, each of which can be uniquely addressed.

💡Bits

Bits are the smallest units of data in computing and communication. A bit can represent a logical state with two possible values, often interpreted as a 0 or 1. The script uses the term to describe the length of the address and data buses, with implications for the capacity and data transfer capabilities of the system.

💡Registers

Registers are small, fast storage components within the CPU used for temporarily holding data or instructions. The script mentions that data fetched from the data bus is often stored in registers before being processed.

Highlights

Introduction to the types of buses in computer architecture and their purposes.

Explanation of the address bus and its role in carrying memory addresses.

Description of the data bus for transporting data between components.

Role of the control bus in carrying control and timing signals.

Diagrammatic representation of the 8085 microprocessor and its associated control unit.

How the address bus facilitates data fetching from specific memory locations.

Calculation of memory slots based on the address bus length in bits.

Example of a 3-bit address bus and its corresponding memory slots.

Detailing the 8085 microprocessor's 16-bit address bus and its memory capacity.

The significance of the most significant bits (MSB) in addressing.

Functionality of the data bus as a bidirectional pathway for data.

Process of data transfer from input devices to the processor via the data bus.

The importance of the data bus in moving data between registers within the microprocessor.

Influence of the word size on the length of the data bus.

Handling of data size discrepancies through padding with zeros.

The control bus's function in sending control and timing signals for instruction execution.

The necessity of proper timing for instruction execution as managed by the control unit.

Use of control bus for operations like loading, incrementing, and clearing in registers.

Advice for students on understanding computer architecture by focusing on small concepts.

Transcripts

play00:00

Hello friends, welcome to Gate Smashers

play00:02

In today's video, we are going to discuss

play00:04

Types of Buses in Computer Architecture

play00:06

And generally, on what basis do we

play00:08

make these busses?

play00:09

That what is that bus carrying?

play00:11

As you can see in the diagram, address bus, what is it carrying? address!

play00:17

data bus for carrying the data

play00:19

And control bus for carrying the control and timing signals

play00:22

So here according to the diagram, you have.

play00:24

8085 microprocessor And here we have control unit

play00:28

And if we talk about address bus

play00:31

So what is address bus carrying

play00:34

The Address.

play00:35

Like if we talk here in memory In memory or input and output devices

play00:39

If I want to fetch anything

play00:41

To reach any particular location

play00:43

Then what does the CPU or microprocessor do for it?

play00:47

Generates an address And that address will be generated from the address bus

play00:51

And from any particular location we have to fetch the data

play00:55

That location will be in the address bus

play00:58

Like if we talk about 8085 microprocessor

play01:01

So here the address bus length is 16 bits

play01:06

16 bits means

play01:08

Total number of slots in memory is 2 raised to power 16

play01:13

Which is 65536

play01:16

But if I talk about Let's take a simple example

play01:19

The memory we have.

play01:21

In that we have, this address bus The address bus length is let's say 3 bits

play01:26

So what does it mean that in memory we have

play01:30

8 slots 0, 1, 2, 3, 4, 5, 6 and 7

play01:38

So total number of slots will be here? 7!

play01:41

And it has 3 bits What does 3 bits mean?

play01:43

That to represent it we have 00001001001110010110111

play01:53

Means if we say that address bus its length is 3 bits

play01:57

So what is it showing?

play01:59

It is showing that 2 raised to power 3

play02:02

Means 8 slots 8 locations in memory Which we can also call block

play02:08

Means 8 places where the data can be read So generally if we talk about 8085

play02:14

As I said 16 bits So total number of slots in memory is 2 raised to power 16

play02:20

Which is 65536

play02:23

So from these many slots

play02:24

From where do I have to take data?

play02:26

Let's say my slot number is this So I have to take x and its location is 101

play02:31

So what will come in address bus?

play02:33

101

play02:35

And let's say if we have a value of 16 bits And if we have only address 101

play02:42

So what will be the MSB bits?

play02:44

Will be 0000

play02:45

It's simple Address bit shows us

play02:48

How many number of slots are there in memory?

play02:51

And this is unidirectional

play02:53

Means. processor generally generates address

play02:57

And that address from where we have to take it?

play02:59

Let's suppose from memory

play03:01

we have to take some value from input device

play03:03

Or we have to send any value to any output

play03:07

So for that we use address bus here

play03:12

Then if we talk about data bus First of all what is data bus?

play03:15

Unidirectional means let's suppose if we talk here

play03:18

Input device.

play03:19

If we fetch anything from input device

play03:22

Let's say we typed something from keyboard

play03:24

So how will it go from there?

play03:26

It will go first in data bus Let's say it goes in data bus

play03:29

And from data bus it will go to processor

play03:32

We have different types of registers near processor

play03:35

Which we discussed in the previous video Data gets stored in those registers

play03:40

So this is it basically

play03:42

How we have to travel data And if we talk like this from microprocessor

play03:47

Let's say I converted some input to output

play03:50

And I have to show that data on printer

play03:53

Or I have to show that data on monitor

play03:55

which is an output device So how will we show?

play03:58

From here that data will go And it will show in output device So to travel data

play04:04

To send data we use data bus So it can go this way and the other way

play04:11

So it is bidirectional And between the registers also

play04:14

Where all registers are stored? In microprocessor So like we have data registers

play04:19

Temporary registers In these registers also if we have to shift data

play04:24

Then for that we use data bus only And how much this journey will be?

play04:29

It depends on the size of your word Means like we talked about address

play04:35

What address bit shows?

play04:37

That how many locations we have in memory And the length of data bus depends on

play04:43

The size of the data you are taking from this location

play04:49

Let's say, that in any particular location I can store

play04:54

2 bytes, Means the size of word we have

play04:58

We discussed word in last video too

play05:01

we use word basically to represent memory

play05:06

And the size of word we have in this example That is 2 bytes

play05:10

Means I can store 2 bytes in this location

play05:12

2 bytes here, 2 bytes here, 2 bytes there

play05:15

So what does it mean?

play05:16

2 bytes means 16 bits So how many bits can data bus carry?

play05:22

It can carry 16 bits This is how we represent with the data bus

play05:27

So the length of data bus depends on The data you are storing in memory

play05:32

Or the data you are taking from memory How much is that length?

play05:35

And maximum length let's say If we talk

play05:37

about memory Then we have 2 bytes in memory

play05:40

And let's say the data coming from input is 1 byte

play05:46

So there is no problem Now what will happen in 1 byte?

play05:49

That the last 8 bits You give them value

play05:53

And before that the MSB That will be 8 bits

play05:56

0 0 0 0

play05:57

It's simple

play05:58

If the size of data or address is less

play06:02

Then you give the LSB values the same And the MSB bits will be simply 0 0 0

play06:08

Then we have control bus Control bus is basically used

play06:12

To send control signals or timing signals

play06:16

And for this we have dedicated hardware

play06:19

Which is a control unit Because for which instruction to execute

play06:23

There should be complete timing

play06:26

It should not be that if I am executing the instruction later

play06:29

Then it may be that there is a problem in my

play06:32

output So generally we have control signals

play06:33

Let's say if we talk about the register

play06:35

Then we have to load the data in the register

play06:37

So load is a signal Load means in that particular register

play06:42

To load the data I have to activate the load If I want to increment any value

play06:46

Then I can increment Let's say if I want to clear something

play06:50

To clear we generate the control signals

play06:54

If we talk about memory

play06:56

Then if I want to perform read in memory

play06:58

I want to read something from memory

play07:00

Or write something in memory For this we have control signals

play07:04

Which generates control unit And timing means

play07:08

At what time clock pulse should be activated

play07:11

That is what is done by the control unit

play07:13

And all these signals travel through control bus If we talk about input

play07:18

Then if I want to read something from input device

play07:21

And write something from data So for all these values

play07:25

We use control bus for all these purposes So this is simple

play07:30

Although it is a very simple point

play07:31

But if you want to understand computer architecture well

play07:35

Then you have to keep these small points in mind

play07:39

Only then you can do big concepts well

play07:42

Students try to cram directly

play07:44

Don't cram at all We will bring these small topics

play07:48

And as soon as we relate all these topics And make a whole series

play07:52

You will get much more benefit from it

play07:54

So thank you, all the very best.

Rate This

5.0 / 5 (0 votes)

相关标签
Computer ArchitectureBuses TypesData TransferAddress BusData BusControl BusMicroprocessorMemory SlotsControl Signals8085 Microprocessor
您是否需要英文摘要?