TRANSITION ALIGNED VIDEO SYNCHRONIZATION SYSTEM

Abstract: A synchronization system aligns video signals without the use of phase locked loop. One embodiment includes a delay line (220) and a selection circuit (250). A clock signal (CLKIN) with a desired frequency for a pixel clock is applied to the delay line (220) to generate a series of delayed signals at taps on the delay line. When a transition in a horizontal sync signal occurs, the selection circuit (250) senses delayed signals and selects a delayed signal having a transition aligned relative to the transition in the horizontal sync signal. This delayed signal is a pixel clock signal which is not subject to frequency fluctuation of a phase locked loop. Selecting a new delayed signal at each horizontal blanking period keeps the pixel clock for each line of video aligned to the horizontal sync signal.

Description: TRANSITION ALIGNED VIDEO SYNCHRONIZATION SYSTEM CROSS REFERENCE TO RELATED APPLICATION This application is related to U.S- Application Serial No. 08/127,219, filed September 27, 1993, entitled "Flexible Multiport Multiformat Burst Buffer"; U.S. Application Serial No. 08/136,621, filed October 13, 1993, entitled "Data Processing Technique for Limiting the Bandwidth of Data to be Stored in a Buffer"; U.S. Application Serial No. 08/142,623, filed October 22, 1993, entitled "Video Processing Technique Using Multi-Buffer Video Memory"; and U.S. Application Serial No. 08/354,188, filed December 12, 1994, entitled "Automatic Alignment of Video Window on a Multimedia Screen". All four applications are incorporated herein by reference in their entirety. BACKGROUND OF THE INVENTION Field of the Invention This invention relates to circuits and processes which synchronize video signals. Description of Related Art Some multimedia computer systems contain a video source such as a video camera, a television tuner, or a CD ROM drive which generates information representing a moving image. A motion video card converts the information to a video signal for displaying the moving image in a video window on a display screen which concurrently displays conventional graphics such as text around the video window. U.S. Application Serial No. 08/354,188, which is incorporated by reference herein, describes multimedia systems where a computer and a VGA card generate a video signal representing a graphics image, and a motion video card receives the video signal and replaces the portion of the video signal that represents a video window, with a new portion representing a moving image. Fig. IA shows an example of a multimedia system 100 having a motion video card 12 which produces an analog RGB video signal by combining a digital video signal from a VGA card 20 with a digital video signal represent a moving image. Each digital video signal contains a stream of pixel data representing the colors of pixels in lines of frames to be displayed on a monitor 30. To generate the output video signal, a multiplexer 38 selects digital pixel data from a motion video buffer 14 when comparator 46 indicates the pixel data from VGA card 20 is equal to a particular color or chroma key and otherwise selects pixel data from VGA card 20. A digital-to-analog (D/A) converter 40 converts the pixel data from multiplexer 38 into an analog RGB video signal. VGA card 20 and motion video card 12 typically use different pixel clock signals when asserting pixel data to multiplexer 38 and D/A converter 40. VGA card 20 generates a pixel clock signal and a horizontal synchronization signal which are synchronized so that each line of pixel data for the graphics image is aligned horizontally at a left edge of the display area on monitor 30. Motion video card 12 generates its own pixel clock signal. If the phase of the pixel clock signal for motion video card 12 varies relative to the horizontal synchronization signal, the timing of pixel data for the moving image varies relative to the timing of pixel data for the graphic image, and the positions of the pixels displayed in the video window vary relative to the starts of lines on monitor 30. Thiε makes the moving image appear blurry and jittery. Fig. IB shows an example of a multimedia system 150 which combines two analog video signals to produce an output RGB video signal. Although both video signals are analog, motion video card 120 has a D/A converter 66 which converts pixel data according to a pixel clock signal generated by a video clock 64. The pixel clock signal is synchronized with a horizontal synchronization signal from VGA card 54 to avoid the jitter described above. Typically, a motion video card such as card 12 or 120 contains a phase locked loop (PLL) to synchronize the card's pixel clock signal with the horizontal synchronization signal from a VGA card. Designing an adequately accurate PLL presents challenges. In particular, computer systems provide an electrically noisy environment for motion video cards and disturb PLL operation. Additionally, a pixel clock signal typically has a frequency that is hundreds or thousands of times the frequency of the horizontal synchronization signal, and small jitter in the horizontal synchronization signal or the PLL operation causes significant variations in the phase and frequency of the pixel clock signal. The variation in the phase causes lines of the moving image to have variable display positions as described above. The variation in frequency varies the displayed length of the lines of the moving image which also causes a blurry and jittery moving image. Accordingly, circuits and methods are desired for synchronizing pixel clock signals to horizontal synchronization signals without variations in the pixel clock signal's frequency or phase relative to the horizontal synchronization signal. SUMMARY OF THE INVENTION In accordance with an embodiment of the invention, a synchronization circuit includes a delay line and a selection circuit. A clock signal applied to the delay line generates a series of delayed signals at a series of taps on the delay line. All of the delayed signals have the same frequency but differ in phase. The selection circuit monitors the delayed signals and selects a tap which supplies a clock signal having a transition aligned with a transition in a reference signal. The selected tap is the source of an aligned clock signal until a new tap is selected. Periodic alignment selects a new tap at periodic transitions in the reference signal and renews a desired phase relationship between the aligned clock signal and the reference signal. Jitter in the reference signal does not change the frequency of the aligned clock signal. Accordingly, the aligned clock signal has a constant frequency except during periods when the selection circuit selects a new tap. In an application to video signals, the reference signal is either a horizontal synchronization signal or is derived from a horizontal synchronization signal, and the aligned clock signal is an aligned pixel clock signal. The aligned pixel clock signal is aligned to periodic transitions at edges of horizontal blanking intervals so that pixel data for every line of video has the same timing relative to the edge of a display. The frequency of the aligned pixel clock signal is not subject to jitter introduced by a phase locked loop. Accordingly, the aligned pixel clock signal allows display of clear and jitter free video. In one embodiment of the invention, the selection circuit includes a series of latches that are coupled to taps on the delay line. Typically, the latches are dynamic latches which compare the voltage at a tap to a mean voltage of an input clock signal propagating on the delay line. A transition in a reference signal triggers the latches and causes each latch to provide an output signal which indicates the voltage at the tap when the latch was triggered. The selection circuit also contains a control circuit coupled to the latches and the taps. The control circuit identifies a pair of latches which have output signals indicating that when the latches were triggered, a voltage transition on the delay line was between the taps corresponding to the pair of latches. The control circuit selects a delayed signal and a tap according to the identified pair of latches. For example, the selected tap can be either of the taps corresponding to the pair of latches or a tap between the taps corresponding to the pair of latches. The delay line typically contains a series of delay elements such as inverters which control the total delay time required for a signal to traverse the delay line. A delay control circuit can control the delay through each delay element and the total delay time. To provide a full range of phases to select from, the total delay time is longer than the period of the input clock signal applied to the delay line. A pixel clock signal which is synchronized with a horizontal synchronization signal can be generated using a method which includes: applying a clock signal to a delay line to generate a series of delayed signals at taps on the delay line; selecting one of the delayed signals which has a desired phase relative to the horizontal synchronization signal; and using the selected one of the delayed signals as the pixel clock signal. BRIEF DESCRIPTION OF THE DRAWINGS Fig. IA shows a block diagram of a multimedia system containing a motion video card which multiplexes digital video signals. Fig. IB shows a block diagram of a multimedia system containing a motion video card which multiplexes analog video signals. Fig. 2 shows a block diagram of a synchronization circuit in accordance with an embodiment of the invention. Fig. 3 represents the values held in latches in an embodiment of the synchronization circuit of Fig. 2. Fig. 4 shows timing diagrams of input and output signals in an embodiment of the synchronization circuit of Fig. 2. Figs. 5, 6, 8, and 9 are circuit diagrams of portions of a synchronization circuit in accordance an exemplary embodiment of the invention. Fig. 5, comprising Figs. 5A and 5B, shows a section of a delay line and selection circuitry. Fig. 6 shows a circuit which generates reference signals from a horizontal synchronization signal. Fig. 7 shows the timing of input and output signals for the circuit of Fig. 6. Fig. 8 shows selection circuitry for six delay line sections such as shown in Fig. 5. Fig. 9 shows a deglitcher which removes short pulses from an output pixel clock signal. Use of the same reference symbols in different figures indicates similar or identical items. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In accordance with an embodiment of the invention, a synchronization circuit generates a pixel clock signal which, at the start of each line of video, has a desired phase relative to a horizontal synchronization signal. The synchronization circuit contains a delay line on which an input clock signal propagates and a selection circuit that, at the start of each line of video, selects a tap on the delay line where a delayed signal has the desired phase. The synchronization circuit maintains the frequency of the pixel clock signal as generated by a clock circuit such as a crystal oscillator. This eliminates jitter caused when a phase locked loop varies frequency to obtain a phase lock. Fig. 2 is a block diagram of a synchronization (sync) circuit 200 in accordance with an embodiment of the invention. Sync circuit 200 contains a delay line 210 and a selection circuit 250 connected to a series of taps 215 along delay line 210. A conventional oscillator (not shown) asserts an input clock signal CLKIN to delay line 210. Clock signal CLKIN has a desired frequency for an output clock signal CLKOUT but may not have a desired phase relative to reference signal REFIN. Clock signal CLKIN propagates along delay line 210, so that each tap 215 provides a delayed signal which has the same frequency as signal CLKIN but a phase which differs from signal CLKIN. Selection circuit 250 selects one tap 215 which provides a signal having a phase close to the desired phase relationship with reference signal REFIN. That tap provides synchronized clock signal CLKOUT. To ensure that at least one of the delayed signals from taps 215 has approximately the desired phase, the total delay of delay line 210 should be greater than the period of signal CLKIN so that taps 215 sample the full range of possible phases. In Fig. 2, delay line 210 contains delay cells 220 which are connected in series. Delay cells 220 delay propagation of signal CLKIN and control the phase difference between signals at adjacent taps 215. In Fig. 220, each delay cell 220 contains two inverters 222 coupled in series and provides a delay which depends on the fabrication parameter of inverters 222 and the power applied to the inverters. Many other alternative delay cells are possible. A delay control circuit 260 creates a programmable current supply which powers inverters 222 for current starved operation and a user selected delay. Delay control 260 can be programmed so that the total delay of delay line 210 is equal to the period of signal CLKIN. Selection circuit 250 contains a control circuit 240 and dynamic latches 230 which sense delayed signals at taps 215 on delay line 210. Each latch has two input terminals, one coupled to a corresponding tap 215 and the other coupled to a reference voltage VDD/2 which is mean voltage of clock signal CLKIN. In operation, a transition (or edge) in reference signal REFIN triggers latches 230, and an output voltage from each latch 230 goes high if the delayed signal at the corresponding tap 215 is higher than voltage VDD/2 when latches 230 were triggered. Fig. 3 shows an example pattern of the values (high = 1, low = 0) in latches 230 after being triggered by signal REFIN. In the example, each of the first J latches 230 and each of the last (N-K) latches 230 contains value 0 indicating the delayed signal at a corresponding tap 215 was at a level below voltage VDD/2 when latches 230 were triggered. Each of the remaining (K-J) latches 230 contains value 1 indicating the delayed signals at a corresponding tap 215 was above voltage VDD/2 when latches 230 were triggered. The values in latches 230 indicate the progress of signal CLKIN along delay line 210. In the example of Fig. 3, a rising edge of signal CLKIN has passed latch K but has not yet reached latch K+l, and a falling edge of signal CLKIN is between latch J and latch J+l. If it is desired that the rising edge of signal CLKOUT be in phase with the triggering edge of signal REFIN, control circuit 240 selects the delayed signals from a tap near the taps 215 sensed by latches K and K+l. The delayed signal for that tap is aligned with the edge of signal REFIN to an accuracy of about the delay of one delay cell 220. Decreasing the delay per delay cell 220 and increasing the number of taps increase the accuracy of the alignment between reference signal REFIN and output clock signal CLKOUT. Fig. 4 shows the timing of signals REFIN, CLKIN, and CLKOUT in an embodiment of sync circuit 200, wherein a rising edge of signal REFIN triggers latches 230 and selection circuit 250 aligns signal CLKOUT to the rising edge of signal REFIN. Phase synchronization occurs at an edge 410 of reference signal REFIN when control circuit 240 selects a delayed signal which had a rising edge occurring at the same time as edge 410. An edge 430 of clock signal CLKOUT occurs after the time required for control circuit 240 to select one of taps 215. The selected tap 215 provides signal CLKOUT until another rising edge 420 again triggers latches 230. There is no requirement that the frequency of signal CLKIN be an integer multiple of signal REFIN. Accordingly, the signal from the tap selected at edge 410 usually does not have an edge aligned with edge 420 of signal REFIN. At edge 420, control circuit 240 selects another tap 215 which provides a delayed signal aligned with edge 420. A first period 440 and a last period 450 in output signal CLKOUT, between edges 410 and 420 are typically irregular. For example, first period 440 is shorter than normal because edge 430 is delayed while a tap is selected. Last period 440 of signal CLKOUT before edge 420 is short because a new tap is selected and an edge 460 from the new tap begins before a full period from the old tap ends. If the signal from the old tap is high when a new tap is selected, a long pulse occurs. If desired, signal CLKOUT can be filtered to remove short pulses or glitches caused by switching taps. Sync circuit 200 of Fig. 2 may be applied in any application where a signal that has a phase initially or periodically synchronized with a reference signal is desired. One preferred application is in motion video card 120 of Fig. IB. Motion video card 120 contains elements which are identical to and have the same references numbers as elements shown in Fig. 3 of U.S. pat. app. No. 08/354,188. The description of those elements applies to Fig. IB. In motion video card 120, signal REFIN is or is derived from the horizontal synchronization signal from VGA controller 54, and εignal CLKOUT is the pixel clock signal which controls the timing of pixel data asεerted from motion video buffer 62 to D/A converter 66. The pixel clock signal iε realigned with an edge of each horizontal blanking interval which gives lines of the moving image a uniform horizontal position relative to the edge of the display. Additionally, the lengths of lines of the moving image are steady because the pixel clock signal's frequency does not vary with jitter in the horizontal synchronization signal or in a phase locked loop. Irregular periods such as periods 440 and 450 of Fig. 4 do not affect the display video because the irregular periods occur near the beginning or the end of horizontal blanking intervals when motion video buffer 62 supplies no pixel data. Accordingly, the periods which may be short or irregular are not used for pixel timing and do not affect the display. The time in which the pixel data is not required (several microseconds for a typical horizontal blanking interval and the delay before the active display) is available for selecting a tap 215 and is large when compared with the speed of CMOS circuit elements in selection circuit 250. Figs. 5, 6, 8, and 9 are circuit diagrams for an exemplary embodiment of the invention. The exemplary embodiment generates a pixel clock signal having a phase synchronized with a horizontal sync signal. Fig. 5 shows a section of a delay line 510. In the exemplary embodiment, the delay line 510 contains a series of six identical sections, but alternatively any number of sections may be employed. An oscillator (not shown) generates a clock signal CKIN for input to the first section in the series, and each section of delay line 510, except the last, provides a signal CKOUT as the input signal CKIN to the next section in the series. Each section has accompanying selection circuitry which is identical to that shown in Fig. 5. In particular, each section of delay line 510 is coupled to eight dynamic latches 530, but more or fewer latches may be used in other embodiments of the invention. Dynamic latches 530 detect voltages on delay line 510. With current CMOS technology, a dynamic latch can detect a voltage difference within a time interval down to the picosecond range and εtill avoid metastability problems. Each dynamic latch 530 contains P-channel transistors 531, 532, 537, and 538, N-channel transistors 533, 534, 535, 536, 539, and 540, and a NAND gate 548. P-channel transistors 531 and 532 are coupled between a supply voltage VDD and respective nodes 541 and 542 with gates cross-coupled to nodes 542 and 541 respectively. P-channel transistors 537 and 538 are also coupled between supply voltage VDD and nodes 541 and 542 respectively but have gates coupled to a line 550. N-channel transistors 535 and 536 connect nodes 541 and 542 to nodes 543 and 544 respectively and have gates coupled to line 550. N-channel transistors 533 and 534 are coupled between respective nodes 543 and 544 and ground and have gates cross-coupled to nodes 544 and 543 respectively. N- channel transistors 539 and 540 also connect nodes 543 and 544 to ground. When latch 530 holds a stored value, the voltage on node 541 iε complementary to the voltage on node 542. Setting voltage on line 550 low (about ground level) resets latch 530 so that the voltage on both nodes 541 and 542 is high (about level VDD) . When the voltage on line 550 is low, tranεiεtors 535 and 536 disconnect nodes 541 and 542 from grounded portions of latch 530, and transiεtorε 537 and 538 pull nodeε 541 and 542 high. When the voltage on line 550 transitions from low to high, transistorε 537 and 538 εhut off, and transistors 535 and 536 turn on which charges nodes 543 and 544. A voltage divider 555 supplieε a voltage VDD/2 to the gate of transistor 539, and NAND gate 548 supplies a voltage from a tap 516 on delay line 510 to the gate of transistor 540. If the voltage from tap 516 is initially high, tranεistor 540 is off, and transistor 539 pulls node 541 low, turning on transiεtor 532. Transistor 532 drives nodes 542 and 544 high. Alternatively, if the voltage from delay line 510 is initially low, transistor 540 pulls node 544 low enough to turn on transistor 531 which drives nodes 541 high. Circuit elements 551 to 554 provide a delay for senεing the voltage on tap 516 before εhutting off voltage divider 555 and cauεing AND gate 548 to diεconnect tap 516 from the gate of tranεistor 540. Nodes 541 to 544 retain the levels obtained during the sensing, until the voltage on line 550 goes low and resets latch 530. An inverter 556 inverts a signal SET to control the voltage on line 550. A one-shot circuit 600 shown in Fig. 6 generates signals SET_1 to SET_6 and RST which contain pulses aligned to an input horizontal synchronization signal HSYNC. Signals SET_1 to SET_6 correspond to respective sectionε of delay line 510. Signal RST iε for a deglitcher 900 εhown in Fig. 9 and described below. Fig. 7 shows the timing of input and output εignals from one-shot circuit 600. A typical horizontal sync signal iε low during blanking intervalε 710 which are 3 to 6 μs long. Signal SET which resets and triggers latches 530 containε pulεeε 720 of much εhorter duration, typically 30 to 60 nε, which are approximately aligned with falling edgeε 705 of εignal HSYNC. One-shot circuit 600 contains an input inverter 610, a NAND gate 620, an odd number of delay inverters 630, and output inverters 641 to 647. In a steady state, delay inverters 630 cause one input voltage of NAND gate 620 to be complementary to a second input voltage so that an output voltage from NAND gate 620 is high, and output signals RST and SET_1 to SET_6 from one-shot circuit 600 are low. Delay inverters 630 control the duration of pulseε 720 which are generated when signal HSYNC transitions from high to low. In particular, inverter 610 raises an input voltage of NAND gate 620 before inverters 630 drop the other input voltage of NAND gate 620. Thus, both input voltages of NAND gate 620 are high for the delay time through inverters 630. When signal SET sets a latch 530, voltage at node 541 is high and voltage at node 542 is low if the voltage sensed at tap 516 is low. Voltage at node 541 is low and voltage at node 542 iε high if the voltage εensed at tap 516 iε high. Between each pair of latches 530 is a NAND gate 520 which has one input terminal coupled through an inverter 546 to node 542 of a first latch and a second input terminal coupled through an inverter 545 to node 541 of a second latch. As deεcribed above, delay line 510 includeε a εerieε of εix sections which are identical to the section shown in Fig. 5. The last latch 530 for each section, except the last section, provides a signal CARRYOUT from node 542, aε an input εignal CARRYIN to a NAND gate 520 in the next εection. For a firεt section, εignal CARRYIN is grounded. Each NAND gate 520 shuts off a corresponding pass gate 522 unless the voltages at connected nodes 542 and node 541 are both low. For both voltages to be low, the first latch must have sensed a voltage that is low, and the second latch must have εenεed a voltage that iε high. When thiε occurs, a falling edge of signal CKIN passed a tap 516 senεed by the first latch but had not reached a tap 516 sensed by the second latch. The pass gate 520 corresponding to that NAND gate 520 is coupled to a tap 514 which is between taps 516 sensed by latches 530. Accordingly, NAND gates 520 turn on only pass gates 522 connected to taps 514 having a delayed signal near a falling edge when latches 530 were set. A pass gate 522 which is on conducts a delayed signal CP which had a falling edge approximately aligned with the falling edge of εignal SET and therefore approximately aligned with fixed offset from falling edge 705 (Fig. 7) of signal HSYNC. Alternatively, clock signal CP may be aligned relative to rising edges 715 by changing one-εhot circuit 600 to generate pulseε aligned with riεing edges 715. Aligning with falling edges 705 selects a tap during the horizontal blanking interval. Aligning on rising edges 715 selects a tap after the horizontal blanking period, but for a typical horizontal sync signal 1 to 3 μs are available for selecting a tap before pixel data is needed for the active display region. Either alternative provides a εuitable pixel clock εignal becauεe the pixel clock εignal and the horizontal sync signal can have any phase difference which iε constant from line to line and still provide a jitter-free moving image. The amount of delay in a εection of delay line 510 iε selected so that at moεt one paεs gate 522 in a section is turned on. To accompliεh thiε, the section must delay signal CKIN less than one period of the highest usable frequency for signal CKIN. In the exemplary embodiment, each inverter 512 has a delay of about 1 nε and each section of delay line 510 haε a total delay of about 16 ns. Accordingly, the highest frequency for signal CKIN (and εignal CP) iε about 60 MHz. In this embodiment, the total delay of delay line 510 is about 96 ns, and the lowest usable frequency for εignal CKIN iε about 11 MHz. When one of NAND gateε 520 turns on the corresponding pasε gate 522, logic gates 524 and 526 assert a signal ED high to indicate that the signal CP from that section is synchronized with signal HSYNC. Depending on the frequency of signal CKIN, one or more of the sections passes a synchronized signal CP and asserts signal ED. Typically, signalε CP from different εections are not identical because synchronization is approximate to within a range provided by delay elements 512 in delay line 510. Accordingly, when more than one section provides a synchronized εignal CP, only one iε uεed. Fig. 8 shows a selection circuit 800 which selectε one of εignalε CPl to CP6 from εix εectionε of delay line 510. Selection circuit 800 containε a εerieε of εix paεs circuits 811 to 816. Pass circuit 811 to 816 pass the corresponding one of signals CPl to CP6 if the pass circuits is enabled and if the correεponding one of εignalε EDI to ED6 is aεεerted. To enable one of paεs circuit 811 to 816, voltage on a reεpective one of input terminalε 821 to 826 muεt be low and voltage on a respective one of input terminals 851 to 856 muεt be high. The firεt paεs circuit 811 haε terminals 821 and 851 coupled to ground and VDD reεpectively and is always enabled. If signal EDI is aεεerted, an output voltage from a NOR gate 831 is low, and an output voltage from an inverter 841 is high. The high output voltage from inverter 841 causes an output voltage from a NAND gate 861 to be low which turns on a pass gate 881 which conducts εignal CPl to an inverter 890. The low and high output voltages from NOR gate 831 and inverter 841 respectively, which are connected to terminals 822 and 852 reεpectively, diεable paεε circuit 812. If εignal EDI iε not asserted, the output voltage from NOR gate 831 is high and the output voltage from inverter 841 is low which enables pass circuit 812. The low output voltage from inverter 841 causeε output voltage from NAND gate 861 to be high which εhuts off pasε gate 881. Elements 822, 832, 842, 852, 862, 872, and 882 of pass circuit 812 are identical to respective elements 821, 831, 841, 851, 861, 871, and 881 of pass circuit 811 and operate in the same manner except that pass circuit 811 can disable pass circuit 812. When pass circuit 812 is disabled, pass gate 882 is off regardlesε of the εtate of εignal ED2 because voltage on terminal 852 is low which keeps the output voltage of NAND gate 862 high. Additionally, output voltages from NOR gate 832 and inverter 842 are high and low respectively which disableε pass circuit 813. Pass circuits 813 to 816 operate in the same manner aε pass circuit 812, and when any one of pass circuitε 812 to 815 iε disabled the following pasε circuits in the series are also disabled. Accordingly, the first of pass circuit 811 to 816 to which a corresponding one of signalε EDI to ED6 is asεerted diεables the follow pasε circuits in the series, and only one of pass gates 881 to 886 can be on at a time. Inverter 890, provides the selected εignal COI to deglitcher 900 shown in Fig. 9. Deglitcher 900 containε flip-flopε 910 and 920 which are reεet by signal RST from one-shot circuit 600 of Fig. 6. When reset, flip-flops 910 and 920 turn off a pass gate 940 and turn on a pass gate 950. Pass gate 940 is in a line between line selection circuit 800 and inverters 970 and 980, so that when pass gate 940 is off, selection circuit 800 is disconnected from output inverters 970 and 980. When pass gate 950 iε on, a loop iε created which containε inverterε 960 and 970. Thiε loop maintains output pixel clock signal C02 at a constant level which signal C02 had when paεε gate 950 was turned on and pass gate 940 was turned off. Signal RST resets flip-flops 910 and 920 when circuits 500 and 800 begin selecting a new tap 514 to provide the output clock εignal. During this time, pulseε in signal COI may be irregular or short. Flip- flops 910 and 920 keep pass-gate 950 on, and therefore hold output pixel clock signal C02 constant, until signal COI clocks flip-flops 910 and 920 twice. After clocking flip-flops 910 twice, signal COI should have settled into a regular oscillation from the new tap 514. Pass gate 940 is then turned on, and pass gate 950 is turned off εo that pixel clock εignal C02 resumes oscillating with signal COI. Deglitcher 900 replaces εhort and/or irregular periods in εignal COI with a long period in pixel clock signal C02. Since these period are during horizontal blanking or otherwise before active diεplay, there is no effect on the pixel data. However, some applications may use pixel clock signal C02 for the timing of video processing circuitry which is active during horizontal blanking, for example to count the number of pixels before opening a video window. In such applications, the period of every pulse of pixel clock signal C02 must be long enough for proper operation of the proceεεing circuitry. Deglitcher 900 ensureε that thiε is the case. Although the present invention has been described with reference to particular embodiments, the description is only an example of the invention'ε application and εhould not be taken aε a limitation. In particular, even though much of preceding diεcuεsion was aimed at video signal alignment, alternative embodiments of thiε invention could be employed for εynchronization among different proceεεing chipε in a computer or control εyεtem. In addition, although the deεcription deεcribes embodiments using inverters in delay lines and dynamic latches to sense delayed signals on the delay lineε, many other devices could be used for these functionε. Variouε other adaptations and combinations of features of the embodimentε diεcloεed are within the scope of the invention as defined by the following claims.

