Control circuit and semiconductor memory device
The control circuit addresses the issue of prolonged lock time in DRAM DLL circuits by performing multiple detection operations to predict and adjust the delay, ensuring timely completion of sequences.
Patent Information
- Application Number
- JP2023001473
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-01-10
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2043-01-10
AI Technical Summary
The prolongation of lock time in the delay locked loop (DLL) circuit of DRAM due to temperature variations causes delays in the execution of sequences, potentially exceeding predetermined execution periods.
A control circuit that performs multiple detection operations before the delay operation to predict and adjust the delay amount, setting it appropriately to synchronize the input and output clock signals within a predetermined period.
The solution effectively suppresses the prolongation of delay operations, ensuring that the sequence of adjusting the internal clock signal using the DLL circuit is completed within the specified execution period, thereby maintaining sequence efficiency.
Smart Images

Figure 0007534454000009 
Figure 0007534454000003 
Figure 0007534454000006
Abstract
Description
[Technical field]
[0001] The present invention relates to a control circuit and a semiconductor memory device. [Background technology]
[0002] DRAM (Dynamic Random Access Memory), a type of semiconductor memory device, is a volatile memory that stores information by storing electric charge in a capacitor, and loses the stored information when power is cut off. DRAM is provided with a delay locked loop (DLL) circuit as a phase-locked loop circuit. DRAM uses the DLL circuit to generate an internal clock signal for outputting a data signal, in synchronization with an input clock signal input from the outside (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-35241 A Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, when adjusting the delay of an internal clock signal using a DLL circuit, a sequence is executed that includes, for example, a reset operation of the DLL circuit, a delay (lock) operation of the DLL circuit (for example, an operation of synchronizing an external clock and an internal clock while activating the delay lines one by one), and an operation of detecting an N value that indicates the number of delay clock cycles between an input clock signal and an internal clock signal.
[0005] Here, the lock time Tdll due to the delay operation of the DLL circuit can be expressed by the following formula.
[0006] Tint+Tdll=N×tCK
[0007] In the above formula, Tint indicates the inherent delay time in the DLL circuit, and tCK indicates the clock cycle. For example, if the clock cycle (tCK) becomes longer than the inherent delay time (Tint) due to the temperature in the semiconductor memory device, the lock time (Tdll) due to the delay operation of the DLL circuit will also become longer as shown in the above formula. If the lock time becomes longer in this way, the execution time of the entire sequence will become longer, and there is a risk that the execution of the next sequence will be delayed or that the execution period (tDLLK) of the sequence will be exceeded.
[0008] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide a control circuit and a semiconductor memory device that can prevent the delay operation from becoming long and complete a sequence for adjusting the delay of an internal clock signal using a DLL circuit within a specified execution period. [Means for solving the problem]
[0009] The control circuit of the present invention comprises a control unit that sets a delay amount, a delay line unit that delays an input clock signal based on the delay amount to generate an output clock signal, and a detection unit that performs a detection operation to detect the number of delay clock cycles from the input clock signal to the output clock signal, wherein the control unit is a control circuit that changes the delay amount during a delay operation to control the delay line unit so that the input clock signal and the output clock signal are synchronized, and wherein the detection unit performs the detection operation multiple times before the delay operation is performed to detect multiple numbers of delay clock cycles, and the control unit sets the delay amount in the detection operation each time the detection operation is performed multiple times, and sets the delay amount in the delay operation according to the detected multiple numbers of delay clock cycles.
[0010] In the present invention, the detection unit performs the detection operation multiple times before the delay operation to detect multiple numbers of delay clock cycles, and the control unit changes the delay amount in the delay operation according to the multiple numbers of delay clock cycles to prevent the delay operation from becoming longer, and the sequence of adjusting the delay of the internal clock signal using a DLL circuit can be completed within a predetermined execution period. That is, by performing the detection operation before the delay operation, the time required for the delay operation is predicted before the delay operation is performed, and the delay amount in the delay operation is changed to prevent the delay operation from becoming longer. In this case, the detection operation is performed multiple times, and the delay amount in the detection operation is set each time the detection operation is performed multiple times to detect the N value with multiple delay amounts, so that it is possible to properly predict the delay and properly set the required delay amount.
[0011] It is preferable that the control unit changes an initial delay amount at the start of the delay operation in accordance with a plurality of the delay clock cycle numbers. By changing the initial delay amount, it is possible to easily set an appropriate delay amount while efficiently suppressing the delay operation from being prolonged.
[0012] It is preferable that the control unit sets the delay amount according to the number of delay clock cycles detected in the previously performed detection operation each time the detection operation is performed. By setting the delay amount in the detection operation according to the number of delay clock cycles in the detection operation, the number of delay clock cycles can be more appropriately predicted, and thus the delay amount required in the delay operation can be more appropriately predicted.
[0013] It is preferable that the control unit sets the initial delay amount at the start of the delay operation to be larger as the number of delay clock cycles of the plurality of delay clock cycles is smaller. Since the smaller the number of delay clock cycles is, the longer the clock cycle is considered to be, and the longer the delay operation is considered to be, in this case, by changing the initial delay amount at the start of the delay operation to be larger, the longer the delay operation is suppressed.
[0014] It is preferable that the control unit sets the delay amount to a larger value each time the detection operation is performed. By setting the delay amount to a gradually larger value each time the detection operation is performed, it is possible to predict an appropriate delay amount.
[0015] It is preferable that the delay amount according to the number of delay clock cycles is determined in advance by the control unit as a value smaller than a maximum delay amount predicted to be necessary to eliminate the delay of the output clock signal relative to the input clock signal at the number of delay clock cycles. If the delay amount is larger than the maximum delay amount, the number of delay clock cycles cannot be predicted appropriately. However, in the present invention, the delay amount is preset as a value smaller than the maximum delay amount predicted to be necessary to eliminate the delay of the output clock signal relative to the input clock signal, so that the control unit can easily set an appropriate delay amount.
[0016] It is preferable that the control unit determines whether the multiple delay clock cycle numbers detected each time the detection operation is performed are all the same, and if they are all the same, sets the delay amount in the delay operation according to the delay clock cycle number in the last detection operation.
[0017] When any of the multiple delay clock cycle numbers detected each time the detection operation is performed is different, it is preferable that the control unit sets the delay amount in the delay operation according to the delay clock cycle number detected in the detection operation one before the last detection operation among the multiple detection operations.
[0018] It is preferable that the control unit performs the detection operation a predetermined number of times, and if the same number of delay clock cycles is detected in all of the detection operations, performs the detection operation one more time, and if the number of delay clock cycles detected in the last detection operation is also the same as the number of delay clock cycles, sets the delay amount in the delay operation according to the number of delay clock cycles detected in the last detection operation.
[0019] It is preferable that the detection unit transmits the number of delay clock cycles to a latency counter. By transmitting the number of delay clock cycles to a latency counter, it is possible to appropriately control latency.
[0020] It is preferable that the detection unit inputs a delay clock cycle number that is one more than the delay clock cycle number detected in the last detection operation of the plurality of detection operations to the latency counter if the plurality of delay clock cycle numbers detected based on the delay amount set according to the delay clock cycle number detected each time the detection operation is performed are all the same. If the plurality of delay clock cycle numbers are all the same, it is considered that the delay clock cycle number in the detection operation is one less than the required delay clock cycle number. Therefore, if the plurality of delay clock cycle numbers are all the same, a desired delay clock cycle number can be obtained without performing a detection operation after a delay operation by inputting a delay clock cycle number that is one more than the last delay clock cycle number to the latency counter.
[0021] It is preferable that the detection unit inputs the delay clock cycle number detected in the last detection operation of the plurality of detection operations to the latency counter when any of the plurality of delay clock cycle numbers detected based on the delay amount set according to the delay clock cycle number each time the detection operation is performed is different. If the plurality of delay clock cycle numbers are not all the same, the delay clock cycle number in the detection operation is considered to be the same as the required delay clock cycle number, so that the desired delay clock cycle number can be obtained by inputting the last delay clock cycle number to the latency counter without performing a detection operation after the delay operation.
[0022] In a preferred embodiment of the present invention, the control circuit does not perform the detection operation after the delay operation.
[0023] A semiconductor memory device according to the present invention is characterized by comprising any one of the control circuits described above.
[0024] In a preferred embodiment of the present invention, the semiconductor memory device is a dynamic random access memory. Effect of the Invention
[0025] According to the control circuit, semiconductor memory device, and control method for a semiconductor memory device of the present invention, it is possible to prevent the delay operation from becoming long, and to complete a sequence for adjusting the delay of an internal clock signal using a DLL circuit within a specified execution period. [Brief description of the drawings]
[0026] [Figure 1] 1 is a block diagram showing an example of the configuration of a control circuit according to a first embodiment. [Diagram 2] 5 is a diagram showing the relationship between an input clock signal and a delay time in the first embodiment. FIG. [Diagram 3] 4 is a diagram showing table data held by a control unit in the first embodiment. FIG. [Figure 4] FIG. 4 is a diagram showing each state of a present sequence in the first embodiment and a conventional sequence. [Diagram 5] 4 is a diagram illustrating an example of the configuration of an N-value detection unit in the first embodiment. FIG. [Figure 6] 4 is a time chart showing changes in voltage of signals at various parts in the control circuit according to the first embodiment. [Figure 7] FIG. 11 is a diagram illustrating the relationship between an input clock signal and a delay time in the second embodiment. [Figure 8] FIG. 11 is a diagram showing each state of a present sequence in the second embodiment and a conventional sequence. [Figure 9] FIG. 11 is a diagram showing table data stored in a control unit in the second embodiment. [Figure 10] FIG. 11 is a diagram illustrating an example of the configuration of an N-value detection unit in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027] Hereinafter, a control circuit, a semiconductor memory device, and a control method for a semiconductor memory device according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. However, the embodiment is merely an example, and the present invention is not limited thereto.
[0028] Furthermore, the terms "first," "second," "third," and the like in this specification are used to distinguish a certain component from other components, and are not intended to limit the number, order, or priority of the components. For example, when there are descriptions of a "first element" and a "second element," this does not mean that only two elements, the "first element" and the "second element," are adopted, nor does it mean that the "first element" must precede the "second element."
[0029] (Embodiment 1)
[0030] 1 shows an example of the configuration of a control circuit according to an embodiment of the present invention. In this embodiment, the control circuit 1 includes a DLL circuit 10, an N-value detection unit 20, and a latency counter 30. In this embodiment, the control circuit 1 is provided in a semiconductor memory device such as a DRAM.
[0031] In this embodiment, for the sake of simplicity, well-known components (eg, a command decoder, a memory cell array, an input / output interface unit, etc.) provided in a semiconductor memory device such as a DRAM are not shown.
[0032] The DLL circuit 10 includes an input buffer 11 , a phase detection unit 12 , a DLL control unit 13 , a delay line unit 14 , a replica unit 15 , an output buffer 16 , and a multiplexer 17 .
[0033] The input buffer 11 buffers the external clock signal CK input to the input buffer 11 to generate an input clock signal clk. The generated input clock signal clk is transmitted to the N-value detection unit 20, the phase detection unit 12, and the delay line unit 14 via the multiplexer 17. As will be described in detail later, the delay line unit 14 generates a delayed signal dll_clk by delaying the input clock signal clk or the signal n_clk, and transmits it to the output buffer 16 and the replica unit 15. Here, the signal n_clk is a signal generated in the N-value detection operation, and the input clock signal clk and the signal n_clk are synchronized. The replica unit 15 generates a feedback signal fb_clk from the input delayed signal dll_clk, and outputs it to the N-value detection unit 20 and the phase detection unit 12.
[0034] The phase detector 12 detects the phase difference between the input clock signal clk and the feedback signal fb_clk. The input clock signal clk and the feedback signal fb_clk are input to the phase detector 12. The phase detector 12 generates a phase signal up / down indicating the phase lead or lag of the feedback signal fb_clk relative to the input clock signal clk, and inputs the phase signal up / down to the DLL controller 13.
[0035] The DLL control unit 13 determines the amount of delay, generates a control signal dll_code consisting of multiple bits as a signal indicating the amount of delay, and inputs it to the delay line unit 14. Furthermore, when the phase difference of the phase signals up / down converges within a predetermined range, that is, when the input clock signal clk and the feedback signal fb_clk corresponding to the delayed signal dll_clk are synchronized, the DLL control unit 13 ends the locking operation. The DLL control unit 13 is an example of the "control unit" of the present invention.
[0036] The delay line unit 14 is a variable delay unit that delays the input clock signal clk and generates a delayed signal dll_clk by activating a delay line based on the delay amount every time the delay amount is set by the DLL control unit 13. More specifically, the delay line unit 14 delays the input clock signal clk and generates a delayed signal dll_clk by activating a delay line in response to a control signal dll_code indicating the delay amount. This will be described in detail later.
[0037] Here, in this embodiment, the delay amount corresponds to the number of activated delay lines among one or more delay lines in the delay line section 14, and the larger the delay amount, the greater the number of bits indicating a high level in the control signal dll_code (the more delay lines are activated), and the longer the delay time of the delayed signal dll_clk relative to the input clock signal clk.
[0038] The DLL control unit 13, the delay line unit 14, and the N value detection unit 20 will be described in detail below. When the control signal n_enable is input to the multiplexer 17 at a high level, the signal n_clk is input to the delay line unit 14, and otherwise the input clock signal clk is input to the delay line unit 14. That is, when detecting the N value, the delay line unit 14 executes a delay on the signal n_clk according to the control signal dll_code from the DLL control unit 13 to generate a delayed signal dll_clk. Note that since the signal n_clk corresponds to the input clock signal clk, in the description of this embodiment, the signal n_clk is also referred to as the input clock signal clk to facilitate understanding of the invention.
[0039] The DLL control unit 13 enters a DLL reset state when a reset signal (a signal for starting a locking operation) not shown is input to the DLL circuit 10 from a predetermined circuit (not shown) or the like, and when this DLL reset state ends, it generates a control signal dll_reset_n at a high level and inputs it to the N value detection unit 20. When the control signal dll_reset_n is input at a high level, the N value detection unit 20 executes an N value detection operation, which will be described later.
[0040] The N value detection section 20 performs an N value detection operation to detect an N value from the input clock signal clk and the feedback signal fb_clk. The N value detection section 20 is an example of the "detection section" of the present invention.
[0041] Here, the N value is a value expressed by Tint (intrinsic delay time in the DLL circuit) + Tdll (lock (delay) time due to the lock operation of the DLL circuit) = N × tCK, and means the number of delay clock cycles (hence, an integer) from the input clock signal clk to the feedback signal fb_clk (output clock signal) generated based on the delayed signal dll_clk in the lock operation of the DLL circuit 10. Conventionally, the N value detection unit 20 detects the N value after the lock operation, but in this embodiment, the N value detection unit 20 does not perform N value detection after the lock operation, but performs the N value detection operation multiple times before the lock operation. The DLL control unit 13 controls the delay line unit 14 based on multiple provisional N values (hereinafter referred to as provisional N values) obtained by the multiple N value detection operations before the lock operation. That is, the provisional N values obtained by the N value detection operation of this embodiment are all the delay clock cycles from the input clock signal clk to the feedback signal fb_clk generated based on the delayed signal dll_clk when the N value detection operation is performed before the lock operation.
[0042] Specifically, in this embodiment, the N value detection unit 20 performs an N value detection operation twice before performing a lock operation to detect a first provisional N value and a second provisional N value. When an asserted (high level) control signal dll_reset_n indicating the end of the reset operation is input, the N value detection unit 20 detects the number of delay clock cycles from the signal n_clk to the feedback signal fb_clk as a provisional N value as an N value detection operation, and inputs to the DLL control unit 13 a first provisional N value signal N1st indicating the first provisional N value detected in the first detection operation and a second provisional N value signal N2nd indicating the second provisional N value detected in the second detection operation.
[0043] Although the first tentative N value and the second tentative N value are not the N value itself, they are the number of delay clock cycles from the signal n_clk to the feedback signal fb_clk during the N value detection operation, so when the clock cycle tCK is long, the tentative N value is small like the N value. Therefore, when the tentative N value is small, it is considered that the lock time Tdll will be extended. Therefore, in this embodiment, the DLL circuit 10 predicts whether the lock time Tdll will be extended if the lock operation is performed as it is from the first tentative N value and the second tentative N value detected before the lock operation, and if it is predicted that the lock time Tdll will be extended, the DLL circuit 10 is configured to set the initial delay amount of the delay line unit 14 in the lock operation to be large, so that the lock time Tdll can be shortened. Here, the initial delay amount means the delay amount at the start of the lock operation (delay operation).
[0044] A specific description will be given with reference to Fig. 2. In the case shown in Fig. 2(1), conventionally, the clock cycle tCK of the input clock signal clk is long, so that there is a possibility that the lock operation will take a long time.
[0045] In this embodiment, first, the N value detection unit 20 detects a first provisional N value by a first N value detection operation before a lock operation, and the DLL control unit 13 sets the delay amount for the next N value detection operation according to the value. Specifically, in the first N value detection operation, the DLL control unit 13 sets the delay amount to a reference delay amount ("4" in this embodiment), and the delay line unit 14 activates the delay line based on the delay amount to delay the input clock signal clk and generate a delayed signal dll_clk. Here, the reference delay amount is a delay amount that the DLL control unit 13 has set in advance before the N value detection operation, and in this embodiment, "4" is set as the minimum reference delay amount. The N value detection unit 20 detects the number of delay clock cycles between the input clock signal at this time and the delayed signal dll_clk generated based on the delay amount "4" as the first provisional N value.
[0046] In this embodiment, the DLL control unit 13 sets the delay amount based on the first provisional N value based on the table data in FIG. 3(1). The table data in FIG. 3(1) shows the delay amount corresponding to each of the first provisional N values. As shown in FIG. 3(1), in this embodiment, the smaller the first provisional N value is, the larger the delay amount in the second N value detection operation is set to be than the reference delay amount. For example, when the first provisional N value is 0, the delay amount is set to "34", which is sufficiently larger than the reference delay amount "4" that is the reference, and when the first provisional N value is 4 or more, the delay amount is set to "14", which is slightly larger than the reference delay amount "4". Here, the delay amount set corresponding to the provisional N value is set in advance to be smaller than the maximum delay amount required to eliminate the delay predicted for each provisional N value. This is because if the delay amount set corresponding to the provisional N value is equal to or larger than the maximum delay amount predicted for each provisional N value, the initial delay amount during the lock operation as in this embodiment cannot be set appropriately.
[0047] The delay line unit 14 activates the delay line based on the delay amount thus set by the DLL control unit 13. In the case shown in Fig. 2(1), since the first tentative N value is 0 at the time of the first N value detection, the DLL control unit 13 sets "34" as the delay amount at the time of the second N value detection operation.
[0048] Next, the N value detection unit 20 performs a second N value detection operation. At this time, since the delay amount is set to "34" by the DLL control unit 13, the delayed signal dll_clk is delayed more corresponding to the delay amount "34" than in the first N value detection operation. In this state, the N value detection unit 20 detects the number of delay clock cycles between the input clock signal clk and the output clock signal dll_clk as a second provisional N value.
[0049] When the lock time is long, that is, when tCK is sufficiently large and the delay amount is large, the second provisional N value obtained according to the output clock signal delayed by the delay amount set according to the first provisional N value is considered to be the same as the first provisional N value. Therefore, the N value detection unit 20 judges whether the second provisional N value is the same as the first provisional N value.
[0050] When the second tentative N value is the same as the first tentative N value, the DLL control unit 13 sets the initial delay amount of the locking operation to the delay amount set when detecting the second tentative N value. When performing the locking operation set in this way, since the initial delay amount is larger than the reference delay amount, the delay amount required to eliminate the delay can be reached early, and the locking operation can be completed in a short period of time. This makes it possible to complete the sequence within a predetermined period (tDLLK). Then, in the sequence, the DLL control unit 13 inputs the second tentative N value plus 1 as the N value to the latency controller without performing a separate N value detection operation. Such a determination by the DLL control unit 13 is shown in the table data shown in FIG. 3(2).
[0051] To explain this in more detail with reference to FIG. 2 as well, in the case of FIG. 2(1), the first provisional N value is 0 at the time of the first N value detection, and the second provisional N value detected by the N value detection unit 20 is also 0. In this case, the first provisional N value and the second provisional N value are the same. Therefore, the DLL control unit 13 sets the initial delay amount of the locking operation to "34", which is the delay amount set when detecting the second provisional N value, based on the table data shown in FIG. 3(2). In this case, the delay amount only needs to be increased by "10" from "34" to "44", and the locking operation becomes shorter than in the conventional case.
[0052] In other words, the lock time Tdll would normally be from time t03 of the rising edge of the delayed signal dll_clk during the first N value detection operation to time t05 of the rising edge of the input clock signal clk, but since the initial delay amount was larger than the reference delay amount when the lock operation started, the delayed signal dll_clk was delayed, and therefore the actual lock time Tdll is from time t04 of the rising edge of the output clock signal dll_clk during the second N value detection operation to time t05 of the rising edge of the input clock signal clk, and the lock time Tdll is shortened.
[0053] On the other hand, when the second tentative N value is not the same as the first tentative N value, the DLL control unit 13 performs the locking operation with the reference delay amount, which is the delay amount in the first N value detection operation, as the delay amount during the locking operation. In such a case, for example, although the clock cycle tCK is sufficiently long, the delay is not large to begin with and the locking operation is not prolonged, so there is no need to increase the initial delay amount in the locking operation. In such a case, even if the locking operation is started from the reference delay amount, the DLL circuit 10 of this embodiment can complete the sequence within a predetermined period (tDLLK). Note that in this case as well, the DLL control unit 13 inputs the second tentative N value as the N value to the latency controller without performing a separate N value detection operation.
[0054] FIG. 2(2) shows a case where the clock cycle tCK is sufficiently long as described above, but the delay is not large to begin with, and the lock operation is not prolonged. In the case of FIG. 2(2), the N-value detection unit 20 detects the first provisional N value as 0 during the first N-value detection operation. The DLL control unit 13 sets the delay amount from the reference delay amount "4" to "34" according to the first provisional N value in this case, based on the table data of FIG. 3(1), and the delay line unit 14 activates the delay line based on this set delay amount "34". However, when the N-value detection unit 20 performs the second N-value detection operation, the output clock signal dll_clk delayed by this set delay amount advances in phase, and the number of delay clock cycles between the output clock signal dll_clk and the input clock signal clk is "1", so the second provisional N value becomes "1". Then, in the case of FIG. 2(2), the first provisional N value and the second provisional N value are different. Therefore, the DLL control unit sets the initial delay amount of the lock operation as "4". In this case, the lock time Tdll is from time t12 of the rising edge of the output clock signal dll_clk during the first N value detection operation to time t14 of the rising edge of the input clock signal clk, and control can be performed in the same way as conventionally.
[0055] These cases will be described in detail as the entire sequence with reference to Figure 4. Figure 4 (1) shows the case of Figure 2 (1) where the clock cycle tCK of the input clock signal clk is long and the delay amount is also large. In such a case, conventionally, the locking operation is performed after the DLL reset, and the N value detection operation is performed at the end. In this case, the initial delay amount in the locking operation is set to the reference delay amount of "4", so even though the delay amount is large, the locking operation continues by increasing the delay amount by "1" at a time from the reference delay amount until the delay amount becomes "44". As a result, the locking time takes a time equivalent to the delay amount of "40", and the locking operation is prolonged.
[0056] In contrast, in this embodiment, after DLL reset, the N value detection operation is performed twice to detect the first and second provisional N values, and the initial delay amount of the locking operation is set to "34" as described above. In this case, even if the locking operation is continued until the delay amount becomes "44", the locking time is only the time equivalent to the delay amount of "10", so the time required for the locking operation is shortened to one-fourth of the conventional case. Therefore, in this embodiment, the time tDLLK of the entire sequence can also be shortened.
[0057] FIG. 4(2) shows the case of FIG. 2(2) where the clock cycle tCK of the input clock signal clk is long and the delay amount is small. In this case, conventionally, the locking operation is performed after the DLL reset, and the N value detection operation is performed at the end. However, since the delay amount is small, the locking operation is short, corresponding to the delay amount "20" from "4" to "24". In contrast, in this embodiment, the N value detection operation is repeated twice, the first provisional N value and the second provisional N value are detected, and then the locking operation is continued until the reference delay amount becomes "4" to "24" as the initial delay amount. In this case, the locking time is also the time corresponding to the delay amount "20", and the time required for the locking operation is the same as in the conventional case. Note that, as the entire sequence, in this embodiment, the required period is longer than in the conventional case by the amount of the second N value detection operation because the N value detection operation is performed twice, but since the time required for the locking operation is short, there is no problem in that the entire sequence does not exceed the predetermined period (tDLLK).
[0058] As described above, in this embodiment, the N value detection unit 20 performs the N value detection operation multiple times before the locking operation to detect multiple provisional N values, and the DLL control unit 13 can set the initial delay amount in the locking operation to an appropriately large amount in advance in accordance with the multiple provisional N values, thereby making it possible to shorten the locking time.
[0059] The configuration of the N-value detection unit 20 will be described in detail below with reference to FIG.
[0060] The N value detection section 20 includes an n_clk signal generation section 21, an N value count section 22, an N value determination section 23, and a start signal generation section 24. First, the start signal generation section 24 will be described.
[0061] The start signal generating unit 24 includes a first start signal generating unit 243 including flip-flop (D-FF) circuits 241 and 242, and a second start signal generating unit 248 including a latch circuit 244 and flip-flop (D-FF) circuits 245 to 247. The first start signal generating unit 243 generates a start signal n_1st_start indicating the timing to start a first N-value detection operation at a rising edge changing from negate (low level) to assert (high level). The second start signal generating unit 248 generates a start signal n_2nd_start indicating the timing to start a second N-value detection operation at a rising edge changing from negate (low level) to assert (high level).
[0062] In the first start signal generation unit 243, an input clock signal clk is input as a clock signal to each of the D-FF circuits 241 and 242. A control signal dll_reset_n is input as an input signal to the D-FF circuit 241, and an output signal from the upstream D-FF circuit 241 is input as an input signal to the D-FF circuit 242. The control signal dll_reset_n is also input to each of the D-FF circuits 241 and 242. In the first start signal generation unit 243, when the control signal dll_reset_n is input at a high level, a start signal n_1st_start is generated at a high level by the D-FF circuits 241 and 242 in synchronization with the input clock signal clk.
[0063] In the second start signal generating unit 248, the start signal n_1st_start and the signal n_end are input to the latch circuit 244. When the signal n_end is asserted, it means that the feedback signal fb_clk has been output, that is, the N-value detection operation is ended. The output signal of the latch circuit 244 is input to the D-FF circuit 245. The input clock signal clk is input to each of the D-FF circuits 245 to 247 as a clock signal. Note that the D-FF circuits 245 to 247 are a plurality of D-FF circuits connected in series, but in FIG. 5, some of them are omitted and only the D-FF circuits 244 to 247 are shown. In addition, the outputs from the upstream D-FF circuits 245 and 246 are input to the D-FF circuits 246 and 247, respectively.
[0064] In the second start signal generating unit 248, when the signal n_end becomes high level, the held start signal n_1st_start is output from the latch circuit 244, input sequentially to the D-FF circuits 245 to 247, and output as the start signal n_2nd_start after a predetermined time in synchronization with the input clock signal clk. That is, when the signal n_end is input at a high level, the start signal n_2nd_start becomes high level, which means that it is the timing to start the second N value detection operation after a predetermined time. Here, the reason for the predetermined time being after that is to change the control signal dll_code and prevent the second N value detection operation from starting until the delay line is changed in the delay line unit 14.
[0065] The n_clk signal generating unit 21 includes first to third one-shot circuits 211 to 213, a NOR circuit 214, a flip-flop circuit 215, a first latch circuit 216, and a first AND circuit 217. The N value counting unit 22 includes two D-flip-flop (D-FF) circuits 221 and 222, a second AND circuit 223, a second latch circuit 224, a third AND circuit 225, a fourth AND circuit 226, a first 4-bit counter 227, a fifth AND circuit 228, and a second 4-bit counter 229.
[0066] The n_clk signal generating unit 21 generates a signal n_clk having a pulse corresponding to the input clock signal clk only during N-value detection operation. In the n_clk signal generating unit 21, a start signal n_1st_start is input to a first one-shot circuit 211, and a start signal n_2nd_start is input to a second one-shot circuit 212. The outputs of these signals are input to a NOR circuit 214.
[0067] The signal output from the NOR circuit 214 and the signal output from the third one-shot circuit 213 are input to a flip-flop circuit 215 to generate a control signal n_enable. When the control signal n_enable is at a high level, it means that the N value detection operation is possible. The generated control signal n_enable is input to a first latch circuit 216, and the input clock signal clk is input to the first latch circuit 216 as a clock signal. The signal output from the first latch circuit 216 is input to a first AND circuit 217 together with the input clock signal clk, and the first AND circuit 217 outputs a signal n_clk.
[0068] During the N value detection operation, the N value counting unit 22 detects a provisional N value by counting the number of clock cycles of the input clock signal clk from when the input clock signal clk is input until when the feedback signal fb_clk is generated. In the N value counting unit 22, the signal n_clk and the control signal n_enable are input to the first D-FF 221, and a signal n_start is generated. Also, the feedback signal fb_clk corresponding to the delayed signal dll_clk and the control signal n_enable are input to the second D-FF 222, and a signal n_end is generated. The signal n_start becomes high level when the N value detection operation starts, and the signal n_end is generated at high level when the N value detection operation ends.
[0069] The signals n_start and n_end are input to the second AND circuit 223, and the output is input to the second latch circuit 224. The signal n_clk is further input to the second latch circuit 224 as a clock signal. The output from the second latch circuit 224 and the signal n_clk are input to the third AND circuit 225, which outputs a signal count_clk that is a signal for counting the N value. The number of pulses included in the signal count_clk corresponds to the provisional N value. The signal count_clk is input to the fourth AND circuit 226. The start signal n_1st_start is also input to the fourth AND circuit 226, and an AND operation is performed. As a result, a clock signal having a pulse corresponding to the provisional N value in the first N value detection operation is input from the fourth AND circuit 226 to the first 4-bit counter 227. The first 4-bit counter 227 counts the pulses of the input signal to detect the provisional N value in the first N value detection operation. The first 4-bit counter 227 outputs a first temporary N-value signal N1st indicating a first temporary N-value that is a temporary N-value in the first N-value detection operation.
[0070] The signal count_clk is also input to a fifth AND circuit 228. A start signal n_2nd_start is also input to the fifth AND circuit 228, and an AND operation is performed. As a result, a clock signal having a pulse corresponding to the provisional N value in the second N value detection operation is input to a second 4-bit counter 229. The second 4-bit counter 229 counts the pulses of the input signal to detect the provisional N value in the second N value detection operation. The second 4-bit counter 229 outputs a second provisional N value signal N2nd indicating a second provisional N value, which is the provisional N value in the second N value detection operation.
[0071] The first temporary N-value signal N1st and the second temporary N-value signal N2nd are respectively input to the DLL control unit 13. The first 4-bit counter 227 and the second 4-bit counter 229 may be configured such that their values are reset to an initial value (e.g., 0) when the control signal dll_reset_n is input at a low level, and that they start counting anew when the control signal dll_reset_n is input at a high level.
[0072] In this way, the N-value counting unit 22 performs an N-value detection operation by counting the number of clock cycles (number of pulses) of the signal count_clk between the input of the signal n_clk corresponding to the input clock signal clk and the input of the feedback signal fb_clk corresponding to the delayed signal dll_clk as the number of delayed clock cycles.
[0073] The first provisional N-value signal N1st and the second provisional N-value signal N2nd are also input to the N-value determination unit 23. The N-value determination unit 23 includes a comparator 231 and an adder 232, and the first provisional N-value signal N1st and the second provisional N-value signal N2nd are input to the comparator 231. In the comparator 231, if the first provisional N-value signal N1st and the second provisional N-value signal N2nd are identical, the signal comp_out output from the comparator 231 becomes high level, and if these input signals are different, the signal comp_out output from the comparator 231 becomes low level. The signal comp_out is input to the adder 232. The second provisional N-value signal N2nd is also input to the adder 232, and the second provisional N-value signal N2nd is added to the signal comp_out to output the N-value signal Nfin. That is, in the N value determination unit 23, when the first provisional N value and the second provisional N value are equal, the second provisional N value is added with "1" to obtain the N value for the second provisional N value signal N2nd, and when the first provisional N value and the second provisional N value are different, the second provisional N value is output as the N value. The output N value signal Nfin is input to the latency counter 30.
[0074] In this way, the N value determination unit 23 can determine and output the N value based on the first provisional N value and the second provisional N value without the DLL circuit 10 needing to detect the N value. In this case, in this embodiment, the N value detection operation is performed multiple times, the delay amount is changed based on the multiple provisional N values detected in each N value detection operation, and the N value detection operation is performed multiple times with this changed delay amount, making it possible to set a preferable delay amount. Furthermore, when the N values detected by the multiple N value detection operations are equal, it is possible to set a more preferable delay amount by setting an initial delay amount in the locking operation according to the provisional N value detected in the last N value detection operation. Furthermore, when the N values detected by the multiple N value detection operations are different, it is possible to set a more preferable delay amount by setting an initial delay amount in the locking operation according to the provisional N value detected in the last N value detection operation.
[0075] Returning to FIG. 1, the latency counter 30 counts the latency in synchronization with the internal clock generated by the DLL circuit 10. The latency counter 30 also counts the latency using an N-value signal Nfin indicating the N-value detected by the N-value detection unit 20. For example, in the case of CAS (Column Address Strobe) latency, the set latency is the number of clock cycles indicating the period from when a command (e.g., a read command) is input to a semiconductor memory device (here, a DRAM) until data (e.g., read data) is output from the semiconductor memory device. In this case, when a reset signal is input to the DLL circuit 10, the latency counter 30 counts, for example, the CAS latency value set in a mode register (not shown) minus the N-value. To give a specific example, when the CAS latency value is 10 and the N-value is 1, the latency counter 30 counts only 9 clock cycles, which is the subtraction result. The N value detection unit 20 may constantly output the N value signal Nfin to the latency counter 30, or may output the N value signal Nfin to the latency counter 30 when the N value detection state ends. The latency counter 30 counts the latency using the N value signal Nfin after a predetermined period (tDLLK) has elapsed, so that if the N value is input from the N value detection unit 20 before the predetermined period (tDLLK) has elapsed, the latency counter 30 can appropriately count the latency.
[0076] The control by the control circuit of this embodiment will be described with reference to the timing chart shown in Fig. 6. In the timing chart shown in Fig. 6, a reset start signal (not shown) is input at time t21 to start the DLL reset state, and the DLL reset state ends at time t22. This causes the N value detection unit 20 to start a first N value detection operation. At this time, the DLL control unit 13 sets the control signal dll_code to the reference delay amount of "4".
[0077] At time t22, the reset signal dll_reset_n is asserted (high level), and immediately (at time t23) a start signal n_1st_start is generated at high level in the N value detection unit 20. Note that, although the first N value detection operation actually starts from time t23, in reality, time t23 is immediately after time t22, so in this embodiment, it is assumed that the N value detection operation starts from time t22.
[0078] This start signal n_1st_start generated at a high level is input to the first one-shot circuit 211 of the n_clk signal generating unit 21. Furthermore, the start signal n_2nd_start is input at a low level to the second one-shot circuit 212. Furthermore, the signal n_end is input at a low level to the third one-shot circuit 213. As a result, from time t23, the control signal n_enable output from the flip-flop circuit 215 is generated at a high level. As a result of the control signal n_enable being generated at a high level, from time t24, a signal n_clk is generated, which is a clock signal generated only during the N-value detection operation.
[0079] In the N-value counting section 22, the control signal n_enable is input at a high level at time t23, and therefore a signal n_start (not shown in FIG. 6) is generated at a high level in response to the input of the signal n_clk after time t24. On the other hand, at the time t23, the feedback signal fb_clk, which is the fed-back clock signal, is input at a low level to the second D-FF 222, and therefore the signal n_end is also generated at a low level. As a result of the N-value counting section 22 generating the signal n_start at a high level and the signal n_end at a low level in this way, a pulse of the signal count_clk, which is a clock signal having a pulse corresponding to the N value, is output at time t25.
[0080] The signal count_clk is input to a fourth AND circuit 226 and a fifth AND circuit 228. Since the start signal n_1st_start is also input at a high level to the fourth AND circuit 226, the signal count_clk passes through the pulse due to an AND operation and is input to the first 4-bit counter 227. The first 4-bit counter 227 increments the value of the first provisional N-value signal N1st every time a pulse of the signal count_clk is input, and outputs the first provisional N-value signal N1st. In the present embodiment of FIG. 6, in the first N-value detection operation, the first provisional N-value signal N1st becomes "1".
[0081] On the other hand, since the start signal n_2nd_start remains input at a low level to the fifth AND circuit 228, the second temporary N-value signal N2nd maintains “0.” The first temporary N-value signal N1st and the second temporary N-value signal N2nd are input to the DLL control unit 13.
[0082] Since the first temporary N value signal N1st is set to "1", the DLL control unit 13 starts setting the control signal dll_code to the delay amount of "34" according to the table shown in Fig. 3(1). The control signal dll_code is set to the delay amount of "34" at time t28.
[0083] On the other hand, as a result of the pulse of the feedback signal fb_clk, which is a delayed version of the signal n_clk, being output from time t26, the signal n_end in the N-value counting unit 22 goes from low level to high level at time t26, and as a result, the control signal n_enable in the n_clk signal generating unit 21 is negated (low level) from time t26. As the signal n_end goes from low level to high level, the start signal n_2nd_start is asserted in the second start signal generating unit 248 at time t29, which is a predetermined time after the rising edge of this signal n_end. Also, as the control signal n_enable goes low level at time t26, the signal n_end in the second D-FF 222 also goes low level at time t27. As a result, the N-value detecting unit 20 starts the second N-value detecting operation after time t29.
[0084] The N value detection operation is performed in the same manner as the first N value detection operation, except that the start signal n_2nd_start is input at a high level, and the first temporary N value signal N1st is maintained at "1." The second temporary N value signal N2nd is also detected to be "1." The first temporary N value signal N1st and the second temporary N value signal N2nd are input to the DLL control unit 13.
[0085] The DLL control unit 13 sets the initial delay amount during the locking operation to "34" using the table data shown in FIG. 3(2) from the first provisional N value signal N1st and the second provisional N value signal N2nd.
[0086] The first temporary N-value signal N1st and the second temporary N-value signal N2nd are also input to the N-value determining section 23, and because these values are the same in the comparator 231, the signal comp_out outputs 1. Then, the adder 232 receives the signal comp_out indicating "1" and the second temporary N-value signal N2nd indicating "1" and adds them together, resulting in the N-value signal Nfin becoming "2".
[0087] When the signal lock_start is input as asserted (high level) from time t30 to start the locking operation, the DLL control unit 13 inputs a control signal dll_code, which sets the initial delay amount during the locking operation to "34", to the delay line unit 14. This causes the delay line unit 14 to start the delay amount from "34" instead of the reference delay amount of "4". The DLL control unit 13 performs the locking operation while performing feedback control according to the feedback signal fb_clk, and when the delay amount during the locking operation reaches "44", the input clock signal clk (not shown in FIG. 6) and the feedback signal fb_clk are synchronized and the locking operation ends.
[0088] In this manner, in this embodiment, the initial delay amount of the locking operation can be set large according to the clock cycle tCK, so that the execution time of the locking operation is shorter than in the past. By suppressing the lengthening of the locking operation in this manner, it is possible to suppress the lengthening of the execution period of the entire sequence, so that the sequence can be completed within a predetermined period (tDLLK). This allows the DLL circuit 10 to immediately return to DLL control after this sequence.
[0089] (Embodiment 2)
[0090] In the above-described first embodiment, the N value detection operation is performed twice, but in the second embodiment, the N value detection operation is performed twice after the DLL reset and before the lock operation, and if the first tentative N value and the second tentative N value are the same, a third N value detection operation is performed, which is different from the first embodiment. The following mainly describes the differences from the first embodiment.
[0091] Specifically, the description will be given with reference to Figs. 7 to 9. Fig. 9 shows table data held by the DLL control unit 13. As shown in Fig. 9(1), as in the first embodiment, the smaller the provisional N value, the larger the delay amount, and as the number of N value detection operations increases to the second and third times, the delay amount is set to be larger. When the first provisional N value and the second provisional N value are the same, the N value is set based on the second provisional N value and the third provisional N value as shown in Fig. 9(3), and the smaller these values are, the larger the initial delay amount is set. When the first provisional N value and the second provisional N value are different, the N value is set to the reference delay amount as the initial delay amount as shown in Fig. 9(2). This is the same as in the first embodiment.
[0092] As shown in FIG. 7 and FIG. 8, first, in this embodiment, the delay amount of the delay line unit 14 in the first N value detection operation is the reference delay amount of "4". In this state, the N value detection unit 20 performs the N value detection operation, and since the first provisional N value is "0", the DLL control unit 13 sets the delay amount in the second N value detection operation to "34" from the table data shown in FIG. 9(1). Based on this delay amount, the second N value detection operation is performed. Since the second provisional N value is also "0" in the second N value detection operation of the N value detection unit 20, the DLL control unit 13 decides to perform the third N value detection operation. Then, the DLL control unit 13 sets the delay amount in the third N value detection operation to "64" from the table data shown in FIG. 9(1).
[0093] In this embodiment, a third N value detection operation is performed based on this delay amount "64". In the third N value detection operation of the N value detection unit 20, the third tentative N value is "0". The N value detection unit 20 inputs "1" as the N value signal Nfin to the latency counter 30 from these first tentative N value to third tentative N value. In addition, since the first tentative N value and the second tentative N value are equal, the DLL control unit 13 sets the initial delay amount to "64" from the second tentative N value and the third tentative N value based on the table data shown in FIG. 9(3). The locking operation starts from the initial delay amount "64", and when the delay amount becomes "74", the input clock signal and the output clock signal are synchronized, and the locking operation ends.
[0094] In the conventional case, the lock time Tdll is the period between the rising edge of the output clock signal at time t41 during the first N value detection operation and the rising edge of the input clock signal clk at time t44, but in this embodiment, the lock time Tdll is the period between the rising edge of the output clock signal at time t43 during the third N value detection operation and the rising edge of the input clock signal clk at time t44. Therefore, the lock time is significantly shortened. Also, in the case of the first embodiment, the lock time Tdll is the period between the rising edge of the delay signal dll_clk at time t42 during the second N value detection operation and the rising edge of the input clock signal clk at time t44, so in this embodiment, the lock time can be shortened more than in the first embodiment.
[0095] In this embodiment, if the first tentative N value and the second tentative N value are different, the third N value detection operation is not performed. In this case, the DLL control unit 13 sets the initial delay amount to the reference delay amount, as in the first embodiment. That is, in this case, the DLL control unit 13 sets the delay amount based on table data as shown in FIG. 9(2).
[0096] In addition, as shown in FIG. 9(3), when the first provisional N value and the second provisional N value are the same but the second provisional N value and the third provisional N value are different, the delay amount during the locking operation is set to the delay amount during the second N value detection operation.
[0097] In this embodiment, the N value detection unit 20 is configured such that the N value count unit 22 can generate a third provisional N value signal N3rd so that the third N value detection operation can be performed, and the start signal generation unit 24 has a third start signal generation unit. The N value detection unit 20 has an N value determination unit 40 as shown in FIG. 10 instead of the N value determination unit 23. The N value determination unit 40 determines the N value by the N value determination unit 40 including comparators 401 and 402, an adder 403, and a multiplexer 404. The first provisional N value signal N1st and the second provisional N value signal N2nd are input to the comparator 401. In the comparator 401, if these signals are the same, the signal comp_out1 output from the comparator 401 is at a high level, and if the input signals are different, the signal comp_out1 output from the comparator 401 is at a low level. The signal comp_out1 is input to the multiplexer 404.
[0098] Further, the second provisional N-value signal N2nd and the third provisional N-value signal N3rd are input to the comparator 402. In the comparator 402, if these signals are the same, the signal comp_out2 output from the comparator 402 is at high level, and if the input signals are different, the signal comp_out2 output from the comparator 402 is at low level. The signal comp_out2 is input to the adder 403. The third provisional N-value signal N3rd is also input to the adder 403, and the third provisional N-value signal N3rd is added to the signal comp_out2, and the signal is input to the multiplexer 404. That is, if the second provisional N-value and the third provisional N-value are equal, the adder 403 adds 1 to the third provisional N-value and outputs it, and if the second provisional N-value and the third provisional N-value are different, it outputs the third provisional N-value. The output from the adder 403 and the second provisional N-value signal N2nd are input to the multiplexer 404. When the signal comp_out1 indicates 1, the multiplexer 404 outputs the output from the adder 403 as the N-level signal Nfin. When the signal comp_out1 indicates 0, the multiplexer 404 outputs the second temporary N-level signal N2nd as the N-level signal Nfin. The N-level signal Nfin is input to the latency counter 30.
[0099] That is, in this embodiment, if all the provisional N values are the same, the third provisional N value, which is the last detected provisional N value, is added by 1 and used as the N value. If any of the provisional N values is different, the last detected provisional N value is used as the N value. That is, if the first provisional N value and the second provisional N value are different, the second provisional N value is used as the N value, and if the first provisional N value and the second provisional N value are the same but the second provisional N value and the third provisional N value are different, the third provisional N value is used as the N value.
[0100] With this configuration, even in this embodiment, it is possible to obtain the N value while suppressing the prolongation of the locking operation by detecting the provisional N value before the locking operation without detecting the N value after the locking operation. Furthermore, in this embodiment, when the first provisional N value and the second provisional N value are the same, it is possible to set the initial delay amount more appropriately even when the delay amount is large by performing the N value detection operation three times, and it is also possible to set the initial delay amount appropriately even when the delay amount is not so large.
[0101] In this embodiment, when the first provisional N value and the second provisional N value are different, the third N value detection operation is not performed, but the present invention is not limited to this, and the third N value detection operation may be performed even when the first provisional N value and the second provisional N value are different. In this case, however, the third provisional N value detected by the third N value detection operation does not need to be used for determining the N value or the delay amount during the locking operation.
[0102] In the above-mentioned embodiment, the N-value detection operation is performed two or three times, but is not limited to this. It is preferable to perform the N-value detection operation more times because the delay amount can be set finely, but performing the N-value detection operation many times increases the time of the entire sequence, so it is preferable to perform the N-value detection operation two or three times.
[0103] In the above-described embodiment, the reference delay amount is small, and a delay amount larger than the reference delay amount is set according to the provisional N value, but the present invention is not limited to this. It is sufficient if the delay amount can be changed and set according to a plurality of provisional N values. For example, the reference delay amount may be set large, and the delay amount may be subtracted from the reference delay amount according to the provisional N value. In addition, it is not necessary for the DLL control unit 13 to set the initial delay amount, and for example, the delay amount may be changed during the locking operation, but changing the initial delay amount is the most efficient way of suppressing the prolongation of the locking operation.
[0104] In the above embodiment, the semiconductor recording device having the control circuit is a DRAM, but the present invention is not limited to this. For example, the semiconductor memory device may be a static random access memory (SRAM), a flash memory, or another semiconductor memory device.
[0105] The above-described embodiments are described for the purpose of facilitating understanding of the present invention, and are not described for the purpose of limiting the present invention. Therefore, the elements disclosed in the above embodiments are intended to include all design modifications and equivalents that fall within the technical scope of the present invention.
[0106] For example, the configuration of the DLL circuit 10 in the above-described embodiment is an example, and may be changed as appropriate, or various other configurations may be adopted. Also, while Fig. 5 shows the configuration of the N-value detection unit 20, this configuration is also an example, and may be changed as appropriate, or various other configurations may be adopted. [Explanation of symbols]
[0107] 10…DLL circuit 11...Input buffer 12...Phase detection section 13...DLL control unit 14…Delay line section 15…Replica section 16...Output buffer 17...Multiplexer 20...N value detection section 21...n_clk signal generation section 22...N value counting section 23...N value determination section 24...Start signal generation section 30...Latency counter
Claims
1. A control unit that sets an amount of delay; a delay line section that delays an input clock signal based on the delay amount to generate an output clock signal; a detection unit that performs a detection operation to detect a number of delay clock cycles from the input clock signal to the output clock signal, The control unit is a control circuit that changes the delay amount during a delay operation to control the delay line unit so that the input clock signal and the output clock signal are synchronized, the detection unit detects a plurality of numbers of delay clock cycles by performing the detection operation a plurality of times before the delay operation is performed; The control unit sets a delay amount in the detection operation each time the detection operation is performed multiple times, sets the delay amount in the delay operation according to the detected number of delay clock cycles, and sets the delay amount to a larger value as the number of delay clock cycles is smaller.
2. 2. The control circuit according to claim 1, wherein the control section changes an initial delay amount at the start of the delay operation in accordance with a plurality of the numbers of delay clock cycles.
3. 2. The control circuit according to claim 1, wherein the control unit sets the delay amount according to the number of delay clock cycles detected in the previously performed detection operation each time the detection operation is performed.
4. 2. The control circuit according to claim 1, wherein the control section sets a larger amount of delay in the detection operation each time the detection operation is performed.
5. 2. The control circuit according to claim 1, wherein the delay amount according to the number of delay clock cycles is determined in advance in the control unit as a value smaller than a maximum delay amount predicted to be necessary to eliminate a delay of the output clock signal relative to the input clock signal at the number of delay clock cycles.
6. 2. The control circuit according to claim 1, wherein the control unit determines whether the multiple numbers of delay clock cycles detected each time the detection operation is performed are all the same, and if they are all the same, sets the delay amount in the delay operation according to the number of delay clock cycles in the last detection operation.
7. 2. The control circuit according to claim 1, wherein when any of the plurality of delay clock cycle numbers detected each time the detection operation is performed is different, the control unit sets the delay amount in the delay operation according to the delay clock cycle number detected in the detection operation one before the last detection operation among the plurality of detection operations.
8. 2. The control circuit according to claim 1, wherein the control unit performs the detection operation a predetermined number of times, and when the same number of delay clock cycles is detected in all of the detection operations, performs the detection operation one more time, and when the number of delay clock cycles detected in the last detection operation is also the same as the number of delay clock cycles, sets the delay amount in the delay operation according to the number of delay clock cycles detected in the last detection operation.
9. The detection unit is 2. The control circuit of claim 1, further comprising: a latency counter configured to transmit the number of delay clock cycles to the latency counter.
10. 10. The control circuit according to claim 9, wherein the detection unit inputs to the latency counter a number of delay clock cycles that is one more than the number of delay clock cycles detected in a last detection operation among the plurality of detection operations if the plurality of numbers of delay clock cycles detected based on the delay amount set according to the number of delay clock cycles detected each time the detection operation is performed are all the same.
11. 10. The control circuit according to claim 9, wherein the detection unit inputs the delay clock cycle number detected in a last detection operation of the plurality of detection operations to the latency counter when any of the plurality of delay clock cycle numbers detected based on the delay amount set according to the delay clock cycle number is different each time the detection operation is performed.
12. 2. The control circuit according to claim 1, wherein the control circuit does not perform the detection operation after the delay operation.
13. 2. A semiconductor memory device comprising the control circuit according to claim 1.
14. 14. The semiconductor memory device according to claim 13, wherein the semiconductor memory device is a dynamic random access memory.
15. A control unit that sets an amount of delay; a delay line section that delays an input clock signal based on the delay amount to generate an output clock signal; a detection unit that performs a detection operation to detect a number of delay clock cycles from the input clock signal to the output clock signal, The control unit is a control circuit that changes the delay amount during a delay operation to control the delay line unit so that the input clock signal and the output clock signal are synchronized, the detection unit detects a plurality of numbers of delay clock cycles by performing the detection operation a plurality of times before the delay operation is performed; the control unit sets a delay amount in the detection operation each time the detection operation is performed a plurality of times, and sets the delay amount in the delay operation in accordance with the detected number of delay clock cycles; A control circuit characterized in that the delay amount corresponding to the number of delay clock cycles is determined in advance in the control unit as a value smaller than a maximum delay amount predicted to be necessary to eliminate a delay of the output clock signal relative to the input clock signal at the number of delay clock cycles.
16. A control unit that sets an amount of delay; a delay line section that delays an input clock signal based on the delay amount to generate an output clock signal; a detection unit that performs a detection operation to detect a number of delay clock cycles from the input clock signal to the output clock signal, The control unit is a control circuit that changes the delay amount during a delay operation to control the delay line unit so that the input clock signal and the output clock signal are synchronized, the detection unit detects a plurality of numbers of delay clock cycles by performing the detection operation a plurality of times before the delay operation is performed; the control unit sets a delay amount in the detection operation each time the detection operation is performed a plurality of times, and sets the delay amount in the delay operation in accordance with the detected number of delay clock cycles; The control unit determines whether the multiple numbers of delay clock cycles detected each time the detection operation is performed are all the same, and if they are all the same, sets the delay amount in the delay operation according to the number of delay clock cycles in the last detection operation.
Citation Information
Patent Citations
Reproduction clock generation circuit of information signal, and information recording reproduction apparatus using it
JP2005339597A
Semiconductor device
JP2013222997A
Semiconductor device
JP2014212365A
Semiconductor device
JP2015035241A
