Professional Documents
Culture Documents
BUS
BUS
BUS
• Equally spaced pulses on these lines define equal time intervals. Each of
these intervals constitute a bus cycle during which one data transfer can
take place.
• Master(Bus master) is the device which initiate the data transfer and all
other devices are termed as slaves.
• At time t0, the bus master places the address on the address lines and
appropriate command on the control line. Since memory read operation is
to be performed, the control line corresponding to the READ signal will be
made active.
• Information travels over the bus and reaches to all the devices connected to
the bus. The delay between transmitting a data from the sender side and
receiving at the other end is called propagation delay.
• The difference t1-t0 should be larger than the maximum propagation delay
between two devices. It should be long enough to allow the devices to
decode the address and control signals so that the addressed device can
respond at time t1.
• At the end of the clock cycle, at time t2 the master strobes the data from the
data bus and store it in the buffer(Memory Data Register or Memory Buffer
Register).
• The period t2-t1 should be greater than the maximum propagation delay
plus the setup time of the register in the master.
• This proposed scheme is a simple design but have some limitations.
✓ The clock period t2 – t0 must be chosen to accommodate the
slowest device connected to the bus. This forces all devices operate
at the speed of the slowest device.
✓ The processor has no way of determining whether the addressed
device has actually been responded. It simply assumes that at time t2
the input device places the data on the bus, or the output device has
been received the data from the bus.
ASYNCHRONOUS BUS
• The master places the address and control information on the bus.
• Then it activates master-ready signal to indicate that it has done a
transaction. This causes all devices on the bus to decode the address on the
address bus.
• The addressed slave performs the requested operation and responds by
activating the slave-ready signal.
• At time t0, master places the address and control information on the bus. All
devices begin to decode the address.
• At time t1, the master activates the master-ready line to inform all the I/O
devices that the address and control information is already been sent.
t1 – t0 is intended to allow any skew that may occur in the bus. When two
signals transmitting simultaneously from a source may reach the destination
at different times. This is called skewing or bus skewing. This happens
because different lines on the bus may have different propagation delays.
Hence to guarantee that master-ready signal should not reach any of the
device before the address and control information the delay t1 – t0 must be
greater than the maximum possible bus skew.
• At time t2, the selected slave performs the required input operation by
placing data on the data lines. At the same time it activates the slave-ready
signal. The period t2 – t1 depends on the distance between the master and
the slave and the delays introduced by the slave circuitry.
• At time t3, the slave-ready signal arrives at the master indicating that the
input data is available on the bus. After a delay equivalent to the bus skew
the master strobes the data from the data bus into its buffer. At the same
time it drops the master-ready signal.
• At time t4, the master removes address and control signals from the bus.