Pipeline circuit for timing adjustment.
Abstract
The pipeline circuit comprises a selection signal generating circuit for outputting, when an input indicating signal entered corresponding to one datum out of a series of m input data indicates invalidity, a selection signal indicating the value next to that indicated by the preceding selection signal out of n periodic values and, when the input indicating signal indicates validity a selection signal indicating the same value as that indicated by the selection signal, and a data holding circuit responsive to the selection signal generated by said selection signal generating circuit corresponding to said datum for inputting, depending on the selecting signal, the datum to a respective stage of data holding means and outputting via respective data holding means the datum respective timing cycles later than the inputting of the datum where said data and said input indicating signals are entered and valid data among the data are successively outputted at respective timing cycles. This pipeline circuit for timing adjustment is able to send out at proper timings only such data as are effective for ensuing processings even if the input timings of different data are irregular or the input data include invalid ones.

Term
Term ended
Projected expiry passed 18 May 2009, 17.4 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
4 claims: 3 independent, 1 dependent
- 1A pipeline circuit comprising:a selection signal generating circuit for outputting, when an input indicating signal T j entered corrrsponding to one datum A j out of a series of m input data A 1 , A 2 . ..., A m indicates invalidity, a selection signal S j indicating the value next to that indicated by the preceding selection signal S j-1 out of n periodic values 1, 2, ..., n, 1. 2, ... and, when the input indicating signal T j indicates validity, a selection signal S j indicating the same value as that indicated by the selection signal S j-1 , and a data holding circuit responsive to the selection signal S j generated by said selection signal generating circuit corresponding to said datum A j for inputting, when the value indicated by the selecting signal S j is i, the datum A j to data holding means Ri, the i-th among n stages of data holding means R₁, R₂, ..., R n and outputting via n-i stages of data holding means R i+1 , R i+2 , ..., R n the datum A j n-i + 1 timing cycles later than the inputting of the datum A j ;where said m data A 1 , A 2 . ..., A j , ..., A m and said m input indicating signals T₁, T₂. ..., T j , ..., T m are entered and valid data among the m data are successively outputted at n x k + 1 (k is an integer) timing cycles.
- 2A pipeline circuit, as claimed in Claim 1 , wherein the same units of information as said m input indicating signals T₁, T₂, ..., T m are entered into said data holding circuit as part of said m input data A₁, A₂, ..., A m .
- 3A pipeline circuit comprising:a selection signal generating circuit for outputting, when an input indicating signal T j entered corresponding to one datum A j out of a series of m input data A₁, A₂. ..., A m indicates invalidity, a selection signal S j indicating the value next to that indicated by the preceding selection signal S j-1 out of n periodic values 1, 2, ..., n, 1. 2, ... and, when the input indicating signal T j indicates validity, a selection signal S j indicating the same value as that indicated by the selection signal S j-1 , and a data holding circuit, having as inputs said datum A j , said selection signal S j corresponding to said datum A j and said input indicating signal T j , for inputting, when the value indicated by said selecting signal S j is i, said datum A j and said input indicating signal T j to data holding means Ri, the i-th among n stages of data holding means R₁, R₂, ..., R n , outputting via n-i stages of data holding means R i+1 , R i+2 , ..., R n the datum A j n-i + 1 timing cycles later than the inputting of the datum A j when said input indicating signal T j indicates validity, and invalidating said datum A j when said input indicating signal T j indicates invalidity;where said m data A 1 , A 2 . ..., A j , ..., A m and said m input indicating signals T₁, T₂. ..., T j , ..., T m respectively corresponding to said data are entered and valid data among the m data are successively outputted at n x k + 1 (k is an integer) timing cycles.
- 4A pipeline circuit comprising:a selection signal generating circuit for outputting, when an input indicating signal T j entered corresponding to one datum A j out of a series of m input data A₁, A₂ . ..., A m indicates invalidity, a selection signal S j indicating the value next to that indicated by the preceding selection signal S j-1 out of n periodic values 1, 2, ..., n, 1. 2, ... and, when the input indicating signal T j indicates validity, a selection signal S j indicating the same value as that indicated by the selection signal S j-1 , and an indicating signal holding circuit for outputting an output indicating signal V j = T j when the value indicated by the selection signal S j corresponding to the inputting of said input indicating signal T j and said selection signal S j is n or, when the value indicated by the selection signal S j is i (i < n), inputting said input indicating signal T j to indicating signal holding means F i , the i-th among the n-1 stages of indicating signal holding means F₁,F₂, ..., F n-1 , and outputting it via n-i-1 stages of indicating signal holding means F i+1 , F i+2 , ..., F n-1 as the output indicating signal V j n-i timing cycles later than the inputting of the input indicating signal T j , a data holding circuit for inputting, when the value indicated by said selecting signal S j for the inputting of said datum A j , said selection signal S j corresponding to said datum A j and said output indicating signal V j is i (i < n), the datum A j to data holding means Ri, the i-th among n stages of data holding means R 1 , R₂, ..., R n , conveying it as a datum P via n-i-1 stages of data holding means R i+1 , R i+2 ..., R n n-i timing cycles later than the inputting of the datum A j or, when the value indicated by said selection signal S j is n, conveying the datum A j as the datum P to said n-th data holding means R n and, when said output indicating signal V j indicates invalidity, invalidating the input to said n-th data holding means R n or, when said output indicating signal V j indicates validity, conveying said datum P to said n-th data holding means R n and outputting said datum P 1 timing cycle later;where said m data A₁, A₂. ..., A j , ..., A m and said m input indicating signals T₁, T₂. ..., T j , ..., T m respectively corresponding to said data are entered and valid data among the m data are successively outputted at n x k + 1 (k is an integer) timing cycles.
Independent claims4
143 paragraphs in 5 sections, as filed
DETAILED DESCRIPTION OF THE INVENTION
BACKGROUND OF THE INVENTION
0001The present invention relates to a pipeline circuit for adjusting the data timing in a data processing system.
0002Usually, a timing-adjusting pipeline circuit is used for adjusting the timing of data transfers between processing units, particularly for adjusting the timing of data transfers to an interleave type processing unit from another processing unit.
0003An interleave type processing unit in this context typically is a memory unit consisting of a plurality of banks which are used in a time-share manner. Another example of interleave type processing unit is an arithmetic system comprising a plurality of low-speed arithmetic units which are used in a time-share manner to let the whole system achieve high-speed arithmetic operation.
0004In an actual data processing system, in order that data to be written into a memory match their interleave timing as input data to an interleave type processing unit, some kind of timing adjustment is required.
0005A conceivable method of timing adjustment is to adjust the actuating timing of a data processing instruction so that the processed data reach the input crossbar at the interleave timing referred to above. This method necessitates no particular timing adjuster. However, it entails complex control of the instruction actuating timing, thereby affects the processing start times of other processing units than the memory and may deteriorate the overall performance of the data processing system.
0006Therefore, a timing-adjusting circuit should be provided immediately before the input crossbar.
0007If a serial data A = (a₁, a₂ ..., a<sub>m</sub>) are inputted, the output timing of the first datum a₁ is adjusted with a selection signal S and those of the succeeding data a₂, a₃, ... as inputs to the interleave type processing unit are so controlled as to be identical with the interleave timing by maintaining the selection signal S at the time of the outputting of the datum a₁, this circuit cannot be used when, for instance, the input timings of different data are irregular as is the case with the output data of a processing unit whose processing time differs with the value of each datum or when the series of data include invalid ones that cannot be processed with an interleave type processing unit, such as data for masked vector processing.
SUMMARY OF THE INVENTION
0008An object of the present invention is, therefore, to provide a pipeline circuit for timing adjustment designed to be able to send out at proper timings only such data as are effective for ensuing processings even if the input timings of different data are irregular or the input data include invalid ones.
0009In order to achieve the above object, a first pipeline circuit according to the invention comprises: a selection signal generating circuit for outputting, when an input indicating signal T<sub>j</sub> entered corresponding to one datum A<sub>j</sub> out of a series of m input data A₁, A₂. ..., A<sub>m</sub> indicates invalidity, a selection signal S<sub>j</sub> indicating the value next to that indicated by the preceding selection signal S<sub>j-1</sub> out of n periodic values 1, 2, ..., n, 1. 2, ... and, when the input indicating signal T<sub>j</sub> indicates validity, a selection signal S<sub>j</sub> indicating the same value as that indicated by the selection signal S<sub>j-1</sub>, and a data holding circuit responsive to the selection signal S<sub>j</sub> generated by said selection signal generating circuit corresponding to said datum A<sub>j</sub> for inputting, when the value indicated by the selecting signal S<sub>j</sub> is i, the datum A<sub>j</sub> to data holding means Ri, the i-th among n stages of data holding means R₁, R₂, ..., R<sub>n</sub> and outputting via n-i stages of data holding means R<sub>i+1</sub>, R<sub>i+2</sub>, ..., R<sub>n</sub> the datum A<sub>j</sub> n-i + 1 timing cycles later than the inputting of the datum A<sub>j</sub>; where said m data A<sub>1</sub>, A<sub>2</sub>. ..., A<sub>j</sub>, ..., A<sub>m</sub> and said m input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> are entered and valid data among the m data are successively outputted at n x k + 1 (k is an integer) timing cycles.
0010The selection signal generating circuit for generating selection signals to determine the durations of data holding by the data holding circuit are controlled with input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> indicating the validity or invalidity of the input data A<sub>1</sub>, A<sub>2</sub>. ..., A<sub>j</sub>, ..., A<sub>m</sub>. If the input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> consecutively indicate validity, the selection signal will retain its value for the first input datum, but if an input indicating signal T<sub>j</sub> indicating invalidity is inputted midway, the selection signal will change to its next value. This operation makes it possible, even if the input timings of different data are irregular or the input data include both valid and invalid ones, to send out at proper timings only effective data for ensuing processings by making ready input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> matching them.
0011In order to achieve the above object, a second pipeline circuit according to the present invention comprises: a selection signal generating circuit for outputting, when an input indicating signal T<sub>j</sub> entered corresponding to one datum A<sub>j</sub> out of a series of m input data A<sub>1</sub>, A<sub>2</sub>. ..., A<sub>m</sub> indicates invalidity, a selection signal S<sub>j</sub> indicating the value next to that indicated by the preceding selection signal S<sub>j-1</sub> out of n periodic values 1, 2, ..., n, 1. 2, ... and, when the input indicating signal T<sub>j</sub> indicates validity, a selection signal S<sub>j</sub> indicating the same value as that indicated by the selection signal S<sub>j-1</sub>, and a data holding circuit, having as inputs said datum A<sub>j</sub>, said selection signal S<sub>j</sub> corresponding to said datum A<sub>j</sub> and said input indicating signal T<sub>j</sub>, for inputting, when the value indicated by said selecting signal S<sub>j</sub> is i, said datum A<sub>j</sub> and said input indicating signal T<sub>j</sub> to data holding means Ri, the i-th among n stages of data holding means R₁, R₂, ..., R<sub>n</sub>, outputting via n-i stages of data holding means R<sub>i+1</sub>, R<sub>i+2</sub>, ..., R<sub>n</sub> the datum A<sub>j</sub> n-i + 1 timing cycles later than the inputting of the datum A<sub>j</sub> when said input indicating signal T<sub>j</sub> indicates validity, and invalidating said datum A<sub>j</sub> when said input indicating signal T<sub>j</sub> indicates invalidity; where said m data A₁, A₂. ..., A<sub>j</sub>, ..., A<sub>m</sub> and said m input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> respectively corresponding to said data are entered and valid data among the m data are successively outputted at n x k + 1 (k is an integer) timing cycles.
0012The selection signal generating circuit for generating selection signals to determine the durations of data holding by the data holding circuit are controlled with input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> indicating the validity or invalidity of the input data A<sub>1</sub>, A<sub>2</sub>. ..., A<sub>j</sub>, ..., A<sub>m</sub>. If the input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> consecutively indicate validity, the selection signal will retain its value for the first input datum, but if an input indicating signal T<sub>j</sub> indicating invalidity is inputted midway, the selection signal will change to its next value. The data holding circuit, even if the input timings of different data are irregular or the input data include both valid and invalid ones, sends out at proper timings only effective data for ensuing processings by controlling the data holding durations and the validity or invalidity of the input data A<sub>j</sub> in accordance with the selection signals generated by said selection signal generating circuit and said input indicating signals.
0013In order to achieve the above object, a third pipeline circuit according to the present invention comprises: a selection signal generating circuit for outputting, when an input indicating signal T<sub>j</sub> entered corresponding to one datum A<sub>j</sub> out of a series of m input data A<sub>1</sub>, A<sub>2</sub>. ..., A<sub>m</sub> indicates invalidity, a selection signal S<sub>j</sub> indicating the value next to that indicated by the preceding selection signal S<sub>j-1</sub> out of n periodic values 1, 2, ..., n, 1. 2, ... and, when the input indicating signal T<sub>j</sub> indicates validity, a selection signal S<sub>j</sub> indicating the same value as that indicated by the selection signal S<sub>j-1</sub>, and an indicating signal holding circuit for outputting an output indicating signal V<sub>j</sub> = T<sub>j</sub> when the value indicated by the selection signal S<sub>j</sub> corresponding to the inputting of said input indiczting signal T<sub>j</sub> and said selection signal S<sub>j</sub> is n or, when the value indicated by the selection signal S<sub>j</sub> is i (i < n), inputting said input indicating signal T<sub>j</sub> to indicating signal holding means F<sub>i</sub>, the i-th among the n-1 stages of indicating signal holding means F₁, F₂, ..., F<sub>n-1</sub>, and outputting it via n-i-1 stages of indicating signal holding means F<sub>i+1</sub>, F<sub>i+2</sub>, ..., F<sub>n-1</sub> as the output indicating signal V<sub>j</sub> n-i timing cycles later than the inputting of the input indicating signal T<sub>j</sub>, a data holding circuit for inputting, when the value indicated by said selecting signal S<sub>j</sub> for the inputting of said datum A<sub>j</sub>, said selection signal S<sub>j</sub> corresponding to said datum A<sub>j</sub> and said output indicating signal V<sub>j</sub> is i (i < n), the datum A<sub>j</sub> to data holding means Ri, the i-th among n stages of data holding means R₁, R₂, ..., R<sub>n</sub>, conveying it as a datum P via n-i-1 stages of data holding means R<sub>i+1</sub>, R<sub>i+2</sub>, ..., R<sub>n</sub> n-i timing cycles later than the inputting of the datum A<sub>j</sub> or, when the value indicated by said selection signal S<sub>j</sub> is n, conveying the datum A<sub>j</sub> as the datum P to said n-th data holding means R<sub>n</sub> and, when said output indicating signal V<sub>j</sub> indicates invalidity, invalidating the input to said n-th data holding means R<sub>n</sub> or, when said output indicating signal V<sub>j</sub> indicates validity, conveying said datum P to said n-th data holding means R<sub>n</sub> and outputting said datum P 1 timing cycle later; where said m data A<sub>1</sub>, A<sub>2</sub>. ..., A<sub>j</sub>, ..., A<sub>m</sub> and said m input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> respectively corresponding to said data are entered and effective data among the m data are successively outputted at n x k + 1 (k is an integer) timing cycles.
0014The selection signal generating circuit for generating selection signals to determine the durations of data holding by the data holding circuit are controlled with input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> indicating the validity or invalidity of the input data A<sub>1</sub>, A<sub>2</sub>. ..., A<sub>j</sub>, ..., A<sub>m</sub>. If the input indicating signals T₁, T₂. ..., T<sub>j</sub>, ..., T<sub>m</sub> consecutively indicate validity, the selection signal will retain its value for the first input datum, but if an input indicating signal T<sub>j</sub> indicating invalidity is inputted midway, the selection signal will change to its next value. Further, the output indicating signal V<sub>j</sub> indicating whether the input to the n-th data holding means R<sub>n</sub> of the data holding circuit is to be validated or invalidated is generated by the indicating signal holding circuit on the basis of the input indicating signal T<sub>j</sub> and the selection signal S<sub>j</sub>. The data holding circuit, even if the input timings of different data are irregular or the input data include both valid and invalid ones, sends out at proper timings only effective data for ensuing processings by controlling the data holding durations and the validity or invalidity of the input data A<sub>j</sub> in accordance with the selection signals generated by the selection signal generating circuit and the output indicating signals generated by the indicating signal holding circuit.
BRIEF DESCRIPTION OF THE DRAWINGS
0015Features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which: <ul id="ul0001" list-style="none"><li>FIG. 1 is a block diagram of a first preferred embodiment of the invention;</li><li>FIG. 2 is a time chart illustrating the operation within the pipeline circuit which is the first preferred embodiment of the invention;</li><li>FIG. 3 is a time chart illustrating one example of method to stagger the operating timings of the pipeline circuit illustrated in FIG. 1;</li><li>FIG. 4 is a timing chart illustrating an example of the operation of an input crossbar using an output from the pipeline circuit which is the first preferred embodiment of the invention;</li><li>FIG. 5 is a block diagram of a second preferred embodiment of the invention;</li><li>FIG. 6 is a timing chart illustrating an example of the operation of an input crossbar using an output from the pipeline circuit which is the second embodiment of the invention;</li><li>FIG. 7 is a block diagram of an example of the configuration memory-peripheral circuits to which the pipeline circuit, which is the second embodiment, is applied;</li><li>FIG. 8 is a block diagram of an example of the configuration of a data processing apparatus having a memory comprising four banks;</li><li>FIG. 9 is a time chart illustrating an example of the operation of the input crossbar 903 of FIG. 8;</li><li>FIG. 10 is a block diagram of a third preferred embodiment of the invention;</li><li>FIG. 11 is a time chart illustrating the operation within the pipeline circuit which is the third preferred embodiment of the invention;</li><li>FIG. 12 is a time chart illustrating one example of method to stagger the operating timings of the pipeline circuit illustrated in FIG. 10;</li><li>FIG. 13 is a timing chart illustrating an example of the operation of an input crossbar using an output from the pipeline circuit which is the third preferred embodiment of the invention;</li><li>FIG. 14 is a block diagram of a fourth preferred embodiment of the invention;</li><li>FIG. 15 is a block diagram of a fifth preferred embodiment of the invention;</li><li>FIG. 16 is a block diagram of a sixth preferred embodiment of the invention;</li><li>FIG. 17 is a time chart illustrating the operation within the pipeline circuit which is the sixth preferred embodiment of the invention;</li><li>FIG. 18 is a time chart illustrating one example of method to stagger the operating timings of the pipeline circuit illustrated in FIG. 16;</li><li>FIG. 19 is a timing chart illustrating an example of the operation of an input crossbar using an output from the pipeline circuit which is the sixth preferred embodiment of the invention;</li><li>FIG. 20 is a block diagram of a seventh preferred embodiment of the invention; and</li><li>FIG. 21 is a block diagram of a eighth preferred embodiment of the invention.</li></ul>
0016In the figures, the same reference numerals denote respectively the same constituent elements.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
0017FIG. 8 is a typical block diagram of memory-peripheral circuits of a data processing apparatus capable of writing a serial data A = (a₁, a₂, ..., a<sub>m</sub>) and another serial data B = (b₁, b₂, ..., b<sub>m</sub>) into a memory 904 comprising four banks, BANK1, BANK2, BANK3 and BANK4. FIG. 9 is a time chart illustrating the operation of an input crossbar 903 in FIG. 8.
0018Referring to FIGS. 8 and 9, each of the banks BANK1 to BANK4 of the memory 904 requires two timing cycles of time for the data to be written into. An input register RIA, whose input is the serial data A = (a₁, a₂, ..., a<sub>m</sub>), is assigned reference timing cycle 1 of crossbar control and another input register RIB, whose input is the serial data B = (b₁, b₂, ..., b<sub>m</sub>), is assigned reference timing 3 of same.
0019An output register ROR1 has a decoder D1 for decoding a selection signal SL1 and a selecting circuit SE1 for selecting and outputting an input corresponding to the output of the decoder D1, and selects and stores the output data from the input register RIA when the reference timing cycle is 1; selects and stores the output data from the input register RIB when the reference timing cycle is 3, and holds the previous data when the reference timing cycle is 2 or 4.
0020Output registers ROR2, ROR3 and ROR4 respectively have decoders D2, D3 and D4 for decoding selection signals SL2, SL3 and SL4 and selecting circuits SE2, SE3 and SE4 for selecting and outputting their inputs corresponding to the outputs of the decoders D2, D3 and D4, and operate in the same manner as the output register ROR1 in response to the selection signals SL2, SL3 and SL4, respectively.
0021Referring now to FIG. 9, the output register ROR1 selects the output datum a₁ from the input register RIA at timing t1 in response to the value "1" of the selection signal SL1, stores it at timing t2 and holds it until timing t3. As it selects the output datum b₁ from the input register RIB in response to the value "3" of the selection signal SL1, the datum b₁ is stored at timing t4 and is held until timing t5. In this manner, the 4xk+1-th (k is a natural number) data a₁, b₁, a₅, b₅, a₉, b₉, ... of the two serial data A and B are successively stored into the output register ROR1, and become input data for the bank BANK1 of the memory 904.
0022Similarly, the 4 x k + 2-th data a₂, b₂, a₆, b₆, a₁₀, b₁₀, ... of the two serial data A and B are successively stored into the bank BANK2 through the output register ROR2; the 4 x k + 3-th data a₃, b₃, a₇, b₇, a₁₁, b₁₁, ... of the two serial data A and B are successively stored into the bank BANK3, and the 4 x k + 4-th data a₄, b₄, a₈, b₈, a₁₂, b₁₂, ... of the two serial data A and B are successively stored into the bank BANK4.
0023The operations described with reference to FIG. 9 presupposes that 4 x k + 1-th data a₁, a₅, a₉, ... of the serial data A is entered into the input register RIA and the 4 x k + 3-th data b₃, b₇, b₁₁, ... of the serial data B are entered into the input register RIB when the reference timing cycle of the input crossbar 903 is "1", the 4 x k + 2-th data a₂, a₆, a₁₀, ... of the serial data A and the 4 x k + 4-th data b₄, b₈, b₁₂, ... of the serial data B are entered into the input registers RIA and RIB, respectively, when the reference timing cycle is "2", the 4 x k + 3-th data a₃, a₇, a₁₁, ... of the serial data A and the 4 x k + 1-th data b₁, b₅, b₉, ... of the serial data B are entered into the input registers RIA and RIB, respectively, when the reference timing cycle is "3", and the 4 x k + 4-th data a₄, a₈, a₁₂, ... of the serial data A and the 4 x k + 2-th data b₂, b₆, b₁₀, ... of the serial data B are entered into the input registers RIA and RIB, respectively, when the reference timing cycle is "4".
0024Now will be explained a form of data to which the present invention applies and the way in which the form of data is described below.
0025One of the types of data to which the invention applies is a series X of data x₁, x₂, ..., x<sub>m</sub>, wherein the intervals between the elemental data x₁, x₂, ... are irregular.
0026An example of this type is output data from a processing unit whose processing time differs with the value of each datum or the like. Data R = (r₁, r₂, ..., r<sub>m</sub>) outputted from an arithmetic unit or a processor in which arithmetic operations, differing with a datum-corresponding control signal V = (v₁, v₂, ..., v<sub>m</sub>), take place between a series Y of operand data y₁, y₂, ..., y<sub>m</sub> and another series W of operand data w₁, w₂, ..., w<sub>m</sub>, and the processing time differs with the type of operation, the value of datum and the like, are an example of irregular intervals between elemental data as mentioned above. Where data are successively outputted at irregular intervals, for instance the second datum r₂ comes out five timing cycles after the first datum r₁ and the third r₃ does three timing cycles after that, if the arithmetic unit is a type which holds a datum until the next datum is outputted, a description of equal intervals on the time axis (i.e. at every timing cycle) will be D = (r₁, r₁, r₁, r₁, r₁, r₁, r₂, r₂, r₂, r₃, ..., r<sub>m</sub>), and a case in which invalid data come out between valid data will be represented in such a way as E = (r₁, -, -, -, -, r₂, -, -, r₃, ..., r<sub>m</sub>). Outputs of such an arithmetic unit requires signals indicating the timings of valid data for ensuring data correspondence. Validity being represented by "1" and invalidity, by "0", a signal F indicating a valid datum and the above data D or E will be F = (1, 0, 0, 0, 0, 1, 0, 0, 1, ..., 1), and correspond to data G = (g₁, g₂, ..., g<sub>t</sub>) representing D and E. In the foregoing examples, g₁ = r₁, g₆ = r₂, g₉ = r₃ ..., g<sub>t</sub> = r<sub>m</sub> and all other elemental data g₂, g₃, g₄, g₅, g₇, g₈, ... are invalid data whose values are irrelevant here.
0027Another example of irregular intervals between elemental data of a data series is found in data read out of a memory whose access time varies with the address. Further, if data from a processing system whose data transfer rate varies with the mode of use or the state of hardware (for instance, where three processing units are normally used and two of them continue processing in the event of one running into trouble, the number of processing units at work at a given point of time) are to be placed under the same control irrespective of the mode of use or the state of hardware, there will be required, as described above, the combination of a data series including both valid and invalid data and, corresponding to these data, a signal indicating the validity or invalidity of each elemental datum, and the data and the indicating signal can be represented like the aforementioned data G and indicating signal F, respectively.
0028In still another type of data to which the present invention applies, the validity or invalidity of individual data is indicated by another set of data. In a vector data processing apparatus, for instance, the concept of mask bit is used to distinguish between valid and invalid elemental data among vector data. A mask bit indicates valid data among operand vector data, so that valid data alone can be put to arithmetic operation or the operation is executed for all data and the validity or invalidity of the data resulting from the operation is indicated with a mask bit. These manners of operation are known as masked operations. Like the data of the first type described above, the vector data can be represented by H = (h₁, h₂, ..., h<sub>t</sub>) and the mask data, by J = (j₁, j₂, ..., j<sub>t</sub>).
0029Now, in the following description, said first and second types will be represented by an input data series A = (a₁, a₂, ..., a<sub>m</sub>) and indicating signals T = (1, 0, ..., 1) indicating the validity or invalidity of the data. This means that, where elemental data a₁, a₂, ..., a<sub>m</sub> are consecutively inputted in every timing cycle, a₁ is a valid datum, a₂, an invalid datum, and ..., a<sub>m</sub> are valid data.
0030Referring now to FIG. 1, a pipeline circuit 1000 in the first preferred embodiment of the present invention has an input indicating signal T and a data series A = (a₁, a₂, ..., a<sub>m</sub>) as input, and outputs a data series Y = (y₁, y₂, ..., y<sub>m</sub>).
0031A selection signal S from a selection signal generating circuit 101 is inputted to a data holding circuit 102, and is decoded by a decoder DCD to generate selections signals S₁, S₂, S₃ and S₄ for four stagcs of data holding means R1, R2, R3 and R4, respectively, into one or another of which is stored the input data A. If the selection signal S₃ out of the selection signals S₁, S₂, S₃ and S₄ is valid (logical "1"), the data A will be stored into the data holding means R3. The data A stored in the data holding means R3 are stored into the data holding means R4 one timing cycle later, and supplied as the output data of the data holding circuit 102, i.e. the output data Y of the pipeline circuit 1000.
0032The data holding means R2 can be realized, for instance as illustrated, with a register RG2 having a two-input one-output selecting circuit SE12 to whose first and second stage inputs are respectively supplied the output of the first data holding means R1 and the input data A and a gate G12 which provides the inverted signal of the selection signal S₂ to the first stage of the selecting circuit SE12 and at the same time the uninverted selection signal S₂ to the second stage of the selecting circuit SE12. This data holding means R2 selects and stores the data A when the selection signal S₂ is valid or the output data of the data holding means R1 when the selection signal S₂ is invalid (logical "0").
0033The data holding means R3 and R4, like the data holding means R2, can be respectively realized with registers RG3 and RG4 having two-input one-output selecting circuits SE13 and SE14 to whose first and second stage inputs are supplied the outputs of the preceding-stage data holding means R2 and R3 and the input data A, respectively, and gates G13 and G14 which provide the inverted signals of the selection signals S₃ and S₄ to the first stages of the selecting circuits SE13 and SE14 and at the same time the uninverted selection signals S₃ and S₄ to the second stages of the selecting circuits SE13 gnd SE14. The data holding means R1 can be realized with a register RG1 having a selecting circuit SE11 which outputs the data A when the selection signal S₁ is valid and stores the data A through this selecting circuit SE11.
0034The selection signal generating circuit 101, when the input indicating signal T entered corresponding to the data A indicates invalidity (logical "0"), generates and outputs a selection signal S indicating the value next to that indicated by the preceding selection signal S out of four periodic values 1, 2, 3, 4, 1 and 2, ... . For instance, if an input indicating signal T = 0 is inputted when the selection signal S indicates "1", the selection signal S will indicate "2" at the next timing. Similarly, if an input indicating signal T = 0 is inputted when the selection signal S indicates "2", the selection signal S will indicate "3" at the next timing; if an input indicating signal T = 0 is inputted when the selection signal S indicates "3", the selection signal S will indicate "4" at the next timing, and if an input indicating signal T = 0 is inputted when the selection signal S indicates "4", the selection signal S will indicate "1" at the next timing.
0035Conversely, if the input indicating signal T indicates validity (logical "1"), the selection signal generating circuit 101 will hold the value indicated by the preceding selection signal S. If, for instance, an input indicating signal T = 1 is inputted when the selection signal S indicates "1", the selection signal S will indicate "1" at the next timing, too.
0036The selection signal generating circuit 101 referred to above, as illustrated, can be realized with a cycle counter CNT having a two-input one-output selecting circuit SE21 to whose first and second stage inputs are respectively supplied the output of a +1 circuit AD and the current value of the selection signal S and a gate G21 which provides the inverted signal of the input indicating signal T to the first stage of the selecting circuit SE21 and at the same time the uninverted selection signal T to the second stage of same. This cycle counter CNT varies the value of the selection signal in synchronism with the timing cycle by selecting the value "S+1", which is the output of the +1 circuit AD, when the input indicating signal T is "0" or the value "S" when T is "1". This selection signal S can indicate one of four values, 1, 2, 3 and 4.
0037The operation of the pipeline circuit 1000 will be described below with reference to the time chart of FIG. 2, in which said registers RG1 to RG4 in the data holding means R1, R2, R3 and R4 are represented by first, second, third and fourth registers, respectively, and a register which receives the inputting of and stores the output data Y of the pipeline circuit 1000 and outputs them as data Z is represented by a Z register 103.
0038In FIG. 2, input indicating signals T correxponding to the input data series A = (a₁, a₂, a₃, ...) are supposed to be (0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0 and 0, ...). Thus a₂, a₅, a₆, a₁₀, and a₁₃, ... are valid data and, conversely, a₁, a₃, a₄, a₇, a₈, a₉, a₁₁, a₁₂, a₁₄, a₁₅, a₁₆, a₁₇, and a₁₈, ... are invalid data.
0039Further, the timing at which the first elemental datum a₁ of the input data series A is entered is supposed to be t1, and the selection signal S at that time, to indicate "2". Before the datum a₁ is entered, i.e. before timing t₁, the selection signal S periodically varies to indicate one or another of four recurring values, 1, 2, 3, 4, 1, 2, 3, 4 and 1, ... until it indicates "2" at timing T1.
0040Referring to FIG. 2, the datum a₁ inputted at timing t1 is entered into the second register RG2 in response to the selection signal S (= 2) at that time, and stored at the next timing t2. The selection signal S at timing t2 indicates "3", the value next to that of the selection signal S (= 2) of timing t1 in response to the input indicating signal T (= 0) at the preceding timing t1.
0041Then, the datum a₂ inputted at timing t2 is entered into the third register RG3 in response to the selection signal S (= 3) at that time, and stored at the next timing t3. The datum a₁ stored into the second register RG2 is not stored into the third register RG3 at timing t3 and instead is invalidated. The selection signal S at timing t3, in response to the input indicating signal T (= 1) at the preceding timing t2, is stored at timings t4, t5, t9, t10, T11, t12, t16 and t17, ... to become an element datum of the output data series Y of the pipeline circuit 1000, and stored into the Z register 103 at the respectively next timings t5, t6, t10, T11, t12, t13, t17 and t18, ... .
0042The intervals of the output timings of the valid data a₂, a₅, a₆, a₁₀, a₁₃, ... among the elemental data of the input serial data A = (a₁, a₂, a₃, ...) are 4xk+1 timing cycles (k is an integer), such as 5 (= 4 x 1 + 1) timing cycles between the data a₂ and a₅, 1 (= 4 x 0 + 1) timing cycle between the data a₅ and a₆, 1 timing cycle between the data a₆ and a₁₀, 5 timing cycles between the data a₁₀ and a₁₃, ... .
0043If the pipeline circuit 1000 is used as pipeline circuits 901 and 902 in FIG. 8, said Z register 103 will correspond to the input registers RIA and RIB. Now will be described with reference to the time chart of FIG. 3 an example of the operation of the pipeline circuit 902 when a reference timing cycle "1" of the input crossbar 903 is assigned to the input register RIA, another reference timing cycle "3" of same, to the input register RIB, and timing t5 shown in FIG. 2 (the timing at which the data a₂ is stored into the Z register 103, i.e. the input register RIA) coincides with the crossbar reference timing "1" (namely the operation shown in FIG. 2 is that of the pipeline circuit 901).
0044It is not meant that each reference timing cycle shown here has hardware items, such as a cycle counter, but it is a virtual timing cycle for designing or verifying a circuit for controlling data transfers, so that nothing more is required than for the timings of different parts within the data processing apparatus to be consistent with one another.
0045Referring now to FIG. 3, at timings before timing t0, a selection signal S<sub>B</sub> varies one timing cycle ahead of the crossbar reference timing. Thus, if the first valid datum is inputted (accompanied by the input indicating signal T (= 1)) in this state, the valid datum will be stored into the Z register 103 (i.e. the input register RIB) when the crossbar reference timing is "1". Since the crossbar reference timing of "3" is assigned to the input register RIB whose inputs are the data series B as stated above, the operating timing has to be shifted.
0046If, for instance, a dummy input indicating signal T = 1 is inputted twice at timings preceding the inputting of the first valid datum, the pipeline circuit 902 can store the first effective datum into the input register RIB when the crossbar reference timing is "3". Thus, referring to FIG. 3, by inputting the dummy input indicating signal T = 1 at timings t2 and t3, the pipeline circuit 902 will be standing by at timing t4 in a state one timing cycle behind the crossbar reference timing.
0047If, in that state, the input data series B (= b₁, b₂, b₃, ...) and the input indicating signals T (= 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, ...) corresponding to the data are entered from timing t5 on, the pipeline circuit 902 will operate in the same manner as the pipeline circuit described with reference to FIG. 2, and data b₁, b₃, b₄, b₅, b₇, ... are stored into the fourth register, which also is an output register of the pipeline circuit 902, at timings t6, t10, T11, t12, t13, ..., respectively, and into the Z register, i.e. the input register RIB, at the respectively next timings t7, T11, t12, t13, t14, ... .
0048The data entered into the input registers RIA and RIB by the operations illustrated in FIGS. 2 and 3 are further entered into the banks BANK1, BANK2, BANK3 and BANK4 of the memory 904 by the operation shown in the time chart of FIG. 4.
0049As stated above, a reference timing cycle of "1" is assigned to the input register RIA, and one of "3" to the input register RIB. The output register NOR1 selects and enters an output datum of the input register RIA when the reference timing cycle is "1"; stores it when the cycle is "2"; selects and enters an output datum of the input register RIB while holding the preceding datum when the cycle is "3"; stores it when the cycle is "4"; selects and enters another output datum of the input register RIA while holding the preceding datum when the cycle is again "1"; stores it when the cycle is again "2", ......, and repeats these same operations in the four timing cycles. As also described above, the output register ROR2 operates in the same manner as the output register ROR1 except that the former is one timing cycle behind the latter. Thus, it repeats in four timing cycles the operations of selecting and entering an output datum of the input register RIA, storing it at the next timing when the reference timing cycle is "2", selecting and entering an output datum of the input register RIB, and storing it at the next timing when the reference timing cycle is "4". The output register ROR3 operates in the same manner as the output register ROR2 except that the former is another timing cycle behind the latter, and this correspondingly applies to the output register ROR4.
0050As a result of these operations, as shown in FIG. 4, when the reference timing cycle is "1", the datum a₂ stored into the input register RIA at timing t5 is stored into the output register ROR1 at timing t6, and the datum a₄ stored into the input register RIA at timing t6 is stored into the output register ROR2 at timing t7; and when the reference timing cycle is "3", the datum b₁ stored into the input register RIB at timing t7 is stored into the output register ROR1 at timing t8. Similar operations are repeated thereafter, and the data a₂, b₁, b₃, a₁₁, b₈, a₁₃, ... are entered into the bank BANK1 of the memory via the output register ROR1, the data a₄, a₅, b₄, b₁₀, a₁₆, ... are entered into the bank BANK2 of the memory via the output register ROR2, the data a₆, b₅, ... are entered into the bank BANK3 of the memory via the output register ROR3, and the data a₁₀, b₇, ... are entered into the bank BANK4 of the memory via the output register ROR4.
0051To consider here a serial data D (= d₁, d₂, d₃, d₄, d₅, ... = a₂, a₅, a₆, a₁₀, a₁₃, ...) comprising only valid ones out of the serial data A (= a₁, a₂, a₃, ...) and a serial data F (=f₁, f₂, f₃, f₄, f₅, ... = b₃, b₄, b₅, b₇, b₈, ...) only valid ones out of the serial data B (= b₁, b₂, b₃, ...), it is seen that the 4xk+1-th (k is an integer) data d₁ (= a₂), f₁ (=b₃), d₅ (= a₁₃), f₅ (= b₈), ... of the serial data D and F are entered into the bank BANK1 of the memory; the 4xk+2-th (k is an integer) data d₂ (= a₅), f₂ (=b₄), ... of the data series D and F, into the bank BANK2 of the memory; the 4xk+3-th data d₃ (= a₆), f₃ (= b₅), ... of the data series D and F, into the bank BANK3 of the memory; and the 4xk+4-th data d₄ (= a₁₀), f₄ (= b₇), ... of the data series D and F, into the bank BANK4 of the memory.
0052Thus it is seen that the pipeline circuit according to the present invention is effective for adjusting the timing to supply data, even if the input data include invalid data, to an interleave type processing apparatus in a sequence for valid data alone.
0053FIG. 5 is a block diagram of a second preferred embodiment of the present invention, where the advantage of the pipeline circuit according to the invention is increased by having not only the input data series A but also the input indicating signals T, as referred to in the first embodiment shown in FIG. 1, inputted to a data holding circuit 502.
0054Referring to FIG. 5, a pipeline circuit 5000 has input indicating signals T and a data series A (= a₁, a₂, ..., a<sub>m</sub>), and supplies output indicating signals H and a data series Y.
0055The data holding circuit 502 receives a selection signal S from a selection signal generating circuit 501, decodes it with a decoder DCD into selection signals S₁, S₂, S₃ and S₄ for four stages of data holding means R1, R2, R3 and R4, respectively, and stores data P, each of which consists of a pair of one of the data A and an input indicating signal T corresponding to that datum, into one of the four-stage data holding means R1, R2, R3 and R4. If, for instance, the selection signal S₃ out of the selection signals S₁, S₂, S₃ and S₄ is valid, the data P will be stored into the data holding means R3. The data P stored in the data holding means R3 are stored into the data holding means R4 one timing cycle later to become the output data of the data holding circuit 502, i.e. of the pipeline circuit 5000. There are a Z register 503 and an E register 504 for respectively storing output data Y, which correspond to the input data A of the output data of the data holding circuit 502, and data H corresponding to the input indicating signals T of same, and outputting them as data Z and E.
0056Description of other parts of the pipeline circuit 5000 is dispensed with because they are equivalent to those of the pipeline circuit 1000 of FIG. 1.
0057If the pipeline circuit 5000 is used as the pipeline circuits 901 and 902 in FIG. 8, a register combining said E register and Z register will correspond to the input registers RIA and RIB of the input crossbar 903, but partial registers corresponding to the E register will be referred to as EIA and EIB and those corresponding to the Z register, as RIA and RIB here as illustrated in FIG. 7 for the convenience of description. The registers RIA and EIA operate in the same manner, and so do the registers RIB and EIB. Similarly, partial registers EOR1 to EOR4, as shown in FIG. 7, are also added as output registers, and it is supposed that the registers ROR1 and EOR1 operate in the same manner and so do the pair of registers ROR2 and EOR2, that of registers ROR3 and EOR3 and that of registers ROR4 and EOR4. An example of operation in the input crossbar 903 when the pipeline circuit 5000 is used as the pipeline circuits 901 and 902 in FIG. 7 will be described below with reference to the block diagram of FIG. 7 and the time chart of FIG. 6.
0058Input indicating signals corresponding to the input serial data A = (a₁, a₂, a₃, ...) to the pipeline circuit 901 being represented by T<sub>A</sub> (= 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, ...) and those corresponding to the input serial data B = (b₁, b₂,b₃, ...) to the pipeline circuit 902 being represented by T<sub>B</sub> (= 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, ...), these data are entered into the input registers RIA, EIA, RIB and EIB of the crossbar 903 as shown in FIG. 6 in the same manner as in the first embodiment described with reference to FIGS. 1 to 4.
0059Referring to FIG. 6, when the reference timing cycle is "1", the datum a₂ and the indicating signal "1" for the data a₂ respectively stored at timing t5 into the input registers RIA and EIA are stored at timing t6 into the output registers ROR1 and EOR1; the datum a₄ and the indicating signal "0" for the data a₄ respectively stored at timing t6 into the input registers RIA and EIA are stored at timing t7 into the output registers ROR2 and EOR2, and when the reference timing cycle is "3", the datum b₁ and the indicating signal "0" for the data b₁ respectively stored at timing t7 into the input registers RIA and EIB are stored at timing t8 into the output registers ROR1 and EOR1. Similar operations are repeated thereafter, so that the data a₂, b₁,b₃, a₁₁, ... are stored into the output register ROR1; indicating signals 1, 0, 1, 0, ... respectively corresponding thereto are stored into the output register EOR1; the data a₄, a₅,b₄, ... are stored into the output register ROR2; indicating signals 0, 1, 1, ... respectively corresponding thereto are stored into the output register EOR2; the data a₆,b₅, ... are stored into the output register ROR3; indicating signals 1, 1, ... respectively corresponding thereto are stored into the output register EOR3; and the data a₁₀, b₇, ... are stored into the output register ROR4, indicating signals 1, 1, ... respectively corresponding thereto are stored into the output register EOR4.
0060The datum a₂ and the indicating signal "1" for it stored into the output registers ROR1 and EOR1 at timing t6 are entered into the bank BANK1 of the memory and, as the indicating signal is "1", the datum a₂ is stored into the bank BANK1 of the memory at timing t7.
0061The datum a₄ and the indicating signal "0" for it stored into the output registers ROR2 and EOR2 at timing t7 are entered into the bank BANK2 of the memory, but, as the indicating signal is "0", the datum a₄ is not stored therein.
0062Thereafter, by similar operations, the data a₂, b₃ are stored into the bank BANK1, the data a₅,b₄, ..., into the bank BANK2, the data a₆,b₅, ..., into the bank BANK3, and the data a₁₀, b₇, ..., into the bank BANK4 of the memory.
0063By the operations described so far, the valid data a₂, a₅, a₆, a₁₀, a₁₃, ... out of the input serial data A (= a₁, a₂, a₃, ...) and the valid data b₃, b₄, b₅, b₇, b₈, ... out of the input serial datum B (= b₁, b₂, b₃, ...) entered into the pipeline circuit are stored in the memory in the sequence of valid data alone.
0064Thus the pipeline circuit 5000 of FIG. 5 represents an addition, to the functions of the pipeline circuit 1000 of FIG. 1, of another function to convey the indication of validity or invalidity of the output data to another circuit downstream.
0065Referring now to FIG. 10, a pipeline circuit 3000 in a third preferred embodiment of the present invention has input indication signals T and a serial data A (= a₁, a₂, ..., a<sub>m</sub>) as its inputs and outputs a serial data Y ( y₁, y₂, ..., y<sub>t</sub>).
0066A data holding circuit 302 receives the inputting of a selection signal S from a selection signal generating circuit 101, generates selection signals S₁, S₂, S₃ and S₄ for four stages of data holding means R1′, R2′, R3′ and R4′, respectively, by decoding the selection signal S, and stores the input data A into one of the four-stage data holding means R1′, R2′, R3′ and R4′. If, for instance, the selection signal S₃ out of the selection signals S₁, S₂, S₃ and S₄ is valid (logical "1" for example), the data A will be stored into the data holding means R3′. If, however, the input indicating signal is invalid (logical "0" for example), the data A will be invalidated and not stored into the data holding means R3′. The data A, stored into the data holding means R3′ when the input indicating signal T is valid, are stored into the data holding means R4′ one timing cycle later, and supplied as the output data of the data holding circuit 302, i.e. as the output data Y of the pipeline circuit 3000.
0067The data holding means R2′, for instance as illustrated, can be realized with a register RG2 having a two-input one-output selecting circuit SE12 to whose first and second-stage inputs are supplied the output of the first data holding means R1′ and the input data A, respectively, a gate G12 which provides the inverted signal of the selection signal S₂ to the first stage of the selecting circuit SE12 and at the same time outputs the uninverted selection signal S₂ and a gate G16 which supplies the logical product of the input indicating signal T and the selection signal S₂ to the second stage of the selecting circuit SE12. It selects and stores the data A when both the input indicating signal T and the selection signal S₂ are valid or the output data of the data holding means R2′ when the selecting signal S₂ is invalid.
0068The data holding means R3′ and R4′, like the data holding means R2′, can be respectively realized with registers RG3 and RG4 having two-input one-output selecting circuits SE13 and SE14 to whose first and second stage inputs are supplied the outputs of the preceding-stage data holding means R2′ and R3′ and the input data A, respectively, and gates G15 and G17 which provide the inverted signals of the selection signals S₃ and S₄ to the first stages of the selecting circuits SE13 and SE14 and at the same time the uninverted selection signals S₃ and S₄ to the second stages of the selecting circuits SE13 and SE14. The data holding means R1′ can be realized with a register RG1 having a selecting circuit SE11 which outputs the data A when the output of a gate G11 supplying the logical product of the selection signal S₁ and the input indicating signal T is valid, and stores the data A through this selecting circuit SE11.
0069The selection signal generating circuit 101, when the input indicating signal T entered corresponding to the data A indicates invalidity (logical "0"), generates and outputs a selection signal S indicating the value next to that indicated by the preceding selection signal S out of four periodic values 1, 2, 3, 4, 1 and 2, .... For instance, if an input indicating signal T = 0 is inputted when the selection signal S indicates "1", the selection signal S will indicate "2" at the next timing. Similarly, if an input indicating signal T = 0 is inputted when the selection signal S indicates "2", the selection signal S will indicate "3" at the next timing; if an input indicating signal T = 0 is inputted when the selection signal S indicates "3", the selection signal S will indicate "4" at the next timing, and if an input indicating signal T = 0 is inputted when the selection signal S indicates "4", the selection signal S will indicate "1" at the next timing.
0070Conversely, if the input indicating signal T indicates validity (logical "1"), the selection signal generating circuit 101 will hold the value indicated by the preceding selection signal S. If, for instance, an input indicating signal T = 0 is inputted when the selection signal S indicates "1", the selection signal S will indicate "1" at the next timing, too.
0071The selection signal generating circuit 101 referred to above can be realized, as illustrated, with a cycle counter CNT having a two-input one-output selecting circuit SE21 to whose first and second stage inputs are respectively supplied the output of a +1 circuit AD and the current value of the selection signal S and a gate G21 which provides the inverted signal of the input indicating signal T to the first stage of the selecting circuit SE21 and at the same time the uninverted selection signal T to the second stage of same. This cycle counter CNT varies the value of the selection signal in synchronism with the timing cycle by selecting the value "S+1", which is the output of the +1 circuit AD, when the input indicating signal T is "0" or the value "S" when the input indicating signal T is "1". This selection signal S can indicate one of four values, 1, 2, 3 and 4.
0072The operation of the pipeline circuit 3000 will be described below with reference to the time chart of FIG. 11, in which said registers RG1 to RG4 in the data holding means R1′, R2′, R3′ and R4′ are representec by first, second, third and fourth registers, respectively, and a register which receives the inputting of and stores the output data Y of the pipeline circuit 3000 and outputs them as data Z is represented by a Z register 103.
0073In FIG. 11, input indicating signals T corresponding to the input serial data A = (a₁, a₂, a₃, ...) are supposed to be (0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0 and 0, ...). Thus a₂, a₅, a₆, a₁₀, and a₁₃, ... are valid data and, conversely, a₁, a₃, a₄, a₇, a₈, a₉, a₁₁, a₁₂, a₁₄, a₁₅, a₁₆, and a₁₇, ... are invalid data.
0074Further, the timing at which the first elemental datum a₁ of the input data series A is entered is supposed to be t1, and the selection signal S at that time, to indicate "2". Before the datum a₁ is entered, i.e. before timing t1, the selection signal S periodically varies to indicate one or another of four recurring values, 1, 2, 3, 4, 1, 2, 3, 4 and 1, ... until it indicates "2" at timing t1.
0075Referring to FIG. 11, the datum a₁ inputted at timing t1 is not entered into the second register RG2 and is invalidated instead, though the selection signal S is "2" at that time, because the input indicating signal is invalid (logical "0"). The selection signal S at timing t2 indicates "3", the value next to that of the selection signal S (= 2) of timing t1 in response to the input indicating signal T (= 0) at the preceding timing t1.
0076Then, the datum a₂ inputted at timing t2 is entered into the third register RG3 in response to the selection signal S (= 3) at that time because the input indicating signal T is valid (logical "1"), and stored at the next timing t3. The selection signal S at timing t3 holds the selection signal S (= 3) of timing t2 in response to the input indicating signal T (= 1) at the preceding timing t2.
0077In response to the selection signal S (= 3) of timing t3, the output datum a₂ of the third register RG3 is entered into the fourth register RG4, and stored at the next timing t4.
0078Further, the datum a₃ entered at timing t3 is not entered into the third register RG3 at timing t3 and instead is invalidated, though the selection signal S at that time indicates "3", because the input indicating signal T indicates "0". The selection signal S at timing t4, in response to the input indicating signal T (= 0) of timing t3 and the selection signal of "3", indicates the next value "4".
0079The datum a₄ entered at timing t4 is not entered into the fourth register RG4 and is invalidated instead because the selection signal S and input indicating signal T at that time are "4" and "0", respectively. The selection signal S at timing t5, in response to the input indicating signal T (= 0) and the selection signal of "4" at timing t4, indicates the next value "1".
0080Similar operations are repeated at and after timing t5, and into the fourth register RG4, which also is the output register of the pipeline circuit 3000, are stored the data a₂, a₅, a₆, a₁₀, a₁₃, ... at timings t4, t9, t10, t11, t16 ..., respectively, each to become an element datum of the output data series Y of the pipeline circuit 3000, and stored into the Z register 103 at the respectively next timings t5, t10, T11, t12, t17 ...
0081Here, the intervals of the output timings of the valid data a₂, a₅, a₆, a₁₀, a₁₃, ... among the elemental data of the input data series A = (a₁, a₂, a₃, ...) are 4xk+1 timing cycles (k is an integer), such as 5 (= 4 x 1 + 1) timing cycles between the data a₂ and a₅, 1 (= 4 x 0 + 1) timing cycle between the data a₅ and a₆, 1 timing cycle between the data a₆ and a₁₀, 5 timing cycles between the data a₁₀ and a₁₃, ...
0082If the pipeline circuit 3000 is used as the pipeline circuits 901 and 902 in FIG. 8, said Z register 103 will correspond to the input registers RIA and RIB. Now will be described with reference to the time chart of FIG. 12 an example of the operation of the pipeline circuit 902 when a reference timing cycle "1" of the input crossbar 903 is assigned to the input register RIA, another reference timing cycle "3" of same, to the input register RIB, and timing t5 shown in FIG. 11 (the timing at which the data a₂ is stored into the Z register 103, i.e. the input register RIA) coincides with the crossbar reference timing "1" (namely the operation shown in FIG. 11 is that of the pipeline circuit 901).
0083Referring now to FIG. 12, at timings before timing t0, a selection signal S<sub>B</sub> varies one timing cycle ahead of the crossbar reference timing. Thus, if the first valid datum is inputted (accompanied by the input indicating signal T (= 1)) in this state, the valid datum will be stored into the Z register 103 (i.e. the input register RIB) when the crossbar reference timing is "1". Since the crossbar reference timing of "3" is assigned to the input register RIB whose inputs are the data series B as stated above, the operating timing has to be shifted.
0084If, for instance, a dummy input indicating signal T = 1 is inputted twice at timings preceding the inputting of the first valid datum, the pipeline circuit 902 can store the first valid datum into the input register RIB when the crossbar reference timing is "3". Thus, referring to FIG. 12, by inputting the dummy input indicating signal T = 1 at timings t2 and t3, the pipeline circuit 902 will be standing by at timing t4 in a state one timing cycle behind the crossbar reference timing.
0085If, in that state, the input data series B (= b₁, b₂, b₃, ...) and the input indicating signals T (= 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, ...) corresponding to the data are entered from timing t5 on, the pipeline circuit 902 will operate in the same manner as the pipeline circuit described with reference to FIG. 2, and data b₃,b₄,b₅, b₇, b₈, ... are stored into the fourth register, which also is an output register of the pipeline circuit 902, at timings t10, t11, t12, t13, t14 ..., respectively, and into the Z register, i.e. the input register RIB, at the respectively next timings t11, t12, t13, t14, t15, ...
0086The data entered into the input registers RIA and RIB by the operations illustrated in FIGS. 11 and 12 are further entered into the banks BANK1, BANK2, BANK3 and BAND4 of the memory 904 by the operation shown in the time chart of FIG. 4.
0087As stated above, a reference timing cycle of "1" is assigned to the input register RIA, and one of "3" to the input register RIB. The output register ROR1 selects and enters an output datum of the input register RIA when the reference timing cycle is "1"; stores it when the cycle is "2"; selects and enters an output datum of the input register RIB while holding the preceding datum when the cycle is "3"; stores it when the cycle is "4"; selects and enters another output datum of the input register RIA while holding the preceding datum when the cycle is again "1"; stores it when the cycle is again "2", ......, and repeats these same operations in the four timing cycles. As also described above, the output register ROR2 operates in the same manner as the output register ROR1 except that the former is one timing cycle behind the latter. Thus, it repeats in four timing cycles the operations of selecting and entering an output datum of the input register RIA, storing it at the next timing when the reference timing cycle is "2", selecting and entering an output datum of the input register RIB, and storing it at the next timing when the reference timing cycle is "4". The output register ROR3 operates in the same manner as the output register ROR2 except that the former is another timing cycle behind the latter, and this correspondingly applies to the output register ROR4.
0088As a result of these operations, as shown in FIG. 13, the datum a₂ stored into the input register RIA at timing t5 is stored into the output register ROR1 at timing t6 when the reference timing cycle is "1", the datum a₅ stored into the input register RIA at timing t10 is stored into the output register ROR2 at timing T11 when the reference timing cycle is "2"; and the data a₂ and b₃ stored into the input registers RIA and RIB at timing t11 are stored into the output registers ROR3 and ROR1, respectively, at timing t12 when the reference timing cycle is "3". Similar operations are repeated thereafter, and the data a₂, b₃, b₈, a₁₃ ... are entered in the bank BANK1 of the memory via the output register ROR1, the data a₅, b₄, ... are entered into the bank BANK2 of the memory via the output register ROR2, the data a₆, b₅, ... are entered into the bank BANK3 of the memory via the output register ROR3, and the data a₁₀, b₇, ... are entered into the bank BANK4 of the memory via the output register ROR4.
0089To consider here a serial data D (= d₁, d₂, d₃, d₄, d₅, ... = a₂, a₅, a₆, a₁₀, a₁₃, ...) comprising only valid ones out of the data series A (= a₁, a₂, a₃, ...) and a data series F (= f₁, f₂, f₃, f₄, f₅, ... = b₃, b₄, b₅, b₇, b₈, ...) comprising only valid ones out of the data series B (= b₁, b₂,b₃, ...), it is seen that the 4xk+1-th (k is an integer) data d₁ (= a₂), f₁ (= b₃), d₅ (= a₁₃), f₅ (= b₈), ... of the data series D and F are entered into the bank BANK1 of the memory; the 4xk+2-th (k is an integer) data d₂ (= a₅), f₂ (=b₄), ... of the data series D and F, into the bank BANK₂ of the memory; the 4xk+3-th data d₃ (= a₆), f₃ (= b₅), ... of the data series D and F, into the bank BANK3 of the memory; and the 4xk+4-th data d₄ (= a₁₀), f₄ (= b₇), ... of the data series D and F, into the bank BANK4 of the memory.
0090Thus it is seen that the pipeline circuit according to the present invention is effective for adjusting the timing to supply data, even if the input data include invalid data, to an interleave type processing apparatus in a sequence for valid data alone.
0091FIG. 14 is a block diagram of a fourth preferred embodiment of the present invention, where the advantage of the pipeline circuit according to the invention is increased by having not only the input serial data A but also the input indicating signals T, as referred to in the third embodiment shown in FIG. 10, inputted to a data holding circuit. In FIG. 14, the same reference numerals as in FIG. 10 denote respectively the same constituent elements.
0092Referring to FIG. 14, a pipeline circuit 6000 has input indicating signals T and a serial data A (= a₁, a₂, ..., a<sub>m</sub>), and supplies output indicating signals H and a data series Y.
0093The data holding circuit 502 receives the inputting of a selection signal S from a selection signal generating circuit 101, decoders it with a decoder DCD into selection signals S₁, S₂, S₃ and S₄ for four stages of data holding means R1˝, R2˝, R3˝ and R4˝, respectively, and stores data P, each of which consists of a pair of one of the data A and an input indicating signal T corresponding to that datum, into one of the four-stage data holding means R1˝, R2˝, R3˝ and R4˝. If, for instance, the selection signal S₃ out of the selection signals S₁, S₂, S₃ and S₄ is valid, the data P will be stored into the data holding means R3˝, though the data P will be invalidated and not stored into the data holding means R3˝ if the input indicating signal indicates invalidity (logical "0" for instance). The data P stored in the data holding means R3˝ when the input indicating signal T indicates validity (logical "1" for instance) are stored into the data holding means R4˝ one timing cycle later to become the output data of the data holding circuit 602, i.e. of the pipeline circuit 6000. There are a Z register 603 and an E register 604 for respectively storing output data Y, which correspond to the input data A of the output data of the data holding circuit 602, and data H corresponding to the input indicating signals T of same, and outputting them as data Z and E.
0094As the data Y outputted from the data holding circuit 602 at the timings at which the output data H, namely the output data E of the E register 604 indicate validity, i.e. the output data Z of the Z register 603, are always valid, the data H can be used as control signals for the data Y (for instance as write enable signals or the like) in another circuit downstream.
0095Other parts of the pipeline circuit 6000 are equivalent to those of the pipeline circuit 3000 of FIG. 10.
0096FIG. 15 is a block diagram of a fifth preferred embodiment of the present invention, where the advantage of the pipeline circuit according to the invention is increased by inputting not only the input serial data A and the input indicating signals T, as referred to in the third embodiment shown in FIG. 10, but also a selection signal initial value S0 and an initial value setting indicating signal ST. Equivalent constituent elements to those in FIG. 10 are denoted by respectively the same reference numerals.
0097Referring to FIG. 15, a selection signal generating circuit 303, having the selection signal initial value S0, the initial value setting indicating signal ST and the input indicating signal T as inputs, outputs the selection signal initial value S0 as the selection signal S of the next timing when the initial value setting indicating signal ST indicates validity; generates and outputs the selection signal indicating the value next to what was indicated by the preceding selection signal S out of the four periodic values 1, 2, 3, 4, 1, 2, ... when both the initial value setting indicating signal ST and the input indicating signal T indicate invalidity; and holds the value indicated by the preceding selection signal S when the initial value setting indicating signal ST and the input indicating signal T respectively indicate invalidity and validity.
0098The selection signal generating circuit 303 referred to above, as illustrated, can be realized with a cycle counter CNT2 having a three-input one-output selecting circuit SE31 to whose first, second and third stage input are respectively supplied the selection signal initial value S0, the output of a +1 circuit AD and the current value of the selection signal S; a gate G31 which provides the initial value setting indicating signal ST to the first stage of the selecting circuit SE31 and at the same time generates its inverted signal; a gate G32 which outputs the input indicating signal T and its inverted signal; a gate G33 which provides the logical proeuct of the inverted signal of the initial value setting indicating signal ST and that of the input indicating signal T to the second stage of the selecting circuit SE31; and a gate G34 which provides the logical product of the inverted signal of the initial value setting indicating signal ST and the input indicating signal T to the third stage of the selecting circuit SE31. This cycle counter CNT2 varies the value of the selection signal in synchronism with the timing cycle by selecting the value of the selection signal initial value S0 when the initial value setting indicating signal ST indicates "1", the value "S+1" when both the initial value setting indicating signal ST and the input indicating signal T indicate "0", or the value "S" when the initial value setting indicating signal ST indicates "0" and the input indicating signal T indicates "1". This selection signal S can indicate one of four values, 1, 2, 3 and 4.
0099Other parts of the pipeline circuit 7000 are equivalent to those of the pipeline circuit 3000 of FIG. 10.
0100The pipeline circuit 7000 described above, if used, for instance, as the pipeline circuit 902 described with reference to FIGS. 12 and 8, can adjust the timing of the selecting signal S, so that the first valid datum can be stored into the input register RIB when the crossbar reference timing is "3", by inputting a value one timing cycle behind the crossbar reference timing as the selection signal initial value S0 together with the initial value setting indicating signal ST.
0101Now referring to FIG. 16, a pipeline circuit 2000 has input indicating signals T and a serial data A (= a₁, a₂, ..., a<sub>m</sub>), and outputs a serial data Y.
0102The data holding circuit 202 receives the inputting of a selection signal S from a selection signal generating circuit 101, decodes it with a decoder DCD1 into selection signals S₁, S₂, S₃ and S₄ for four stages of data holding means R1, R2, R3 and R4˝, respectively, and stores input data A into one of the four-stage data holding means R1, R2, R3 and R4˝. If, for instance, the selection signal S₃ out of the selection signals S₁, S₂, S₃ and S₄ is valid (logical "1" for instance), the data A will be stored into the data holding means R3. If, however, the selection signal S₄ is invalidated when the output indicating signal from an indicating signal holding circuit 203 is invalid (logical "0" for example), the data A will not be stored into the data holding means R4˝ and invalidated instead. The data A stored in the data holding means R3 are stored into the data holding means R4˝ one timing cycle later to be supplied as the output data of the data holding circuit 202, i.e. the output data Y of the pipeline circuit 2000. If, however, the output indicating signal V one timing cycle later than the timing at which the data A were stored into the data holding means R3 indicates invalidity, the output data of the data holding means R3 will not be stored into the data holding means R4˝ and be invalidated instead.
0103The data holding means R2, as illustrated, can be realized with a register RG2 having a two-input one-output selecting circuit SE12 to whose first and second stage inputs are respectively supplied the output of the data holding means R1 and the input data A, and a gate G12 which provides the inverted signal of the selection signal S₂ to the first stage of the selecting circuit SE12 and at the same time the uninverted selection signal S₂ to the second stage of the selecting circuit SE12. It selects and stores the data A when the selecting signal S₂ is valid or the output data of the data holding means R1 when the selection signal S₂ is invalid (logical "0").
0104The data holding means R3 and R4, like the data holding means R2, can be respectively realized with registers RG3 each having two-input one-output selecting circuits SE13 to whose first and second stage inputs are supplied the outputs = of the preceding-stage data holding means R2 and the input data A, respectively, and a gate G13 which provides the inverted signal of the selection signal S₃ to the first stage of the selecting circuit SE13 and at the same time the uninverted selection signal S₃ to the second stage of the selecting circuit SE13. The data holding means R1 can be realized with a register RG1 having a selecting circuit SE11 which outputs the data A when the selection signal S₁ is valid and stores the data A through this selecting circuit SE11.
0105The data holding means R4˝ can be realized with a register RG4 having a two-input one-output selecting circuit SE12 to whose first and second stage inputs are respectively supplied the output of the preceding-stage data holding means R3 and the input data A; a gate G14 which supplies the selection signal S₄ and its inversion output; a gate G19 which obtains the logical product of the output indicating signal V and the inversion output of said selection signal and supplies the output to the first stage of the selecting circuit SE14, and a gate G18 which obtains the logical product of the selection signal S₄ and the output indicating signal V and supplies the output to the second stage of the selecting circuit SE14. When the selection signal S₄ is valid (logical "1") and the output indicating signal V is also valid (logical "1"), the output of the gate G18 is validated, and the second stage of the selecting circuit SE14 is selected, so that the data A are stored into the register RG4; when the selecting signal S₄ is invalid (logical "0") and the output indicating signal V is valid, the output of the gate G19 is validated and the first stage of the selecting circuit SE14 is selected, so that the output data of the data holding means R3 are stored into the register RG4; or when the output indicating signal V is invalid, none is stored and the input data are invalidated (all the bits are "0" for instance).
0106The selection signal generating circuit 101, when the input indicating signal T entered corresponding to the data A indicates invalidity (logical "0"), generates and outputs a selection signal S indicating the value next to that indicated by the preceding selection signal S out of four periodic values 1, 2, 3, 4, 1 and 2, ... For instance, if an input indicating signal T = 0 is inputted when the selection signal S indicates "1", the selection signal S will indicate "2" at the nest timing. Similarly, if an input indicating signal T = 0 is inputted when the selection signal S indicates "2", the selection signal S will indicate "3" at the next timing; if an input indicating signal T = 0 is inputted when the selection signal S indicates "3", the selection signal S will indicate "4" at the next timing, and if an input indicating signal T = 0 is inputted when the selection signal S indicates "4", the selection signal S will indicate "1" at the next timing.
0107Conversely, if the input indicating signal T indicates validity (logical "1"), the selection signal generating circuit 101 will hold the value indicated by the preceding selection signal S. If, for instance, an input indicating signal T = 1 is inputted when the selection signal S indicates "1", the selection signal S will indicate "1" at the next timing, too.
0108The selection signal generating circuit 101 referred to above, as illustrated, can be realized with a cycle counter CNT1 having a two-input one-output selecting circuit SE21 to whose first and second stage inputs are respectively supplied the output of a +1 circuit AD and the current value of the selection signal S, and a gate G21 which provides the inverted signal of the input indicating signal T to the first stage of the selecting circuit SE21 and at the same time the uninverted input indicating signal to the second stage of the selecting circuit SE21. This cycle counter CNT1 varies the value of the selection signal in synchronism with the timing cycle by selecting the value "S+1", which is the output of the +1 circuit AD, when the input indicating signal T indicates "0", or the value "S" when the input indicating signal indicates "1". This selection signal S can indicate one of four values, 1, 2, 3 and 4.
0109The indicating signal holding citcuit 203 receives the inputting of the selection signal S, from which it generates with a decoder DCD2 selection signals S₁, S₂ and S₃ for three stages of indicating signal holding means F1, F2 and F3, respectively, a selection signal S₄ for a selecting circuit SE34 for supplying the output indicating signal V, and decides whether to store the input indicating signal T into one of the three-stage indicating signal holding means F1, F2 and F3 or to supply it as the output indicating signal V. If the selection signal S₃, for instance, out of the selection signals S₁, S₂, S₃ and S₄ is valid, the input indicating signal T is stored into the indicating signal holding means F3. The input indicating signal T stored into the indicating signal holding means F3 is supplied one timing cycle later from the selecting circuit SE34 as the output indicating signal V. If the selection signal S₄ out of the selection signals S₁, S₂, S₃ and S₄ is valid, the input indicating signal T will be directly supplied as the output indicating signal V from the selecting circuit SE34.
0110The indicating signal holding means F2, for instance as illustrated, can be realized with a register RG12 having a two-input one-output selecting circuit SE32 to whose first and second stage inputs are respectively supplied the output of the preceding-stage indicating signal holding means F1 and the input indicating signal T, and a gate G31 which provides the inverted signal of the selection signal S₂ to the first stage of the selecting circuit SE31 and at the same time the uninverted selection signal S₂ to the second stage of the selecting circuit SE31. It selects and stores the input indicating signal T when the selection signal S₂ is effective (logical "1") or the output data of the indicating signal holding means F1 when the selection signal S₂ is invalid (logical "0").
0111The indicating signal holding means F3, like the indicating signal holding means F2, can be realized with a register RG13 having a two-input one-output selecting circuit SE33 to whose first and second-stage inputs are supplied the output of the preceding-stage indicating signal holding means F2 and the input indicating signal T, respectively, and a gate G32 which provides the inverted signal of the selection signal S₃ to the first stage of the selecting circuit SE33 and at the same time the uninverted seledtion signal S₃ to the second stage of same. The indicating signal holding means F1 can be realized with a register RG11 having a selecting circuit SE31 which outputs the input indicating signal T when the selection signal S₁ is valid and stores the input indicating signal T through this selecting circuit SE31. Further, a gate G33 supplies the inverted signal of the selection signal S₄ to the first stage of a selecting circuit SE34 and at the same time the uninverted selection signal S₄ to the second stage of same. The selecting circuit SE34 supplies the output of the indicating signal holding means F3 as the output indicating signal V when the first stage is selected by the gate G33 or the input indicating signal T as the output indicating signal V when the second stage is selected.
0112The operation of the pipeline circuit 2000 will be described below with reference to the time chart of FIG. 17, in which said registers RG1 to RG4 in the data holding means R1, R2, R3 and R4 are represented by first, second, third and fourth registers, respectively, and a register which receives the inputting of and stores the output data Y of the pipeline circuit 2000 and outputs them as data Z is represented by a Z register 204.
0113In FIG. 17, input indicating signals T corresponding to the input data series A = (a₁, a₂, a₃, ...) are supposed to be (0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0 and 0, ...). Thus a₂, a₅, a₆, a₁₀ and a₁₃, ... are valid data and, conversely, a₁, a₃, a₄, a₇, a₈, a₉, a₁₁, a₁₂, a₁₄, a₁₅, a₁₆ and a₁₇ ... are invalid data.
0114Further, the timing at which the first elemental datum a₁ of the input data series A is entered is supposed to be t1, and the selection signal S at that time, to indicate "2". Before the datum a1 is entered, i.e. before timing t1, the selection signal S periodically varies to indicate one or another of four recurring values, 1, 2, 3, 4, 1, 2, 3, 4 and 1, ... until it indicates "2" at timing t1.
0115Referring to FIG. 17, the datum a₁ inpitted at timing t1 is entered into the second register RG2 and stored at the next timing t2. The selection signal S at timing t2 indicates "3", the value next to that of the selection signal S (= 2) of timing t1 in response to the input indicating signal T (= 0) at the preceding timing t1.
0116Then, the datum a₂ inputted at timing t2 is entered into the third register RG3 in response to the selection signal S (= 3) at that time and stored at the next timing t3. The datum a₁ stored into the second register RG2 at timing t₂ is not stored into the third register RG3 and instead invalidated at timing t3. The selection signal S at timing t3 holds the selection signal S (= 3) of timing t2 in response to the input indicating signal T (= 1) at the preceding timing t₂.
0117Meanwhile, the input indicating signal T (= 1) of timing t2 is inputted to the register RG13 in response to the selection signal S (= 3) at that time and stored at the next timing t3. As the selecting circuit SE34 selects the output of the register RG13 in response to the selection signal S (= 3 ≠ 4) at timing t3, the output indicating signal V is validated (logical "1").
0118In response to the selection signal S (= 3) of timing t3, the output datum a₂ of the third register RG3 is entered into the fourth register RG4, and stored at the next timing t4.
0119Further, the datum a₃ entered at timing t3 is entered into the third register RG3 in response to the selection signal S (= 3) at that time and stored at the next timing t4. The selection signal S at timing t4, in response to the input indicating signal T (= 0) of timing t3 and the selection signal of "3", indicates the next value "4".
0120The datum a₄ entered at timing t4 is not entered into the fourth register RG4 and is invalidated instead because the selection signal S and input indicating signal T at that time are "4" and "0", respectively. The selection signal S at timing t5, in response to the input indicating signal T (= 0) and the selection signal (= 4) of timing t4, indicates the next value "1".
0121Similar operations are repeated at and after timing t5, and into the fourth register RG4, which also is the output register of the pipeline circuit 2000, are stored the data a₂, a₅, a₆, a₁₀, a₁₃, ... at timings t4, t9, t10, T11, t16 ..., respectively, each to become an element datum of the output data series Y of the pipeline circuit 2000, and stored into the Z register 103 at the respectively next timings t5, t10, T11, t12, t17 ...
0122Here, the intervals of the output timings of the valid data a₂, a₅, a₆, a₁₀, a₁₃, ... among the elemental data of the input data series A = (a₁, a₂, a₃, ...) are 4xk+1 timing cycles (k is an integer), such as 5 (= 4 x 1 + 1) timing cycles between the data a₂ and a₅, 1 (= 4 x 0 + 1) timing cycle between the data a₅ and a₆, 1 timing cycle between the data a₆ and a₁₀, 5 timing cycles between the data a₁₀ and a₁₃, ...
0123If the pipeline circuit 2000 is used as the pipeline circuits 901 and 902 in FIG. 8, said Z register 103 will correspond to the input registers RIA and RIB. Now will be described with reference to the time chart of FIG. 18 an example of the operation of the pipeline circuit 902 when a reference timing cycle "1" of the input crossbar 903 is assigned to the input register RIA, another reference timing cycle "3" of same, to the input register RIB, and timing t5 shown in FIG. 17 (the timing at which the data a₂ is stored into the Z register 103, i.e. the input register RIA) coincides with the crossbar reference timing "1" (namely the operation shown in FIG. 17 is that of the pipeline circuit 901).
0124Referring now to FIG. 18, at timings before timing t0, a selection signal S<sub>B</sub> varies one timing cycle ahead of the crossbar reference timing. Thus, if the first valid datum is inputted (accompanied by the input indicating signal T (= 1)) in this state, the valid datum will be stored into the Z register 103 (i.e. the input register RIB) when the crossbar reference timing is "1". Since the crossbar reference timing of "3" is assigned to the input register RIB whose inputs are the data series B as stated above, the operating timing has to be shifted.
0125If, for instance, a dummy input indicating signal T (= 1) is inputted twice at timings preceding the inputting of the first valid datum, the pipeline circuit 902 can store the first valid datum into the input register RIB when the crossbar reference timing is "3". Thus, referring to FIG. 18, by inputting the dummy input indicating signal T (= 1) at timings t2 and t3, the pipeline circuit 902 will be standing by at timing t4 in a state one timing cycle behind the crossbar reference timing.
0126If, in that state, the input data series B (= b₁, b₂, b₃, ...) and the input indicating signals T (= 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0 and 1, ...) corresponding to the data are entered from timing t5 on, the pipeline circuit 902 will operate in the same manner as the pipeline circuit described with reference to FIG. 17, and data b₃, b₄, b₅, b₇ and b₈, ... will be stored into the fourth register, which also is an output register of the pipeline circuit 902, at timings t10, t11, t12, t13 and t14 ..., respectively, and into the Z register, i.e. the input register RIB, at the respectively next timings t11, t12, t13, t14 and t15, ...
0127The data entered into the input registers RIA and RIB by the operations illustrated in FIGS. 17 and 18 are further entered into the banks BANK1, BANK2, BANK3 and BANK4 of the memory 904 by the operation shown in the time chart of FIG. 19.
0128As stated above, a reference timing cycle of "1" is assigned to the input register RIA, and one of "3" to the input register RIB. The output register ROR1 selects and enters an output datum of the input register RIA when the reference timing cycle is "1"; stores it when the cycle is "2"; selects and enters an output datum of the input register RIB while holding the preceding datum when the cycle is "3"; stores it when the cycle is "4"; selects and enters another output datum of the input register RIA while holding the preceding datum when the cycle is again "1"; stores it when the cycle is again "2", ......, and repeats these same operations in the four timing cycles. As also described above, the output register ROR2 operates in the same manner as the output register ROR1 except that the former is one timing cycle behind the latter. Thus, it repeats in four timing cycles the operations of selecting and entering an output datum of the input register RIA, storing it at the next timing when the reference timing cycle is "2", selecting and entering an output datum of the input register RIB, and storing it at the next timing when the reference timing cycle is "4". The output register ROR3 operates in the same manner as the output register ROR2 except that the former is another timing cycle behind the latter, and this correspondingly applies to the output register ROR4.
0129As a result of these operations, as shown in FIG. 19, the datum a₂ stored into the input register RIA at timing t5 is stored into the output register ROR1 at timing t6 when the reference timing cycle is "1", the datum a₅ stored into the input register RIA at timing t10 is stored into the output register ROR2 at timing t11 when the reference timing cycle is "2"; and the data a₆ and b₃ stored into the input registers RIA and RIB at timing t11 are stored into the output registers ROR3 and ROR1, respectively, at timing t12 when the reference timing cycle is "3". Similar operations are repeated thereafter, and the data a₂, b₃, b₈, a₁₃, ... are entered in the bank BANK1 of the memory via the output register ROR1, the data a₅, b₄, ... are entered into the bank NANK2 of the memory via the output register ROR2, the data a₆, b₅, ... are entered into the bank BANK3 of the memory via the output register ROR3, and the data a₁₀, b₇, ... are entered into the bank BANK4 of the memory via the output register ROR4.
0130To consider here a data series D (= d₁, d₂, d₃, d₄, d₅, ... = a₂, a₅, a₆, a₁₀, a₁₃, ...) comprising only valid ones out of the data series A (= a₁, a₂, a₃ ...) and a data series F (=f₁, f₂, f₃, f₄, f₅, ... = b₃, b₄, b₅, b₇, b₈, ...) comprising only valid ones out of the data series B (= b₁, b₂, b₃, ...), it is seen that the 4xk+1-th (k is an integer) data d₁ (= a₂), f₁ (= b₃), d₅ (= a₁₃), f₅ (= b₈), ... of the data series D and F are entered into the bank BANK1 of the memory; the 4xk+2-th data d₂ (= a₅), f₂ (= b₄), ... of the data series D and F, into the bank BANK2 of the memory; the 4xk+3-th data d₃ (= a₆), f₃ (= b₅), ... of the data series D and F, into the bank BANK3 of the memory; and the 4xk+4-th data d₄ (= a₁₀), f₄ (= b₇), ... of the data series D and F, into the bank BANK4 of the memory.
0131Thus it is seen that the pipeline circuit according to the present invention is effective for adjusting the timing to supply data, even if the input data include invalid data, to an interleave type processing apparatus in a sequence for valid data alone.
0132FIG. 20 is a block diagram of a seventh preferred embodiment of the present invention, where the advantage of the pipeline circuit according to the invention is increased by supplying the output indicating signal H besides the output data Y, as referred to in the sixth embodiment shown in FIG. 16. In FIG. 20, the same reference numerals as in FIG. 16 denote respectively the same constituent elements.
0133Referring to FIG. 20, an indicating signal holding circuit 205 receives the inputting of the selection signal S from a selection signal generating circuit 201, generates from it, with a decoder DCD2, selection signals S₁, S₂, S₃, and S₄ for four stages of indicating signal holding means F1, F2, F3 and F4, respectively, and stores the input indicating signal T into one of the four-stage indicating signal holding means F1, F2, F3 and F4. If the selection signal S₃, for instance, out of the selection signals S₁, S₂, S₃ and S₄ is valid, the input indicating signal T is stored into the indicating signal holding means F3. The input indicating signal T stored into the indicating signal holding means F₃ is supplied one timing cycle later as the output indicating signal V, at the same time entered into the indicating signal holding means F4, and stored and outputted another timing cycle later.
0134If the selection signal S₄ out of the selection signals S₁, S₂, S₃ and S₄ is valid, the input indicating signal T will be directly supplied as the output indicating signal V from a selecting circuit SE34, entered into the indicating signal holding means F4, and stored and outputted one timing cycle later.
0135The output of the indicating signal holding means F4 is supplied as the output data H of the pipeline circuit 4000, stored into an E register 207 and, together with the output Z of a Z register 204, handed over to a succeeding circuit. Since the data Y outputted from the data holding circuit 202 at a timing at which the output data H are valid (logical "1" for example) are always valid, the data H, i.e. the output E of the E register 207, can be used as a control signal (for instance a write enable signal or the like) for the output Z of the Z register 204 in a circuit downstream.
0136Other parts of the pipeline circuit 4000 are equivalent to those of the pipeline circuit 2000 of FIG. 16.
0137FIG. 21 is a block diagram of an eighth preferred embodiment of the present invention, where the advantage of the pipeline circuit according to the invention is increased by inputting not only the input data series A and the input indicating signals T, as referred to in the sixth embodiment shown in FIG. 16, but also a selection signal initial value S0 and an initial value setting indicating signal ST. Equivalent constituent elements to those in FIG. 16 are denoted by respectively the same reference numerals.
0138Referring to FIG. 21, a selection signal generating circuit 208, having the selection signal initial value S0, the initial value setting indicating signal ST and the input indicating signal T as inputs, outputs the selection signal initial value S0 as the selection signal S of the next timing when the initial value setting indicating signal ST indicates validity; generates and outputs the selection signal indicating the value next to what was indicated by the preceding selection signal S out of the four periodic values 1, 2, 3, 4, 1 and 2, ... when both the initial value setting indicating signal ST and the input indicating signal T indicate invalidity; and holds the value indicated by the preceding selection signal S when the initial value setting indicating signal ST and the input indicating signal T respectively indicate invalidity and validity.
0139The selection signal generating circuit 208 referred to above, as illustrated, can be realized with a cycle counter CNT2 having a three-input one-output selecting circuit SE41 to whose first, second and third stage inputs are respectively supplied the selection signal initial value S0, the output of a +1 circuit AD and the current value of the selection signal S; a gate G41 which provides the initial value setting indicating signal ST to the first stage of the selecting circuit SE41 and at the same time generates its inverted signal; a gate G42 which outputs the input indicating signal T and its inverted signal; a gate G43 which provides the logical product of the inverted signal of the initial value setting indicating signal ST and that of the input indicating signal T to the second stage of the selecting circuit SE41; and a gate G44 which provides the logical product of the inverted signal of the initial value setting indicating signal ST and the input indicating signal T to the third stage of the selecting circuit SE41. This cycle counter CNT2 varies the value of the selection signal in synchronism with the timing cycle by selecting the value of the selection signal initial value S0 when the initial value setting indicating signal ST indicates "1", the value "S+1" when both the initial value setting indicating signal ST and the input indicating signal T indicate "0", or the value "S" when the initial value setting indicating signal ST indicates "0" and the input indicating signal T indicates "1". This selection signal S can indicate one of four values, 1, 2, 3 and 4.
0140Other parts of the pipeline circuit 6000 are equivalent to those of the pipeline circuit 2000 of FIG. 16.
0141The pipeline circuit 6000 described above, if used, for instance, as the pipeline circuit 902 described with reference to FIGS. 18 and 8, can adjust the timing of the selecting signal S, so that the first valid datum can be stored into the input register RIB when the crossbar reference timing is "3", by inputting a value one timing cycle behind the crossbar reference timing as the selection signal initial value S0 together with the initial value setting indicating signal ST.
(Benefits of the invention)
0142As hitherto described, the pipeline circuit according to the present invention offers the benefits that, even if data input timings are irregular or the data include both valid and invalid ones, valid data alone can be sent out at appropriate timings by controlling the generation of selection signals for determining the duration of data holding within the pipeline circuit by using a signal indicating the validity or invalidity of input data, and that the circuit for said control can be realized with simple and small hardware.
Contents5
22 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16 Sheet 17 Sheet 18 Sheet 19 Sheet 20 Sheet 21 Sheet 22
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US4138732A | Cites | United States of America | Search report |
| WO8603608A1 | Cites | World Intellectual Property Organization (WIPO) | Search report |
12 priority claims, no other members on record
Priority claims12
| Document | Office | Kind | Date |
|---|---|---|---|
| 12354888 | Japan | A | |
| 12354988 | Japan | A | |
| 12355088 | Japan | A | |
| 12354888 | Japan | – | |
| 12354988 | Japan | – | |
| 12355088 | Japan | – | |
| JP19880123548 | – | – | – |
| JP19880123549 | – | – | – |
| JP19880123550 | – | – | – |
| 12354888 | – | – | – |
| 12354988 | – | – | – |
| 12355088 | – | – | – |
34 legal events, as 2 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Nl: lapsed or anulled due to non-payment of the annual feeLapsedNLV4 | NLV4 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Se: european patent has lapsedLapsedEUG | EUG | EP | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| It: translation for a ep patent filedITF | ITF | EP | |
| It: translation for a ep patent filedITF | ITF | EP | |
| Fr: translation filedET | ET | EP | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOS IGRAGRAH | GRAH | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOS IGRAGRAH | GRAH | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Title (correction)RTI1 | RTI1 | EP | |
| Designated contracting statesAK | AK | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Party data changed (applicant data changed or rights of an application transferred)RAP1 | RAP1 | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0342674
- Publication, DOCDB
- 0342674
- Publication, EPODOC
- EP0342674
- Application
- 89108962
- Application, DOCDB
- 89108962
- Application, EPODOC
- EP19890108962
Titles6
- German
- Pipelineschaltung für Zeitablaufregelung.
- English
- Pipeline circuit for timing adjustment.
- French
- Circuit de structure pipeline pour le réglage de la synchronisation.
- German
- Pipelineschaltung für Zeitablaufregelung
- English
- Pipeline circuit for timing adjustment
- French
- Circuit de structure pipeline pour le réglage de la synchronisation
Classification
- CPC, 1
- G06F15/8053
- IPC, 1
- G06F15 78
Designated states6
- Contracting states, 6
- Germany
- France
- United Kingdom
- Italy
- Netherlands (Kingdom of the)
- Sweden