This application is a Continuation application of Ser. No. 07/573,773, filed Aug. 28, 1990, now abandoned.
BACKGROUND OF THE INVENTIONThe present invention relates to a data processing apparatus for transmitting data among a plurality of electronic circuit units which are physically separated.
In a conventional data transmission system of an electronic computer or the like, the data system and the clock system are independent. Therefore, for instance, in the case where logic units which are connected to a data bus are used as packages, and transmission lines to connect the logic units are wired on a back board on which the packages are mounted, in the data transmission from the package serving as a source unit to the package serving as a sink unit, the clock system is devised to supply a clock signal of the same phase to both the source package and the sink package. However, in the data system, the phase of the sink package is delayed from that of the source package by the propagation delay time of the transmission line.
Such a conventional data transmission system will be described further in detail with reference to FIG. 5A.
In the diagram,reference numeral 1 denotes a 3-state output buffer gate. The 3-state output buffer gate is set into the enable state in the case where it is used as a source gate to transmit data to a bus, while it is set into the disable state in the case where it is not used as a source gate. The same shall apply hereinbelow in the specification.Reference numeral 2 indicates an input buffer gate; 3 an output flip-flop to determine the phase of, the data which is transmitted to the bus; 4 denotes an input flip-flop to receive data from the bus; 6 a data bus line; 7 a terminal resistor of the data bus line; 8a to 8z packages in which electronic parts such as LSI components and the like are installed; and TA and TB clock signal which are common among the packages. The clock signal TA and TB are outputs from aclock phase adjuster 10 provided in each package. Each of theclock phase adjusters 10 receives clock signal from aclock generator 9 provided in only thepackage 8a and adjusts the clock signal TA and TB to substantially the same phase in each package. The clock signal TA and TB are used as set timing signals of the output flip-flop 3 and the input flip-flop 4, respectively.
A construction of the data bus has been disclosed in "VLSI computer I",Chapter 4,Item 4 and 5 (Input/Output Control), Iwanami Koza Microelectronics, No. 8, pages 263 to 274, Dec. 10, 1984.
A time chart for the system of FIG. 5A is shown in FIG. 5B. In FIGS. 5B, (1) to (4) indicate data waveforms on the side of thepackages 8a, 8b, 8c, and 8z in the case of transmission data from thepackage 8a to thepackages 8b, 8c, and 8z, respectively.
In the conventional data transmission system as shown in FIG. 5A, in-all of the packages, the phase difference between the clocks TA and TB is minimized. However, as shown in FIG. 5B, for instance, the data transmission time in the case of transmitting from thepackage 8a to thepackage 8b differs from the data transmission time in the case of transmitting from thepackage 8a to thepackage 8z. Thus, there is a problem such that in the case of transmitting high-speed data of a short data period, the propagation delay time of the transmission line cannot be ignored, and it is impossible to assure a set-up time and a holding time of the flip-flop to fetch the data by the sink package, and the data cannot be correctly transmitted.
SUMMARY OF THE INVENTIONThe present invention is made to solve the above problems.
According to the invention, in the case of mutually executing data transmission among a plurality of electronic circuit units, when data is transmitted from a certain electronic circuit unit to another electronic circuit unit, a clock to fetch the data in the sink side electronic circuit unit is transmitted from the source side electronic circuit unit via a signal line having the same signal propagation delay characteristics as those of the signal line for data transmission.
According to the invention, in the case of transmitting data of a very short period, normal data transmission can be performed irrespective of the length of data bus line.
BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1A is a diagram showing a first embodiment of a data transmission system of the present invention;
FIG. 1B is a time chart showing waveforms of clock signals in FIG. 1A;
FIG. 2A is a diagram showing a second embodiment of the invention;
FIG. 2B is a time chart showing waveforms of clock signals in FIG. 2A;
FIGS. 3A and 4A are diagrams showing clock generating circuits in FIGS. 1A and 2A;
FIGS. 3B and 4B are time charts showing the generation of clock signals in detail; and
FIG. 5A is a diagram showing a conventional data transmission system;
FIG. 5B is a time chart showing the operation of a conventional data transmission system as shown in FIG. 5A.
DESCRIPTION OF THE PREFERRED EMBODIMENTEmbodiments of the present invention will be practically described hereinbelow with reference to the drawings.
FIG. 1A shows an embodiment of a data transmission system of the invention.
In the diagram,reference numeral 21 denotes a 3-state output buffer gate; 22 an input buffer gate; 23 an output flip-flop to determine the phase of data which is transmitted to a data bus; and 24 an input flip-flop to receive data from the data bus. Since there is a possibility such that the data which is output from the input flip-flop 24 is out of the phase with the inherent bus cycle, that data is input to async circuit 25 to synchronize the data with the original clock signals (TA, TB).Reference numeral 26 denotes a data bus to transmit data; 27 indicates a terminal resistor of thedata bus 26; and 28a to 28z are packages in which electronic parts such as LSI components and the like are installed.
A clock generator 16 and aclock phase adjuster 17 are the same as those shown in FIG. 5A in the conventional technique. Each of thepackages 28a to 28z further has therein: afrequency dividing circuit 33 to obtain clock signals by frequency dividing the clock signals TB into 1/2; a 3-stateoutput buffer gate 31 to transmit the clock signals from thefrequency dividing circuit 33 to aclock bus 36; aninput buffer gate 32 to receive clock signals TC which were transmitted by theclock bus 36; acircuit 30 to differentiate and shape input pulses by the leading and trailing edges of the clocks TC received by theinput buffer gate 32; and anOR gate 34. Theclock bus 36 comprises one signal line having the same line length, the same number of loads, and the same matching terminal resistance as those of thedata bus 26.Reference numeral 37 denotes a terminal resistor of theclock bus 36.
FIG. 1B is a time chart showing the phase relation between the data and the clock signals.
The operation of the first embodiment of the invention will now be described with reference to FIG. 1B. For instance, in the case of transmitting data from thepackage 28a to thepackage 28b through thedata bus 26, the clock signals are also similarly transmitted from thepackage 28a to thepackage 28b via theclock bus 36.
In thepackage 28b, pulses TD are produced from the received clock signals TC, and the data which is transmitted via thedata bus 26 is fetched by the pulses TD. (1) and (2) in FIG. 1B denote time charts for thesource package 28a and thesync package 28b at this time, respectively.
Although the transmission data is also similarly transmitted to the packages other than thepackage 28b at this time, the fetching of the data is inhibited in the packages other than thepackage 28b.
The same shall also apply to the case of transmitting data from thepackage 28a to thepackage 28z through thedata bus 26. (3) in FIG. 1B shows a time chart for thesync package 28z at this time.
The reason why the clock signals which are obtained by frequency dividing the clock signals TB into 1/2 are transmitted to theclock bus 36 is because since the pulse width of the clock signals TB is small, the waveform is deformed due to the influence of capacitive reflection or the like upon bus transmission and there is a possibility that the clock signals are not correctly transmitted. By frequency dividing the clock signals TB and by widening the pulse width, even if such a waveform distortion occurs, the clock signals can be transmitted as clock pulses.
By transmitting both the data and the clock signals from the source package to the sync package via the buses having the same propagation delay time, the high-speed data transmission can be achieved.
The above embodiment has been shown and described with respect to the case where there is not so a large difference in the driving capability of theoutput buffer gate 31 to the clock bus between the leading and trailing portions of the pulse waveform.
FIG. 2A shows another embodiment of the invention in which the clock bus is constructed by two signal lines.
In the diagram,reference numeral 41 denotes a 3-state output buffer gate to a data bus; 42 an input buffer gate from the data bus; 43 an output flip-flop to determine the phase of data which is transmitted to the data bus; 44 an input flip-flop to receive data from the data bus; 46 a data bus; 47 a terminal resistor of the data bus; 68a to 68z packages in which electronic parts such as LSI components and the like are installed; 56 and 66 clock buses; 57 and 67 terminal resistors of the clock buses; 51 and 61 3-state output buffer gates to theclock buses 57 and 67; 52 and 62 input buffer gates to receive the clock signals TC and TC which are transmitted by theclock buses 57 and 67; 50 a circuit to differentiate and shape the pulses by the leading edges of the pulses of the clock signals TC and TC which are received via theinput buffer gates 52 and 62; and 53 a frequency dividing circuit to frequency divide the clock signals TB into 1/2. A clock generator 81 and aclock phase adjuster 82 are the same as those shown in FIGS. 1A and 5A.
If loads on the clock buses are heavy, there is a case where the transmission times of the clock buses differ between the leading edges of the outputs of the 3-stateoutput buffer gates 51 and 61 as driver gates of the clock buses and the trailing edges of those outputs.
Therefore, in the second embodiment of the invention, the polarities of the clock signals which are transmitted by theclock buses 56 and 66 are set to be opposite. Thus, even if load dependencies of the leading and trailing edges of the outputs of theoutput buffer gates 51 and 61 differ, if thedifferentiation shaping circuit 50 differentiates and shapes in response to the leading edges of the clock pulses of theclock bus 56 and the leading edges of the clock pulses of theclock bus 66, the clock pulses are produced without fluctuating the clock period of the output waveform of theOR gate 54. FIG. 2B shows time charts for thepackages 68a and 68z in the case of transmitting data from thepackage 68a to thepackage 68z.
The difference between the clock pulse waveforms in FIGS. 1B and 2B will now be described further in detail with reference to FIGS. 3 and 4.
FIGS. 3A and 4A are diagrams showing the output sides of the clockfrequency dividing circuits 33 and 53 in FIGS. 1A and 2A, respectively. FIGS. 3B and 4B show time charts for thecircuits 33 and 53.
In FIGS. 3A and 3B, the clock bus comprises one signal line. The polarity of the clock signals TC on theclock bus 36 is set to two polarities (L, M) by thegate 32, and the clock signals TC are differentiated and shaped by the leading portions of the pulses of both polarities, thereby producing the clock signals TD.
On the other hand, in FIG. 4, in order to avoid the influence by the difference between the load dependencies of the leading and trailing edges of the outputs of the 3-stateoutput buffer gates 51 and 61, the clock bus is constructed as two signal lines. By differentiating and shaping the clock signals in response to the leading portions (leading portions of a signal P) of the clock signals TC of theclock bus 56 and the leading portions (leading portions of a signal Q) of the clocks TC of theclock bus 66, the fluctuation in clock period of the clock signals TD is prevented.
According to the present invention, in the case where data with a short period is transmitted, an ordinary data transmission is achieved regardless of a data bus length.