Background of the Invention
1. Field of the Invention
This invention relates to a time-division multiplexing apparatus for time-division multiplexing each bit of channels of m-bit byte serial digital input signals to m-bit byte parallel digital signals;
2. Description of the Related Art
In general, an apparatus for time-division multiplexing n channels of m-bit byte serial digital signals; is constructed as shown in FIG. 1. In this multiplexing apparatus, each bit of signals Il-In (n is a natural number more than m) input in synchronous to a transmission clock frequency of fO is time-division multiplexed to 8-bit byte parallel digital signals (i.e., m=8). Specifically, in the apparatus, the signals (8-bit byte serial digital signals input in synchronous to clock pulses CLKl of a frequency f0) Il-In are supplied to 8-stage shift registers SRl-SRn, respectively. The shift registers SRl-SRn each operate in synchronous to clock pulses CLKl. The 8-bit outputs of the registers SRl-SRn are supplied to 8-bit D latches L3l-L3n, respectively Clock pulses, whose frequency is 1/8 of that of the clock pulses CLKl, obtained by dividing the clock pulses CLKl by means of a 1/8 divider 31, are used as latch pulses LP for determining respective latch time points of the D latches L31-L3n.
In FIG. 1, the outputs of the bits of the D latches L31-L3n are denoted by L010-L017, L021-L027, . . . , LOn0-LOn7, in the order from the top, and are supplied to (n : 1) selectors SEL1-SEL8, respectively. A selector control section 32 generates gate pulses GPl-GPn for determining respective selection channels of the selectors SEL1-SEL8. Specifically, the control section 32 generates n-bit gate pulses GPl-GPn of a width 8/(n.times.fO) corresponding to each channel in synchronous to clock pulses CLK2 having a frequency of n.times.fO/8, and supplies them to the selectors SELl-SELn. The selectors in turn perform multiplexing by using the gate pulses GPl-GPn.
FIG. 2 shows an example of multiplexing performed in the above-described apparatus, i.e. shows a procedure for obtaining an output 01 from the selector SELl. In this figure, reference codes S10, S20, . . . , SnO denote the outputs of the shift registers SR1, SR2, . . . , SRn supplied with the n-channel signals I1, I2, . . . , In, respectively, reference symbol LP a latch pulse (for latching each input signal at rising), reference codes LO10, L020, . . . , LOn0 the 0th-bit outputs of D latch L31, L32, . . . , L3n, respectively, reference codes GPl, GP2, . . . , GPn gate pulses for selecting 1, 2, . . . , n channels, respectively, and reference code 01 the output of the selector SELl.
In the above-described apparatus, the relationship between the 0th-bit output of each of the D latches L31-L3n and the rising and falling of the gate pulses GPl-GPn for the selectors SEL1-SEL8 is shown in FIG. 3. Similarly, FIG. 4 shows the relationship between the 7th-bit output of the latches and the rising and falling of the gate pulses. In these figures, reference codes L010-LOn0 denote the 0th-bit outputs of the D latches L31-L3n, reference codes LO17-LOn7 the 7th-bit outputs, and GPl-GPn gate pulses supplied to the selectors SEL1-SEL8.
As is evident from FIGS. 3 and 4, the transmission time delay of the signal LOn0 is longer than that of the signal L010 between the D latches L31-L3n and selectors SEL1-SEL8 since the signal line for the signal LOn0 is longer than that for the signal LO10, whereas the transmission time delay of the signal LO17 is longer than that of the signal LOn7 since the signal line for the signal LO17 is longer than that for the signal LOn7.
As is shown in FIG. 3, since there is a time period of 8 (n-1)/(n.times.f0) between the determination of the output LonO of the D latch L3n of the channel n and the generation of a gate pulse, the hatched signal to be multiplexed can be gated correctly, unless the transmission time delay is longer than the time period therebetween.
However, as is shown in FIG. 4, since the transmission time delay of the signal of the channel 1 is longer than that of the signal of the channel n in the case of the 7th-bit output, the determination point of the output LO17 of the D latch L31 of the channel 1 will be retarded from the generation of the gate pulse GP1 by a selector control section 32, and hence the hatched signal to be multiplexed will not be able to be gated, if its transmission time delay exceeds the width 8/(n.times.f0) of the gate pulse.
As described above, in the conventional time-division multiplexing apparatus, signal lines arranged between the D latches and n:1 selectors have different lengths, so that in the case of time-division multiplexing n-channel inputs to produce m-channel outputs, the transmission time delay of a signal transmitted through one of the signal lines inevitably differs from that of a signal transmitted through another line. In particular, if the transmission time delay exceeds m/(n.times.f0), correct multiplexing cannot be performed.
Summary of the Invention
It is the object of the invention to provide a time-division multiplexing apparatus capable of performing correct multiplexing n channels of m-bit byte serial digital (m<n); inputs, supplied in synchronous to transmission clock pulses of a frequency of f0, to m-bit byte parallel digital outputs irrespective of variations in the transmission time delay which occurred when the but data of each input channel is distributed to each output channel if the time delay is less than 1/f0, thereby allowing relatively large variations in the time delay, hence enabling digital signals to be transmitted at high speed and also enabling multiplexing of signals of a large number of channels.
To attain the object, the time-division multiplexing apparatus for time-division multiplexing each bit of n-channel digital signals (n is a natural number more than 2), transmitted in a serial manner in synchronous to transmission clock pulses of a frequency of f0, by using m channels (m is a natural number smaller than n), the time-division multiplexing apparatus comprises:
a number n of 8 stage shift resistor blocks respectively provided for n channels, for converting serial input signals of the n channels into m-bit shift signals, respectively;
latch-pulse generating means for generating, as latch pulses, clock pulses whose frequency is 1/m of the frequency f0;
a number m of latch blocks for latching n-bit parallel input signals in synchronous to the latch pulses (LP), respectively;
first wiring means connecting the same bit output terminals of the n shift resistor blocks to n-bit parallel input terminals of corresponding one of the m latch blocks, respectively;
a number m of n : 1 selectors blocks provided for the m latch blocks, for receiving the n-bit parallel signals and selectively outputting one of them in accordance with gate pulses;
second wiring means connecting n-bit output terminals of the m latch blocks to n-bit input terminals of the n : 1 selector blocks, respectively; and
gate pulse generating means for generating gate pulses in synchronous to clock pulses CLK to having a frequency of n.times.of/8 to cause the number m of n : 1 selector blocks to output n-bit inputs.
Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out in the appended claims.
Brief Description of the Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate a presently preferred embodiment of the invention, and together with the general description given above and the detailed description of the preferred embodiment given below, serve to explain the principles of the invention.
FIG. 1 is a circuit block diagram showing a conventional time-division multiplexing apparatus;
FIG. 2 is a timing chart showing the operation of the apparatus of FIG. 1;
FIGS. 3 and 4 are timing charts useful in explaining the problems of the apparatus of FIG. 1;
FIG. 5 is a circuit block diagram showing a timedivision multiplexing apparatus according to a first embodiment of the invention; and
FIG. 6 is a timing chart showing the operation of the apparatus of FIG. 5.
Detailed Description of the Preferred Embodiments
The invention will be explained with reference to FIGS. 5 and 6 showing an embodiment thereof.
FIG. 5 shows an apparatus for time-division multiplexing of n channels of m-bit byte serial digital signals to 8-bit byte parallel digital signals (i.e., m=8). In this figure, n-channel input digital signals (i.e., serial digital signals of an 8-bit byte input in synchronous to clock pulses CLKl of a frequency of f0) Il-In are supplied to the 8-stage shift registers SRl-SRn which operate in synchronous to the clock pulses CLKl. 8-bit outputs from the shift registers SRl-SRn are designated by reference codes S10-S17, S20-S27, . . . , Sn0-Sn7, respectively, in the order from the above in FIG. 5.
The outputs of the shift registers SRl-SRn are supplied to n-bit D latches L11-L18 provided for the respective bits of the shift registers. The 0th-bit output terminal of each of the shift registers is connected to the n-bit input terminal of the D latch L11, while the 1st-bit output terminal of each of the shift registers is connected to the n-bit input terminal of the D latch L12. Similarly, the 7th-bit output terminal o each of the shift registers is connected to the n-bit input terminal of the D latch L18. Clock pulses, whose frequency is 1/8 of that of the clock pulses CLKl, obtained by a 1/8 divider 11 are used as the latch pulses LP for setting the time points at which latching is performed by the D latches L11-L18. The n-bit outputs of the n-bit D latches L11-L18 are supplied to (n : 1) selectors SEL1-SEL8 provided corresponding to the D latches L11-L18. Gate pulses GPl-GPn for determining respective selection channels of the selectors SEL1-SEL8 are generated by a selector control section 12.
The control section 12 generates the gate pulses GPl-GPn of a width of 8/(n.times.f0) corresponding to respective channels, in synchronous to clock pulses CLK2 of a frequency of (n.times.f0)/8, and sequentially supplies the gate pulses to the selectors SEL1-SEL8. The selectors in turn perform multiplexing by using the gate pulses.
Then, the operation of the apparatus described as above will be explained with reference to FIG. 6.
FIG. 6 is a timing chart showing the relationship between the input and output signals of the D latch L11. In this figure, reference codes S10-Sn0 represent the respective 0th-bit outputs of the shift registers SRl-SRn, reference codes LOll-LOln the outputs of the n-bit D latch 11, and reference codes GPl-GPn gate pulses.
As regards the 0th-bit output of each of the shift registers SRl-SRn, the transmission time delay of a signal of a channel n is longer than that of a signal of a channel 1 since the signal line for the former signal is longer than that for the latter signal. On the other hand, regarding the 7th-bit output of each register, the transmission time delay of the signal of the channel 1 is longer than that of the signal of the channel n since the signal line for the former signal is longer than that for the latter signal. The output signals S10-SnO of the registers SRl-SRn, however, have a width of 1/of. If the transmission time delay is shorter than the width, the latch pulse LP falls after the output Sn0 of the shift register SRn has been determined, as is shown in FIG. 6. Thus, the latch pulse LP can correctly latch the data (indicated by hatching) to be latched. The same may be said of the 1st- through 7th-bit outputs.
The wire length between each bit of the n-bit D latches L11-L18 and a corresponding one of the (n : 1) selectors SEL1-SEL8 is set at substantially the same value. Accordingly, in each shift register, differences in transmission time delay between the latch pulses LP do not exceed the width of the gate pulses GPl-GPn, and hence the apparatus of the invention is free from the conventional problem that part of the data to be multiplexed is gated before the entire data has reached.
As is described above, in the time-division multiplexing apparatus of the invention, the wire length between each bit of the n-bit D latches L11-L18 and a corresponding one of the (n : 1) selectors SEL1-SEL8 is set at substantially the same value, so that correct multiplexing can be performed in byte units only if variations in transmission time delay fall within a range of 1/fO or less. Thus, in the case of n>8, relatively large variation in transmission time delay is allowable, which enables digital signals to be transmitted at high speed, and also enables a large number of channels to be incorporated.
Though m is 8 in the above-described embodiment, the invention is not limited to this, but may be any other numeral smaller than n.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details, and representative devices, shown and described herein. Accordingly, various modifications may be without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.