SEMICONDUCTOR INTEGRATED CIRCUIT
The semiconductor integrated circuit includes a clock generating section having a digital control signal generating part operable to generate a clock signal and a digital control part. The clock generating section further includes a phase-frequency comparator and a control register. The comparator is supplied with a reference signal CLKin and a feedback signal. The control register is supplied with an output signal of the comparator, and stores two or larger bits of digital control information. The clock generating section further includes a control data storing circuit for previously storing sets of initial set data for lock operations. In response to operation select information, initial set data are stored at upper bit of the control register from the control data storing circuit. Thus, it becomes possible to reduce the number of steps to store control information in a register for digitally controlling the clock signal generating part.
Latest Patents:
The Present application claims priority from Japanese application JP 2008-25994 filed on Feb. 6, 2008, the content of which is hereby incorporated by reference into this application.
FIELD OF THE INVENTIONThe present invention relates to a semiconductor integrated circuit, and particularly to a technique beneficial for reducing a group of steps for storing two or larger bits of digital control information in a register for digitally controlling a clock signal generating part.
BACKGROUND OF THE INVENTIONAs to LSIs including System On Chip (SOC) and microcomputers (MC), larger-scale integration, higher functionality and higher-speed operation have been achieved with the rapid progress in semiconductor manufacturing techniques. However, on the other hand, the demands for subtle power management to suppress the increase in leak current on standby and high-speed restore are growing particularly in regard to battery-driven portable devices and something of that sort. Specifically, the operation of an internal circuit of LSI to reduce leak current on standby must include shift to a sleep mode in which supply of a clock to the internal circuit is stopped on standby, and rapid resumption of the clock supply at the time of making the internal circuit resume working in an active mode.
Clock generating circuits based on the frequency of a clock input signal and/or the phase of the pulse edge are roughly classified into the following three circuits.
The first circuit is PLL (Phase Locked Loop). The frequency of an output clock thereof is a multiple of the frequency of an input clock in general. PLL incorporates a phase comparator and a variable-phase circuit. Therefore, in PLL, control is performed so that the phase of a feedback clock resulting from frequency division of an output clock, by which the frequency is made equal to the output clock frequency times the reciprocal of a multiplication number, is essentially made coincident with (or locked to) the phase of an input clock.
The second circuit is DLL (Delay Locked Loop), which delays an input clock thereby produce an output clock. DLL incorporates a phase comparator and a variable delay circuit, by which control is performed so that the phase of an output clock produced by the variable delay circuit is behind by a fixed value with respect to the phase of an input clock essentially.
The third circuit is FLL (Frequency Locked Loop). The frequency of an output clock thereof is a multiple of the frequency of an input clock in general. FLL incorporates a frequency comparator and a variable-frequency circuit, by which control is performed so that the frequency of a feedback clock resulting from frequency division of an output clock, by which the frequency is made equal to the output clock frequency times the reciprocal of a multiplication number, is essentially locked to the frequency of an input clock. For an input clock to FLL, a relatively low frequency (about 32 kHz) generated by e.g. a quartz oscillator for RTC (Real Time Clock) is used. In general, FLL performs control so that only the frequency of an output clock multiplied with a multiplication number of a one-step higher level in comparison to PLL is made a fixed value. Therefore, the pulse edge of a feedback clock resulting from frequency division of the output clock, by which the frequency is equal to the output clock frequency times the reciprocal of a multiplication number, is not necessarily locked to the phase of edge of the input reference clock. However, FLL can be constructed with only a basic logic cell circuit readily, and therefore its output clock of a high frequency, which can be varied appropriately, can be used as a reference clock of original oscillation.
Of the circuits described above, a PLL (Phase Locked Loop) circuit is often used to reduce the skew of a clock signal arising at the time of distributing the clock signal an internal circuit of LSI. In general, a PLL circuit includes a phase-frequency comparator, a combination of charge pump and loop filter modules, a voltage or current control oscillator, and an analog circuit used as a buffer. In a PLL circuit, a clock input signal and a clock output signal of the buffer are supplied to the phase-frequency comparator, and an output of the phase-frequency comparator is supplied to the voltage or current control oscillator through the combination of charge pump and loop filter modules, whereby the phase difference between the clock input signal and clock output signal is made zero outwardly and thus the skew of the clock signal is reduced.
In the sleep mode of the internal circuit of LSI, clock supply by a PLL circuit is stopped, whereas the clock supply by the PLL circuit is resumed at the time of resuming the operation of the internal circuit in the active mode. However, to make the PLL circuit resume the clock supply, a lock time (settling time) until the frequency reaches a target frequency to become stable is needed, and high-speed restore from the sleep mode to active mode is needed.
PLL and DLL (Delay Locked Loop) for resolving the problem of skew of clocks are disclosed by Guang-Kaai Dehng et al., “Clock-Deskew Buffer Using a SAR-Controlled Delay-Locked Loop”, IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 35, NO. 8, PP.1128-1136, AUGUST 2000. It further contains the description about an analog DLL and a digital DLL, and discloses the following points. Analog DLLs are not suitable for future low-power applications because sufficient delay time cannot be achieved with a low source voltage. In addition, analog DLLs tend to be affected by the variation of a manufacturing process and are vulnerable to noise coming from a power source. Digital DLLs are resistant to influences of noise coming from a power source, a manufacturing process, a voltage, a temperature, and a load (PVTL). Also, digital DLLs are lower in standby current consumption and shorter in lock time in comparison to analog DLLs.
Further, Guang-Kaai Dehng et al. disclose a binary search algorithm (a binary search method) to reduce a search time for lock by a digital DLL, and a digital DLL for successive approximation register (SAR) control which has a faster lock time in comparison to digital DLLs for register control and counter control. Also, it is described that in case of using 6-bit delay line, the digital DLL for SAR control ideally has a lock time of 6-clock cycle, and maintains tight synchronization even with a long clock distribution length, and makes possible to shorten the lock time.
A digital control oscillator used for a digital PLL disclosed by Robert Bogdan Staszewski at al, “Digitally Controlled Oscillator (DCO)-Based Architecture for RF Frequency Synthesis in a Deep-Submicron CMOS Process”, IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS-II: ANALOG AND DIGITAL SIGNAL PROCESSING, VOL. 50, NO. 11, NOVEMBER 2003 PP.815-828. The oscillator includes lots of quantized capacitances digitally controlled in an LC-tank of the oscillator.
Still further, a frequency multiply circuit is disclosed by Rafael Fried et al, “A High Resolution Frequency Multiplier for Clock Signal Generation”, IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 31, NO. 7, PP.1059-1062, July 1996, which has a digital control oscillator including a highly accurate 14-bit current output type digital-to-analog conversion circuit (DAC) and which uses a binary search algorithm to lock an output clock to a frequency resulting from multiplication by a large multiplication number from the RTC frequency of an input clock. The RTC frequency is 32768 kHz, and the frequency resulting from the multiplication by the large multiplication number on the frequency of the output clock ranges 40 to 60 MHz.
Now, as well known, in a successive comparison type A/D converter, a successive approximation register (SAR) is connected between an output of a comparator and an input of a local D/A converter, and an analog input signal and an analog output signal of the local D/A converter are supplied to one input terminal of the comparator and the other input terminal thereof. Data held by the successive approximation register (SAR) is successively updated according to the binary search method so that the level of the analog output signal of the local D/A converter is coincident with the level of the analog input signal. Thus, digital conversion output signal of the analog input signal can be gained from the successive approximation register.
SUMMARY OF THE INVENTIONPrior to the invention, the inventors had been engaged in development of FLL (Frequency-Locked Loop) for clock distribution, which is mounted on LSIs of System-on-chip (SOC) and microcomputer (MC), etc.
The FLL includes a frequency comparison part (FC) 30, a digital control part 20, and a digital control oscillator (DCO) 10 in the form of a circuit of a delay ring oscillating part.
The digital control oscillator 10 includes a two-input NAND gate 11 having one input supplied with a reset signal Reset, a digital control variable delay circuit 12 including N−1 delay cells having a unit delay amount td, and an output buffer 13. The number N−1 of delay stages of the digital control variable delay circuit 12 is set to an appropriate value between a minimum value of 0 and a maximum value of 31 under the control of the digital control part 20. Also, the two-input NAND gate 11 has a unit delay amount td. Therefore, the total delay time N·td of the two-input NAND gate 11 in the form of a circuit of the delay ring oscillating part and the digital control variable delay circuit 12 can be set within a range between a minimum delay time 1·td and a maximum delay time 32·td.
Changing the reset signal Rset from Low level “0” to High level “1” at one input terminal of the two-input NAND gate 11 makes active the closed loop of the delay ring oscillating part, whereby an oscillation clock signal CLKm is produced. The oscillation clock signal CLKm is supplied to an input terminal of the output buffer 13. Then, an oscillation clock output signal CLKout is produced and let out of an output terminal thereof. The oscillation frequency fOSC of the oscillation clock signal CLKm produced by the digital control oscillator 10 is given by the following expression depending on the set delay stage umber N of a delay closed loop including the two-input NAND gate 11 and digital control variable delay circuit 12, and the unit delay amount td.
fOSC=1/(2·N·td) (Expression 1)
The digital control part 20 includes a decoder 21, a successive approximation register (SAR) 22, and a control clock generating circuit (CCG) 23. The bit number of the successive approximation register (SAR) 22 may be 12, whereby delay control up to the maximum 4096 can be performed in theory. However, the bit number of the successive approximation register (SAR) 22 is arranged to be 11 so that the variable multiplication number M of a program counter (PC) 32 of the frequency comparison part (FC) 30 can be set up to the maximum 2047, in consideration of the change in delay amount of delay cells owing to fluctuations of PVT (Process, Voltage and Temperature). For the sake of simplicity, the bit number of the successive approximation register 22 shall be five here. To a data input terminal of the 5-bit successive approximation register (SAR) 22, a comparison output signal FDout is supplied from a frequency comparator 31 of the frequency comparison part 30. To six timing control terminals of the successive approximation register 22 (SAR), six timing control signals cks0-sks5 are supplied from the control clock signal generating circuit (CCG) 23. Further, to an input terminal of the control clock signal generating circuit (CCG) 23, an input clock signal CLKin is supplied as a reference frequency signal. Five bits of output data Q1-Q5 of the successive approximation register (SAR) 22 are supplied to five input terminals of the decoder 21. 32 decode output signals from the decoder 21 are supplied to the digital control variable delay circuit 12 of the digital control oscillator 10.
The frequency comparison part 30 includes the frequency comparator (FD) 31 and the program counter (PC) 32. The program counter (PC) 32 counts the clock number of oscillation clock signals CLKm produced by the digital control oscillator 10. The program counter (PC) 32 outputs an output signal Mout of Low level “0” until the clock number of oscillation clock signals CLKm reaches a set multiplication number. When the clock number reaches the multiplication number, the program counter outputs an output signal Mout of High level “1”. To one input terminal of the frequency comparator 31, the input clock signal CLKin is supplied as a reference frequency signal; to the other input terminal, the output signal Mout is supplied from the program counter 32. The comparison output signal FDout of the frequency comparator 31 is supplied to the successive approximation register (SAR) 22 of the digital control part 20 as a value corresponding to Low level “0” or High level “1” of the output signal Mout of the program counter 32 at the time of input of the input clock signal CLKin. The multiplication number M of the program counter 32 can be variably set by multiplication number setting data supplied through the input terminal Min for setting a multiplication number.
In response to 32 output signals Out0-Out31 of the decoder 21, which is supplied with 5-bit output data Q1-Q5 of the successive approximation register 22 of the digital control part 20, only one switch selected from among the 32 switches SW0-SW31 is controlled to ON state, and other 31 switches are controlled to OFF state. The set delay stage umber N of the delay closed loop including the two-input NAND gate 11 and digital control variable delay circuit 12, which is given by Expression 1, is set depending on the place of the one switch controlled to ON state. In case that the first switch SW0 is controlled to ON state, the set delay stage umber N is set to a minimum of one, and the oscillation frequency fOSC of the digital control oscillator 10 is made a maximum oscillation frequency fOSC(max)=1/(2·td). In case that the last switch SW31 is controlled to ON state, the set delay stage umber N is set to a maximum of 32, and the oscillation frequency fOSC of the digital control oscillator 10 is made a minimum oscillation frequency fOSC(mini)=1/(64·td).
Therefore, the FLL circuit shown in
In other words, in case that the frequency of the input clock signal CLKin making a reference frequency signal of the frequency fREF to the one input terminal of the frequency comparator 31 agrees with the frequency of the output signal Mout at the other input terminal, which depends on the result of the count and which is sent from the program counter 32 of the variable multiplication number M, the relation given by the following expression holds.
fREF=fOSC/M (Expression 2)
Therefore, the following relation holds from Expressions 1 and 2.
fOSC=1/(2·N·td)=M·fREF (Expression 3)
fREF=1/(2·N·M·td) (Expression 4)
That is, the set delay stage umber N of the digital control oscillator 10 can be changed to produce an oscillation frequency fOSC of M times the reference frequency fREF by setting the multiplication number M of the program counter 32 variably. Hence, in case that the multiplication number M of the program counter 32 is increased, data held by the successive approximation register (SAR) 22 of the digital control part 20 are updated successively so that the reference frequency fREF in the frequency comparator 31 and the frequency of an output signal Mout from the program counter 32 with a variable multiplication number M are coincident with each other. Consequently, as is clear from Expression 3, the increase in the multiplication number M of the program counter 32 increases the frequency multiplication number of the reference frequency fREF, and in inverse proportion to it, the set delay stage umber N of the digital control oscillator 10 decreases.
The actual bit number of the successive approximation register 22 is 12. Therefore, the variable multiplication number M of the program counter 32 of the frequency comparison part 30, which has a 11-bit structure, can be set to up to the maximum 2047. For example, in case that the variable multiplication number M of the program counter 32 is set to the maximum 2047 on the assumption that the reference frequency fREF of the input clock signal CLKin is 30 kHz, the oscillation frequency fOSC of the digital control oscillator 10 is about 60 MHz, and thus the internal circuit of LSI works at a high speed. Also, in case that the variable multiplication number M is set to approximately a half the value 1028, the oscillation frequency fOSC is about 30 MHz, and thus the internal circuit of LSI works at a middle speed. Further, in case that the variable multiplication number M is set to approximately a tenth of the value, 205, the oscillation frequency fOSC is about 6 MHz, and thus the internal circuit of LSI works at a low speed.
Now, the way the successive approximation register (SAR) 22 decides the set delay stage umber N of the digital control oscillator 10 will be described below. Here, it is assumed that reference frequency fREF of the input clock signal CLKin and the multiplication number M of the program counter 32 are set to certain values and the unit delay amount td of the digital control oscillator 10 has been known.
As in
The first clock signal cks0 from the control clock generating circuit (CCG) 23 is supplied to a set terminal S1 of the first flip-flop FF1, and reset terminals R of the second flip-flop FF2 to fifth flip-flop FF5. The second clock signal cks1 from the control clock generating circuit (CCG) 23 is supplied to a clock terminal C1 of the first flip-flop FF1 and a set terminal S2 of the second flip-flop FF2. The third clock signal cks2 from the control clock generating circuit (CCG) 23 is supplied to a clock terminal C2 of the second flip-flop FF2 and a set terminal S3 of the third flip-flop FF3. The fourth clock signal cks3 from the control clock generating circuit (CCG) 23 is supplied to a clock terminal C3 of the third flip-flop FF3 and a set terminal 54 of the fourth flip-flop FF4. The fifth clock signal cks4 from the control clock generating circuit (CCG) 23 is supplied to a clock terminal C4 of the fourth flip-flop FF4 and a set terminal S5 of the fifth flip-flop FF5. The sixth clock signal cks5 from the control clock generating circuit (CCG) 23 is supplied to a clock terminal C5 of the fifth flip-flop FF5.
As in
It is assumed that supply of the input clock signal CLKin having a reference frequency fREF to FLL shown in
In this condition, the input clock signal CLKin of High level “1” is supplied to the control clock generating circuit (CCG) 23 in keeping with the timing of Step 0, whereby the first clock signal cks0 of High level “1” arises from the output terminal of the first AND gate AND1. The first clock signal cks0 of High level “1” arising from the output terminal of the first AND gate AND1 is commonly supplied to the reset terminals R of the four flip-flops FF6-FF9, and therefore the four flip-flops FF6-FF9 are all driven into reset states. As a result, the noninverted-data output terminals Dq1-Dq4 of the four flip-flops FF6-FF9 are all made Low level “0”, and the inverted-data output terminals Dq1b-Dq3b of the three flip-flops FF6-FF8 are all made High level “1”.
When the input clock signal CLKin is changed from Low level “0” to High level “1” at the subsequent Step 1, the flip-flop FF6 in the first stage of the control clock generating circuit 23 is driven into its set state in response to High level “1” applied to the inverted-data output terminal Dq1b of the first-stage flip-flop FF6, and therefore the data input terminal D thereof. Therefore, in keeping with the timing of Step 1, the noninverted-data output terminal Dq1 of the flip-flop FF6 in the first stage is changed from Low level “0” to High level “1”, and the second clock signal cks1 of High level “1” arises from the output terminal of the second AND gate AND2.
When the input clock signal CLKin is changed from Low level “0” to High level “1” at the time of subsequent Step 2, the flip-flop FF6 in the first stage of the control clock generating circuit 23 is driven into its reset state in response to Low level “0” applied to the inverted-data output terminal Dq1b of the first-stage flip-flop FF6, and therefore the data input terminal D thereof. Therefore, in keeping with the timing of Step 2, the inverted-data output terminal Dq1b of the flip-flop FF6 in the first stage is changed from Low level “0” to High level “1”. In parallel, the flip-flop FF7 in the second stage is driven into its set stage in response to High level “1” applied to the inverted-data output terminal Dq1b of the second-stage flip-flop FF7, and therefore the data input terminal D thereof. In keeping with the timing of Step 2, the noninverted-data output terminal Dq2 of the flip-flop FF7 in the second stage is changed from Low level “0” to High level “1”, and the third clock signal cks2 of High level “1” arises from the output terminal of the third AND gate AND3.
Further, when the input clock signal CLKin is changed from Low level “0” to High level “1” at the time of subsequent Step 3, the flip-flop FF6 in the first stage of the control clock generating circuit 23 is driven into the set stage in response to High level “1” applied to the inverted-data output terminal Dq1b of the first-stage flip-flop FF6, and the data input terminal D thereof. Therefore, in keeping with the timing of Step 3, the noninverted-data output terminal Dq1 of the flip-flop FF6 in the first stage is changed from Low level “0” to High level “1”, whereas the flip-flop FF7 in the second stage is kept in the set state, the flip-flop FF8 of the third stage is left staying in the reset state. Hence, in keeping with the timing of Step 3, the fourth clock signal cks3 of High level “1” arises from the output terminal of the fourth AND gate AND4.
Still further, when the input clock signal CLKin is changed from Low level “0” to High level “1” at the time of subsequent Step 4, the flip-flop FF6 in the first stage of the control clock generating circuit 23 is driven into the reset state in response to Low level “0” applied to the inverted-data output terminal Dq1b of the first-stage flip-flop FF6, and the data input terminal D thereof. Therefore, in keeping with the timing of Step 4, the inverted-data output terminal Dq1b of the flip-flop FF6 in the first stage is changed from Low level “0” to High level “1”, the flip-flop FF7 in the second stage is driven into the reset state in response to Low level “0” applied to the inverted-data output terminal Dq2b of the second-stage flip-flop FF7, and therefore the data input terminal D thereof. When the noninverted-data output terminal Dq2 of the flip-flop FF7 in the second stage is changed from Low level “0” to High level “1” in keeping with the timing of Step 4, the flip-flop FF8 in the third stage is driven into the set state in response to High level “1” applied to the inverted-data output terminal Dq3b of the third-stage flip-flop FF8, and therefore the data input terminal D. Thus, in keeping with the timing of Step 4, the fifth clock signal cks4 of High level “1” arises from the output terminal of the fifth AND gate AND5.
When the input clock signal CLKin is changed from High level “1” to Low level “0” between Step 4 and Step 5, the fifth clock signal cks4 at the output terminal of the fifth AND gate AND5 is also changed from High level “1” to Low level “0”. Thus, the signal supplied to the clock terminal C of the fourth flip-flop FF9 through the inverter INV is changed from Low level “0” to High level “1”, and therefore the fourth flip-flop FF9 is driven into the set state according to High level “1” of the source voltage Vdds applied to the data input terminal D. Consequently, the noninverted-data output terminal Dq4 of the fourth flip-flop FF9 is kept at High level “1”. Also, at a step after Step 5, the sixth clock signal cks5 at the output terminal of the sixth AND gate AND6 is changed between High level “1” and Low level “0” in response to the change in the input clock signal CLKin between High level “1” and Low level “0”.
On the other hand, the first clock signal cks0 of High level “1” initially produced in keeping with the timing of first Step 0 is supplied to the set terminal S1 of the first flip-flop FF1 of the successive approximation register (SAR) 22, and the reset terminals R of the second to fifth flip-flops FF2-FF5. Hence, at the time of Step 0, in the successive approximation register (SAR) 22, the first flip-flop FF1 is driven into the set state, and other second to fifth flip-flops FF2-FF5 are driven into the reset states. As a result, five bits of output data Q1-Q5 supplied to the decoder 21 from the successive approximation register (SAR) 22 make a control word having an initial code of “10000”.
Then, the decoder 21 shown in
In FLL shown in
The signal level of the comparison output signal FDout represents whether the frequency resulting from the first oscillating action of the digital control oscillator 10 of FLL of
Step 1 of
In case that in FLL shown in
Step 2 of
In case that in FLL shown in
Step 3 of
In case that in FLL shown in
Step 4 of
In case that in FLL shown in
Step 5 of
In the way as described above, in FLL examined by the inventors prior to the invention and shown in
As is clear from Expression 4, incase that the reference frequency fREF and unit delay amount td are constant, the variable multiplication number M and set delay stage umber N are in inverse proportion to each other. In other words, the set delay stage umber N is increased when the variable multiplication number M is decreased, and the set delay stage umber N is decreased when the variable multiplication number M is increased. The reference frequency fREF which is stable regardless of the change in temperature and the fluctuation of the source voltage can be achieved by using a quartz oscillator for a reference frequency oscillator circuit. However, the unit delay amount td of the digital control variable delay circuit 12 of FLL of
As stated above, the unit delay amount td of the digital control variable delay circuit 12 of FLL of
However, as is clear from
Also, it has been found that the actual bit number of the successive approximation register (SAR) 22 is 12, and the number of steps to set the final set delay stage umber N is a large value of 12 because the maximum number 2047 is set as the variable multiplication number M for the program counter 32 as s¥ described above.
In addition, it has been found that FLL including a successive approximation register (SAR) of two bits or larger, has a problem that the lock time (settling time) of FLL is longer because the lock operation of FLL is started after setting a final set delay stage umber on the successive approximation register (SAR) according to two or more steps fitting the decided multiplication number. Further, there has been a problem that the time for recovering the operation from the sleep state in which an FLL-generated clock is stopped to the active state in which supply of the FLL-generated clock is resumed is made longer in case that the lock time of FLL is longer.
The present invention was made by the inventors as a result of the examination prior to the invention as described above.
Therefore, it is an object of the invention to reduce the number of steps for storing two or larger bits of digital control information in a register for digitally controlling a clock signal generating part. Also, it is another object of the invention to reduce the lock time of FLL, PLL or DLL, which includes a successive approximation register (SAR) to store two or larger bits of digital control information in.
The above and other objects of the invention and novel features thereof will be apparent from the description hereof and the accompanying drawings.
Of the embodiments disclosed herein, preferred ones will be briefly described below.
A semiconductor integrated circuit according to a preferred embodiment of the invention includes a clock generating section having a digital control clock signal generating part (10) operable to generate a clock signal (CLKm), and a digital control part (20) operable to control the digital control clock signal generating part (10). The clock generating section (10, 20, 30) further has a comparator (31) and a control register (22).
In the semiconductor integrated circuit, the comparator (31) is supplied with a reference signal (CLKin), and the comparator (31) is supplied with a feedback signal (Mout) generated from the clock signal (CLKm) through a feedback path (32). The control register (22) is supplied with an output signal (FDout) of the comparator (31), and the control register (22) stores two or larger bits of digital control information.
When the control register stores digital control information of a predetermined value, the feedback signal is locked to the reference signal. The clock generating section works in two or more operation conditions.
The clock generating section further includes a control data storing circuit (25) connected with the control register (22). In the control data storing circuit (25), sets of initial set data for operations in the two or more operation conditions are stored in advance.
Operation select information (Min) for selecting the one operation condition is supplied to the control data storing circuit (25) prior to an operation by the clock generating section in the one operation condition. In response to the operation select information (Min), initial set data (Set1-Set5) for the operation in the one operation condition is stored at an upper bit of the control register (22) from the control data storing circuit (25) (see
Now, an effect achieved by the preferred ones of embodiments herein disclosed is briefly as follows. That is, according to the invention, the number of steps to store two or large bits of digital control information in a register for digitally controlling a clock signal generating part can be reduced.
The preferred embodiments of the invention herein disclosed will be outlined, first. The reference numerals, characters and signs for reference to the drawings, which are accompanied with paired round brackets here, only exemplify what the concepts of parts or components referred to by the numerals, characters and signs contain.
[1] A semiconductor integrated circuit according to a preferred embodiment of the invention includes a clock generating section having a digital control oscillator (10) operable to generate an oscillation clock signal (CLKm) and a digital control part (20) operable to control at least one of the phase and frequency of the oscillation clock signal generated by the digital control oscillator.
The clock generating section (10, 20, 30) includes a comparator (31), a counter (32) and a control register (22).
When the oscillation clock signal (CLKm) generated by the digital control oscillator (10) is supplied to an input terminal of the counter (32), an output signal (Mout) arises from an output terminal of the counter (32). A reference signal (CLKin) is supplied to one input terminal of the comparator (31) and the output signal (Mout) arising from the output terminal of the counter (32) is supplied to the other input terminal of the comparator (31).
When the control register (22) is supplied with an output signal (FDout) of the comparator (31), the control register (22) stores two or larger bits of digital control information (Q1-Q5) for controlling the digital control oscillator (10).
The comparator (31), control register (22), digital control oscillator (10) and counter (32) constitute a locked loop (LL) making at least one of a Phase Locked Loop (PLL) and Frequency Locked Loop (FLL).
When the control register (22) stores digital control information having a predetermined value, at least one of the phase and frequency of the output signal (Mout) at the other input terminal of the comparator (31) is locked to at least one of the phase and frequency of the reference signal (CLKin) at the one input terminal of the comparator (31).
The locked loop (LL) can work in two or more operation conditions by setting two or more frequencies for the reference signal (CLKin) or setting two or more multiplication ratios for the counter (32).
The locked loop (LL) works in one operation condition selected from among the two or more operation conditions by setting one frequency selected from among the two or more frequencies for the reference signal (CLKin), or setting one multiplication ratio selected among the two or more multiplication ratios for the counter (32).
The clock generating section further includes a control data storing circuit (25) connected with the control register (22). In the control data storing circuit (25), sets of initial set data for operation by the locked loop (LL) in the two or more operation conditions can be stored in advance.
Operation select information (Min) for selecting the one operation condition is supplied to the control data storing circuit (25) prior to an operation by the locked loop (LL) in the one operation condition.
In response to the operation select information (Min), initial set data (Set1-Set5) for the operation in the one operation condition is stored at an upper bit of the control register (22) from the control data storing circuit (25) (see
According to the embodiment, initial set data (Set1-Set5) corresponding to the selected one operation condition is stored at an upper bit of the control register (22) in case that the locked loop (LL) works in one operation condition selected from among the two or more operation conditions. Therefore, the need for using all the steps according to a binary search algorithm, etc. to decide two or larger bits of digital control information (Q1-Q5) of the control register (22) is eliminated. As a result, the steps to store two or large bits of digital control information in the control register (22) in which two or larger bits of digital control information (Q1-Q5) for controlling the digital control oscillator (10) of the locked loop (LL) are stored can be reduced.
According to a preferable embodiment, the output signal (FDout) of the comparator (31) is supplied to lower bits other than the upper bit of the control register (22) during the operation in the one operation condition.
According to the preferable embodiment, even in case that the digital control oscillator (10) of the locked loop (LL) has large variations in its properties, and source voltage dependence and temperature dependence, digital control information which enables compensation of fluctuations owing to these factors is stored at the lower bits of the control register (22). As a result, the locked loop (LL) can execute an accurate lock operation in case that it is set to be in any of the two or more operation conditions
According to a more preferable embodiment, the clock generating section further includes a control clock generating circuit (23) operable to generate multi-clock control signals (cks0-cks5) mutually differing in phase in response to the reference signal (CLKin) (see
The control data storing circuit (25) responds to the operation select information (Min) to generate select signals (Sel1, Sel2, Sel3) indicating an upper bit of the control register (22) in which the initial set data (Set1-Set5) is to be stored.
The initial set data is stored at the upper bit of the control register (22) specified by the select signals (Sel1, Sel1, Sel3) in keeping with the timing of the first clock control signal (cks0) of the multi-clock control signals generated by the control clock generating circuit (23).
The output signal (FDout) of the comparator (31) is supplied to the lower bits of the control register (22) in keeping with the timings of the clock control signals (cks1, cks2, . . . ) subsequent to the first clock control signal (cks0) of the multi-clock control signals generated by the control clock generating circuit (23).
According to a still more preferable embodiment, the counter (32) is arranged as a variable counter which can work with an appropriate multiplication ratio selected from among the two or more multiplication ratios.
The operation select information (Min) is for selecting the appropriate multiplication ratio of the counter (32) arranged as the variable counter.
According to a specific embodiment, the digital control oscillator (10) includes a delay ring oscillating part (11, 12) including a digital control variable delay circuit (12) which can be controlled in the delay stage number (N) according to the two or larger bits of digital control information (Q1-Q5) of the control register (22) (see
According to another specific embodiment, the digital control oscillator (10) has an LC-tank including two or more quantized capacitances controlled according to the two or larger bits of digital control information (Q1-Q5) of the control register (22).
According to a most specific embodiment, an output clock signal (CLKout) generated from the oscillation clock signal (CLKm) of the digital control oscillator (10) of the locked loop (LL) is supplied to an internal circuit (42, 43) of the semiconductor chip (100) as an operation clock (see
[2] A semiconductor integrated circuit according to a preferred embodiment in terms of another aspect of the invention includes a clock generating section having a digital control delay unit (10) operable to generate a delay clock signal (CLKm) by delaying a reference signal (CLKin) and a digital control part (20) operable to control at least one of the phase and frequency of the delay clock signal generated by the digital control delay unit.
The clock generating section (10, 20, 30) includes a comparator (33), a control register (22) and an output buffer (13).
When the delay clock signal (CLKm) generated by the digital control delay unit (10) is supplied to an input terminal of the output buffer (13), an output clock signal (CLKout) arises from an output terminal of the output buffer (13). The reference signal (CLKin) is supplied to one input terminal of the comparator (33), and the output clock signal (CLKout) arising from the output buffer (13) is supplied to the other input terminal of the comparator (33).
When the control register (22) is supplied with an output signal (FDout) of the comparator (33), the control register (22) stores two or larger bits of digital control information (Q1-Q5) for controlling the digital control delay unit (10).
The comparator (33), control register (22) and digital control delay unit (10) constitute a delay locked loop (DLL).
When the control register (22) stores digital control information having a predetermined value, at least one of the phase and frequency of the output clock signal (CLKout) at the other input terminal of the comparator (33) is locked to at least one of the phase and frequency of the reference signal (CLKin) at the one input terminal of the comparator (33).
The delay locked loop (DLL) can work in two or more operation conditions by setting two or more frequencies for the reference signal (CLKin) or setting two or more delay amounts for the output buffer (13). The delay locked loop (DLL) works in one operation condition selected from among the two or more operation conditions by setting one frequency selected from among the two or more frequencies for the reference signal (CLKin), or setting one delay amount selected from among the two or more delay amounts for the output buffer (13).
The clock generating section further includes a control data storing circuit (25) connected with the control register (22). In the control data storing circuit (25), sets of initial set data for operation by the delay locked loop (DLL) in the two or more operation conditions can be stored in advance.
Operation select information (Lin) for selecting the one operation condition is supplied to the control data storing circuit (25) prior to an operation by the delay locked loop (DLL) in the one operation condition. In response to the operation select information (Lin), initial set data (Set1-Set5) for the operation in the one operation condition is stored at an upper bit of the control register (22) from the control data storing circuit (25) (see
According to the embodiment, initial set data (Set1-Set5) corresponding to the selected one operation condition is stored at an upper bit of the control register (22) incase that DLL works in one operation condition selected from among the two or more operation conditions. Therefore, the need for using all the steps according to a binary search algorithm, etc. to decide two or larger bits of digital control information (Q1-Q5) of the control register (22) is eliminated. As a result, the steps to store two or large bits of digital control information in the control register (22) in which two or larger bits of digital control information (Q1-Q5) for controlling the digital control delay unit (10) of DLL are stored can be reduced.
According to a preferable embodiment, the output signal (FDout) of the comparator (33) is supplied to lower bits other than the upper bit of the control register (22) during the operation in the one operation condition.
According to the preferable embodiment, even incase that the digital control delay unit (10) of DLL has large variations in its properties, and source voltage dependence and temperature dependence, digital control information which enables compensation of fluctuations owing to these factors is stored at the lower bits of the control register (22). As a result, DLL can execute an accurate lock operation in case that it is set to be in any of the two or more operation conditions.
According to a more preferable embodiment, the clock generating section further includes a control clock generating circuit (23) operable to generate multi-clock control signals (cks0-cks5) mutually differing in phase in response to the reference signal (CLKin) (see
The control data storing circuit (25) responds to the operation select information (Lin) to generate select signals (Sel1, Sel2, Sel3) indicating an upper bit of the control register (22) in which the initial set data (Set1-Set5) is to be stored.
The initial set data is stored at the upper bit of the control register (22) specified by the select signals (Sel1, Sel2, Sel3) in keeping with the timing of the first clock control signal (cks0) of the multi-clock control signals generated by the control clock generating circuit (23).
The output signal (FDout) of the comparator (33) is supplied to the lower bits of the control register (22) in keeping with the timings of the clock control signals (cks1, cks2, . . . ) subsequent to the first clock control signal (cks0) of the multi-clock control signals generated by the control clock generating circuit (23).
According to a still more preferable embodiment, the output buffer (13) is arranged as a variable delay module which can work providing an appropriate delay amount selected from among the two or more delay amounts.
The operation select information (Lin) is for selecting the appropriate delay amount of the output buffer (13) arranged as a variable delay module.
According to a specific embodiment, the digital control delay unit (10) includes a digital control variable delay circuit (12) which can be controlled in the delay stage number (N) by the two or larger bits of digital control information (Q1-Q5) of the control register (22) (see
According to a most specific embodiment, the output clock signal (CLKout) arising from the output buffer (13) of the delay locked loop (DLL) is supplied to an internal circuit (42, 43) of the semiconductor chip (100) as an operational clock (see
[3] A semiconductor integrated circuit according to a preferred embodiment in terms of still another aspect of the invention includes a clock generating section having a digital control clock signal generating part (10) operable to generate a clock signal (CLKm) and a digital control part (20) operable to control at least one of the phase and frequency of the clock signal generated by the digital control clock signal generating part.
The clock generating section (10, 20, 30) includes a phase-frequency comparator (31) serving as a time-to-digital converter (TDC) operable to convert the phase difference between two input signals into a digital signal, and a control register (22).
A reference signal (CLKin) is supplied to one input terminal of the comparator (31). To the other input terminal of the comparator (31), a feedback signal (Mout, CLKout) generated from the clock signal (CLKm) is supplied through a feedback path (32, 13).
When the control register (22) is supplied with an output signal (FDout) of the comparator (31), the control register (22) stores two or larger bits of digital control information (Q1-Q5) for controlling the digital control clock signal generating part (10).
The phase-frequency comparator (31), control register (22), digital control clock signal generating part (10) and feedback path (32, 13) constitute a digital control Phase Locked Loop (PLL).
When the control register stores digital control information having a predetermined value, at least one of the phase and frequency of the feedback signal supplied to the other input terminal of the comparator is locked to at least one of the phase and frequency of the reference signal supplied to the one input terminal of the comparator.
The clock generating section (10, 20, 30) can work in two or more operation conditions by setting two or more frequencies for the reference signal (CLKin) or setting two or more control amounts for the feedback path (32, 13).
The clock generating section works in one operation condition selected from among the two or more operation conditions by setting one frequency selected from among the two or more frequencies for the reference signal (CLKin), or setting one control amount selected among the two or more control amounts for the feedback path.
The clock generating section further includes a control data storing circuit (25) connected with the control register (22). In the control data storing circuit (25), sets of initial set data for operation by the clock generating section in the two or more operation conditions can be stored in advance.
Operation select information (Min) for selecting the one operation condition is supplied to the control data storing circuit (25) prior to an operation by the clock generating section in the one operation condition. In response to the operation select information (Min), initial set data (Set1-Set5) for the operation in the one operation condition is stored at an upper bit of the control register (22) from the control data storing circuit (25) (see
According to the embodiment, initial set data (Set1-Set5) corresponding to the selected one operation condition is stored at an upper bit of the control register (22) in case that the clock generating section works in one operation condition selected from among the two or more operation conditions. Therefore, the need for using all the steps according to a binary search algorithm, etc. to decide two or larger bits of digital control information (Q1-Q5) of the control register (22) is eliminated. As a result, the steps to store two or large bits of digital control information in the control register (22) in which two or larger bits of digital control information (Q1-Q5) for controlling the digital control clock signal generating part (10) of the clock generating section are stored can be reduced.
According to a preferable embodiment, the output signal (FDout) of the comparator (31) is supplied to lower bits other than the upper bit of the control register (22) during the operation in the one operation condition.
According to the preferable embodiment, even in case that the digital control clock signal generating part (10) of the clock generating section has large variations in its properties, and source voltage dependence and temperature dependence, digital control information which enables compensation of fluctuations owing to these factors is stored at the lower bits of the control register (22). As a result, PLL can execute an accurate lock operation in case that it is set to be in any of the two or more operation conditions.
According to a more preferable embodiment, the clock generating section further includes a control clock generating circuit (23) operable to generate multi-clock control signals (cks0-cks5) mutually differing in phase in response to the reference signal (CLKin) (see
The control data storing circuit (25) responds to the operation select information (Min) to generate select signals (Sel1, Sel2, Sel3) indicating an upper bit of the control register (22) in which the initial set data (Set1-Set5) is to be stored.
The initial set data is stored at the upper bit of the control register (22) specified by the select signals (Sel1, Sel2, Sel3) in keeping with the timing of the first clock control signal (cks0) of the multi-clock control signals generated by the control clock generating circuit (23).
The output signal (FDout) of the comparator (31) is supplied to the lower bits of the control register (22) in keeping with the timings of the clock control signals (cks1, cks2, . . . ) subsequent to the first clock control signal (cks0) of the multi-clock control signals generated by the control clock generating circuit (23).
According to a specific embodiment, the digital control clock signal generating part (10) includes a digital control variable delay circuit (12) which can be controlled in the delay stage number (N) by the two or larger bits of digital control information (Q1-Q5) of the control register (22) (see
According to a more specific embodiment, the digital control oscillator (10) has an LC-tank including two or more quantized capacitances controlled according to the two or larger bits of digital control information (Q1-Q5) of the control register (22).
According to another specific embodiment, the digital control clock signal generating part (10) has a delay ring including two or more delay cells. Between the control register (22) and delay ring, a D/A converter is connected. The D/A converter is a D/A converter of current output type such that operation current of the two or more delay cells of the delay ring is output in response to the two or larger bits of digital control information (Q1-Q5) of the control register (22).
According to the most specific embodiment, the output clock signal (CLKout) generated by the clock generating section is supplied to an internal circuit (42, 43) of a semiconductor chip (100) as an operation clock (see
The embodiments will be described further in detail. In all the drawings to which reference is made in describing the best mode of carrying out the invention, a functionally like part or component with a part or component already described above with reference to the drawings is identified by the same reference numeral, character or sign, and repetition of its description is omitted.
<<Basic Configuration of FLL>>Also, FLL of
The digital control oscillator 10 includes a two-input NAND gate 11 with one input terminal supplied with a reset signal Reset, a digital control variable delay circuit 12 including N−1 delay cells having a unit delay amount td, and an output buffer 13.
The digital control part 20 includes a decoder 21, a successive approximation register (SAR) 22, and a control clock generating circuit (CCG) 23. The number of bits of the successive approximation register 22 (SAR) is 12 actually. Therefore, the variable multiplication number M of the program counter (PC) 32 of an 11-bit structure of the frequency comparison part 30 can be set to up to the maximum 2047. For the sake of simplicity, the bit number of the successive approximation register (SAR) 22 shall be five here.
The frequency comparison part 30 includes a frequency comparator (FD) 31 and a program counter (PC) 32 serving as a variable multiplier.
In comparison to FLL of
The multiplication number M supplied to the program counter (PC) 32 through the input terminal Min for setting a multiplication number is also supplied to the control data storing circuit (LUT) 25. In response to the multiplication number M thus supplied, the control data storing circuit (LUT) 25 outputs an upper bit of the set delay stage umber N corresponding to the supplied division number M, which are set as initial data on an upper bit of the flip-flop of the successive approximation register (SAR) 22. The upper bit can be set as follows.
As described with reference to Expression 4 and
Also, as is clear from
In other words, the set delay stage umber N, which is prepared by the control data storing circuit (LUT) 25 from a small value of the variable multiplication number M according to the relation of inverse proportion, is relatively lower in accuracy. Hence, the upper bit of the set delay stage umber N with respect to a small value of variable multiplication number M is set according to the relatively lower accuracy. In the example of
Specifically, in the example of
In FLL of
After initial setting on the successive approximation register 22, the select signals Sel1-Sel3 are also used for selection in case that the signal level of comparison output signal FDout of the phase-frequency comparator 31 is set on a lower bit of the flip-flop of the successive approximation register 22 in keeping with the timings of multi-clock signals cks0-cks5 from the control clock generating circuit 23.
<<Initial Setting of the Set Delay Stage Umber on an Upper Bit of the Successive Approximation Register>>Under the control of the upper-bit setting circuit 26, which is supplied with initial setting control signals Set1-Set5 produced by the control data storing circuit 25 in response to the multiplication number M supplied to the input terminal Min for setting a multiplication number, an upper bit of the set delay stage umber N can be set as initial data on an upper bit of the flip-flop of the successive approximation register 22.
As shown in a right portion of the drawing (in
In the example of
In the example of
In the example of
In the example of
In case that variations between LSI manufacturing processes are small and the influence of the changes in source voltage and temperature is small, initial set data can be stored in the flip-flops for upper three or more bits in the successive approximation register (SAR) 22.
As shown in a left portion of
To the signal input terminal and control input terminal of a clocked inverter Inv11A, the second clock signal cks1 and the inverted signal of the select signal Sel1 are supplied, respectively. The inverter Inv11B is supplied with an output signal from the clocked inverter Inv11A and produces a first select clock signal c1.
To a signal input terminal and a control input terminal of a clocked inverter Inv12A, the second clock signal cks1 and select signal Sel1 are supplied respectively. To a signal input terminal and a control input terminal of a clocked inverter Inv12B, an output signal from the clocked inverter Inv12A and the inverted signal of the select signal Sel2 are supplied, respectively. The output signal of the clocked inverter Inv12B is supplied to a first input terminal of an OR circuit OR2, and then a second select clock signal c2 arises from an output terminal of the OR circuit OR2.
When a control signal of High level “1” is supplied to the control input terminal Se1 of each clocked inverter, the NMOS transistor Qn2 and PMOS transistor Qp2 inside the clocked inverter are controlled to ON state, and the CMOS transistors Qn1 and Qp1 invert a signal which has come at the input terminal In, whereby the output terminal Out can be driven. Further, when a control signal of Low level “0” is supplied to the control input terminal Se1 of each clocked inverter, the NMOS transistor Qn2 and PMOS transistor Qp2 inside the clocked inverter are controlled to OFF state. Then, the CMOS transistors Qn1 and Qp1 are also brought into OFF state, and thus the activation of the output terminal Out is stopped. In this Disable mode, the PMOS transistor Qp3 having a small driving power weakly pulls up the output terminal Out to the level of the source voltage Vdd, which is High level “1”.
When select signals Sel1, Sel2 and Sel3, which are all at High level “1”, are supplied from the control data storing circuit (LUT) 25 to the clock select circuit (CS) 24 shown in the left portion of
In addition, the clocked inverters Inv22A, Inv23A and Inv24A in the clock select circuit (CS) 24 are brought into Enable mode. Then, the third clock signal cks2 from the control clock generating circuit (CCG) 23 is transmitted to the first input terminal of the OR circuit OR5 through the clocked inverters Inv22A, Inv23A and Inv24A and the inverter Inv24B in the clock select circuit (CS) 24. As a result, the fifth multi select clock signal c5 arises from the output of the OR circuit OR5 of the clock select circuit (CS) 24 in response to the third clock signal cks2 from the control clock generating circuit (CCG) 23.
<<Initial Setting of Upper Three Bits of the Successive Approximation Register>>It is assumed that supplying an input clock signal CLKin having a reference frequency fREF to FLL shown in
In this condition, when an input clock signal CLKin of High level “1” is supplied to the control clock generating circuit (CCG) 23 of
On the other hand, in response to the first clock signal cks0 of High level “1” at Step 0 of
<<Setting of Lower Two Bits with an Output from the Frequency Comparator>>
Like the action taken at Step 1 of
Incidentally, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the first oscillating action by the digital control oscillator of FLL of
Like the action taken at Step 2 of
Incidentally, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the second oscillating action by the digital control oscillator of FLL of
In the case of
It is assumed that supplying an input clock signal CLKin having a reference frequency fREF to FLL shown in
In this condition, when an input clock signal CLKin of High level “1” is supplied to the control clock generating circuit (CCG) 23 of
On the other hand, in response to the first clock signal cks0 of High level “1” at Step 0 of
<<Setting of Lower Three Bits with an Output from the Frequency Comparator>>
Like the action taken at Step 1 of
Incidentally, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the first oscillating action by the digital control oscillator of FLL of
Like the action taken at Step 2 of
Incidentally, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the second oscillating action by the digital control oscillator of FLL of
Like the action taken at Step 3 of
Also, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the third oscillating action by the digital control oscillator of FLL of
In this case of
It is assumed that supplying an input clock signal CLKin having a reference frequency fREF to FLL shown in
In this condition, when an input clock signal CLKin of High level “1” is supplied to the control clock generating circuit (CCG) 23 of
On the other hand, in response to the first clock signal cks0 of High level “1” at Step 0 of
<<Setting Lower Four Bits with an Output from the Frequency Comparator>>
Like the action taken at Step 1 of
Incidentally, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the first oscillating action by the digital control oscillator of FLL of
Like the action taken at Step 2 of
Incidentally, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the second oscillating action by the digital control oscillator of FLL of
Like the action taken at Step 3 of
Incidentally, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the third oscillating action by the digital control oscillator of FLL of
Like the action taken at Step 4 of
Also, at this time, the comparison output signal FDout is produced by the frequency comparator (FD) 31, which is a result of the fourth oscillating action by the digital control oscillator of FLL of
In this case of
In the above description, the number of bits of the successive approximation register (SAR) 22 in the digital control part 20 of FLL as shown in
When a multiplication number M which does not correspond to an upper bit of a set delay stage umber N stored in the control data storing circuit (LUT) 25 is supplied through the input terminal Min for setting a multiplication number, the control data storing circuit (LUT) 25 supplies the clock select circuit (CS) 24 with select signals Sel1, Sel2 and Sel3 making the data “000” showing that selection for initial setting cannot be made. Then, in the clock select circuit (CS) 24, the clocked inverters Inv11A, Inv21A, Inv31A, Inv41A and Inv51A are made active. As a result, multi-clock signals cks1-cks5 from the control clock generating circuit 23 are output as the multi select clock signals c1-c5 of the clock select circuit (CS) 24. Also, at this time, the control data storing circuit (LUT) 25 produces initial setting control signals Set1, Set2, Set3, Set4 and Set5, which have an initial code of “10000” of the binary search algorithm (binary search method) of
Therefore, at Step 0 of
Thereafter, as in the case of
Thus, in the case of
The invention can be applied to a clock generating circuit i.e. PLL (Phase Locked Loop), which is different in configuration from FLL including PC (Program Counter) 32 used as a variable multiplier.
As shown in
To make possible for PLL shown in
To reduce the number of steps to store digital control information in the successive approximation register (SAR) for digitally controlling the set delay stage umber N of the digital control oscillator 10 operable to make PLL lock, the information about which of High, Middle and Low the frequency fREF of the input clock signal CLKin corresponds to is supplied to the control data storing circuit (LUT) 25. The Control data storing circuit (LUT) 25 outputs an upper bit of the set delay stage umber N of the digital control oscillator 10, which is Small, Medium or Large, and corresponds to the frequency fREF of the input clock signal CLKin. The upper bit thus output is set as initial data on the flip-lop for the upper bit in the successive approximation register (SAR) 22.
After initial setting on the flip-flop of the upper bit in the successive approximation register (SAR) 22, digital control information is stored in turn in the flip-flops for the lower bits in the successive approximation register (SAR) according to the binary search algorithm, and then the procedure for the lock operation by PLL of
Further, in PLL taking a second configuration, the divider as shown in
As shown in
A multiplication number or division number 141 supplied to the input terminal Min for setting a multiplication number or division number in FLL or PLL shown in
In the storage region for the operation mode Mode in the control data storing circuit (LUT) 25 of
When information 143 corresponding to the first mode information is supplied to the storage region for the operation mode Mode, select signals 144 forming the data “100” arise from the storage region for select signals Sel1-Sel3 in the control data storing circuit 25; the data “100” shows that only the flip-flop FF1 for upper one bit is involved in initial setting on the successive approximation register (SAR) 22.
When information 143 corresponding to the second mode information is supplied to the storage region for the operation mode Mode, select signals 144 making the data “110” arise from the storage region for select signals Sel1-Sel3 in the control data storing circuit 25; the data “110” shows that the flip-flops FF1 and FF2 for upper two bits are involved in initial setting on the successive approximation register (SAR) 22.
When information 143 corresponding to the third mode information is supplied to the storage region for the operation mode Mode, select signals 144 forming the data “111” arise from the storage region for select signals Sel1-Sel3 in the control data storing circuit 25; the data “111” shows that the flip-flops FF1 and FF2 for upper two bits are involved in initial setting on the successive approximation register (SAR) 22.
The control data storing circuit (LUT) 25 as shown in
In DLL as shown in
The input clock signal CLKin is supplied to one input terminal of the phase comparator (PD) 33 through an input buffer 15. An output clock signal CLKout from the output buffer 13 is supplied to the other input terminal of the phase comparator 33 through a feedback terminal CLKout and another input buffer 16. Six bits of output data Q1-Q6 from the successive approximation register (SAR) 22 are supplied to six input terminals of the decoder 21. Sixty-four decode output signals from the decoder 21 are supplied to the digital control variable delay circuit 12 of the digital control variable delay unit 10.
With DLL of
A delay-setting value supplied through a delay-setting input terminal Lin is further provide for the control data storing circuit (LUT) 25. In response to the setting value thus supplied, the control data storing circuit (LUT) 25 outputs an upper bit of a set delay stage umber N corresponding to the supplied setting value, which is set as initial data in the flip-flop for the upper bit in the successive approximation register (SAR) 22.
For example, the delay-setting value supplied through the delay-setting input terminal Lin includes information to identify which of Heavy, Middle and Light the value of the load capacitance CL on the output clock signal CLKout is. The output delay amount produced by the output buffer 13 and load capacitance CL is changed among Large, Medium and Small depending on which of Heavy, Middle and Light the load capacitance CL on the output clock signal CLKout is. Therefore, the delay amount in the digital control variable delay circuit 12 must be controlled to be Small, Medium or Large. Hence, the control data storing circuit (LUT) 25 executes initial setting on the flip-flop for the upper bit in the successive approximation register (SAR) 22 so that the set delay stage umber N of the digital control variable delay circuit 12 is Small, Medium and Large according to the information to identify which of Heavy, Middle and Light the value of the load capacitance CL is.
Further, in case that DLL is arranged so that the output driving power of the output buffer 13 can be changed among Large, Medium and Small, the output buffer 13 can be arranged as a variable delay module which can work providing an appropriate delay amount selected from among output delay amounts.
As in the case of the PLL taking the second configuration according to the invention as described above, in DLL according to another embodiment of the invention, the frequency FREF of the input clock signal CLKin used as a reference frequency signal supplied to the one input terminal of the phase comparator 33 can be changed among High, Middle and Low. In case that a delay produced by the digital control variable delay circuit 12 and output buffer 13 of the digital control variable delay unit 10 in DLL of
The cycle of the frequency fREF of the input clock signal CLKin is varied among Short, Middle and Long by changing the frequency fREF of the input clock signal CLKin among High, Middle and Low. Therefore, the delay time produced by digital control variable delay circuit 12 and output buffer 13 of the digital control variable delay unit 10 in DLL of
To reduce the number of steps to store digital control information in the successive approximation register (SAR) for digitally controlling the set delay stage umber N of the digital control variable delay unit 10 operable to make DLL of
After initial setting on the flip-flop of the upper bit in the successive approximation register (SAR) 22, digital control information is stored in turn in the flip-flops for the lower bits in the successive approximation register (SAR) according to the binary search algorithm, and then the procedure for the lock operation by DLL of
In SOC of
To achieve larger scale integration and higher functionality, a conventional SoC (System On Chip) requires outputting operation clocks at a ultra high speed e.g. over 500 MHz approximately. However, the frequency multiplication number of an analog PLL incorporated in SoC is limited to roughly several-fold to several tens-fold in general. Therefore, an input reference clock signal supplied to an analog PLL has a high frequency ranging from several to several tens of megahertz. To supply an input reference clock signal of a high frequency to an analog PLL incorporated in SoC, an expensive quartz oscillator is needed.
However, a low-cost quartz oscillator 40 is connected to the oscillator 41 of the SoC (System On Chip) 100 containing FLL, PLL or DLL as the clock-supplying circuit 60, as shown in
In case that the variable multiplication number or variable division number M of the program counter (PC) 32 in the clock-supplying circuit 60 is set to the half value 1028, the clock-supplying circuit 60 outputs a middle-speed operation clock signal CLKout of about 30 MHz. As a result, the analog PLL 421 having a frequency multiplication factor of 10 in the core circuit block 42 forms a high-speed operation clock signal CLKout of about 300 MHz. The core circuit block 42 and peripheral module 43, to which the high-speed operation clock signal CLKout of about 300 MHz is supplied, can execute a high-speed operation.
In case that the variable multiplication number or variable or variable division number M of the program counter (PC) 32 in the clock-supplying circuit 60 is set to the tenth 205, the clock-supplying circuit 60 outputs a low-speed operation clock signal CLKout of about 6 MHz. As a result, the analog PLL 421 having a frequency multiplication factor of 10 in the core circuit block 42 forms a low-speed operation clock signal CLKout of about 60 MHz. The core circuit block 42, to which the low-speed operation clock signal CLKout of about 60 MHz is supplied, can execute a low-speed operation. Now, it is noted that the core circuit block 42 further includes a central processing unit 422, an internal RAM 423, and a functional block 424, in addition to the analog PLL 421. Further, the peripheral module 43 includes a logic part 431, a functional block 432, a built-in ROM 433 and an interface part 434.
As the quartz oscillator 90 connected with the oscillator 41, an expensive quartz oscillator which resonates with an RE frequency of about 60 MHz may be adopted. In this case, a combination of the quartz oscillator 40 and oscillator 41 oscillates a high-speed operation oscillation clock signal CLKin of about 60 MHz. The clock control part 50 controls the selector 61 thereby to supply a high-speed operation oscillation clock signal CLKin of about 60 MHz to the core circuit block 42.
The invention made by the inventor has been described above based on the embodiments specifically. However, the invention is not limited to them. It will be obvious that various changes and modifications may be made without departing from the subject matter hereof.
For example, with FLL as shown in
Further, an oscillator that the delay amount is controlled by controlling a current value of operation current of a fixed number of delay cells constituting a delay ring instead of controlling the number of stages of the delay cells constituting the delay ring may be adopted. The operation current of the delay cells can be controlled by a D/A converter of current output type such that operation current of the delay cells is output in response to digital control information Q1-Q5 from the successive approximation register (SAR) 22 in the digital control part 20.
In addition, as a measure taken in case that upper bits of the set delay stage numbers of the successive approximation register corresponding to all the division numbers M supplied through the division number setting input terminal cannot be stored in the control data storing circuit because of the restriction on the memory capacity of control data storing circuit, an initial code according to other suitable search method other than the binary search algorithm may be set.
Moreover, the control data storing circuit (LUT) 25 may be composed of a nonvolatile memory such as a built-in flash memory of LSI except a lookup table type random access memory. By making such arrangement, a task for loading from a nonvolatile memory of the system into a lookup table type RAM can be omitted from a system initialization sequence of FLL, PLL or DLL at power-on.
Claims
1. A semiconductor integrated circuit comprising
- a clock generating section having a digital control oscillator operable to generate an oscillation clock signal, and a digital control part operable to control at least one of a phase and frequency of the oscillation clock signal generated by the digital control oscillator,
- wherein the clock generating section has a comparator, a counter and a control register,
- when the oscillation clock signal generated by the digital control oscillator is supplied to an input terminal of the counter, an output signal arises from an output terminal of the counter,
- a reference signal is supplied to one input terminal of the comparator, and the output signal arising from the output terminal of the counter is supplied to the other input terminal of the comparator,
- when the control register is supplied with an output signal of the comparator, the control register stores two or larger bits of digital control information for controlling the digital control oscillator,
- the comparator, control register, digital control oscillator and counter constitute a locked loop making at least one of a phase locked loop and frequency locked loop,
- when the control register stores digital control information having a predetermined value, at least one of a phase and frequency of the output signal at the other input terminal of the comparator is locked to at least one of a phase and frequency of the reference signal at the one input terminal of the comparator,
- the locked loop can work in two or more operation conditions by setting two or more frequencies for the reference signal or setting two or more multiplication ratios for the counter,
- the locked loop works in one operation condition selected from among the two or more operation conditions by setting one frequency selected from among the two or more frequencies for the reference signal, or setting one multiplication ratio selected among the two or more multiplication ratios for the counter,
- the clock generating section further includes a control data storing circuit connected with the control register,
- sets of initial set data for operation by the locked loop in the two or more operation conditions can be stored in advance in the control data storing circuit,
- operation select information for selecting the one operation condition is supplied to the control data storing circuit prior to an operation by the locked loop in the one operation condition, and
- in response to the operation select information, initial set data for the operation in the one operation condition is stored at an upper bit of the control register from the control data storing circuit.
2. The semiconductor integrated circuit according to claim 1, wherein the output signal of the comparator is supplied to lower bits other than the upper bit of the control register during the operation in the one operation condition.
3. The semiconductor integrated circuit according to claim 2, wherein the clock generating section further includes a control clock generating circuit operable to generate multi-clock control signals mutually differing in phase in response to the reference signal,
- the control data storing circuit responds to the operation select information to generate select signals indicating an upper bit of the control register in which the initial set data is to be stored,
- the initial set data is stored at the upper bit of the control register specified by the select signals in keeping with timing of the first clock control signal of the multi-clock control signals generated by the control clock generating circuit, and
- the output signal of the comparator is supplied to the lower bits of the control register in keeping with timings of the clock control signals subsequent to the first clock control signal of the multi-clock control signals generated by the control clock generating circuit.
4. The semiconductor integrated circuit according to claim 2, wherein the counter is arranged as a variable counter which can work with an appropriate multiplication ratio selected from among the two or more multiplication ratios, and
- the operation select information is for selecting the appropriate multiplication ratio of the counter arranged as the variable counter.
5. The semiconductor integrated circuit according to claim 2, wherein the digital control oscillator includes a delay ring oscillating part including a digital control variable delay circuit which can be controlled in delay stage number according to the two or larger bits of digital control information of the control register.
6. The semiconductor integrated circuit according to claim 2, wherein the digital control oscillator has an LC-tank including two or more quantized capacitances controlled according to the two or larger bits of digital control information of the control register.
7. The semiconductor integrated circuit according to claim 6, wherein an output clock signal generated from the oscillation clock signal of the digital control oscillator of the locked loop is supplied to an internal circuit of a semiconductor chip as an operation clock.
8. A semiconductor integrated circuit comprising
- a clock generating section having a digital control delay unit operable to delay a reference signal thereby to generate a delay clock signal, and a digital control part operable to control at least one of a phase and frequency of the delay clock signal generated by the digital control delay unit,
- wherein the clock generating section includes a comparator, a control register and an output buffer,
- when the delay clock signal generated by the digital control delay unit is supplied to an input terminal of the output buffer, an output clock signal arises from an output terminal of the output buffer,
- the reference signal is supplied to one input terminal of the comparator, and the output clock signal arising from the output buffer is supplied to the other input terminal of the comparator,
- when the control register is supplied with an output signal of the comparator, the control register stores two or larger bits of digital control information for controlling the digital control delay unit,
- the comparator, control register and digital control delay unit constitute a delay locked loop,
- when the control register stores digital control information having a predetermined value, at least one of a phase and frequency of the output clock signal at the other input terminal of the comparator is locked to at least one of a phase and frequency of the reference signal at the one input terminal of the comparator,
- the delay locked loop can work in two or more operation conditions by setting two or more frequencies for the reference signal or setting two or more delay amounts for the output buffer,
- the delay locked loop works in one operation condition selected from among the two or more operation conditions by setting one frequency selected from among the two or more frequencies for the reference signal, or setting one delay amount selected from among the two or more delay amounts for the output buffer,
- the clock generating section further includes a control data storing circuit connected with the control register,
- sets of initial set data for operation by the delay locked loop in the two or more operation conditions can be stored in the control data storing circuit in advance,
- operation select information for selecting the one operation condition is supplied to the control data storing circuit prior to an operation by the delay locked loop in the one operation condition, and
- initial set data for the operation in the one operation condition is stored at an upper bit of the control register from the control data storing circuit in response to the operation select information.
9. The semiconductor integrated circuit according to claim 8, wherein the output signal of the comparator is supplied to lower bits other than the upper bit of the control register during the operation in the one operation condition.
10. The semiconductor integrated circuit according to claim 9, wherein the clock generating section further includes a control clock generating circuit operable to generate multi-clock control signals mutually differing in phase in response to the reference signal,
- the control data storing circuit responds to the operation select information to generate select signals indicating an upper bit of the control register in which the initial set data is to be stored,
- the initial set data is stored at the upper bit of the control register specified by the select signals in keeping with timing of the first clock control signal of the multi-clock control signals generated by the control clock generating circuit, and
- the output signal of the comparator is supplied to the lower bits of the control register in keeping with timings of the clock control signals subsequent to the first clock control signal of the multi-clock control signals generated by the control clock generating circuit.
11. The semiconductor integrated circuit according to claim 9, wherein the output buffer is arranged as a variable delay module which can work providing an appropriate delay amount selected from among the two or more delay amounts, and
- the operation select information is for selecting the appropriate delay amount of the output buffer arranged as the variable delay module.
12. The semiconductor integrated circuit according to claim 9, wherein the digital control delay unit includes a digital control variable delay circuit which can be controlled in delay stage number by the two or larger bits of digital control information of the control register.
13. The semiconductor integrated circuit according to claim 9, wherein the output clock signal arising from the output buffer of the delay locked loop is supplied to an internal circuit of a semiconductor chip as an operation clock.
14. A semiconductor integrated circuit comprising
- a clock generating section having a digital control clock signal generating part operable to generate a clock signal, and a digital control part operable to control at least one of a phase and frequency of the clock signal generated by the digital control clock signal generating part,
- wherein the clock generating section includes a phase-frequency comparator serving as a time-to-digital converter operable to convert a phase difference between two input signals into a digital signal, and a control register,
- a reference signal is supplied to one input terminal of the comparator, and a feedback signal generated from the clock signal is supplied to the other input terminal of the comparator through a feedback path,
- when the control register is supplied with an output signal of the comparator, the control register stores two or larger bits of digital control information for controlling the digital control clock signal generating part,
- the phase-frequency comparator, control register, digital control clock signal generating part and feedback path constitute a digital control phase locked loop,
- when the control register stores digital control information having a predetermined value, at least one of a phase and frequency of the feedback signal supplied to the other input terminal of the comparator is locked to at least one of a phase and frequency of the reference signal supplied to the one input terminal of the comparator,
- the clock generating section can work in two or more operation conditions by setting two or more frequencies for the reference signal or setting two or more control amounts for the feedback path,
- the clock generating section works in one operation condition selected from among the two or more operation conditions by setting one frequency selected from among the two or more frequencies for the reference signal, or setting one control amount selected among the two or more control amounts for the feedback path,
- the clock generating section further includes a control data storing circuit connected with the control register,
- sets of initial set data for operation by the clock generating section in the two or more operation conditions can be stored in the control data storing circuit in advance,
- operation select information for selecting the one operation condition is supplied to the control data storing circuit prior to an operation by the clock generating section in the one operation condition, and
- initial set data for the operation in the one operation condition is stored at an upper bit of the control register from the control data storing circuit in response to the operation select information.
15. The semiconductor integrated circuit according to claim 14, wherein the output signal of the comparator is supplied to lower bits other than the upper bit of the control register during the operation in the one operation condition.
16. The semiconductor integrated circuit according to claim 14, wherein the clock generating section further includes a control clock generating circuit operable to generate multi-clock control signals mutually differing in phase in response to the reference signal,
- the control data storing circuit responds to the operation select information to generate select signals indicating an upper bit of the control register in which the initial set data is to be stored,
- the initial set data is stored at the upper bit of the control register specified by the select signals in keeping with timing of the first clock control signal of the multi-clock control signals generated by the control clock generating circuit, and
- the output signal of the comparator is supplied to the lower bits of the control register in keeping with timings of the clock control signals subsequent to the first clock control signal of the multi-clock control signals generated by the control clock generating circuit.
17. The semiconductor integrated circuit according to claim 14, wherein the digital control clock signal generating part includes a digital control variable delay circuit which can be controlled in delay stage number by the two or larger bits of digital control information of the control register.
18. The semiconductor integrated circuit according to claim 14, wherein the digital control oscillator has an LC-tank including two or more quantized capacitances controlled according to the two or larger bits of digital control information of the control register.
19. The semiconductor integrated circuit according to claim 14, wherein the digital control clock signal generating part has a delay ring including two or more delay cells,
- a D/A converter is connected between the control register and delay ring, and
- the D/A converter is a D/A converter of current output type such that operation current of the two or more delay cells of the delay ring is output in response to the two or larger bits of digital control information of the control register.
20. The semiconductor integrated circuit according to claim 14, wherein the output clock signal generated by the clock generating section is supplied to an internal circuit of a semiconductor chip as an operation clock.
Type: Application
Filed: Jan 20, 2011
Publication Date: May 19, 2011
Applicant:
Inventors: KAZUO YAMAKIDO (Tokyo), Takashi Nakamura (Tokyo)
Application Number: 13/010,224
International Classification: H03L 7/06 (20060101); H03L 7/00 (20060101);