Circuit synchronization system.
Abstract
A system for synchronizing the operation of a CPU and coprocessor operating from a common clock signal includes a first voltage controlled delay line (12) connected to receive the clock signal and delay it by a fixed time interval before supplying it to one of the CPU or coprocessor. A second voltage controlled delay line (22) is connected to receive the clock signal and delay it by an adjustable time interval before supplying it to the other of the CPU or coprocessor. The time interval of the second delay line is determined by the potential of a control signal generated from a phase locked loop circuit coupled to the output terminals of the CPU and coprocessor.

Term
Term ended
Projected expiry passed 15 February 2009, 17.6 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
12 claims: 3 independent, 9 dependent
- 1A system for synchronizing a first and second circuit operating from a common clock signal and each producing output signals, the system comprising:first delay line means (12) connected to receive the common clock signal and delay it by a selected interval before supplying it to the first circuit;second delay line means (22) connected to receive the clock signal and delay it by an adjustable interval in response to a control signal before supplying it to the second circuit;and phase detection means (30) connected to both of the first and second circuits for detecting when each produces an output signal and in response supplying the control signal to the second delay line means, the control signal having a potential related to the difference between the output signals.
- 7A system as claimed in any preceding claim wherein the first delay line comprises (12) comprises a first voltage-controlled delay line having a plurality of stages providing a range of time delays;wherein the second delay line means (22) comprises a second voltage-controlled delay line having a plurality of stages providing a range of time delays;and wherein the time delay of the first delay line is set to be midway in the range of delays.
Independent claims3
21 paragraphs, as filed
This invention relates to systems for synchronizing the operation of electronic circuits.
The synchronization of several circuits operating in a system is a problem faced by many system designers. For example, in high performance microprocessor-based systems, it is desirable to synchronize the operation of the various individual integrated circuits within the system to minimize dead time on the system bus, as well as prevent undesired data collisions. In automatic test systems, to assure validity for the input and output signals from the device being tested, all of the input pins of the device must be driven essentially simultaneously, while the condition of the output pins is monitored.
One solution to synchronizing microprocessor-based systems, not necessarily in the prior art, is described in "A 32-Bit VLSI CPU with 15-MIPS Peak Performance" by M. Forsyth, et al., <u style="single">IEEE Journal of Solid-State Circuits</u> (Oct. 1987) SC-22(5):768-775. The system described in that paper employs a global master clock to which all integrated circuit operations are synchronized.
One well known technique for synchronizing the operation of the circuits is to employ a phase-locked loop circuit. The phase-locked loop circuit typically employs a phase detector to compare an input signal with a reference signal from a voltage-controlled oscillator. The output of the phase detector thus is proportional to the difference in phase between the input signal and the signal from the voltage-controlled oscillator. The output of the phase detector, representing the error between the signals, then is supplied through a low pass filter to control the voltage-controlled oscillator. The error signal causes the voltage-controlled oscillator to lock to the incoming signal, despite an initial tuning which might not correspond to the input signal.
The present invention provides a system for synchronizing a first and a second circuit operating from a common clock signal comprising a first delay line connected to receive the common clock signal and delay it by a selected interval before supplying the clock signal to the first circuit, a second delay line connected to receive the clock signal and delay it by an adjustable interval in response to a control signal before supplying it to the second circuit, and a phase detection circuit connected to both of the first and second circuits for detecting when each supplies an output signal and in response supplying the control signal to the second delay line, the control signal having a potential related to the difference between the output signals. In the preferred embodiment the phase detector consists of an edge-triggered flip-flop circuit having an output which is passed through a low pass filter before driving a voltage-controlled delay line.
The invention thus provides a variable delay line phase-locked loop technique which is particularly advantageous for synchronizing the operation of a central processing unit with a coprocessor, or with other chips in a microprocessor-based system. The system of the invention minimizes dead time on the system bus, and allows correction for variability in microprocessor operating speed resulting from variations in the manufacture of the microprocessors.
The invention is further described below, by way of example, with reference to the accompanying drawings, in which: <ul id="ul0001" list-style="none"><li>Figure 1 is a block diagram showing a system embodying the invention;</li><li>Figure 2 is a block diagram of the phase detector of Figure 1,</li><li>Figure 3 is a block diagram of the low pass filter of Figure 1,</li><li>Figure 4 is a block diagram of the voltage-controlled delay line of Figure 1, and</li><li>Figure 5 is a graph illustrating the operation of the delay line of Figure 4.</li></ul>
Figure 1 is a block diagram of a preferred embodiment of the invention as applied to synchronize the operation of a central processing unit 10 with a floating point coprocessor 20. Each of the CPU 10 and FPC 20 is connected to receive a clock signal CLKIN from an external clock source. In the CPU chip 10, the clock signal is supplied to a voltage-controlled delay line 12 where it is delayed by a fixed time interval having a duration which is described below. After being delayed, the clock signal is supplied on line 14 to the remainder of the chip, including where it is employed as a CPU output enable signal in conjunction with driver 15. In the preferred embodiment for a 32-bit wide bus, the output enable signal controls 31 other drivers in the manner of driver 15. The output enable signal permits the CPU to access the system data bus, and through that bus the cache memory (not shown).
To maximize the speed of operation of the entire system, it is important that the CPU chip 10 and the FPC chip 20 communicate with the cache at maximum speed, and therefore with minimal dead time on the system data bus. In a preferred embodiment the CPU chip 10 operates at greater than 10 million instructions per second, and therefore demands a very high bandwidth interface. In a preferred embodiment this bandwidth is achieved using a 16.7 megaHertz clock for the CPU and FPC by driving the cache interface pins twice per 60 nanosecond cycle, once for instructions and once for data. This pin multiplexing requires careful control of cache timing or else successive skew between the chips will narrow the data valid window, thereby violating setup and hold times and causing bus contention. The problem is made more severe because of differences in propagation delays in different chips as a result of variations in the manufacturing process. Variations in CMOS line width affect the switching speed of the chips, rendering the synchronization of the chips even more difficult.
The floating point coprocessor chip 20 also is connected to receive the clock signal CLKIN. The clock signal is immediately supplied to a voltage-controlled delay line 22, which unlike the delay line on the CPU, has a variable time delay. The output from the delay line is employed to enable the driver 25 to allow the FPC chip 20 access to the system data bus. In the same manner as with respect to the CPU for a 32-bit bus, there will be 32 drivers 25. The floating point chip also includes a phase detector 30 connected to receive the CPU output enable signal on line 18 and the FPC output enable signal on line 19. The phase detector supplies an output signal on line 32 indicative of the phase difference of the signals received on lines 18 and 19. When the CPU and FPC are properly synchronized, the signal on line 32 will indicate that the CPU output signal arrived first 50% of the time and that the FPC output signal arrived first 50% of the time. The output signal on line 32 is supplied to a low pass filter 37 which averages the output signal over time and supplies a control signal VCTRL to the variable voltage controlled delay line 22. Delay line 22 will lengthen or shorten the time delay of the clock signal passing through the delay line, thereby matching the FPC signal propagation delay to the CPU propagation delay, and synchronizing their operation.
In the foregoing description the phase detector, low pass filter, and variable voltage-controlled delay line have all been described as residing on the coprocessor chip. It should be appreciated, however, that these components could as easily be disposed on the CPU chip, with the fixed delay line being placed on the coprocessor chip, to achieve the same result. Either way the output enable lines enable the drivers 15 and 25 to place data on the bus or latch data from the bus.
In a conventional phase-locked loop system, the output of the phase detector is passed through a low pass filter to control a voltage-controlled oscillator. The voltage-controlled oscillator has a frequency output which is a function of voltage. Conventional phase-locked loop systems, however, are extremely sensitive to noise, and because such control systems have a pole, they are difficult to stabilize. In the system of our invention, the low pass filter is placed on chip to avoid noise between the internal ground and the external ground and prevent capacitive cross-talk between pins. The system is further advantageous as it allows the chips to be operated with slower or even interrupted clock signals to assist with debugging. When the chips are restarted, they will synchronize. With a conventional phase-locked loop system employing a voltage controlled oscillator which controls frequency, the clock signal cannot be slowed down or stopped entirely because if such occurs the oscillator is required to provide an instantaneous alteration in frequency with no error or settling time.
Figure 2 is a more detailed schematic of the phase detector 30 shown in block form in Figure 1. Phase detector 30 comprises an edge-triggered D-type flip-flop which, on the rising edge of signal CPUOUT samples signal FPOUT and places the result on output lines 53 and 54. If FPOUT goes high after CPUOUT goes high, then line 54, FPslow, will be low and line Fpfast will be high. On the other hand, the opposite will be the case if the floating point chip 20 has already gone high at the time its output is sampled by the signal CPUOUT. The CPUOUT signal on line 18 also drives a pulse generator 55 which enables NAND gates 47 and 48 for a fixed time, preferably on the order of 10 nano-seconds. This translates the CPUOUT and FPOUT input signals into charge add and charge remove output signals which are supplied to the low pass filter. Gates 49, 50 and 52 balance the loads being driven by the cross-coupled pairs of gates, thereby maintaining symmetrical operation at the same speed.
Figure 3 is a schematic of the low pass filter. The charge add and charge remove signals from the circuitry shown in Figure 2 are used to control a pair of switches which ultimately cause a large capacitor 60 to be charged or discharged by a pair of matched current sources 61 and 62. By virtue of the fixed width pulse from pulse generator 55, a fixed-size charge packet is pumped into or out of the capacitor on each cycle, thereby making the size of the correction step independent of the clock frequency. When the charge add and charge remove signals are not active, the switches are connected as shown in Figure 3 to short the parasitic capacitors 63 and 64 to the control voltage, thereby nulling charge-sharing errors.
The output signal from the circuit of Figure 3, VCTRL is used to drive the voltage-controlled delay line. Thus, if the floating point chip is too fast, Fpfast on line 53 is active, and therefore the charge add signal will also be active. During the time the pulse generator pulse is active, the charge add switch will be connected to capacitor 60 allowing charge to flow onto the capacitor 60. In a similar manner, if the FPC is slow, the charge remove line will be active, causing current source 64 to remove charge from the capacitor. During the time when neither the charge add nor the charge remove lines are active, the capacitor 60 floats. When the current source is not charging or discharging the filter capacitor, its output is shorted to node VCTRL, a low impedance version of the filter capacitor voltage. Any parasitic capacitance Cp is maintained at the filter capacitor voltage, so very little charge sharing occurs when the current source is connected to the filter capacitor. Thus, the combination of the phase detector and low pass filter provides a circuit which expresses a desired time delay as a function of voltage.
Figure 4 is a schematic of the voltage-controlled delay line shown in block form in Figure 1 as each of blocks 12 and 22. As shown in Figure 4, the delay line consists of a series of 12 drivers 70a, 70b . . . 701, 12 control transistors 71a, 71b . . . 711, and 12 capacitors 72a, 72b . . . 721. Each capacitor is connected to Vss. The theory of operation of the delay line is that each inverter 70c has an output impedance which will drive its load capacitor 72c. By varying the RC time constant, a longer delay is provided. In other words, by changing the resistive load on the output of each driver, more of the capacitive load may be made "visible" to the inverter. By employing the transistors 71, for a small gate-to-source voltage an open circuit is provided, and the transistor is essentially off. By the time the transistor gate reaches about 2 volts, it is turned on, coupling the capacitance directly to the output terminal.
The circuit shown in Figure 4 is employed as the voltage-controlled delay line 12 in the CPU chip 10, as well as the delay line 22 in the floating point coprocessor chip 20. In the case of the CPU chip, the delay line is set at one-half its tuning range by connecting one of control lines VCTRL1 or VCTRL2 to Vcc and the other to Vss. Thus, half the inverters are effectively completely disconnected from the load capacitors, while the other six inverters are effectively connected directly to the capacitor. In contrast, in the floating point coprocessor 20 the control lines VCTRL1 and VCTRL2 are shorted together and connected to receive the VCTRL signal from the output terminal of Figure 3. The voltage control delay line employs stages in pairs so that differences between rising and falling propagation delays are cancelled, thereby keeping the clock signal essentially symmetrical. Under minimum allowed supplied voltage and maximum temperature, the adjustment range is approximately 12 nanoseconds and the delay coefficient is about 3 nanoseconds per volt, as shown in Figure 5. As shown there, the operation of the circuit is essentially linear for control voltages greater than 2 volts.
Once the circuitry shown in Figures 1-4 acquires phase lock, the fixed size correction step will exceed the phase error and the circuit will apply alternating corrections to maintain equilibrium.
Therefore, to minimize phase jitter, the correction step size is chosen to be small. While this results in relatively long capture time, because the phase capture takes place only during a system reset, this slow capture is not disadvantageous. Furthermore, once phase lock is acquired, changes in the CPU or FPC propagation delays as a result of temperature or supply voltage changes are easily tracked and corrected.
Because the phase-locked loop system of our invention controls the time delay instead of frequency, an external system may be employed to alter the clock period during operation of the circuitry being synchronized. Conventional phase-locked loop systems employing voltage-controlled oscillators cannot track such events, and are subject to significant noise effects. In the case of our circuit, a hypothetical hundred millivolts of noise on VCTRL produces only 0.3 nanoseconds of output jitter. In contrast, the voltage-controlled oscillator will have a coefficient on the order of 12 megaHertz per volt, thereby producing much more output jitter for the same hypothetical noise.
In the preceding description of the preferred embodiment, various circuit implementation details have been provided to enable a complete understanding of the preferred embodiment of the invention. The scope of the invention is set forth in the appended claims.
5 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US5483204A | Cited by | United States of America | Search report |
| GB2402787A | Cited by | United Kingdom | Search report |
| EP0729231A3 | Cited by | European Patent Office (EPO) | Search report |
| FR2790152A1 | Cited by | France | Search report |
| EP0473903A3 | Cited by | European Patent Office (EPO) | Search report |
| US5838389A | Cited by | United States of America | Search report |
| EP0473903A2 | Cited by | European Patent Office (EPO) | Search report |
| US5572235A | Cited by | United States of America | Search report |
| US5471512A | Cited by | United States of America | Search report |
| US7200735B2 | Cited by | United States of America | Applicant |
| DE4326062C1 | Cited by | Germany | Search report |
| US5596693A | Cited by | United States of America | Search report |
| US5305451A | Cited by | United States of America | Search report |
| EP0753808A2 | Cited by | European Patent Office (EPO) | Search report |
| WO03088071A2 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| US5752073A | Cited by | United States of America | Search report |
| EP0729231A2 | Cited by | European Patent Office (EPO) | Search report |
| US6191772B1 | Cited by | United States of America | Applicant |
| US6584037B2 | Cited by | United States of America | Applicant |
| US6320436B1 | Cited by | United States of America | Applicant |
| US6570814B2 | Cited by | United States of America | Applicant |
| EP0662756A1 | Cited by | European Patent Office (EPO) | Search report |
| GB2402787B | Cited by | United Kingdom | Search report |
| WO03088071A3 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| GB2127594A | Cites | United Kingdom | Search report |
16 members in 8 offices
Priority claims5
| Document | Office | Kind | Date |
|---|---|---|---|
| 156779 | United States of America | – | |
| 15677988 | United States of America | A | |
| 15677988 | United States of America | A | |
| 156779 | – | – | – |
| US19880156779 | – | – | – |
Members16
| Document | Office | Kind | |
|---|---|---|---|
| IL89120A0 | Israel | A0 | |
| IL89120D0 | Israel | D0 | |
| AU2980289A | Australia | A | |
| EP0329418A2This record | European Patent Office (EPO) | A2 | |
| KR890013551A | Republic of Korea | A | |
| JPH028950A | Japan | A | |
| AU610989B2 | Australia | B2 | |
| EP0329418A3 | European Patent Office (EPO) | A3 | |
| US5101117A | United States of America | A | |
| IL89120A | Israel | A | |
| CA1306775C | Canada | C | |
| EP0329418B1 | European Patent Office (EPO) | B1 | |
| DE68923106D1 | Germany | D1 | |
| DE68923106T2 | Germany | T2 | |
| JP2777172B2 | Japan | B2 | |
| KR100192138B1 | Republic of Korea | B1 |
27 legal events, as 3 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Patent expired after termination of 20 yearsExpiredPE20 | PE20 | GB | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| European patent in force as of 2002-01-01IF02 | IF02 | GB | |
| Transmission of propertyTP | TP | FR | |
| Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)732E | 732E | GB | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Nl: lapsed or annulled due to failure to fulfill the requirements of art. 29p and 29m of the patents actLapsedNLV1 | NLV1 | EP | |
| Fr: translation filedET | ET | EP | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| It: translation for a ep patent filedITF | ITF | EP | |
| It: translation for a ep patent filedITF | ITF | EP | |
| Party data changed (applicant data changed or rights of an application transferred)RAP1 | RAP1 | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0329418
- Publication, DOCDB
- 0329418
- Publication, EPODOC
- EP0329418
- Application
- 89301447
- Application, DOCDB
- 89301447
- Application, EPODOC
- EP19890301447
Titles6
- German
- Schaltungssynchronisationssystem
- English
- Circuit synchronization system
- French
- Système de synchronisation de circuits
- German
- Schaltungssynchronisationssystem.
- English
- Circuit synchronization system.
- French
- Système de synchronisation de circuits.
Classification
- CPC, 3
- H03L7/0812
- G06F7/00
- G06F1/10
- IPC, 4
- G06F1 10
- G06F15 177
- H03L7 081
- G06F15 16
Designated states5
- Contracting states, 5
- Germany
- France
- United Kingdom
- Italy
- Netherlands (Kingdom of the)