Claims: We claim: 1. A synchronization circuit comprising: a delay line having a serieε of taps along its length, wherein an input signal applied to the delay line provides series of delayed εignalε at the taps; a εerieε of dynamic latcheε, each of the dynamic latcheε having a first input terminal coupled to a corresponding tap in the delay line, a second input terminal for a reference voltage, a clock terminal, and an output terminal, wherein a transition in a signal applied to the clock terminal causes the dynamic latch to store a value which indicates whether a voltage at the correεponding tap waε greater than the reference voltage when the tranεition occurred; and a control circuit coupled to the dynamic latches and the taps, wherein the control circuit identifies a pair of dynamic latches which have stored values indicating a voltage tranεition waε between taps corresponding to the pair of dynamic latches, and wherein the control circuit selectε the delayed εignal from a tap proximate to the taps correεponding to the pair of dynamic latches. 2. The circuit of claim 1, wherein the control circuit εelects the delayed signal from a tap between the taps corresponding to the identified pair of dynamic latches. 3. The circuit of claim 2, wherein the control circuit selects the delayed εignal from a tap correεponding to one of the dynamic latcheε in the identified pair of dynamic latcheε. 4. The circuit of claim 1, wherein the delay line comprises delay elements connected in εerieε. 5. The circuit of claim 4, wherein each delay element compriεeε an inverter. 6. The circuit of claim 4, further comprising a delay control circuit coupled to the delay elementε, wherein the delay control circuit controlε a time required for a signal to traverse the delay elements. 7. The circuit of claim 1, further comprising an oscillator circuit coupled to the delay line, the oscillator circuit applying to the delay line a clock signal having a period which is shorter than a delay provided by the delay line. 8. The circuit of claim 1, further comprising a reference signal generator coupled to the clock terminals of the dynamic latcheε, wherein the reference εignal generator generates a pulse that is applied to the clock terminal of a dynamic latch to reεet the dynamic latch, the pulεe having an edge which provides the transition that causes the dynamic latch to store a value. 9. The circuit of claim 8, wherein the reference εignal generator generateε the pulse from a horizontal εynchronization signal, the pulse being synchronized with a horizontal blanking interval indicated by the horizontal synchronization εignal. 10. A εynchronization circuit compriεing: a plurality of delay line εections connected in εeries to form a delay line, each delay line section having a plurality of taps, wherein a clock signal applied to an end of the delay line provides εerieε of delayed εignals at the tapε, each delay line εection delayε the clock εignal by leεε than a period of the clock εignal, and the delay line delays the clock signal by more than the period of the clock signal; a plurality of selection unitε each coupled to taps in a corresponding delay line section, wherein each selection unit selectε from among a plurality of delayed εignalε at the taps in the corresponding delay line section and in response to one of the delayed signal having a desired phaεe relative to a tranεition in a reference εignal, generates an output signal from that delayed signal; and a εelection circuit which εelectε one of the output εignalε of the selection units and generates an output clock signal from the selected output signal. 11. The synchronization circuit of claim 10, wherein each εelection unit comprises control logic which assertε a control εignal to indicate that one of the delayed εignals in the corresponding delay line section has the desired phase, wherein the selection circuit selects from among the output εignals of selection units having asserted control signals. 12. The synchronization circuit of claim 11, wherein each selection unit comprises a serieε of latches, each latch coupled to a correεponding tap in the corresponding delay line section, wherein the transition in the reference εignal triggers the latches and causes each latch to store a value which indicates a voltage at the corresponding tap when the latch was triggered. 13. The synchronization circuit of claim 12, - further comprising a reference signal generator which generates one reference signal per the selection unit and simultaneouεly applieε the reference signals to corresponding selection units. 14. A synchronization circuit comprising: a delay line which includes: delay elements connected in εerieε; a firεt plurality of tapε which are εeparated from each other by delay elements; and a second plurality of taps which are separated from each other by delay elements, wherein taps in the first plurality are interwoven with tapε in the second plurality and each tap in the first plurality is separated from each tap in the second plurality of tapε by at least one delay element; a serieε of latches, each latch having an input terminal coupled to a corresponding tap in the first plurality, wherein in response to a transition in a reference signal, each latches stores a value indicting a voltage level at the corresponding tap; a serieε of gates, each gate having an input terminal coupled to a corresponding tap in the second plurality; and selection logic which εelects a tap in the second plurality and causes the gate connected to the selected tap to conduct a signal from the delay line, the selected tap being between a firεt tap which is coupled to a latch storing a first value and a second tap which is coupled to a latch storing a second value. 15. The synchronization circuit of claim 14, wherein each delay element comprises an inverter. 16. The synchronization circuit of claim 14, wherein each gate comprises a paεε gate. 17. The synchronization circuit of claim 14, wherein: the delay line is partitioned into a plurality of delay line sections wherein each delay line section comprises a plurality of delay elements, wherein the delay line provides a total delay which is greater than one period of a clock signal applied to the delay line and each delay line section provides a delay which iε leεs than one period of the clock εignal; the εelection logic is partitioned into a plurality of selection units, wherein each selection unit has a corresponding delay line εection and cauεeε at most one gate coupled to the corresponding delay line section to conduct at a time; and the selection logic further comprises a selection circuit which selectε as an output clock signal one of the signalε conducted by the gateε.-

Inventors: HWANG GUORJUH T, KING SHERMAN T, WANG NIANTSU N, HWANG, GUORJUH, T., KING, SHERMAN, T., WANG, NIANTSU, N.
Applicants: AURAVISION CORP, AURAVISION CORPORATION
Application year: 1996
Main classification: H04N5
IPC codes: G09G5, H03K5, H03L7, H04N5, H04N9