SERIAL-PARALLEL AND PARALLEL-SERIAL CONVERTER

Abstract: The invention relates to fast serial-parallel and parallel-serial converters, and in them included frequency dividers. The serial-parallel converter comprises a shift register (51), an output register (52) and a frequency divider (40). The parallel-serial converter comprises a register (61) and a frequency divider (40). All registers (51, 52, 61) and frequency dividers comprise clock inputs (CK0-CK7), that each is connected to some incoming clocksignal (CLK). According to the invention, the frequency divider (40) comprises at least two circuits (0-7) with the function of AND-gates with clocked memory circuits. Each circuit comprises a clockinput (CK0-CK7), a first AND-input, a second AND-input (SE0-SE7), and at least one output (Q0-Q7) that outputs the value of the logical AND-function of the two AND-inputs (SDI0-SDI7, SE0-SE7). The first AND-inputs (SDI0-SDI7) are connected to each other and to an inverted signal from one of the outputs (Q7). The second AND-inputs (SE1-SE7) except on the first circuit (0) are connected to the output (Q0-Q6) of the preceding circuit (0-6). Finally a frequency divided clocksignal (CLKdiv) may be taken out from one of the outputs (Q4).

Description: SERIAL-PARALLEL AND PARALLEL-SERIAL CONVERTER FIELD OF INVENTION The present invention relates to a fast serial-parallel converter and parallel-serial converter and frequency dividers included therein. BACKGROUND ART There is described in European Patent Application EP 479 296 Al a serial-parallel converter that comprises a shift register which includes four D-flip-flops, an output register that includes four D-flip-flops, and a frequency divider that includes two D-flip-flops and an inverter. The frequency divider is coupled as a shift register, with the Q-output on the second D-flip-flop that is fed-back to the D-input of the first D-flip-flop via the inverter. The shift register and the frequency divider are clocked by an incoming clock, whereas the output register is clocked by a frequency divided signal taken out from the Q-output of the second D-flip-flop. Serial data signals are taken into the D-input of the first D-flip-flop of the shift register, taken out from the Q-outputs of the shift register every fourth clock cycle, and fed-out as parallel data signals on the Q-outputs of the output register. SUMMARY OF THE INVENTION An object of the present invention is to provide a frequency divider comprised of circuits that have the function of AND-gates with clocked memory circuits. Another object of the present invention is to provide a fast and inexpensive frequency divider for use in converters, for instance. A third object of the present invention is to provide a frequency divider which in addition to a frequency divided signal is also capable of producing a pulse signal. A fourth object of the present invention is to provide a serial-parallel converter that is fast, inexpensive and uses the least possible different types of circuit. A fifth object of the present invention is to provide a parallel-serial converter that is fast, inexpensive and uses the least possible number of different types of circuit. A sixth object of the present invention is to provide a high-speed block in which serial- parallel and parallel-serial conversion can both take place. One problem with earlier known serial-parallel and parallel-serial converters is the difficulty in producing fast converters in a simple and cost-effective manner. The present invention solves this problem by virtue of a construction with which each output is coupled to few inputs, therewith reducing the delays in the circuits. In distinction, incoming data signals are delayed in relation to incoming clock signals (or vice versa), so as to clock the data signals in the middle of the data. This reduces the error risk. In one embodiment of the frequency divider it is utilized that different inputs have different input capacitances, so as to enable the delays in the circuits to be reduced by giving the inputs other uses than normal. With the intention of reducing the cost of the construction, solely so-called scan flip-flops are used, i.e. D-flip-flops with multiplexed inputs, and inverters and buffers. One advantage afforded by the present invention is that the construction enables the serial- parallel converters and parallel-serial converters to be made faster than was earlier the case. Another advantage afforded by the invention is that the frequency divider can also be used in other connections than converters. BRIEF DESCRIPTION OF THE DRAWINGS Fig. la shows a circuit symbol denoting a scan flip-flop. Fig. lb shows a function table for a scan flip-flop. Fig. 2 is a circuit layout of a frequency converter. Fig. 3 is a circuit layout of a serial-parallel converter. Fig. 4 is a circuit layout of a parallel-serial converter. Fig. 5 is a time diagram of events in Figs. 2-4. Fig. 6 is a block schematic illustrating a high-speed block that contains serial-parallel and parallel-serial converters. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS So-called scan flip-flops can be used when practicing the invention, i.e. D-flip-flops having multiplexed inputs, such as CMDF02 or CMDF03 marketed by Motorola. Fig. la shows a scan flip-flop. The illustrated flip-flop has four inputs: data input D, clock input CK, scan input SDI and scan enable input SE. The flip-flop also has two outputs: output Q and inverted output Q. The scan enable input controls what is clocked out on the outputs Q and QB according to: Q = SE * SDI + SE * D In order for the scan flip-flops to operate as fast as possible, the number of inputs connected to one and the same output should be reduced, i.e. the so-called fanout on the output. It can be mentioned by way of example that in the Motorola CMDF02 a fanout of 0 gives a delay of 0.739 ns when changing from low to high on output Q, whereas a fanout of 8 in the corresponding case gives a delay of fully 1.065 ns. This phenomenon is because all inputs and outputs and connections therebetween have a capacitance. One of the concepts of the present invention is to increase speed by providing a low fanout on all outputs. Described hereinafter is an embodiment in which one byte contains nine bits. All variants ranging from two bits and upwards are possible. The bits will be numbered [8:0] where bit 8 is the most significant bit (MSB) and bit 0 is the least significant bit (LSB) In order to avoid numbering all inputs and outputs on the scan flip-flops in the drawings, in the following it will apply for instance, that scan flip-flop 2 has output Q 2 and data input D 2 , and so on, with reference to Fig. 2 and Fig. la. Frequency divider Fig. 2 illustrates one embodiment of a frequency divider 40. In order to divide the frequency of an incoming clock signal CLK by nine, so as to form an outgoing clock signal CLKdiv, there are used eight scan flip-flops 0-7 that are connected in a shift register-like manner. The incoming clock signals CLK is coupled to the clock inputs CK a of all scan flip-flops (a=0.7, corresponding to bits 0-7). With the intention of optimizing speed, earth J is connected to all data inputs D a . The outputs Q a will thus obtain the appearance: Q a = SE a * SDI a The inputs SE a and SDI a are thus exchangeable, which is beneficial in view of the fact that the input capacitance of the scan enable input SE is higher than the input capacitance of the scan input SDL. Thus, when several scan enable inputs SE are connected to one and the same output, the delay will be greater than if the same number of scan inputs SDI had been connected to the same output. The scan enable inputs SE a in the frequency divider 40 can thus be used functionally, which is made possible because the outputs Q a of each scan flip-flop, with the exception of the last scan flip-flop 7, are connected to the scan enable input SE a+| of the next-following scan flip-flop. Furthermore, all scan inputs SDI a are connected together with the inverse output QB 7 of the last scan flip-flop 7. When the frequency divider 40 functions normally, the following sequence in hexadecimal base is obtained on the output Q a [7:0]: 00, 01, 03, 07, OF, IF, 3F, 7F, FF, 00..., see Fig. 5. If it is desired to be able to set the frequency divider 40 to zero, a reset signal R is applied on the free or unoccupied scan enable input SE, of the first scan flip-flop, conveniently via an inverter 41. If the inverter 41 is used and the reset signal R is kept high for at least eight clock cycles, the whole of the frequency divider 40 will be zeroed, as is also shown in Fig. 5. Because the frequency of the incoming clock signal CLK is divided by nine, the outgoing clock signal CLKdiv may have one of two configurations: The pulse quotient will be either 44% or 55% (pulse quotient being defined as the time during which the signal is high divided by the cycle time). A pulse quotient of 55% is chosen in the illustrated case, since the unbalanced driving capability between N- and P-transistors will work against a lower pulse quotient when the outgoing clock signal CLKdiv is used. The outgoing clock signal CLKdiv is therefore taken out from scan flip-flop 4, either from output Q 4 via an inverter 42, as in Fig. 2, or directly from the inverted output QB 4 . In this latter case, it may be necessary to couple-in a buffer if the clock signal CLKdiv is to be used by many circuits. Otherwise, there is a risk of loading down the frequency divider 40, causing it to become slower. If the frequency divider 40 is to be used to control a serial-parallel converter or a parallel- serial converter, a pulse BP is required. This pulse may be taken out from the first scan flip-flop 0, either from output Q 0 or, as preferred, (shown in Fig. 2) from the inverted output QB 0 via at least one inverter 43 (see Figs. 3 or 4). A suitable frequency of an incoming clock signal may be 184.32 MHz, which gives an outgoing clock signal of 20.48 MHz. Trials have shown that higher speeds are possible. However, it is suitable to provide a safety margin so as not to lose data. In the aforedescribed example, the scan multiplexor in the scan flip-flops is used as a kind of AND-gates with clocked memory circuits. It will be understood, however, that other circuits that have the same function may be used instead, providing that attention is paid to how much or how little the signal is delayed in the circuits when the frequency divider shall be used in one of the converters described below, for instance. Serial-parallel converter A typical occasion when a frequency divider is required is in serial-parallel converters. It may be appropriate to use as few types of circuits as possible in order to optimize design. Fig. 3 illustrates an embodiment of a serial-parallel converter 50 in which solely scan flip- flops and inverters are used. The frequency divider used is the aforedescribed frequency divider 40. A shift register 51 is also used to receive incoming serial data signals D jn s and an output register 52 for sending output parallel data signals D outφ . An incoming clock signal CLK is connected commonly to the frequency divider 40, the shift register 51 and the output register 52. In order to speed-up the clocking process, the clock signal is buffered with three parallel connected inverters 53: one to the frequency divider 40, one to the shift register 51 and one to the output register 52. The shift register 51 is an almost conventional nine-bit shift register with output Q b (b=10- 18, corresponding to the bits 0-8) on each scan flip-flop, with the exception of the last scan flip-flop 18, connected to the data input D b+ | on the following scan flip-flop, and clocked with the incoming clock signal CLK coupled to all clock inputs CK b . However, the difference between the shift register 51 and a typical shift register is that the parallel signals D out,p are taken out from the inverted outputs QB b so as to reduce fanout on the outputs. Because the multiplexing part of the scan flip-flops 10-18 is not used, conventional D-flip- flops may also be used in this respect. It is beneficial to clock the data signals somewhere in the middle of the data. This is particularly important at high speeds, since data could otherwise be lost. In order to optimize clocking, the incoming data signal D in s is delayed in relation to the incoming clock signal CLK, by buffering the signals to different extents. In the illustrated case, the incoming clock signal CLK is buffered with two inverters 55, 53 (see also the above comments), while the incoming data signal is buffered with three inverters 54. Good optimization can be obtained with a load 55 of inverters connected in parallel with the shift register input D 10 . This enables the delay of the incoming data signals D in s in relation to the incoming clock signal CLK to be finely adjusted with the aid of the size of the load 55. Alternatively, there can be used a solution similar to that described below with reference to the parallel-serial converter. The output register 52 includes nine scan flip-flops 20-28. The data inputs D c (where c=20- 28, corresponding to the bits 0-8) are each coupled to a respective inverted output QB b (b=c-10) on the shift register 51. The clock inputs CK C are coupled to the incoming clock signal CLK and are buffered to the same extent as the clock inputs CK b of the shift register. The outputs Q c on each scan flip-flop 20-28 in the output register 52 are fed back to the scan input SDI C . A pulse signal BP is taken in on the scan enable inputs SE C from the frequency divider 40. The pulse signal BP will suitably be buffered by at least two parallel-connected inverters, so as to reduce fanout. Fig. 3 shows an example that includes three inverters 43. The output register 52 functions so that Q c will be equal to SDI C during eight clock cycles. A pulse BP appears on the scan enable input SE C in the ninth clock cycle, making Q c equal to D c . The entire serial-parallel converter 50 functions so that serial data signals D m s are clocked into the shift register 51 one bit/clock cycle, see Fig. 5. The shift register 51 contains a new byte at each ninth clock cycle. This byte is clocked in on the output register 52 and a parallel data signal D ouUp is taken out at a speed which corresponds to one-ninth of the speed of the incoming data signals D m s . Although it is sometimes possible to use buffers instead of inverters, buffers often delay signals more than inverters, which makes it necessary to make calculations so that the different signals will not be in the wrong phase relative to one another. Naturally, it is also necessary to consider that the buffers do not invert. It has been assumed in the aforegoing that one byte includes nine bits. All bit numbers from two and upwards are possible. Parallel-serial converter Frequency dividers are also required in parallel-serial converters. It may be suitable also in this case to use as few types of circuits as possible, so as to optimize design. Fig. 4 illustrates an embodiment of a parallel -serial converter 60 with which only scan flip-flops, inverters and buffers are used. The aforedescribed frequency divider 40 is used as the frequency divider in this embodiment. In addition, there is used a register 61 for receiving incoming parallel data signals D m p and for sending outgoing serial data signals D ouW . An incoming clock signal CLK is coupled commonly to the frequency divider 40 and the register 61. In order to speed-up clocking, the clock signal CLK is buffered with two parallel-connected inverters 63: one to the frequency divider 40 and one to the register 61. The register 61 is a shift register-like coupling with nine scan flip-flops 30-38. The parallel data signals D ιn p are taken in on the data inputs D d (d=30-38, corresponding to the bits 0-8) and the incoming clock signal CLK is coupled to the clock inputs CK d of the scan flip- flops. The output Q d on each scan flip-flop, with the exception of the last scan flip-flop 38, is coupled to the scan input SDI d+1 on the subsequent scan flip-flop. The serial data signals D ou , s are taken out from the output Q 38 on the last scan flip-flop 38, optionally via a buffer 64. As in the case of the serial-parallel converter 50, it is beneficial to clock the data signals somewhere in the middle of the data. This is particularly advantageous at high speeds, since data could otherwise be lost. A solution similar to that applied in the serial -parallel converter 50 can also be applied in this case. Another good alternative (see Fig. 4) is to delay the incoming clock signal CLK in relation to the incoming data signal D ιn p , by buffering the signals to mutually different extents. In the illustrated embodiment, the incoming clock signal CLK is buffered with two inverters 64, 63 (see also the above comments), while the incoming data signal D ιn p is buffered with a buffer 54. Because the extent to which a buffer delays is greater than the extent to which an inverter delays, the desired effect is achieved. The conversion is controlled with the aid of a pulse signal BP that arrives from the frequency divider 40 and that is connected to the scan enable inputs SE d on all scan flip- flops, with the exception of the first. It is suitable to buffer the pulse signal BP via at least two parallel-connected inverters, precisely as in the case of the serial-parallel converter 50. Fig. 4 shows an example with two inverters 43. The register 61 functions so that Q d = SDI d during eight clock cycles. A pulse BP occurs on the scan enable input SE d during the ninth clock cycle, resulting in Q d = D d . The entire parallel-serial converter 60 thus functions so that new parallel data D ιn p enters the register 61 via the data inputs D d at each ninth clock cycle, see Fig. 5. The data signals are shifted through the register 61 during the following eight cycles, and out through output Q 3g on the last scan flip-flop 38 as serial data signals D out s . The speed of the serial data signals D out s will then be nine times greater than the speed of the parallel data signals D m p . Those possibilities and the caution that must be applied in respect of the change between inverters and buffers referred to in the description of the serial-parallel converter also apply in the case of the parallel-serial converter. It has been assumed in the example that one byte includes nine bits. All bit numbers from two and upwards are possible. High-speed block Fig. 6 shows how the serial-parallel and parallel-serial converters can be applied. One effective manner of transmitting data signals between boards in a system is via SN14- interfaces (Switch Network Interface) 71a-71f with a data transfer rate of 184 Mbit/s. This data transfer rate, however, is not practical for use within an integrated circuit, such as an ASIC-circuit 73 (Application Specific Integrated Circuit). The solution is to break down the incoming serial data signals D ina -D inc to nine-bit parallel data signals D outa -D outc and generate a 20 MHz clock signal CLK20a-CLK 20d to the remainder of the ASIC-circuit 74, by dividing the incoming clock signal CLK184a-CLK184d by nine. A corresponding process then takes place in the other direction; an outgoing 9-bit parallel data signal D ind is converted to an outgoing serial data signal D outd . These functions are handled by a high-speed block 70. In the illustrated embodiment, this block includes one parallel-serial converter 60 and three serial-parallel converters 50a-50c, and thus handles an outgoing SN14-channel D outd and three incoming SD14-channels D ina - D inc . The outgoing SN14-channel D outd is divided into three different branches D outdl -D outd3 that can be inhibited individually, i.e. maintained at a constant low level by passing each branch D outd] -D outd3 through an AND-gate 75-77 to which an inhibiting signal Killl-Kill3 is applied. When the inhibiting signal Killl-Kill3 is high, the signals pass from the outgoing SNI4-channel D outd through the AND-gate 75-77 with no trouble, but the output on the AND-gate 75-77 is set to zero by the inhibiting signal Killl-Kill3 is low. It is, of course, most suitable in practice for the inhibiting signal Killl-Kill3 to function as actively low, i.e. with an inverter upstream of the input. In order to ensure that the converters 50a-c, 60 operate simultaneously, it is possible to zero-set the frequency division in all converters 50a-c, 60 simultaneously with the aid of a reset signal R controlled from the remainder of the ASIC-circuit 74. This high-speed block can then be varied as required by input signals and output signals, and in accordance with desired speeds.

