SYNCHRONOUS & ASYNCHRONOUS DATA TRANSFER
Maninder Kaur
professormaninder@gmail.com
24-Nov-2010
1
www.eazynotes.com
S YNCHRONOUS & 24-Nov-2010 A SYNCHRONOUS D ATA T RANSFER - - PowerPoint PPT Presentation
S YNCHRONOUS & 24-Nov-2010 A SYNCHRONOUS D ATA T RANSFER www.eazynotes.com Maninder Kaur 1 professormaninder@gmail.com S YNCHRONOUS D ATA T RANSFER 24-Nov-2010 In a digital system, the internal operations are synchronized by means of
professormaninder@gmail.com
24-Nov-2010
1
www.eazynotes.com
In a digital system, the internal operations are
In a computer, CPU and an I/O interface are
If the registers in the interface share a common
24-Nov-2010
2
www.eazynotes.com
In a computer system, CPU and an I/O interface
When internal timing in each unit is independent
In that case the two units are said to be
24-Nov-2010
3
www.eazynotes.com
Strobe Control: This is one way of transfer i.e. by means
Handshaking: This method is used to accompany each
24-Nov-2010
4
www.eazynotes.com
Strobe control method of data transfer uses a single
Source Initiated Strobe Destination Initiated Strobe
Source Unit Destination Unit Data bus Strobe
24-Nov-2010
5
www.eazynotes.com
The data bus carries the binary information from source
The strobe is a single line that informs the destination
Valid data
Data Strobe Timing diagram
24-Nov-2010
6
www.eazynotes.com
The source unit first places the data on the bus. After a brief delay to ensure that the data settle to a
The information of the data bus and the strobe
The source removes the data from the bus for a
24-Nov-2010
7
www.eazynotes.com
First, the destination unit activates the strobe pulse, informing
the source to provide the data.
The source unit responds by placing the requested binary
information on the unit to accept it.
The data must be valid and remain in the bus long enough for
the destination unit to accept it.
The falling edge of the strobe pulse can be used again to
trigger a destination register.
The destination unit then disables the strobe. The source
removes the data from the bus after a predetermined time interval.
24-Nov-2010
8
www.eazynotes.com
Valid data
Data Strobe Timing diagram Block diagram Source Unit Destination Unit Data bus Strobe
24-Nov-2010
9
www.eazynotes.com
In case of source initiated data transfer under strobe
control method, the source unit has no way of knowing whether destination unit has received the data or not.
Similarly, destination initiated transfer has no method of
knowing whether the source unit has placed the data on the data bus.
Handshaking mechanism solves this problem by
introducing a second control signal that provides a reply to the unit that initiate the transfer.
There are two control lines in handshaking technique: Source to destination unit Destination to source unit
24-Nov-2010
10
www.eazynotes.com
Handshaking signals are used to synchronize the
The two handshaking lines are data valid, which is
The timing diagram shows exchange of signals
24-Nov-2010
11
www.eazynotes.com
Block diagram Source Unit Destination Unit Data bus Data valid Data accepted
Valid data
Data Strobe Data accepted Timing diagram
24-Nov-2010
12
www.eazynotes.com
The sequence of events: The source unit initiates the transfer by placing the data
The data accepted signals is activated by the
destination unit after it accepts the data from the bus.
The source unit then disables its data valid signal, which
invalidates the data on the bus.
The destination unit the disables its data accepted
signal and the system goes into its initial state.
24-Nov-2010
13
www.eazynotes.com
Place data on bus. Enable data valid Accept data from bus. Enable data accepted Disable data valid. Invalidate data on bus. Disable data accepted. Ready to accept data.
Destination Unit Source Unit Sequence of events
24-Nov-2010
14
www.eazynotes.com
In this case the name of the signal generated by the
The source unit does not place the data on the bus
The handshaking procedure follows the same
24-Nov-2010
15
www.eazynotes.com
Block diagram Source unit Destination unit Data bus Data valid Ready for data Ready for Data Data valid Data bus
Timing diagram
24-Nov-2010
16
www.eazynotes.com
Place data on bus. Enable data valid. Ready to accept data. Enable ready for data Disable data valid. Invalidate data on bus. Accept data from bus. Disable ready for data.
Destination Unit Source Unit
24-Nov-2010
17
www.eazynotes.com
24-Nov-2010
18
www.eazynotes.com