Pulse insertion circuit

Abstract: The pulse insertion circuit comprises a series to parallel converter (6) converting a series of input data to two parallel input data having a half clock frequency by distributing the series data alternately, a parallel type elastic memory (1) writing or reading the two parallel input data synchronously, a delay circuit (2) delaying one of the two parallel input data, a selector (3) selecting two data for two outputs from the two parallel input data and the delayed data, a control circuit (4) stopping a read clock signal of the elastic memory (1) for one clock period, and a pulse addition circuit (5) adding a pulse to the parallel data upon receipt of a pulse insertion request signal when the delayed data is selected or the read clock signal is stopped. By using this pulse insertion circuit, a pulse insertion necessary for multiplexing can be carried out with a circuitry adapted to operate at a half of a frequency of the series input data.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse insertion circuit for inserting pulses used as a frame synchronizing signal, a housekeeping bit or the like, in a data multiplexing equipment used in a digital communication. 2. Description of the Related Art In a digital multiplexing equipment used in a data transmission system, a frame synchronizing signal, a parity bit or the like must be inserted in the data, and a pulse insertion circuit is provided for this purpose. The pulse insertion circuit must operate in response to the data transmission speed, and therefore, when high speed transmission data is processed, the cost of the circuit is high. Accordingly, there is a demand for an economical circuit constitution for inserting pulses even when processing high speed transmission data. In the data transmission system, data of a plurality of channels is often transmitted after multiplexing, and upon reception, is demultiplexed to produce the respective channel data. For example, a transmission system wherein data transmitted by 45 Mb/s speed is multiplexed by 36 channels and converted to a light signal of 1.6 Gb/s has been proposed. Essential signals for the digital multiplexing equipment are a frame synchronizing signal, stuff information, housekeeping information as telemetry information, and a variable slot signal for stuffing, or the like. When a multiplexing signal using these signals is formed, because the scale of the circuit operating at a high speed must be reduced, a pulse insertion circuit corresponding to each channel is provided, the frame synchronizing signal and the housekeeping information are inserted in the respective channel data, the stuff bit is inserted to the variable slot, and the multiplexed data in the multiplexing circuit is supplied. Therefore, the pulse insertion circuit is constituted to adapt to the operation speed corresponding to the channel data transmission speed, and the multiplexing circuit is constituted to adapt to the operation speed corresponding to the multiplexed data transmission speed. The pulse insertion circuit in each channel is constituted by a logic IC (integrated circuit) adapted to the data transmission speed. For example, in the case of a transmission speed of less than 40 Mb/s (Mega bit/second), a C-MOS (complementary metal-oxide semiconductor) circuit can be utilized, in the case of a transmission speed of less than 50 Mb/s, a TTL (transistor transistor logic) circuit can be utilized; and in the case of a transmission speed of less than 400 Mb/s, an ECL (emitter-coupled logic) circuit can be utilized. As mentioned above, in the case of a channel transmission speed of less than 45 Mb/s since the C-MOS circuit cannot be used, the TTL circuit is used. The electric power consumption of the TTL circuit, however, is about ten times that of the C-MOS circuit, and this constitutes an enormous drawback. In the case of a higher transmission speed, the ECL circuit is utilized, but the power consumption of the ECL circuit is greater than that of the TTL circuit, and therefore, the application of a large scale integration becomes difficult. If the ECL circuit is used, a drawback occurs in that the pulse insertion circuit transmitting data at a speed of more than 400 Mb/s cannot be realized. The preamble of claim 1 reflects the above prior art. SUMMARY OF THE INVENTION An object of the present invention is to provide a pulse insertion circuit wherein, even at a high speed transmission of input data, a pulse insertion necessary for multiplexing can be carried out by using a circuit adapted to operate at a half of the speed of the input data, and wherein circuit elements reducing heat generation and integrated at a high density are utilized. In the present invention, there is provided a pulse insertion circuit comprising: an elastic memory, a control means and a pulse addition means, characterized by: a series to parallel conversion means for distributing series input data alternately and for converting said series input data to parallel data having a first input data and a second input data, the elastic memory being of a parallel type for receiving the first input data and the second input data which are written and read synchronously, a delay means for receiving the second input data read from the elastic memory and for outputting data delayed by one bit, a selection means for receiving the first input data and the second input data read from the elastic memory by a read clock signal and the delayed data, for selecting one of the second input data and the delayed data, and for further selecting one of a cross and a no cross of the prior selected one of the second input data and the delayed data and the first input data, the control means being operable to stop the read clock signal of the elastic memory for one period upon receipt of a request for a pulse insertion, and the pulse addition means being operable to add a pulse when the output of the delay means is selected by the selection means and the clock is stopped for one period in response to the pulse insertion request. According to this invention, the series input data is converted in parallel and becomes parallel data which is transmitted at a speed which is half of the speed of the series input data. The parallel data is written to the parallel type elastic memory simultaneously by a write clock signal, and the written data is read simultaneously by the read clock signal. The read parallel data is added to the selection means directly and through the delay means. The selection means can select one of one input data of the parallel data and the delayed data by one bit through the delay means, and can cross the above selected data and the other input data. For example, the data through the delay means is selected and the selected data is transferred to the other input data. Then one bit of the one input data of the parallel data just prior to the cross is output again as one bit of the other input data, and therefore, the double output can be handled as a one bit jump. The selection means returns to the preceding condition from the above crossing condition, and simultaneously, the read clock signal is eliminated by one pulse. Then, in the other data of the parallel data, as in the above-mentioned case, one bit of the one data is output again as one bit of the other data, and therefore, this can be handled as a one bit jump. Namely, by transferring the selection means to the prior selection state, an arbitrary one of the parallel data can be selected and inserted with one pulse, and simultaneously, the order of the prior series input data can be maintained at the conversion to the series data. Further, since in the parallel data processing, the operation speed of the processing circuit as a half of the speed of the series input data transmission is sufficient, the pulse insertion for high speed data transmission can be carried out economically. Other features and advantages of the invention will be apparent from the following description given with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is an explanatory diagram of stuff synchronizing type multiplexing conversion frames; Fig. 2 is a block diagram of a multiplexing conversion equipment; Fig. 3 is an outline block diagram of a conventional pulse insertion circuit; Fig. 4 is an explanatory diagram of a frame constitution in the channel 1 in the equipment of Fig. 2; Fig. 5 is an explanatory diagram of an operation of the circuit shown in Fig. 3; Fig. 6 is a block diagram giving a summary of the present invention; Fig. 7 is a block diagram of an embodiment according to the present invention; Fig. 8 is a partial circuit diagram of the embodiment shown in Fig. 7; Fig. 9 is an explanatory diagram showing operation modes of the embodiment shown in Fig. 7; Fig. 10, Fig. 11, Fig. 12, and Fig. 13 are explanatory diagrams showing operations of the embodiment shown in Fig. 7 and Fig. 8; Fig. 14 is a circuit diagram showing a series to parallel conversion circuit of the embodiment shown in Fig. 7; and Fig. 15 is an explanatory diagram showing an operation of the circuit shown in Fig. 14. DESCRIPTION OF THE PREFERRED EMBODIMENTS Prior to the description of the preferred embodiments, the related arts are explained with reference to Figs. 1 to 5. Figure 1 is an explanatory diagram of frames in an example of a stuff type multiplexing equipment, which is most widely used in multiplexing equipment, wherein data for four channels is multiplexed. In Fig. 1, F1 to F4 denote frame synchronizing signals, H1 to H8 denote housekeeping information as a stuff or telemetry information, V1 to V4 denote variable slots for stuffing, and D1 to D20 denote data. When the multiplexing signal using these frame constitutions is formed, to reduce the scale of the circuit for a high speed operation, the constitution shown in Fig. 2 has been used. Namely, pulse insertion circuits 51 to 54 are provided corresponding to the channels CH1 to CH4, and the frame synchronizing signal F1 to F4, the housekeeping information H1 to H8, the stuff bit for the variable slots V1 to V4, or the like are inserted in the data of each of the channels CH1 to CH4, respectively, and then the inserted channel data is multiplexed at a multiplexer 55 and transmitted. Accordingly, the pulse insertion circuits 51 to 54 utilize circuits adapted to the data transmission speed of each channel, and only the multiplexing circuit 55, which multiplexes channel data, is adapted to operate at a high speed. The pulse insertion circuit 51 corresponding to the channel 1 has, for example the constitution shown in Fig. 3, wherein 61 denotes an elastic memory, which is a buffer memory such as a first-in-first-out memory, 62 and 63 denote pulse insertion portions, and 64 denotes a control circuit. The data DA11 and the clock signal CK1 are supplied to the elastic memory 61 and the data DA11 is written in the elastic memory 61 in synchronization with the writing clock signal CK1. The data DA11 stored in the elastic memory 61 is read by a read clock signal RCK from the control circuit 64 and supplied to the pulse insertion portions 62 and 63. Also, to prevent an under-flow in the elastic memory 61, phase comparison information (PHASE COMP.) obtained by a comparison of a write address and a read address is supplied to the control circuit 64, and before the under-flow occurs, the output of the read clock signal RCK from the control circuit 64 is stopped. Then, a stuff bit is inserted to the variable slot, the clock signal CK2 from the multiplexing circuit 55 (conf. Fig. 2) is supplied to the control circuit 64, the read clock signal RCK is output in synchronization with the clock signal CK2, and request signals a to d for the pulse insertion portions 62 and 63 are also output. Thus, in the data DA11 read from the elastic memory 61, the frame synchronizing signal F1, the housekeeping information H1 and H5, and the stuff bit to the variable slot V1 are inserted, and data DA12 synchronized with the clock signal CK2 is supplied to the multiplexing circuit 55. Figure 4 shows a frame constitution in the channel 1. The frame synchronizing signal F1, the housekeeping information H1 and H5, and the stuff bit for the variable slot V1 are inserted in the data DA11 (D1, D5, D9, D13, D17, ...) of the channel 1. Figure 5 is an explanatory diagram of an operation of the circuit of Fig. 3. In Fig. 5, waveforms of request signals a to d output from the control circuit 64 are shown in first to fourth ranks, respectively, and the read clock signal RCK from the control circuit 64 is shown in a fifth rank as a waveform. The sixth rank shows the frame signal. Namely, when the request signal a (1st rank) is applied to the pulse insertion portion 62 and the frame synchronizing signal F1 is inserted, as shown in the fifth rank, the read clock signal RCK is eliminated by one pulse. When the read clock signal RCK becomes "0", reading of the data DA11 from the elastic memory 61 is stopped, and when the read clock signal RCK is output by one pulse, the data DA11 is read. Accordingly, after the frame synchronizing signal F1 is inserted, the read clock signal RCK is output, the data D1 and D5 are read, the read clock signal RCK is eliminated by a half pulse, and then the request signal b (2nd rank) becomes "1", and the housekeeping information H1 is inserted after the data D5. Then the read clock signal RCK is again output and the data D9 and D13 is read. Further, the read clock signal RCK is eliminated by a half pulse, the request signal c becomes "1", as shown in the third rank, and the housekeeping information H5 is inserted after the data D13. When the phase comparison information, which shows a reduction of the quantity of the data DA11 stored temporarily in the elastic memory 61, is supplied to the control circuit 64, the control circuit 64 eliminates the read clock signal RCK by adding one bit, as shown by the dotted line. Then, the request signal d shown by the dotted line in the fourth rank is supplied to the pulse insertion portion 63, and the stuff bit is inserted to the variable slot V1. As mentioned above, data DA12 which is inserted by desired pulses in the data DA11 is added to the multiplexing circuit 55, and data of a plurality of channels is multiplexed. The circuit according to the present invention aims to execute the pulse insertion using a lower speed circuitry. A pulse insertion circuit according to the present invention is now explained, with reference to Fig. 6. The object of the present invention is to provide a low power consumption and low cost circuit by reducing the speed needed to operate this lower speed circuitry by a further one half. The pulse insertion circuit of the invention converts series data to parallel data, to reduce the operation speed, and can insert one bit pulse at any desired position. The pulse insertion circuit comprises a series to parallel converter 6 for converting series input data to parallel input data; a parallel type elastic memory 1 for writing the parallel data comprising first input data DAa1i and second input data DAa2i in synchronization with a writing clock signal CKa and for reading the parallel data in synchronization with a read clock signal (READ CLOCK); a delay circuit 2 for delaying the second input data DAa2 read from the elastic memory 1, by one bit; a selector 3 for selecting one of the second input data DAa2 and the output of the delay circuit DAa2′, and for selecting either of the above selected one of the second input data DAa2 and the delayed data DAa2′ and the first input data DAa1; a control circuit 4 for stopping the read clock signal for one pulse period, which is supplied to the parallel type elastic memory 1 upon receipt of a pulse insertion request for inserting a frame synchronizing signal, etc., and controlling the selector 3 to form a one bit space in the output data thereof; and a pulse addition circuit 5 for inserting a pulse into the one bit space portion output from the selector 3 by the pulse insertion request; the data series having the pulse inserted at the pulse addition circuit 5 being multiplexed with the other channel data series. Embodiments of the present invention are now explained in detail with reference to Figs. 7 to 15. Figure 7 shows a block diagram of an embodiment of the present invention, wherein a pulse insertion circuit corresponding to each channel is shown in comparison with the example given in Fig. 3. In Fig. 7, 10 denotes a series to parallel converter, 11 denotes a parallel type elastic memory which is a buffer memory such as a first-in-first-out memory and can store two parallel data at the same time, 12 and 13 denote pulse insertion portions, and 14 denotes a control circuit. A series input data DA1 is supplied to the series to parallel converter 10 with a clock signal CK1, converted to parallel data DAa1i and DAa2i, and the clock signal CK1 is converted to a clock signal CKa having a frequency which is a half of the frequency of the series input data, and is supplied to the parallel type elastic memory 11. A phase comparison information (PHASE COMP.) for preventing an under-flow of the parallel type elastic memory 11 is supplied to the control circuit 14, and a clock signal CK2 from the multiplexing circuit (not shown) is supplied to the control circuit 14. Parallel data DAa1 and DAa2 is read from the parallel type elastic memory 11 upon receipt of a read clock signal RCK from the control circuit 14, and supplied to the pulse insertion portions 12 and 13. The pulse insertion portion 12 and 13 include the delay circuit 2, selector 3, and a pulse addition circuit 5. In the portions 12 and 13, a frame signal F1, housekeeping information H1 and H5, or a stuff bit for a variable slot V1 are inserted into either of the parallel data DAa1 and DAa2 in response to request signals a′ to d′ from the control circuit 14, and then the above inserted parallel data DAA and DAB is supplied to the multiplexing circuit (not shown) and multiplexed with parallel data of the other channels. Figure 8 is a block diagram showing a main part of the embodiment of the invention. This figure shows the main parts of the delay circuit 2, the selector 3, and the pulse addition circuit 5. In Fig. 8, 21 and 22 denote D type flip-flops 23 and 24 denote J-K flip-flops, 25 and 26 denote exclusive OR circuits, 27 denotes a NAND circuit, 28 denotes an AND circuit, 29 denotes a pulse addition circuit. DAa1 and DAa2 denote parallel data converted from the series input data, CA and CB denote control signals for inserting pulses to the parallel data, CA is an insertion request signal for an upper data and CB is an insertion request signal for a lower data, RST denotes a control signals for a reset, CKa denotes a clock signal synchronized with the parallel data, CR denotes a control signal for eliminating a read clock signal RCK by one pulse, i.e., CR is obtained by the logical sum of CA and CB, Da1 and Da2 denote parallel data in which a pulse P is inserted, and the parallel data is supplied to the multiplexing circuit (not shown). The flip-flop 21, having a data terminal D which is supplied with the data DAa2 and a clock terminal CK which is supplied with the clock signal CKa, corresponds to the delay circuit 2 in Fig. 6. This delay circuit 2 delays the data DAa2 by one bit and the delayed data becomes the data DAa2′. As a delay circuit, a J-K flip-flop or an appropriate delay line can be utilized instead of the D type flip-flop. The selector 30 is supplied with the data DAa1 at terminals A1 and B2 thereof, the data DAa2′ delayed by one bit is supplied to a terminal A2 thereof, and the data DAa2 to a terminal B1. A terminal S of the selector 30 is supplied with an output signal f′ from an output terminal Q of the flip-flop 23. When the signal f′ is added to the terminal S, the connections between the terminals A1, A2, B1 and B2 and output terminals A and B are transferred. Namely, when the signal f′ is "1", the terminal A1 is connected to the terminal A and the terminal B1 is connected to the terminal B. When the signal f′ is "0", the terminal A2 is connected to the terminal A and the terminal B2 is connected to the terminal B. The flip-flop 22 is supplied with the control signal CB at a data terminal D thereof and the clock signal CKa at a clock terminal CK thereof, and thus the control signal CB is delayed by one bit. An output signal of a Q terminal of the flip-flop 22 and the control signal CA are supplied to the exclusive OR circuit 25, the output signal c′ of the exclusive OR circuit 25 is supplied to J and K terminals of the flip-flop 23, and the clock signal CKa is supplied to a T terminal thereof, and thus the flip-flop 23 carries out an inversion operation. The output signal f′, which is a Q terminal output of the flip-flop 23, is supplied to the S terminal of the selector 30, and an output signal d′, which is an output from a Q terminal of the flip-flop 23, is supplied to the exclusive OR circuit 26 with an output signal a′, which is a Q terminal output of the flip-flop 24. The flip-flops 23 and 24 are reset by the control signal RST through the NAND circuit 27 at the initial time of a power ON, etc., and when the operation reaches an asynchronous state. The flip-flop 24 is supplied with the control signal CR at J and K terminals thereof and supplied with the clock signal CKa at a T terminal thereof, and thus a signal a′ synchronized with the clock signal CKa is output at a Q terminal of the flip-flop 24. The signal a′ and the control signal CR are supplied to the AND circuit 28, and an output signal b′ of the AND circuit 28 and the clock signal CKa are supplied to the OR circuit 29. An output signal of the OR circuit 29 is the read clock signal RCK, and accordingly, if the control signal CR having one bit width becomes "1", the output signal b′ from the AND circuit 28 becomes "1" and has a pulse width of one bit, and the OR circuit 29 outputs the read clock signal RCK which becomes "1" during the period of one and a half pulses. Therefore, since the read clock signal RCK from which one pulse has been eliminated is supplied to the parallel type elastic memory 11 (conf. Fig. 7), and the data DAa1 and DAa2 having a series of two identical data is output from the elastic memory 11. Figure 9 is an explanatory diagram showing operation modes of the selector 30. In the figure, a delay or no delay in the prior state, DAa1 or DAa2 in the insertion request, namely, either of the parallel data converted by the series to parallel converter 10, clock inhibition or clock noninhibition in the output data, cross or no cross in the output data, and delay or no delay in the next state, are designated in response to operation modes I, II, III and IV. For example, in the operation mode I, a no delay in the prior state exists, the pulse insertion request is inserted to the data Da1, the read clock is not inhibited, i.e., the clock elimination is not executed, and the cross between the data DAa1 and DAa2 is carried out in the selector 30, whereby, although in the prior state, the Q terminal output (DAa2′) of the flip-flop 21 is not selected, i.e., no delay, in the next state, and the Q terminal output of the flip-flop 21 is selected. In the operation mode II, the pulse insertion request is supplied to the data Da2, and the control of the selector 30 is the same as that in the operation mode I. In the operation mode III, the delayed data is used in the prior state, the pulse insertion request is applied on the side of the data Da1, the read clock is inhibited by one clock period, and the selector returns to the initial state, i.e., no cross state. Accordingly, in the next state, the delayed output DAa2′ is not used. In the operation mode IV, the pulse insertion request is applied on the side of the data Da2, and the control of the selector 30 is the same as that in the operation mode III. Figure 10 to 13 are explanatory diagrams showing the operations of the embodiment according to the invention. All references used in each figure, corresponding to the references used in Fig. 8, and the symbols attached to the waveforms in each figure correspond to the symbols attached to the signals in Fig. 8. In Fig. 10, the pulse is inserted in the upper data of the parallel data, i.e., Da1 side, and the control signal CB is held at the "0" level. The control signal CA becomes "1", as shown in Fig. 10, upon receipt of the pulse insertion request, and the control signal CR becomes "1" in synchronization with the control signals CA and CB , and the flip-flop 24 is inverted at the trailing edge of the control signal CR. The output signal a′ from the Q terminal of the flip-flop 24 is shown as the waveform a′ in Fig. 10, and therefore, the output signal b′ from the AND circuit 28, shown as a waveform b′, becomes "1" when the CR becomes "1" and the a′ becomes "1". The pulse width of the signal b′ is the pulse width of one period of the clock signal CKa, and thus the read clock signal RCK output from the OR circuit 29 becomes "1" during the time of one and a half pulses of the clock signal CKa, and the read clock signal RCK comes into effect after one pulse elimination. The data DAa1 and DAa2 is series to parallel converted two parallel data: Note, the data DAa1 is called upper data and the data DAa2 is called lower data. In the figure, the series data numbered by sequential numerals is converted in parallel and odd numbers belong to the data DAa1 and even numbers belong to the data DAa2. When the read clock signal RCK is eliminated by one pulse, identical data follows as shown by the example of numbers "13" and "14". The data DAa2′ is delayed by one bit from the data DAa2. Further, since the control signal CB is "0" level, the output signal c′ from the exclusive OR circuit 25 is equal to the control signal CA, the output signal d′ from the Q terminal of the flip-flop 23 becomes "1", and the Q terminal output signal f′ becomes "0". In this case, the operation mode is I and the selector 30 connects A2 with A and B2 with B, i.e., cross state. Accordingly, the data Da1 from the terminal A is a series of 1, 3, 5, 6, 8, ..., and the data Da2 from the terminal B is a series of 2, 4, 6, 7, 9, .... In this case, 6 in the lower data Da2 is output again from the selector 30 as the upper data Da1, and therefore, the pulse can be inserted at the position shown by the encircled 6 in the figure. Further, the output signal a, from the Q terminal of the flip-flop 24 is made "0", by the control signal CR which is synchronized with the second control signal CA, and the output signal b′ from the AND circuit 28 is made "1" by the control signal CR at that time. Therefore, as mentioned above, one pulse of the read clock signal RCK is eliminated, both the data DAa1 and DAa2 are twice the same value, the flip-flop 23 is inverted, and the output signal f′ from Q terminal is changed from "0" level to "1" level. In this case, the operation mode is III, the selector 30 connects A1 with A and B1 with B, and the selector 30 returns to the initial state. As a result, since number 13 appears twice, the pulse can be inserted in the position shown by the encircled 13 in the data Da1. When the control signal CR becomes "1", in synchronization with the third control signal CA, the selector 30 is in the cross state, and the pulse can be inserted at the position shown by the encircled 20 in the data Da1. In Fig. 11, the pulse is inserted in the upper data Da1 and then in the lower data Da2. First, when the control signal CA becomes "1", the selector 30 is in the cross state as in the case when the first control signal CA in Fig. 10 becomes "1", and the pulse can be inserted in the position shown by the encircled 6 in the data Da1. Further, when the control signal CB becomes "1", the control signal CB is delayed by one bit through the flip-flop 22 and supplied to the exclusive OR circuit 25. The output signal c′ is shown by the waveform c in Fig. 11. The output signal c′ causes the output signal f′ from the Q terminal of the flip-flop 23 to change from "0" to "1", as shown in the waveform f′ in Fig. 11. In this case, the operation mode is IV, and the selector 30 connects A1 to A and B1 to B, i.e., is in the initial state. At that time, the data denoted by the encircled 13 in the data Da2 is output twice, and thus the pulse can be inserted at the position shown by the encircled 13. In Fig. 12, the pulse is inserted in the lower data Da2, and then in the upper data Da1. First, when the control signal CB becomes "1", the control signal CB is delayed by one bit through the flip-flop 22 and the delayed signal is supplied to the exclusive OR circuit 25. The output signal c′ from the exclusive OR circuit 25 inverts the output of the flip-flop 23, and the output signal f from the Q terminal of the flip-flop 23 places the selector 30 in the cross state. The operation mode is II, and at that time, the data shown by numeral 8 in the lower data Da2 is output again as the upper data Da1, and thus the pulse can be inserted in the position shown by the encircled 8 in Fig. 12. Subsequently, when the control signal CA becomes "1", the flip-flop 23 is inverted, the output signal f′ from the Q terminal thereof is changed from "0" to "1", as shown by the waveform f′ in Fig. 12, and the selector 30 returns to the initial state, i.e., no cross state. At that time, the data numbered 13 in the lower data Da2 is again output as an upper data Da1, and thus the pulse can be inserted at the position shown by the encircled 13. In Fig. 13, the pulse is inserted in the lower data Da2. First, when the control signal CB becomes "1", the selector 30 is in the cross state, as when the first control signal CB becomes "1" in Fig. 12, and the pulse can be inserted at the position shown by the encircled 8 in Fig. 13. Subsequently, when the control signal CB again becomes "1", the selector 30 is in the no cross state, as when the control signal CB becomes "1" in Fig. 11, and the pulse can be inserted at the position shown by the encircled 13 in Fig. 13. Figure 14 is a circuit diagram showing an example of a series to parallel converter 10 in the embodiment shown in Fig. 7. In the figure, FF1 to FF4 are flip-flops, and the clock signal CK1 is supplied to the flip-flop FF3 at the clock terminal C thereof and demultiplied. The demultiplied clock signal is supplied to the flip-flops 21 to 24 and the OR circuit 29 as the clock signal CKa in Fig. 8. The series data DA1 is supplied to the flip-flips FF1 to FF2 at the data terminals D's thereof, a clock terminal C of the flip-flop FF1 is supplied with an output signal of a Q terminal of the flip-flop FF3, a clock terminal C of the flip-flop FF2 is supplied with an output signal of a Q terminal of the flip-flop FF3, an output signal of a Q terminal of the flip-flop FF1 is supplied to a data terminal D of the flip-flop FF4, and a clock terminal C of the flip-flop FF4 is supplied with the clock signal CKa. As a result, the output signals from the Q terminals of the flip-flops FF4 and FF2 are the data DAa1 and DAa2, respectively, and this data is converted from the series data DA1 into two parallel data. Figure 15 is an explanatory diagram of a conversion by the series to parallel converter, and explains the signals shown in Fig. 14. The waveform of the clock signal CK1 is shown at the first rank and synchronized with the series input data DA1. The series input data DA1 enters the converter in the order D1, D2, D3, .... The clock signal CK1 is demultiplied by the flip-flop FF3, and the demultiplied signals are inverted in phase to each other, as shown by the waveforms FF3Q and FF3 Q . The signals FF3Q and FF3 Q are supplied to the clock terminals C's of the flip-flops FF1 and FF2, respectively. The output signal from the Q terminal of the flip-flop FF1 is D1, D3, D5, ... in the series input data DA1 as shown in FF1Q in Fig. 15, and the output signal from the Q terminal of the flip-flop FF2 is D2, D4, D6, ... in the series input data DA1 as shown in FF2Q in Fig. 15. The output signal from the Q terminal of the flip-flop FF1 has a different phase from that of the output signal from the Q terminal of the flip-flop FF2, and therefore, using the flip-flop FF4, the phase of the output FF4Q is made to coincide with the phase of the output FF2Q. Namely, as shown by the data series FF4Q in Fig. 15, the output data from the Q terminal of the flip-flop FF4 is made to have the same phase as the output data from the flip-flop FF2. As mentioned above, in this embodiment, after converting series data to parallel data, any desired pulses can be inserted in the parallel data. It is obvious that many different embodiments of this invention may be created without departing from the scope thereof, and thus it is understood that the invention is not limited to the specific embodiment thereof except as defined in the appended claims.

