Data-read and write method of bridge interface
OwnerJyh-Hwang Wang, Sheng-Zhong Shiehinventors
Life of this patent
Estimating the term…
Abstract
The present invention provides a data-read/write method of a bridge interface, which via appropriately controlling the signal level and the timing between the host system and the device, enables the bridge interface to have a complete information handshake, so that the bridge interface can work at any transferring speed and easily transform any instruction stream coming from a front bus. Accordingly, the present invention has the advantages of high compatibility and easiness of transforming instruction streams.
Claims15
A data-write method of a bridge interface, which can be used in the occasion that a host system writes data into a device via a bus, wherein there is an Initiator Ready channel and a Target Ready channel between said host system and said device, and said Initiator Ready channel or said Target Ready channel is separately driven by said host system or said device, comprising the following steps:
- (a) said host system's driving low the level of a data-output instruction channel, once the level of said Initiator Ready channel is asserted to be high by said host system;
- (b) said host system's detecting that said Target Ready channel is at a low level, which indicates that said device is ready to receive a piece of data written by said host system;
- (c) said host system's transferring the piece of data to said device to complete the writing cycle of the first piece of data;
- and
- (d) repeating said step (b) and (c) as the writing cycle of each individual piece of data after completing each individual writing cycle according to the number of the data's pieces to form a least one cycle, and in the last cycle, further interposing a step between said step (b) and (c) to release the level of said data-output instruction channel, which has been driven low, in order to inform that the next piece of data is the last one.
A data-read method of a bridge interface, which can be used in the occasion that a host system reads one piece of data from a device via a bus, wherein there is an Initiator Ready channel and a Target Ready channel between said host system and said device, and said Initiator Ready channel or said Target Ready channel is separately driven by said host system or said device, comprising the following steps:
- (a) said host system's driving low the level of a data-output instruction channel, once the level of said Initiator Ready channel is asserted to be low by said host system;
- (b) said device's placing said piece of data onto said bus;
- (c) said host system's releasing the level of data-output instruction channel in order to give up the control over a data-read/write instruction;
- and
- (d) said host system's taking said data placed by said device via said bus to complete the reading cycle of one piece of data.
A data-read method of a bridge interface, which can be used in the occasion that a host system reads multiple pieces of data from a device via a bus, wherein there is an Initiator Ready channel and a Target Ready channel between said host system and said device, and said Initiator Ready channel or said Target Ready channel is separately driven by said host system or said device, comprising the following steps:
- (a) said host system's driving low the level of a data-output instruction channel, once the level of said Initiator Ready channel is asserted to be low by said host system;
- (b) said device's driving low the level of a data-input instruction channel in order to take the control over a data-read/write instruction;
- (c) said device's placing said multiple pieces of data onto said bus;
- (d) said host system's releasing the level of said data-output instruction channel in order to give up the control over said data-read/write instruction;
- (e) said host system's taking said piece of data to complete the reading cycle of the first piece of data;
- and
- (f) repeating said step (b), (c) and (e) as the reading cycle of each individual piece of data posterior to the first piece of data after completing each individual reading cycle according to the number of the data's pieces to form a plurality of cycles, and in the last cycle, changing said step (b) to be releasing the level of said data-input instruction channel in order to inform said host system that the next piece of data is the last one, and then repeating said step (c) and (e) once more.
Dependencies are inferred from the claim text.