BUS Flashcards
What is an interconnection structure?
The collection of paths connecting the various modules in a computer
What are the types of transfers in the computer?
- Memory to CPU
- CPU to Memory
- I/O to CPU
- CPU to I/O
- I/O to or from Memory (DMA)
What is a bus?
• A bus is a communication pathway connecting two or more devices. A key characteristic of a bus is that it is a shared transmission medium.
Describe data transmission in a bus
- Multiple devices connect to the bus, and a signal transmitted by any one device is available for reception by all other devices attached to the bus.
- If two devices transmit during the same time period, their signals will overlap and become garbled.
- Thus, only one device at a time can successfully transmit.
- Typically, a bus consists of multiple communication pathways, or lines.
- Each line is capable of transmitting signals representing binary 1 and binary 0
What is a system bus
A bus that connects major computer components (processor, memory, I/O)
Draw a representation of a bus
*see notes for picture
Describe the classification of the functional groups of the lines on a bus
There are data, address, and control lines.
• In addition, there may be power distribution lines that supply power to the attached modules.
Describe the data lines
- The data lines provide a path for moving data among system modules.
- These lines, collectively, are called the data bus.
Describe the address lines
- The address lines are used to designate the source or destination of the data on the data bus.
- For example, on an 8-bit address bus, address 01111111 and below might reference locations in a memory module (module 0) with 128 words of memory, and address 10000000 and above refer to devices attached to an I/O module (module 1).
Describe the control lines
- The control lines are used to control the access to and the use of the data and address lines.
- Control signals transmit both command and timing information among system modules
- Timing signals indicate the validity of data and address information. Command signals specify operations to be performed.
List typical types of control lines
- Memory write: Causes data on the bus to be written into the addressed location
- Memory read: Causes data from the addressed location to be placed on the bus
- I/O write: Causes data on the bus to be output to the addressed I/O port
- I/O read: Causes data from the addressed I/O port to be placed on the bus
- Transfer ACK: Indicates that data have been accepted from or placed on the bus
- Bus request: Indicates that a module needs to gain control of the bus
- Bus grant: Indicates that a requesting module has been granted control of the bus
- Interrupt request: Indicates that an interrupt is pending
- Interrupt ACK: Acknowledges that the pending interrupt has been recognized
- Clock: Is used to synchronize operations
- Reset: Initializes all modules
Describe the operation of the bus
- If one module wishes to send data to another, it must do two things: (1) obtain the use of the bus, and (2) transfer data via the bus.
- If one module wishes to request data from another module, it must (1) obtain the use of the bus, and (2) transfer a request to the other module over the appropriate control and address lines.
- It must then wait for that second module to send the data.
Draw and describe the classical physical arrangement of a bus
• The bus consists of two vertical columns of conductors.
• Each of the major system components occupies one or more boards and plugs into the bus at these slots.
*see notes for picture
What is the difference between an on-chip and on-board bus
An on-chip bus may connect the processor and cache memory, whereas an on-board bus may connect the processor to main memory and other components.
Why is the classical arrangement of the bus convenient?
- A small computer system may be acquired and then expanded later (more memory, more I/O) by adding more boards.
- If a component on a board fails, that board can easily be removed and replaced.