What Is Bus in Computers

 All things in all posts will help you visualize about the way that computers work generally. Note that it is not the real structure of modern computers, but the way that modern computers work is nearly the same as in my posts. I am sure that if you understand about the way that computers work in my posts, you will easy to learn about all fields of computer afterward. Thank you !!!

In a previous post, you knew about registers. Register is a device that contains 8-bit information (a byte) and it decides whether that byte can be transferred to other parts of computers. Let’s look at the picture below to see the diagram of the register and simplified version of it:

Simplified version of register:

You can see the difference between the two versions is mainly wire. Because one bit wire is simple, we left it itself. But with 8-bit wires, you can see it is so complex, so we will simplify them into double wires. Another problem is that when two 8-bit wires connect together, how can we represent them? Look at the picture below to understand:

The 8-bit wires that we mentioned above are called a “bus”. Bus will help connect other parts of computers together. The information that the register carries will be transferred to other registers or other parts. Look at the picture below to understand more:

If you know about the way that register above exchange information, you can understand how buses and registers work. First, when all the registers have “s” and “e” input signal “off”, nothing occurs. But when any registers turn “e” “on”, such as R1 turn “e” “on”, the 8-bit information from R1 will be transferred to the bus. From the bus, every register (R2, R3, R4) can receive and set the 8-bit information of them to the 8-bit information of register R1. Assume that R2 has “s” input signal “on” and R3, R4 have “s” input signal “off”, so 8-bit information of  R1 will only be set to R2. However, if R2, R3, R4 all have “s” “on”, all of them will be set to the 8-bit information of R1, the 8-bit that is on the bus. 

Whenever a register has “e” input “on”, the thing that really is transferred is electricity. So, you can see that 8-bit information is not moving from one register to another register (because electricity can only transfer, not move), it is copying the 8-bit information (copying electrical signals). From that, R1 still holds the origin value but other registers are set to another value in the example above.

We can represent the diagram of register in many ways in the picture below:

You can see the “i” (input) or “o” (output) signals on the diagram. It represents any input parts and output parts in computers because registers transfer information to many different parts in computers, not only to other registers. Hope you can understand it. Thanks for reading and see you later.

Đăng nhận xét

0 Nhận xét