Chapter 1lecture 1.5 (Buses) Notes+Homework+References+videoLink
Chapter 1lecture 1.5 (Buses) Notes+Homework+References+videoLink
BUS
The basic computer has eight registers, a memory unit, and a control unit. Paths must be
provided to transfer information from one register to another and between memory and registers.
The number of wires will be excessive if connections are made between the outputs of each
register and the inputs of the other registers. A more efficient scheme for transferring
information in a system with many registers is to use a common bus. A bus is a set of wires. To
send information from one component to other, the source component outputs data onto the bus
and the destination component receives that data. As the complexity increases, it becomes more
efficient to use buses rather than direct connection b/w pair of devices. Bus uses space and
power. They also require less pins on the chip.
CONTROL BUS: Used by CPU for communicating with other devices within the computer.
Control bus carries the commands from the CPU and returns status signals from the
devices.
Lines:
Read (R’) – single line that when active (at 0) indicates that device is being read by the
CPU.
Write (W’) - single line that when active (at 0) indicates that device is being written by
the CPU.
ACK: It delivers information that data was acknowledged by the device.
Bus request: Indicates that the device is requesting to access the bus.
Reset : reset the system.
Clock Signals: The signals on this line are used to synchronize data between the CPU
and a device.
Control Bus is bidirectional.
FORMULA FOR CONSTRUCTION OF BUS SYSTEM
Multiplexers
No. of multiplexers=No. of bits in each register.
Size of each multiplexer=K*1,
K=no. of registers in a digital system.
Fig.1.5.2 Basic Computer Registers Connected to Common Bus
ADVANTAGES OF BUSES:
New elements can be easily added.
Low cost.
Reduce complexity.
DISADVANTAGES OF BUSES:
Creates a communication bottleneck.
Maximum speed is limited by
Length of the bus
No of devices on the bus.
HOMEWORK (ASSESMENT)
Q1. Suppose that a bus has 16 data lines and requires 4 cycles of 250 nsecs each to transfer data.
The bandwidth of this bus would be 2 Megabytes/sec. If the cycle time of the bus was reduced to
125 nsecs and the number of cycles required for transfer stayed the same what would the
bandwidth of the bus?
(A) 1 Megabyte/sec
(B) 4 Megabytes/sec
(C) 8 Megabytes/sec
(D) 2 Megabytes/sec
Answer: D
Q2. The communication between the components in a microcomputer takes place via the address
and
(A) I/O bus
(B) Data bus
(C) Address bus
(D) Control lines
Answer: B
Q3. A collection of lines that connects several devices is called ..............
A) bus
B) peripheral connection wires
C) Both a and b
D) internal wires
Answer A
OTHER REFERENCES
https://ecomputernotes.com/fundamental/introduction-to-computer/bus
https://electricalacademia.com/computer/types-buses-computer-architecture/
https://www.kullabs.com/classes/subjects/units/lessons/notes/note-detail/3852
VIDEO REFERENCES
https://www.youtube.com/watch?v=xBYhHC8_A6o
https://www.youtube.com/watch?v=qX_rqLO-tkU