text: System bus (extended) - System architecture - Computer system (Hardware) - Каталог статей - BZFAR
  Главная » Статьи » Computer system (Hardware) » System architecture
  System bus (extended)
  12.3.2.4 explain how data is transferred between different components of a computer system through the address bus, data bus and control bus
  12.3.2.6 explain how the clock speed, word length and bus width affect the performance
  System bus (grade 11)
  System bus is the main highway (a set of parallel wires) connecting the processor, main memory and I/O controllers.
  The processor is connected to main memory by three separate buses. When the CPU wishes to access a particular main memory location, it sends this address to memory on the address bus. The data in that location is then returned to the CPU on the data bus. Control signals are sent along the control bus.
  The control bus is a bi-directional bus (signals can be carried in both directions). The data and address buses are shared by all components of the system. Control lines must therefore be provided to ensure that access to and use of the data and address buses by the different components of the system does not lead to conflict.
  Memory Write: causes data on the data bus to be written into the addressed location:
  Memory Read: causes data from the addressed location to be placed on the data bus;
  Interrupt request: indicates that device is requesting access to the CPU;
  Bus Request: indicates that a device is requesting the use of the data bus;
  Bus Grant: indicates that the CPU has granted access to the data bus;
  Clock: used to synchronyse operations;
  Reset: initialises all components.
  The data bus, typically consisting of 8, 16, 32, 64 separate lines provides a bi-directional path for moving data and instructions between system components. The width of the data bus is a key factor in determining overall system performance. For example, if the data bus is 16 bits wide, and each instruction is 32 bits long, then the processor must access the main memory twice just to fetch the instruction.
  Memory is devided up internally into units called words. A word is a fixed size group of digits, typically 8, 16, 32 or 64 bits, which a handled as a unit by the processor, and dufferent types of processor have different word size. Each word in memory has its own specific address.
  When the processor wishes to read a word of data from memory, it first puts the address of the desired word on the sddress bus. The width of the address bus determines the maximum possible memory capacity of the system.
  For example, if the address bus consisted of only 8 lines, then the maximum address it could transmit would be 255 or 11111111 (in binary), giving a maximum memory capacity of 256 (including address 0). A system with a 32-bit address bus can address 232 (4 294 967 296) memory locations giving an addressable memory space of 4Gb.
  The address bus is also used to address I/O ports during input/output operations.
  An I/O controller is a device which interfaces between an input or output device and the processor. Each device has a separate conroller which connects to the control bus. I/O controllers receive input and output requests from the processor, and then send device-specific control signals to the device they control. They also manage the data flow to and from the device.
  The controller is an electronic circuit board consisting of three parts:
  an interface that allows connection of the controller to the system or I/O bus
  a set of data, command and status registers
  an interface that enables connection of the controller to the cable connecting the device to the computer
  An interface is a standardised form of connection defining such things as signals, number of connecting pins/sockets and voltage levels that appear at the interface. An example is a Universal Serial Bus (USB) connection, which can be used with many different peripherals.