The bus is a public communication trunk that transmits information between various functional components of the computer. It is a transmission harness composed of wires. According to the type of information transmitted by the computer, the bus of the computer can be divided into a data bus and an address bus. and control bus, used to transmit data, data address and control signals respectively.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Bus (Bus) is an internal structure. It is a common channel for CPU, memory, input and output devices to transmit information. Various components of the host are connected through the bus, and external devices are connected to each other through corresponding interface circuits. Buses are connected to form a computer hardware system. In a computer system, the common channel for transmitting information between various components is called a bus. Microcomputers use a bus structure to connect various functional components.
Bus characteristics:
Since the bus is a set of signal lines connecting various components. Information is represented by signals on the signal line, and how operations are implemented can be agreed upon by agreeing on the sequence of different signals. The characteristics of the bus are as follows
(1) Physical characteristics:
Physical characteristics are also called mechanical characteristics, which refer to some characteristics displayed by the components on the bus when they are physically connected, such as the geometry of plugs and sockets. Size, shape, number of pins and arrangement order, etc.
(2) Functional characteristics:
Functional characteristics refer to the function of each signal line, such as the address bus used to represent the address code. The data bus is used to represent transmitted data, and the control bus represents the commands, status, etc. operated on the bus.
(3) Electrical characteristics:
Electrical characteristics refer to the signal direction of each signal line and the effective level range of the signal. Usually, it is sent by the main device (such as CPU) The signal is called the output signal (OUT), and the signal sent to the main device is called the input signal (IN). Usually data signals and address signals define high level as logic 1 and low level as logic 0. There is no conventional convention for control signals. For example, WE means low level is valid and Ready means high level is valid. There are no unified regulations on the level ranges of high and low levels of different buses, and they are usually consistent with TTL.
(4) Time characteristics:
Time characteristics are also called logic characteristics, which refer to when the signal on each signal line is valid during the bus operation process, and the timing of this signal's validity The relationship agreement ensures the correct operation of the bus. In order to improve the scalability of computers and the versatility of components and equipment, in addition to the on-chip bus, each component or equipment is connected to the bus in a standardized form, and information transmission on the bus is implemented in a standardized manner. These standardized connection forms and operation methods of the bus are collectively called bus standards. Such as ISA, PCI, USB bus standards, etc. Correspondingly, buses using these standards are ISA bus, PCI bus, USB bus, etc.
Bus classification:
Data Bus: transfers data that needs to be processed or stored back and forth between the CPU and RAM .
Address Bus: Used to specify the address of data stored in RAM (Random Access Memory).
Control Bus: Transmits signals from the microprocessor control unit (Control Unit) to peripheral devices.
Related recommendations: " Programming Learning"
The above is the detailed content of what is bus. For more information, please follow other related articles on the PHP Chinese website!