Embodiments described herein relate generally to a timing measuring circuit.
In a semiconductor integrated circuit, variations in operation timing occur due to manufacturing variations. To deal with the case where there is no margin in timing specifications of a semiconductor integrated circuit, there is a semiconductor integrated circuit in which a test circuit such as an inverter chain is embedded so that a timing adjustment is made by blowing a fuse according to a delay time of the test circuit.
In general, according to one embodiment, a timing measuring circuit is provided with N (N is an integer of 2 or more) delay circuits and a comparison circuit. The N delay circuits delay a reference signal by different delay times. The comparison circuit outputs N timing adjustment values based on results of comparison between the reference signal and N output signals from the delay circuits.
Exemplary embodiments of a timing measuring circuit will be explained below in detail with reference to the accompanying drawings. In addition, the present invention is not limited to the following embodiments.
Referring to
The NAND controller 5 can perform drive control on the NAND memory 9. Drive control on the NAND memory 9 includes reading/writing control on the NAND memory 9, block selection, error correction, wear leveling, and the like. The NAND controller 5 is given an external clock CLK, and the NAND controller 5 can operate according to the external clock CLK. The NAND controller 5 and the NAND memory 9 are included in a package 3, and the package 3 is provided with an interface 4 that communicates with the host 1. In addition, the package 3 may constitute a memory card, or may constitute a multi-media card such as an eMMC. Signals exchanged in the NAND controller 5 include data signals, data strobe signals, read enable signals, write enable signals, chip enable signals, command latch enable signals, address latch enable signals, write-protect signals, and ready/busy signals.
The NAND controller 5 is provided with a starting circuit 6, a timing measuring circuit 7, and a timing adjusting circuit 8. The starting circuit 6 is capable of starting the timing measuring circuit 7. The starting circuit 6 may be configured to start the timing measuring circuit 7 at startup of the NAND controller 5 or start the timing measuring circuit 7 on a regular basis at startup of the NAND controller 5. The timing measuring circuit 7 can output timing adjustment values Q1 and Q2 according to variations in timing occurring at the NAND controller 5. The timing measuring circuit 7 may generate the timing adjustment values Q1 and Q2 based on a delay time of the external clock CLK. The timing adjusting circuit 8 can make timing adjustments such that signals treated by the NAND controller 5 fall within timing specifications. For example, the timing adjusting circuit 8 can make timing adjustments such that setup time and hold time of data signals fall within the timing specifications.
Then, a signal output from the host 1 is input into the NAND controller 5 via the interfaces 2 and 4. At that time, the timing adjusting circuit 8 makes a timing adjustment to the signal output from the host 1 and then the NAND controller 5 sends the signal to the NAND memory 9.
When the timing measuring circuit 7 is started by the starting circuit 6, the timing measuring circuit 7 measures delay times of the external clock CLK to determine variations in timing of the signal output from the host 1, and outputs the timing adjustment values Q1 and Q2 to the timing adjusting circuit 8. Then, the timing adjusting circuit 8 adjusts the delay time of the signal exchanged in the NAND controller 5 based on the timing adjustment signals Q1 and Q2, thereby adjusting the timing of the signal exchanged in the NAND controller 5.
By making timing adjustments at the timing adjusting circuit 8, even when variations occur in operation timing due to manufacturing variations of the NAND controller 5, it is possible to increase a margin of timing specifications of the NAND controller 5.
In addition, by making timing measurements at the timing measuring circuit, there is no need to measure timing characteristics by a test circuit such as an inverter chain included in the NAND controller and blow a fuse according to results of the measurement by the test circuit. This eliminates the need to include a fuse in the NAND controller 5, which makes it possible to reduce the chip size and save the effort of measuring timing characteristics by a test circuit and blowing a fuse.
In addition, by inputting the external clock CLK input into the NAND controller 5 as a reference signal into the timing measuring circuit 7, it is possible to use a previously-installed clock terminal without providing a new test-dedicated terminal.
Incidentally, in the foregoing embodiment, it has been described a configuration that the external clock CLK input into the NAND controller 5 is input as a reference signal into the timing measuring circuit 7. Alternatively, the host clock HCLK input into the host 1 may be input as a reference signal into the timing measuring circuit 7.
In addition, in the foregoing embodiment, it has been described a configuration that the timing measuring circuit 7 and the timing adjusting circuit 8 are included in the NAND controller 5. Alternatively, the timing measuring circuit 7 and the timing adjusting circuit 8 may be included in a semiconductor integrated circuit other than the NAND controller 5.
Referring to
The comparison circuit 7C can output two timing adjustment values Q1 and Q2, based on results of comparison between the external clock CLK and two output signals D1 and D2 from the delay circuits 7A and 7B. The comparison circuit 7C is provided with flip-flops F1 and F2 corresponding to the delay circuits 7A and 7B, respectively. Each of the flip-flops F1 and F2 includes a data input terminal D, a clock terminal CK, and an output terminal Q.
Then, the external clock CLK is input as an input signal D_IN to the delay circuits 7A and 7B. Subsequently, the output signals D1 and D2 from the delay circuits 7A and 7B are input into the data input terminals D of the flip-flops F1 and F2, respectively. In addition, the external clock CLK is also input as an input signal D_IN to the clock terminals CK of the flip-flops F1 and F2 via an inverter V21. Incidentally, the inverter V21 can set a drive power such that no delay occurs in the input signal D_IN.
The manufacturing variations occur in the same manner on the same semiconductor substrate. Accordingly, the transistor constituting the delay circuits 7A and 7B and the transistor constituting other circuits of the NAND controller 5 formed on the same semiconductor substrate as that of the delay circuits 7A and 7B are under the same condition out of the center condition CC, fast condition LL, and slow condition HH. By measuring delay times of the delay circuits 7A and 7B, it is possible to know under which condition the transistor in the NAND controller 5 is.
Referring to
Referring to
Referring to
Referring to
Incidentally, in the foregoing embodiment, it has been specifically described a configuration that the two delay circuits 7A and 7B are provided to delay the external clock CLK with different delay times, and the comparison circuit 7C is provided to output the two timing adjustment values Q1 and Q2 based on results of comparison between the external clock CLK and the two output signals D1 and D2 from the delay circuits 7A and 7B. In general, N (N is an integer of 1 or more) delay circuit(s) may be provided to delay the external clock CLK with different delay times, and a comparison circuit may be provided to output N timing adjustment values based on results of comparison between the external clock CLK and N output signals from the delay circuits.
Referring to
Here, by providing the frequency dividing circuit 10, even when the frequency of the external clock CLK is high, it is possible to avoid that the times TC1, TL1, TH1, TC2, TL2, and TH2 become extremely short and prevent false operations of the flip-flops F1 and F2.
Referring to
Referring to
The oscillation frequency of the internal clock CLI can be set arbitrarily and separately from the external clock CLK. For example, the frequency of the external clock CLK can be set to 100 MHz, and the frequency of the internal clock CLI can be set to 1 MHz. Accordingly, by using the internal clock CLI as a reference signal of the timing measuring circuit 7, it is possible to set properly the times TC1, TL1, TH1, TC2, TL2, and TH2, and operate properly the flip-flops F1 and F2.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
This application is based upon and claims the benefit of priority from Provisional Patent Application No. 61/949749, filed on Mar. 7, 2014; the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61949749 | Mar 2014 | US |