Claims: A pulse insertion circuit comprising: an elastic memory, a control means and a pulse addition means, characterized by: a series to parallel conversion means (6) for distributing series input data alternately and for converting said series input data to parallel data having a first input data and a second input data, the elastic memory being of a parallel type (1) for receiving the first input data and the second input data which are written and read synchronously, a delay means (2) for receiving the second input data read from the elastic memory and for outputting data delayed by one bit, a selection means (3) for receiving the first input data and the second input data read from the elastic memory (1) by a read clock signal and the delayed data, for selecting one of the second input data and the delayed data, and for further selecting one of a cross and a no cross of the prior selected one of the second input data and the delayed data and the first input data, the control means (4) being operable to stop the read clock signal of the elastic memory (1) for one period upon receipt of a request for a pulse insertion, and the pulse addition means (5) being operable to add a pulse when the output of the delay means (2) is selected by the selection means (3) and the clock is stopped for one period in response to the pulse insertion request. A pulse insertion circuit as set forth in claim 1, wherein the delay means (2) comprises a D type flip-flop (21), a D input terminal thereof receiving the second input data from the elastic memory (1), a clock input terminal thereof receiving the read clock for the elastic memory (1), and the delayed data being obtained at the output thereof. A pulse insertion circuit as set forth in claim 1, wherein the selection means (3) is arranged to receive a selection signal, such that when the selection signal becomes "1", the selection means outputs the first input data from the elastic memory (1) at a first output of the selection means (3) and outputs the second input data from the elastic memory (1) at a second output of the selection means (3), and when the selection signal becomes "0", the selection means outputs the output of the delay means (2) at the first output and outputs the first input data at the second output, and the pulse insertion circuit further comprises an exclusive OR circuit (25) to generate the selection signal from a pulse insertion request signal for the first output and from a one bit delayed pulse insertion request signal for the second output. A pulse insertion circuit as set forth in claim 3, arranged wherein the selection signal is generated by the exclusive OR circuit (25) from only the pulse insertion request signal for the first output. A pulse insertion circuit as set forth in claim 3, arranged to operate such that the pulse insertion request signal for the first output is supplied first and then the pulse insertion request signal for the second output is supplied, to the exclusive OR circuit (25). A pulse insertion circuit as set forth in claim 3, arranged to operate such that the pulse insertion request signal for the second output is supplied first and then the pulse insertion request signal for the first output is supplied, to the exclusive OR circuit (25). A pulse insertion circuit as set forth in claim 3, arranged to operate such that only the pulse insertion request signal for the second output is supplied to the exclusive OR circuit (25). A pulse insertion circuit as set forth in claim 1, further comprising an AND circuit (28) which receives a signal inverted by the read clock signal upon receipt of the pulse insertion request signal and receives the pulse insertion request signal also, wherein the control means (4) for stopping the read clock signal for the elastic memory (1) for one period upon receipt of the pulse insertion request, is arranged to stop the read clock signal for one period through the AND circuit (28). A pulse insertion circuit as set forth in claim 1, wherein the series to parallel conversion means (6) is arranged to distribute the series input data alternately by a series input data clock signal to the first input data and the second input data delayed by one bit, and to delay subsequently the first input data by one bit, to obtain synchronized parallel data comprising the first and second input data.

Inventors: FUJIMOTO NAONOBU, MIYAJI KATSUTOSHI, SUDA YUKIO, FUJIMOTO, NAONOBU, MIYAJI, KATSUTOSHI, SUDA, YUKIO
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1989
Main classification: H04J3
IPC codes: H04J3