HIGH-SPEED SINGLE D-FLIP-FLOP PSEUDO-RANDOM BIT SEQUENCE GENERATOR Leon Pavlovič, Matjaž Vidmar Faculty of Electrical Engineering, University of Ljubljana, Slovenia Keywords: Pseudo-random binary sequence (PRBS) generator, high-speed logic design, bit-error-rate (BER) testing, microwave circuit, emitter-coupled logic (ECU Abstract: In this article, a new PRBS generation method using a single D-flip-flop is presented. The new method is suitable for the highest data rates, since it allows operation at clock frequencies equal or higher than a shift-register chain, made of the same type of D-flip-flops. Most of the required delays in the new PRBS generator are generated by microwave transmission lines, enabling a higher clock frequency while simplifying circuit design and lowering the cost. A 2.48832Gbit/s PRBS generator was practically implemented using the new method, producing pseudo-random bit sequences corresponding to two standard polynomials 1 and 1 +x"'+x'®. This efficient design was practically tested at 2.488Gbit/s while its main application is to provide inexpensive 10Gbit/s and 40Gbit/s pseudo-random data sources. Gigabitni psevdonaključni podatkovni izvor Kjučne besede: Izvleček: V prispevku je predstavljena nova metoda generiranja psevdonaključnega binarnega zaporedja (PRBS), l Qh D Q ■> Q ■■|D Qr ■ID Q^- Di Q l-FikDilaylii.c 5-8it'l3 -8n Delay Line Co,npl i Ik 1 mi YMvM r J tt ir^ t . J S I fi R T O H z 'RBU 30kHz STOP O k H z S . 9 li O S H P she 1 7 O s 8 C Figure 7: Frequency spectrum of the 1 PRBS. urementoftlie eye pattern. However, otiier measurements like the observation of specific bit distortions may require a frame-sync or pattern-sync trigger pulse. The beginning of a maximum-length LFSR sequence is usually defined with the all-ones state of the shift register. The detection of the all-ones state requires additional high-speed logic circuits and may be very expensive to implement at high clock frequencies. Fortunately, at least for short LFSR sequences there is a simpler, analog way of deriving a pattern-sync trigger pulse. Since the spectrum of a maximum-length LFSR sequence includes equally-spaced discrete spectral lines, it is sufficient to filter out the lowest-frequency spectral line to obtain a trig-gerthat is synchronous to the whole sequence pattern. In the case of the 2.48832Gbit/s 1+x®+x^ polynomial sequence that has a repetition period 127bits, the lowest discrete spectral component has a frequency of 19.593MHz. The supplementary, AG-coupled, 2.48832Gbit/s PRBS data is simply fed through a low-pass filter circuit with the cutoff frequency of about 22MHz. The 7"^ order pattern-sync circuit diagram is shown on Figure 8 and includes an INA-10386 MMIG amplifier and two low-pass filters: a lumped-element 22MHz low-pass and a 400MHz micros-trip low-pass to suppress the spurious responses of the lumped-element filter above 1 GHz. The prototype photo is shown on Figure 9. 2 > Mi b. ! c -iOCi MH/ Fioiii iuppk-tiKiiUuy /"X./ 7tli ordvr PiO.tS I'kliS Darn OiilfMiI ' / Figure 8: Circuit diagram of the Z"' order pattern-sync circuit. The sinewave output of the analog low-pass pattern-sync circuit is further processed by an additional circuit (descrip- ■A'-. Figure 9: Photo of the order pattern-sync circuit prototype. tion omitted from this article): MC ICH 102 gate and yet another MC100EL31 flip-flop. MC10H102 gate convertes analog pattern-sync trigger signal to EGL logic levels. Most of the timing jitter of the trigger signal is removed by MC1G0EL31 D-flip-flop clocked at 2.48832GHz. Such a pattern-sync trigger signal allows a detailed analysis of the PRBS bit pattern. The complete 127-bit PRBS pattern is shown on Figure 10. Figure 10: The complete 127-bit PRBS pattern. An overview of the standalone 2.48832Gbit/s PRBS data pattern generator The circuits described in this article are parts of the standalone 2.48832Gbit/s PRBS (OC-48/STM-16) data pattern generator. Besides the described PRBS core circuit and PRBS pattern-sync trigger circuit, the generator also includes a 2.48832GHz clock source PLL-locked to an internal crystal reference, a clock-signal distribution circuit (for both D-flip-flops in the PRBS core circuit), a trigger circuit to start the PRBS generator in the case of an all-zero stall and power-supply circuits for the Vbb and Vtt voltages required by EGL circuits. 3!aiici.-)loae OC-4S/STM-16 P.RBS Pattern Pala Geim^tor i Vk V'oi-1 Supplies Ci'cwt aockSigr.si Dtsti;b'itian Cu-cuit Ci/cxi.t Cix.v; l-mi Flit..,) ' F.aifr:.?! XieUy I,>; C'iiiput Figure 11: Block diagram of the standalone 2.48832 Gbit/s PRBS generator The block diagram of the PRBS generator is shown on Figure 11. The generator has two complementary ECL data outputs (Q and /Q), two connectors for the external delay line, a pattern-sync trigger output for the 1 +x®+x^ polynomial and two clock outputs. Descriptions of the additional circuits are beyond the scope of this article, but none of them is not as nearly (relatively) complex as PRBS core circuit. A photo of the standalone 2.48832Gbit/s PRBS data pattern generator prototype is shown on Figure 12. flops. Furthermore, the clock frequency of the single-D-flip-flop design is limited only by the D-flip-flop maximum toggle frequency. A companion Bit-Error-Rate test receiver could be designed in the same way, implementing a polynomial divider with transmission-line delays in place of D-flip-flops. Knowing the mathematical properties of LFSR sequences even some other circuits can be simplified, like replacing complex digital pattern-sync circuits with simple analog low-pass filters. Although all of our experiments were made at 2.48832GHz, the principles are fully scalable to higher clock frequencies of 10GHz and even 40GHz. This means that a complete Bit-Error-Rate test setup can be built for 10Gbit/s or even 40Gbit/s for a very small fraction of the cost of similar, commercially available OC-196 and 00-768 test equipment. Acknowledgements: The authors would like to thank Mr. Radek Vaclavik of ON Semiconductor, SOG Ozech Design Center, Czech Republic, for providing several samples of ECLinPS integrated circuits. This research was supported by Ministry of Higher Education, Science and Technology of Republic Slovenia under research program P2-0246. References: Figure 12: standalone 2.48832Gbit/s (0C-48/STM-16) PRBS generator Conclusion: The design of a simple and efficient high-speed PRBS data pattern generator was presented in this article. The PRBS generator achieves error-free operation at a clock frequency of 2.48832GHz that is almost twice the limit imposed by device propagation delays for conventional shift-register designs using chains of (discrete) MC100EL31 D-flip- /1/ /2/ Solomon W. Golomb, Shift Register Sequences, Aegean Park Press, Caiifornia, 1982, pp. 27-37. ON Semiconductor, Higti Performance ECL Data - ECLinPS, ECLinPS Lite, DL140/D Databook, January 2001. Leon Pavlovič E-mail: leon.pa vlovic@fe. uni-lj. si Matjaž Vidmar E-mail: s53mv@uni-mb.si Faculty of Electrical Engineering University of Ljubljana Trzaska 25, 1000 Ljubljana, Slovenia Tel: +386 1 4768425 Fax: +386 1 4768424 Prispelo (Arrived): 02.04.2005 Sprejeto (Accepted): 12.06.2005