Claims: CLAIMS 1. A frequency divider for dividing down the frequency of an incoming clock signal (CLK), said frequency divider including clock inputs (CK 0 -CK 7 ) coupled to the incoming clock signal (CLK), characterized in that the frequency divider includes at least two circuits (0-7) that have the function of AND-gates with clocked memory circuits, in that said circuits each include a clock input (CKo-CK 7 ), a first AND-input (SDI 0 -SDI 7 ), a second AND-input (SE 0 -SE 7 ), and at least one output (Q 0 -Q 7 ) that outputs the value of the logical AND-function of the two AND-inputs (SDI 0 -SDI 7 , SE 0 -SDI 7 ); in that the first AND-inputs (SDI 0 -SDI 7 ) are connected to each other and to an inverted signal from one of the outputs (Q 7 ); in that the second AND-inputs (SE r SE 7 ), except on the first circuit (0), are connected together and to the output (Qo-Q ό ) of the preceding circuit (0-6); and in that a frequency divided clock signal (CLKdiv) can be taken out from one of the outputs (Q 4 )- 2. A frequency divider according to Claim 1, characterized in that the circuits are D- flip-flops (0-7) with multiplexed inputs, said D-flip-flops each including a data input (D 0 - D 7 ), a scan input (SDI 0 -SDI 7 ), a clock input (CKo-CK 7 ), a scan enable input (SE 0 -SE 7 ), an output (Q 0 -Q 7 ) that outputs the value from the data input (D 0 -D 7 ) or the scan input (SDI 0 - SDI 7 ), depending on the value of the scan enable input (SE 0 -SE 7 ), and an inverse output (QB 0 -QB 7 ); in that the data inputs (D 0 -D 7 ) are kept low; in that the scan inputs (SDI 0 -SDI 7 ) correspond to the first AND-inputs (SDI 0 -SDI 7 ) that are connected to each other and to one of the inverse outputs (QB 7 ); and in that the scan enable inputs (SE 0 -SE 7 ) correspond to the second AND-gates (SE 0 -SE 7 ). 3. A frequency divider according to one of Claims 1-2, characterized in that a pulse signal (BP) can be taken out from one of the outputs (Q 0 , QB 0 ). 4. A frequency divider according to one of Claims 1-3, characterized in that the frequency divider can be zeroed with the aid of a reset signal (R) that arrives on the second AND-gate (SE 0 ) on the first circuit (0). 5. A serial-parallel converter that includes partly a shift register (51) having clock inputs (CK I0 -CKιg) connected to an incoming clock signal (CLK) and having an input (D 10 ) for inputting serial data signals (D in s ), partly an output register (52) having clock inputs (CK 20 -CK 28 ) connected to an incoming clock signal (CLK), having outputs (Q 20 -Q 28 , QB 20 -QB 28 ) for outputting parallel data signals (D 0UtιP ), and having inputs (D 20 -D 28 ) that are connected together and to outputs (Qio-Qiβ. QB 10 -QB 18 ) on the shift register (51), and partly a frequency divider (40) having clock inputs (CK 0 -CK 7 ) connected to the incoming clock signal (CLK) that is connected to the shift-register clock inputs (CK 10 - CKig), said frequency divider outputting a control signal (BP) which controls when data signals from the shift register (51) shall be clocked in to the output register (52), characterized in that the frequency divider (40) includes at least two circuits (0-7) that have the function of AND-gates with clocked memory circuits, each of said circuits including a clock input (CK 0 -CK 7 ), a first AND-input (SDI 0 -SDI 7 ), a second AND-input (SE 0 -SE 7 ), and at least one output (Q 0 -Q 7 ) that outputs the value of the logic AND-function of the two AND-inputs (SDI 0 -SDI 7 , SE 0 -SE 7 ); in that the first AND-inputs (SDI 0 -SDI 7 ) are connected together and to an inverted signal from one of the outputs (Q 7 ); in that the second AND-inputs (SE,-SE 7 ), except on the first circuit (0), are connected together and to the output (Q 0 -Q 6 ) of the preceding circuit (0-6); and in that a frequency divided clock signal (CLKdiv) can be taken out from one of the outputs (Q 4 ). 6. A serial-parallel converter according to Claim 5, characterized in that the converter includes D-flip-flops (0-28) with multiplexed inputs, each of said D-flip-flops including a data input (D 0 -D 28 ), a scan input (SDI 0 -SDI 28 ), a clock input (CK 0 -CK 2g ), a scan enable input (SE 0 -SE 28 ), an output (Qo-Q 28 ) that outputs the value from the data input (D 0 -D 28 ) or the scan input (SDI 0 -SDI 28 ), depending on the value of the scan enable input (SE 0 -SE 28 ), and an inverse output (QB 0 -QB 28 ); in that the data input (D 0 -D 7 ) in the frequency divider (40) are kept low; in that the scan inputs (SDI 0 -SDI 7 ) in the frequency divider (40) correspond to the first AND-inputs (SDI 0 -SDI 7 ), which are connected to each other and to one of the inverse outputs (QB 0 .QB 7 ) in the frequency divider (40); and in that the scan enable inputs (SE 0 -SE 7 ) in the frequency divider (40) correspond to the second AND-inputs (SE 0 -SE 7 ). 7. A serial-parallel converter according to any one of Claims 5-6, characterized in that the incoming clock signal (CLK) and the incoming serial data signals (D ιn s ) are buffered with inverters or buffers, so as to clock the data signals (D in s ) essentially midway in the data. 8. A serial-parallel converter according to Claim 7, characterized in that an additional load (55) is connected in parallel with the input (D l0 ) of the shift register to enable the delay difference between the incoming clock signal (CLK) and the incoming serial data signals (D in s ) to be finely adjusted. 9. A serial-parallel converter according to Claim 8, characterized in that said load (55) comprises two groups that include four inverters mutually connected in parallel. 10. A serial-parallel converter according to any one of Claims 6-9, characterized in that the outputs (Q 20 -Q 28 ) of the output register are fed back to respective scan inputs (SDI 20 -SDI 28 ); in that the clock inputs (CK 20 -CK 28 ) of the output register are connected to the same incoming clock signal (CLK) as the clock inputs (CK 10 -CKι 8 ) of the shift register and the frequency divider (CKo-CK 7 ); and in that the control signal (BP) is a pulse signal which is applied to the scan enable inputs (SE 20 -SE 28 ) of the output register. 11. A serial-parallel converter according to any one of Claims 6-10, characterized in that inverted parallel data signals (D ou ^ p ) are taken out from the inverse outputs (QB 20 - QB 28 ) of the output register. 12. A serial-parallel converter according to any one of Claims 6-11, characterized in that the data signals that are taken out from the shift register (51) are taken out from the inverse outputs (QB 10 -QB ) g ) of said shift register. 13. A serial-parallel converter according to any one of Claims 6-12, characterized in that the pulse signal (BP) is buffered with at least two parallel-coupled inverters (43) or buffers. 14. A parallel-serial converter that includes partly a register (61) with clock inputs (CK 30 -CK 3g ) coupled to an incoming clock signal (CLK) and having inputs (D 30 -D 38 ) for inputting parallel data signals (D in p ), and at least one output (Q 38 ) for outputting serial data signals (D out s ); and partly a frequency divider (40) having clock inputs (CK 0 -CK 7 ) coupled to the incoming clock signal (CLK), said frequency divider (40) outputting a control signal (BP) which controls when new parallel data signals (D in p ) shall be taken into the register (61), characterized in that the frequency divider (40) includes at least two circuits (0-7) that function as AND-gates with clocked memory circuits, each of said circuits including a clock input (CKo-CK 7 ), a first AND-input (SDI 0 -SDI 7 ), a second AND-input (SE 0 -SE 7 ), and at least one output (Q 0 -Q 7 ) that outputs the value of the logic AND-function of the two AND-inputs (SDI 0 -SDI 7 , SE 0 -SE 7 ); in that the first AND-inputs (SDI 0 -SDI 7 ) are connected to each other and to an inverted signal from one of the outputs (Q 7 ); in that the second AND-gates (SE 1 -SE 7 ), except on the first circuit (0), are connected to the output (Qo-Qβ) of the preceding circuit (0-6); and in that the a frequency divided clock signal (CLKdiv) can be taken out from one of the outputs (Q 4 ). 15. A parallel-serial converter according to Claim 14, characterized in that the register (61) includes D-flip-flops (30-38) with multiplexed inputs, each of said D-flip-flops including a data input (D 30 -D 38 ), a scan input (SDI 30 -SDI 3g ), a clock input (CK 30 -CK 38 ), a scan enable input (SE 30 -SE 38 ), an output (Q 30 -Q 38 ) that outputs the value from the data input (D 30 -D 38 ) or from the scan input (SDI 30 -SDI 3g ), depending on the value of the scan enable input (SE 30 -SE 3g ), and an inverse output (QB 30 -QB 3g ); in that the data inputs (D 0 -D 7 ) in the frequency divider (40) are kept low: in that the scan inputs (SDI 0 -SDI 7 ) in the frequency divider (40) correspond to the first AND-inputs (SDI 0 -SDI 7 ) that are connected to each other and to one of the inverse outputs (QB 7 ) in the frequency divider (40); and in that the scan enable inputs (SE 0 -SE 7 ) in the frequency divider (40) correspond to the second AND-inputs (SE 0 -SE 7 ). 16. A parallel-serial converter according to any one of Claims 14-15, characterized in that the incoming clock signal (CLK) and the incoming parallel data signals (D in p ) are buffered with inverters (63) or with buffers, so that the data signals (D in p ) are clocked essentially midway in the data. 17. A parallel-serial converter according to any one of Claims 14-16, characterized in that the control signal (BP) is a pulse signal which is buffered with at least two parallel connected inverters (43) or buffers, and which is connected to scan enable inputs (SE 3 I - SE 3g ) of the register (61). 18. A high-speed block that functions as an interface between high transfer speed signals and low transfer speed signals and that includes at least one parallel-serial converter and at least one serial-parallel converter, characterized in that the serial-parallel converter is according to Claim 5 and the parallel-serial converter is according to Claim 14. 19. The use of a serial-parallel converter according to Claim 5 and a parallel-serial converter according to Claim 14 in a high-speed block that functions as an interface between low-speed signals and high-speed signals.

Inventors: ERIKSSON ANDERS, SVENSSON LARS-OLOF, ERIKSSON, ANDERS, SVENSSON, LARS-OLOF
Applicants: ERICSSON TELEFON AB L M, ERIKSSON ANDERS, SVENSSON LARS OLOF, ERIKSSON, ANDERS, SVENSSON, LARS-OLOF, TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Application year: 1997
Main classification: H03K23
IPC codes: H03K23, H03K27, H03M9