1. Technical Field
The present invention relates generally to memory circuits, and more particularly to an in-circuit ring oscillator and method for evaluating circuit performance.
2. Description of the Related Art
Timing of the various paths in a high-speed digital logic circuit has always been a necessity. However, with today's processor cycle frequencies reaching well above 4 GHz and with other logic circuits operating in the range of 5-10 GHz, the determination of variation and absolute delay of logic paths has become increasingly challenging.
High-speed digital circuits have been evaluated using ring oscillator circuits that duplicate a critical path with added feedback of the output to the input, providing a ring configuration. The test circuit is usually only implemented in non-production devices, or in production wafers either on the kerf, or the edge of the dies. The frequency at which the ring oscillator operates indicates the delay of the circuit. However, since such ring oscillator circuits are not the actual circuit, various factors reduce the accuracy of the ring oscillator test results. The test circuit may not completely duplicate the full circuit environment of the actual circuit, in that loading of circuits branching away from the critical path may be simulated by dummy loads rather than the actual branch paths. Further, the operating environment of the actual circuit will not be simulated in a test circuit. The environmental factors that are not duplicated include noise, thermal variation and signal coupling. For example, operation of the ring oscillator will typically result in a higher level of power dissipation and therefore higher temperature in contrast to normal operation, in which the path being simulated is not typically operating continuously.
It is therefore desirable to provide a ring oscillator circuit and method for evaluating a high-speed digital circuit design under conditions closely approximating actual operating conditions by using the actual logic circuit. It is further desirable to provide such a ring oscillator circuit and method that introduce a minimum of variation from the actual digital circuit design.
The objective of evaluating digital circuit designs under actual operating conditions is accomplished in a circuit that includes one or more selectable functional logic paths of a production die in a ring oscillator and a method of operation of the circuit.
The circuit is a ring oscillator formed by connecting an input of a functional digital logic block to an output of the functional digital logic block by a selection circuit that receives a test mode control signal. The control signal selects between ring oscillator operation and functional operation of the functional digital logic block by coupling the output of the functional digital logic block to an input of the digital logic block when a test mode is selected, and alternatively selecting a functional input signal when the test mode is not selected. The selector may further select from among multiple outputs of the digital logic block and/or may select from among multiple inputs of the functional digital logic block in response to further selection signals, so that multiple paths can be tested, e.g., the critical path (longest delay), the shortest path, and other circuit paths of interest. In order to support oscillation, other inputs of the functional digital logic block are set to predetermined values, either by a dedicated hardware circuit, or by existing circuit paths such as external inputs or boundary latches.
A monitoring circuit may be included to simplify measurement of the ring oscillator output. The circuit may include a pre-scaling divider to reduce the frequency of the oscillator and may also include an in-circuit counter to count oscillations. Alternatively, or provided additionally as a selectable monitoring circuit, a delay comparison circuit may be included that determines a difference between a calibrated delay and the actual delay of the critical path.
The foregoing and other objectives, features, and advantages of the invention will be apparent from the following, more particular, description of the preferred embodiment of the invention, as illustrated in the accompanying drawings.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives, and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein like reference numerals indicate like components, and:
The present invention concerns a ring oscillator circuit for evaluating performance of a digital logic circuit, by using a signal path within a functional digital logic block to form a ring oscillator when the digital logic circuit is placed in a test mode. The input and output combination used to provide the ring oscillator test may be made selectable and the other inputs are forced to a predetermined set of logic values, so that the combination of the selected path and the other fixed inputs guarantees oscillation around the ring formed by the selected logic path. The logic may be clocked logic, or all registers in the path or in the functional block (or just in the selected path) may be rendered transparent so that any functional clock does not impede the oscillation around the path. By measuring characteristics of the oscillation such as the frequency of oscillation, relative frequency with respect to a functional clock or the phase of the oscillation with respect to the functional clock, the delay of the selected path may be determined. In general, it is desirable to measure the shortest delay to ensure that signals do not arrive and disappear too early, and the longest delay or “critical path”, which generally determines the minimum operating period/maximum performance for the circuit.
With reference now to the figures, and in particular with reference to
The input/output combination(s) used to form the ring oscillator, as well as the predetermined logic values to impose at the other inputs of functional logic block 10 is determined from a logical analysis so that the condition of oscillation is supported: the selected path through functional logic block 10 must yield a net inversion when the other inputs are set to the their corresponding predetermined logic values. Timing analysis may also be performed to determine the “critical” and shortest timing path, or those paths may be discovered through the mechanism of the present invention. An optional monitoring circuit 14 may be included within the digital circuit of the depicted embodiment, for pre-processing and/or extracting timing information from the ring oscillator signal.
Referring now to
Referring now to
Referring now to
A calibration circuit is included that provides a calibration ring oscillator consisting of calibration inverter string 55 and latch 56, which is clocked by clock signal clk. A calibrate signal causes multiplexer 54 to select the output of the calibration ring oscillator (which is a circuit having a single synchronous element: latch 56), when the calibration mode is selected. A comparison of the pulse width at the output of edge detector 58 between calibration mode (calibrate signal asserted) and test mode (calibrate signal de-asserted) provides a measure of the delay of the selected through functional logic block 10 given a known delay of calibration inverter string 55 and latch 56, and programmable delay 57 can be adjusted in accordance with measured results to further calibrate the pulse width measurement for both the calibrate and test modes for external measurement.
Referring now to
A workstation computer 38, having a processor 36 coupled to a memory 37, for executing program instructions from memory 37, wherein the program instructions include program instructions for providing control inputs to and taking measurements of the outputs of circuits within wafer 32. Workstation computer 38 includes an optical drive 40 for reading optical media 42 that includes computer program products comprising program instructions for carrying out methods in accordance with embodiments of the present invention. Workstation computer 38 is coupled to wafer tester 30 for controlling the measurements and collecting data, such as the above described pulse width and/or frequency measurement data. The data produced by embodiments of the present invention are collected from multiple tests of functional logic blocks 10. Data from ring oscillator tests as performed in accordance with embodiments of the invention are transferred to workstation computer 38 via wafer tester 30 and stored in memory 37 and/or other media storage such as a hard disk. Workstation computer 38 is also coupled to a graphical display 39 for displaying program output such as the results of memory tests described hereinafter. Workstation computer 38 is further coupled to input devices such as a mouse 35 and a keyboard 34 for receiving user input. Workstation computer may be coupled to a public network such as the Internet, or may be a private network such as the various “intra-nets” and software containing program instructions for analyzing data produced by methods and circuits in accordance with embodiments of the present invention may be located on remote computers or locally within workstation computer 38. Further, workstation computer 38 may be coupled to wafer tester by such a network connection.
While the system of
While the invention has been particularly shown and described with reference to the preferred embodiment thereof, it will be understood by those skilled in the art that the foregoing and other changes in form, and details may be made therein without departing from the spirit and scope of the invention.
This invention was made with Government support under DARPA, NBCH3039004. THE GOVERNMENT HAS CERTAIN RIGHTS IN THIS INVENTION.
Number | Name | Date | Kind |
---|---|---|---|
3717868 | Crawford et al. | Feb 1973 | A |
4165444 | Gordon | Aug 1979 | A |
5329188 | Sikkink et al. | Jul 1994 | A |
5485104 | Agrawal et al. | Jan 1996 | A |
5870404 | Ferraiolo et al. | Feb 1999 | A |
6185706 | Sugasawara | Feb 2001 | B1 |
6188293 | Miyagi et al. | Feb 2001 | B1 |
6435737 | Wise et al. | Aug 2002 | B1 |
6535735 | Underbrink et al. | Mar 2003 | B2 |
6538522 | Aipperspach et al. | Mar 2003 | B1 |
6658632 | Parulkar et al. | Dec 2003 | B1 |
6701476 | Pouya et al. | Mar 2004 | B2 |
6909301 | Korson et al. | Jun 2005 | B2 |
6924679 | Seno et al. | Aug 2005 | B2 |
6958659 | Nakajima | Oct 2005 | B2 |
7046094 | Belluomini et al. | May 2006 | B2 |
7071736 | Wikstrom | Jul 2006 | B2 |
7107558 | Tetelbaum et al. | Sep 2006 | B2 |
7190233 | Bhushan et al. | Mar 2007 | B2 |
7265590 | Seki et al. | Sep 2007 | B2 |
7411436 | Fang et al. | Aug 2008 | B2 |
20020112213 | Abadir et al. | Aug 2002 | A1 |
20020135343 | Underbrink et al. | Sep 2002 | A1 |
20040130372 | Seki et al. | Jul 2004 | A1 |
20050022145 | Tetelbaum et al. | Jan 2005 | A1 |
20060226918 | Belitzer et al. | Oct 2006 | A1 |
Number | Date | Country |
---|---|---|
04264290 | Sep 1992 | JP |
Number | Date | Country | |
---|---|---|---|
20080115019 A1 | May 2008 | US |