WO2014039226A1 - Test solution for ring oscillators - Google Patents

Test solution for ring oscillators Download PDF

Info

Publication number
WO2014039226A1
WO2014039226A1 PCT/US2013/055176 US2013055176W WO2014039226A1 WO 2014039226 A1 WO2014039226 A1 WO 2014039226A1 US 2013055176 W US2013055176 W US 2013055176W WO 2014039226 A1 WO2014039226 A1 WO 2014039226A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
ring oscillator
ring
chain
output
Prior art date
Application number
PCT/US2013/055176
Other languages
French (fr)
Inventor
Chinsong Sul
Hyukyong KWON
Andy NG
Original Assignee
Silicon Image, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Silicon Image, Inc. filed Critical Silicon Image, Inc.
Priority to EP13835091.3A priority Critical patent/EP2893639A4/en
Priority to JP2015531099A priority patent/JP2015534673A/en
Priority to CN201380046554.9A priority patent/CN104604131A/en
Priority to KR1020157008839A priority patent/KR20150054899A/en
Publication of WO2014039226A1 publication Critical patent/WO2014039226A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/027Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
    • H03K3/03Astable circuits
    • H03K3/0315Ring oscillators
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • G01R31/2884Testing of integrated circuits [IC] using dedicated test connectors, test elements or test circuits on the IC under test
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318502Test of Combinational circuits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/31708Analysis of signal quality
    • G01R31/31709Jitter measurements; Jitter generators

Definitions

  • Embodiments of the present invention relate to the field of ring oscillators; more particularly, embodiments of the present invention relate to testing of multiple ring oscillators, such as may be employed in a random number generator for secret key generation in high- definition content protection (HDCP).
  • HDCP high- definition content protection
  • Randomness is found a critical role in cryptography for ensuring security of data transmission.
  • metastability of flip-flop or a clock jitter is used as a source of randomness.
  • Many of the implementations employ ring oscillators as a clock.
  • a large number of ring oscillators are often employed to maintain a required level of randomness.
  • Figure 1 illustrates a simplified view of data encryption in HDCP.
  • secret key 101 is constructed from a random number generated from True Random Number Generator (TRNG) 102.
  • TRNG True Random Number Generator
  • the random number is used to calculate the secret keys both at the source and the sink.
  • the random number is generated first from the source and the secret key is computed.
  • the random number can be transmitted to the sink so that it can calculate its own secret key.
  • the source encrypts the video stream, video data 110, using the secret key via the XOR operation 120 and encrypted video stream 111 is transmitted to the sink.
  • the sink uses its own secret key to decrypt the received encrypted video stream 111.
  • TRNG 102 employs a large number of ring oscillators to generate the random number.
  • Figure 2 illustrates an example of a TRNG.
  • ring oscillators (ROs) 201i- are the odd number of inverters 210 connected back-to-back through the combinational feedback as shown.
  • the outputs of ring oscillators 201 i_ are combined using XOR logic 202 and the output of XOR logic is connected to flip-flop 203.
  • the sampling clock F s is provided to capture a stream of the output of XOR logic 202 in order to obtain the random numbers.
  • ring oscillators 201 i_ Due to an inherent combinational feedback in ring oscillators 201 i_ , testing of each of ring oscillators 201i_ using the economical structural tests such as the stuck- at test can be difficult. Often, ring oscillators 201 1 _N are functionally tested one at a time in isolation. Such conventional ring oscillator tests can involve observation of the ring oscillator output directly at the tester or employment of some on-chip counters to detect the oscillation produced by the ring oscillator under test. Testing the output of ring oscillator at the tester may be costly due to asynchronous nature of ring oscillator and inefficient test access. The test method employing the on-chip counters may suffer from hardware and test time overhead due to a test setup of each individual ring oscillator.
  • cost of the functional test can be substantial if a number of ring oscillators is large and is increasing. It is critical to provide low cost test solutions that are not cost sensitive to the increase in problem size, i.e. the number of employed ring oscillators, especially when the price of commercial ICs is continuously under the pressure but their cost of test persists if not increasing.
  • a method and apparatus is disclosed herein for testing of multiple ring oscillators.
  • the apparatus comprises at least one ring oscillator structure having a ring oscillator having an inverter chain with an odd number of inverters connected back-to-back and operable to produce an oscillatory output, and a test structure coupled to provide either an observability chain input or a test input to the ring oscillator and to receive the oscillatory output as a feedback from the ring oscillator.
  • Figure 1 illustrates data encryption in HDCP.
  • FIG. 2 illustrates an example of a true random number generator (TRNG).
  • TRNG true random number generator
  • Figure 3 illustrates a functional view of prior art ring oscillator.
  • Figure 4 illustrates one embodiment of a ring oscillator apparatus having a ring oscillator test structure (TS).
  • TS ring oscillator test structure
  • Figure 5 illustrates behavior of one embodiment of a ring oscillator test structure.
  • Figure 6A illustrates one embodiment of a test structure used as part of a ring oscillator apparatus.
  • Figure 6B illustrates another embodiment of the test structure.
  • Figure 7 illustrates setup and hold times of one embodiment of a test structure.
  • Figure 8 illustrates asynchronous FSM describing test sequence for one embodiment of a test structure.
  • Figure 9 illustrates one embodiment of test access for a ring oscillator test.
  • Figure 10 illustrates one embodiment of a hierarchical ring oscillator test structure.
  • Figure 11 illustrates a steady-state behavior model of a testable ring oscillator (TRO).
  • TRO testable ring oscillator
  • a scheme for testing a large number of ring oscillators employed in a true random number generator for a secret key generation in the HDCP (high-definition content protection) for video encryption and decryption is described.
  • all of the ring oscillators can instantly be tested for oscillation by the stuck-at structural test or a proposed pseudo-functional test.
  • the test structure is modular and a collection of test structures, when connected, construct a test access for a parallel test of ring oscillators, characterization and silicon debug.
  • the described ring oscillator testing scheme can eliminate test cost of a large number of ring oscillators by testing them with other system logic during the structural test or reduce the test cost to an insignificant level (i.e., delay of inverter chain in ring oscillators), if they are tested in isolation.
  • the ring oscillator testing scheme achieves the goal by transforming the existing ring oscillator into a more testable form referred to herein as a "ring oscillator test structure".
  • the ring oscillator test structure can reconfigure the ring oscillators into a testable structure that allows the structural stuck-at test and a parallel functional test of ring oscillators.
  • the described scheme can reduce the test time increase to an insignificant level for the greater number of ring oscillators.
  • the present invention also relates to apparatus for performing the operations herein.
  • This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer.
  • a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
  • a machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer).
  • a machine- readable medium includes read only memory (“ROM”); random access memory (“RAM”); magnetic disk storage media; optical storage media; flash memory devices; etc.
  • the ring oscillator architecture has at least one ring oscillator structure, and each ring oscillator structure has a ring oscillator and a test structure.
  • the ring oscillator has an inverter chain with an odd number of inverters connected back-to-back and operable to produce an oscillatory output.
  • the test structure is coupled to the ring oscillator and provides either an observability chain input or a test input to the ring oscillator and receives the oscillatory output as a feedback from the ring oscillator.
  • the test structure is operable to reconfigure the ring oscillator into a testable structure to allow one or more of a structural stuck-at test and a functional test of the ring oscillator to validate whether the ring oscillator can produce an intended oscillating frequency within a specified jitter limit.
  • the ring oscillator architecture also includes an AND gate having a pair of inputs and an output, and the output is coupled to the input of the ring oscillator.
  • the test structure is responsive to a plurality of control signals.
  • one of the control signals includes a test control signal from a register internal to the ring oscillator architecture.
  • one of the control signals includes is a ring oscillator test mode signal that indicates whether the ring oscillator under test is in functional mode or test mode.
  • each ring oscillator structure comprises a group of ring oscillator structures connected in a serial chain, wherein a test output of a last of the ring oscillator test structures in the serial chain is fed back for use with the test input to a first ring oscillator structure in the chain.
  • the serial chain contains an odd number of inverters.
  • each ring oscillator structure further comprises a gate to conditionally activate a feedback path to feed back the test output based on a feedback enable signal.
  • each ring oscillator structure further comprises an XOR gate to XOR the test output fed back from the last of the test structures with the test input.
  • one or more ring oscillators (less than all) is selected for testing by asserting an enable signal of each of the ring oscillators being tested.
  • Figure 3 illustrates one embodiment of a ring oscillator.
  • the function of ring oscillator is to produce oscillating output at osc_out 311.
  • the oscillating output, osc_out 311 can be used to provide a clock to the on-chip circuitry and employed in generation of random numbers for encryption and decryption.
  • the ring oscillator in Figure 3 shows a functional view of the ring oscillator.
  • the ring oscillators are implemented in analog circuits.
  • the ring oscillators are implemented with digital circuits.
  • a ring oscillator can functionally be viewed as an odd number of inverters (2N+1) with a combinational loop-back enabled by an enable signal 310 via AND gate 300.
  • the ring oscillator can produce an oscillating output at osc_out 311. Otherwise, the output can be fixed at the logical state, for example, the osc_out 311 equals -Enable, where the symbol ⁇ denotes a logical negation.
  • test constraint and requirement can be different from application to application, the focus of interest in testing for each application can be different.
  • validating the capability of producing the oscillating output may be of greater importance than the detailed performance analysis from an economic point of view.
  • the ring oscillators can oscillate, they may successfully be made to serve as a source of randomness to generate the random numbers.
  • the function of oscillation may be targeted prior to the detailed performance spec test. If necessary, however, the detailed performance spec test can be followed after testing their basic functionality.
  • the described ring oscillator scheme can provide the test access for the performance test.
  • the performance spec test is to validate if the ring oscillator can produce an intended frequency of oscillating output within the specified jitter limit. Testing of basic functionality of ring oscillators may not have to be performed at functional speed but at slower speed if the test quality and the test cost benefit can be justified.
  • the functional test is performed at rates different than the performance spec, the test is called a pseudo-functional test. In order to achieve the pseudo-functional test at various frequencies, the period of ring oscillator may need to be controllable by test engineers.
  • the pseudo-functional test is implemented by a test control mechanism embedded in the ring oscillator.
  • the test control mechanism allows the frequency of ring oscillator to be controlled from the primary input during the test.
  • the ring oscillator is forced to operate at any allowable frequencies possibly below and beyond its spec frequency. This feature can be useful in testing of the ring oscillators for their basic functionality and can also be useful in implementing structural test of ring oscillators.
  • functional tests do not involve fault models.
  • a fault model can be viewed as a logical representation of a physical defect. There are different fault models available to model behavior of physical defects.
  • Fault models can aid in determining a reason for the behavior of defects at the level of abstraction provided by the underlying the fault models.
  • One of putative fault model is a stuck-at fault model.
  • the stuck-at fault model can represent physical defects resulted from being shorted to a power VDD (modeled as stuck-at logical 1 or SA-1) and to a ground GND (modeled as SA-0).
  • SA-0 and SA-1 faults are assumed at each port of a gate.
  • a ring oscillator (RO) test structure is described.
  • the constructed test access from the RO test structure is also discussed along with construction of the hierarchical ring oscillator test structure.
  • the test access is formed by connecting the RO test structures in a serial fashion.
  • the hierarchical RO is constructed from the test access by establishing back- to-back connection from the input of RO chain to the output forming a larger RO.
  • the hierarchical RO contains all ring oscillators included in the RO chain.
  • the hierarchical RO can be tested the same way as the individual RO and can be used to detect a gross delay defect. Thereafter, in the description below, a pseudo-functional test is discussed, followed by a structural test. Both tests are performed through the disclosed test access.
  • a test point can be incorporated into the ring oscillator so that the output of ring oscillator can be changed under the control of test input. Hence, the frequency of the ring oscillator can be controlled from the test input.
  • FIG 4 is one embodiment of a RO test structure.
  • the RO test structure can be placed anywhere in the ring oscillator.
  • the RO test structure comprises an AND gate 401, inverter chain 402, and RO test structure 403.
  • Enable signal 410 is coupled to one input of AND gate 401 and an input of RO test structure 403.
  • the other input of AND gate 401 is coupled to osc_in 411 output from RO test structure 403.
  • the output of AND gate 401 is coupled to the input of inverter chain 402.
  • inverter chain 402 comprises an odd number of inverters (e.g., 2N+1 inverters).
  • the output inverter chain 402, and the RO is osc_out 412, and is also coupled to a osc_out input 427 of RO test structure 403.
  • Osc_out 412 can be connected to osc_in 411 through the input of AND gate 401 via RO test structure 403.
  • osc_in 411 is reset to logical 1, providing a non-controlling logic value to AND gate 401, and hence, enable signal 410 can be observed at osc_out 412.
  • the disclosed testable oscillators can incorporate global test control signals to orchestrate the ring oscillator test.
  • the test control signals are provided from the internal registers which can be accessed via a widely known IO interfaces (e.g., I2C, IEEE STD 1149.1 Boundary Scan, etc.).
  • the test input signal are provided from the internal register and the test output is also captured into the internal register as well.
  • Ring oscillator test mode (OTM) signal 421 determines whether the ring oscillator under test is in functional mode or test mode. In functional mode, where OTM 421 equals 0, the test structure is quiescent and has no effect on the function of ring oscillator.
  • the control point enable (CPE) 424 determines whether the ring oscillator can be run at a free running or at a test input controlled frequency. If the control point is enabled (i.e., CPE 424 equals 1), for example, the frequency of ring oscillator depends on the frequency of test input (test_in 422). Otherwise, the ring oscillator can be run at a free running or at functional speed if the RO is enabled.
  • CPE 424 is assumed to be gated with OTM 421 at the top level so that it can be disabled (i.e., CPE 424 equals 0) when the OTM 421 equals 0.
  • (obc_out) 426 are used to observe the faults on enable signal 410 and osc_out 412. Osc_in signal
  • test output (test_out 425) is a duplicate of osc_in 411. Osc_out 412 can be passed to osc_in 411 under the control of test_in 422.
  • test structure is initialized when OTM 421 equals 1, CPE
  • test_in 422 is assumed to be set to the same signal state as the osc_in 411, i.e. test_in 422 equals 1, and osc_out
  • osc_in 411 can track changes of test_in 422. Since the oscillator output (osc_out 412) is an inverted output of osc_in 411, the change of osc_out 412 is directly controlled by test_in 422.
  • the frequency of the ring oscillator can be controlled from the inserted test point. If enable signal 410 equals 1, the ring oscillator is enabled and waiting for test_in 422 to change its signal state. The output of ring oscillator remains unchanged until test_in 422 is changed. In one embodiment, every signal transition of test_in 422, either low-to-high or high-to-low, causes the oscillator to produce the same signal transition at the both osc_out 412 and the test_out 425. Hence, the output of ring oscillator can be measured or observed reliably under the control of test_in 422. Note that the ring oscillator is operated at the frequency of test_in 422 during the test.
  • Figure 6 is one embodiment of a ring oscillator test structure.
  • the ring oscillator equipped with the test structure is referred to herein as a testable ring oscillator (TRO).
  • OTM 421 activates the test structure for test and deactivates the test structure for normal functional mode. If OTM 421 equals 1 and CPE 424 equals 1, the ring oscillator is under the control of the test structure. Otherwise, the ring oscillator is free-running.
  • TRO testable ring oscillator
  • Multiplexor 606 is inserted between osc_out 427 and osc_in 411 in order to implement the control point. Multiplexor 606 outputs osc_out 427 or the latched output to osc_in 411 depending on the signal state of TRACK 610, which is coupled to its selection input.
  • TRACK 610 is enabled by CPE 424 which is coupled to an input NAND gate 605 (where the output of exclusive XOR gate 604 is coupled to the other input of NAND 605).
  • CPE 424 When the CPE 424 equals 1, TRACK 610 is determined by the signal states of test_in 422 and osc_in 411. If their signal states are the same, TRACK 610 equals 0, and otherwise, TRACK 610 equals 1.
  • TRACK 610 equals 1, the functional path is established by connecting osc_out 427 to osc_in 411.
  • TRACK 610 equals 0, a latch can be formed by a combinational feedback through multiplexor 606. The latch can be initialized asynchronously into the same logical state as test_in 422 after three logic gate delay (gates through 1 to 3). The latch can be in transparent if OTM 421 equals 0 or the CPE 424 equals 0.
  • a bypass multiplexor (MUX) 603 can implement the proposed test access.
  • the bypass multiplexors can allow the disabled ring oscillators to be excluded from the test.
  • Bypass MUX 603 is controlled by Enable signal 410, which is coupled to one input of AND gate 602 that has an output coupled to the selection input of MUX 603.
  • the input of AND gate 602 is coupled to OTM 421.
  • the complementary inputs are used at bypass multiplexor 603 in order to increase testability. That is, osc_in 411 equals test_in 422 at steady- state. The steady-state can be defined as the signal state at which the output is at the valid logical state and remains unchanged unless the input is changed.
  • bypass feature can also be useful in both characterization and silicon debug.
  • any ring oscillator can be characterized in isolation by bypassing all other ring oscillators. Similarly, a suspected ring oscillator can be tested in isolation or the faulty TRO can be bypassed for further diagnosis.
  • XOR gate 601 of the observability chain has an input coupled to obc_in 423 and osc_out 427 and outputs obc_out 426.
  • XOR gate 601 is used to detect the SA faults at enable signal 410 and osc_out 427.
  • Enable signal 410 can be tested at steady-state when the CPE 424 equals 1.
  • Enable signal 410 can be disabled and enabled for SA-1 test and SA-0, respectively. If enable signal 410 equals 0, then osc_out 427 equals 1 and obc_out 426 equals ⁇ obc_in. Otherwise, obc_out 426 equals obc_in 423.
  • any SA fault on enable signal 410 which violates the obc chain behavior can be detected at obc_out 426.
  • use of the XOR gate implies that a number of detectable SA faults observed at the output of the gate must be an odd. If, for example, both obc_in 423 and the enable path are faulty, those even number faults are masked at the output of XOR gate 601. If any number of SA fault detection were required, the single-bit obc structure can be replaced with a two-bit employing the AND logic in one bit and the OR logic in the other to increase test coverage.
  • the one-bit obc_in and obc_out are expanded to two-bit obc_in[l :0] and obc_out[l:0].
  • test_in 1
  • all stuck- at-0 and 1 faults on the Enable signals can be detected through the stuck- at- 1 and 0 faults at the osc_out respectively, if all ring oscillators were enabled and disabled, respectively. This is illustrated in Figure 6B.
  • the latch can be initialized to hold logical 1 prior to the enable test. This can ensure osc_in 411 equals 1, providing a non-controlling value to the input of AND gate 602 so that its output can solely be determined by enable signal 410. If, for example, the OTM 421 equals 1, CPE 424 equals 1 and test_in 422 equals 1 for all ring oscillators, a SA fault on the Enable signal path (410) can complement obc_out 426 and hence detected.
  • test structure can form a latch if TRACK 610 equals 0, the latch is subject to the setup time and the hold time constraints as shown in Figure 7.
  • the setup time and the hold time specify durations of which osc_out 427 (412) should be stable. Since the transition of test_in 422 can cause that of osc_out 427, the timing constraints can easily be met if a delay of inverter chain in the oscillator is larger than the hold time.
  • Figure 8 depicts the behavior of the TRO during the test can be described by an asynchronous finite state machine (AFSM).
  • AFSM asynchronous finite state machine
  • the upward and the downward arrows denote signal transitions from logical 0 to 1 and 1 to 0, respectively.
  • the signal transition from logical 0 to 1 and 1 to 0 are called a high and low transitions respectively.
  • the state is enumerated with the signal states of input and output signals in the order of test_in 422, osc_in 411, and test_out 425.
  • Enable 410 is assumed to be disabled (i.e. Enable 410 equals 0) at start. At the state 1/11 when CPE 424 equals 1 and test_in 422 equals 1, the test can be initiated by Enable
  • test structure is at the 1/11 state and is waiting for the low transition of test_in 422.
  • both osc_in 411 and test_in 422 are in the same logical state so that TRACK 610 equals 0 which blocks the functional path from osc_out
  • Osc_out 427 (and test_out 425) is updated with the complementary signal state of osc_in 421 via the invertor chain.
  • test_in 422 When test_in 422 equals 0, the state is changed to the 0/11 state.
  • the signal state of inputs causes the high transition of TRACK 610.
  • TRACK 610 When TRACK 610 equals 1, osc_out 427 is connected to osc_in 411 so that osc_in 411 can be complemented.
  • the state of the test structure is advanced to the 0/01 state.
  • the state of TRACK 610 equal to 0 and the updated signal state of osc_in 411 can be latched.
  • test_out 425 can follow osc_in 411 and the state is changed to the 0/00 state.
  • osc_out 427 When TRACK 610 equals 0, osc_out 427 is changed to 1 after the inverter chain delay.
  • osc_out 427 is blocked by multiplexor 606 and is not propagated to osc_in 411.
  • the test structure can be standstill until test_in 422 changes. This process can be repeated for the opposite transitions of input and output signals. Similarly, the entire test process can continue if OTM 421 equals 1, the CPE 424 equals 1 and enable signal 410 equals 1.
  • test structures are connected in a serial fashion via test_in
  • each TRO chain has two inputs, an obc_in input and a test_in input.
  • the obc_in input and the test_in input come from the preceding TRO in the chain with the exception of the first TRO in the chain.
  • the inputs to the first TRO in the chain are coupled to the output of inverter 901 and output of OR gate, such as OR gate 902i.
  • the input of inverter 901 is coupled to the OTM signal, which is also coupled to one negated input of OR gates 901 1 - ⁇
  • the other input of OR gates 902 ⁇ is coupled to a test_in signal.
  • any number of ring oscillators in a hierarchical test structure can be tested and characterized in isolation if a dedicated Enable signal can be provided to each ring oscillator.
  • the Enable signal of each ring oscillator can be used to determine or to program engagement and disengagement of the TRO for test.
  • the multiplexor 603 in the test structure shown in Figure 6 can be set to exclude or bypass the disengaged ring oscillators from the test.
  • CPE 424 equal to 0 for characterization and each ring oscillator can be enabled one at a time by programming the Enable signals so that its functional behavior can be observed at the test_out via the instruments such as electronic scopes and the ATE.
  • a hierarchical RO test structure (or a hierarchical test structure for short) can be constructed from the proposed test access by establishing a feedback connection from the test_out[k] to the test_in[k] via the XOR gate (1001, 1002) as shown in Figure 10.
  • the feedback control signal fb_en[k] can be incorporated using the AND gate (1003, 1004) to conditionally activate the feedback loop.
  • the feedback can be enabled if the fb_en[k] 1010 equals 1 and disabled, otherwise. If the feedback is enabled, the hierarchical ring oscillator can be configured with the feedback loop established by the test_in[k, Nk-1] equal to test_in[k] ⁇ fb[k]. Note that the test_in[k] can function as a control input to complement the fb[k].
  • the hierarchical ring oscillator consists of the inverter chains of all enabled ring oscillators.
  • the number of inversions in the hierarchical ring oscillator must be an odd.
  • the odd number of inversions required for the ring oscillator can be provided by the signal state of test_in[k] as shown in Figure 10.
  • test_in[k] the signal state of test_in[k] as shown in Figure 10.
  • the hierarchical test can be run autonomously without interaction of the test input
  • test_in[k] In this test, only the output test_out[k] may need to be measured for the test decision. Since the hierarchical test structure can include any set of enabled ring oscillators, this test may not only validate functionality of the ring oscillators but may also detect a gross delay defect among them. If, for example, the frequency of hierarchical ring oscillator is lower than a test limit, the delay defect can be concluded.
  • the proposed hierarchical RO can also be employed in the silicon wafer process characterization. By enabling any number of TROs, the hierarchical RO can be used to correlate working wafers and out-of-spec wafers from its delay and jitter characteristic.
  • the disclosed ring oscillator test structure can be employed by the various test methodologies such as the structural test and the pseudo-functional test in order to increase testability of massive number of ring oscillators on chip. Since the structural test to be similar to the pseudo-functional test in terms of test procedure or steps, the pseudo-functional test is discussed primarily and the structural test is discussed reference to the pseudo-functional test.
  • a pseudo-functional test can be carried out using the ring oscillator test structure and this is discussed below.
  • a pseudo-functional test can be run at any speed if both the setup and the hold time are met.
  • the disclosed scheme assumes that an odd number of ring oscillators are enabled for any given test.
  • the odd number of ring oscillators can reflect the fault detection feature embedded in the disclosed test access.
  • the disclosed scheme uses two global enable signals and each enable signal (e.g., enable signal 410) can be shared by an odd number of ring oscillators. Any number of enable signals, however, can be employed and each enable signal can be shared by any number of ring oscillators. In one embodiment, a separate enable signal is available for each ring oscillators. Alternatively, a single enable can be employed for all ring oscillators.
  • the pseudo-functional test can be initialized in steps 1 through 2.
  • TOC[k] can hold a list of detected faulty ring oscillators from each test.
  • the fList[k] can be reset or initialized with the empty list, denote as ⁇ in step 3.
  • the mod2 denotes a modulo-2 operation.
  • the N mod2 can return 1 and 0, if the N is odd and even, respectively.
  • type conversion from integer into binary is not explicitly mentioned when trivial. For example, the result of mod2 operation which is an integer may be converted into binary before the assignment is made to the polarity[k] which is binary.
  • the pseudo-functional test is performed in step 5.
  • the steps 5.1 through 5.3 are repeated twice.
  • the TROs are enabled or disabled in step 5.1 depending on the Enable[i], and the test is performed in step 5.2.
  • the test path includes the functional path of enabled TROs and the bypass of disabled TROs.
  • the enable signals can be complemented so that the TROs which were enabled are disabled and a vice versa.
  • the fault-detect test procedure in step 5.2 determines the detected fault list for the given TOC[k], polarity and a number of oscillations (N) to be performed in the test. After the test, the result is reported in the fListl[k].
  • the fListl[k] contains the test result of TOC[k] from each test.
  • the list of faults included in the fListl[k] are concatenated to the fList[k] at the end of the test.
  • the detected faults are accumulated in step 5.3 and the Enable[i] is reset in step 5.4.
  • testing of both the functional path and the bypass with all TROs enabled and disabled, respectively aids in detecting the even number of falsely bypassed or enabled ring oscillators because those faults can change the period or the delay of the hierarchical ring oscillators formed by the test access. If, for example, there were even number of falsely enabled TROs, the delay from the test_in[k] to the test_out[k] will be longer. The period of hierarchical ring oscillator can be lengthened by the same amount of delay. Similarly, the falsely disabled TROs can shorten the delay and the period.
  • test_in [k] test_in [k] ⁇ 1; J // end for
  • the fault-detect test procedure tests and stores the detected faults. Whether the test_out[k] is the inversion of the test_in[k] is determined in step 1. The inversion can be determined by the number of disabled TROs in the TOC[k]. The inversion can be 1 and 0 if there are odd and even number of disabled TROs in the TOC[k], respectively. The acc_status stores the test result and is reset in step 2.
  • step 3 the N number of oscillations can be measured for every transition at the test_out[k] and the obc_out[k].
  • step 3.2 the test_out[k] is measured at steady state for every transition of the test_in[k] and compared to the expected test_out[k] obtained in step 3.1.
  • faults related to the Enable path that includes the inverter chain can be detected at the obc_out[k].
  • the Enable path is continuously be observed after each transition at steady- state and the expected obc_out[k], denoted as exp_obc_out[k], is determined by the number of inversions occurred in the obc chain.
  • the osc_out ⁇ test_in at steady- state.
  • the obc_out[k] can be measured in step 3.7 and is compared to the expected obc_out[y] obtained in steps 3.5 and 3.6 for the test decision.
  • the structural test is a low cost test that is applied mainly to digital random logic.
  • the internal registers or flip-flops
  • the scan chain is used to initialize the internal registers for the test and to observe the test results after they are captured. Since the internal registers can be initialized to any state by loading the scan chain, the structural test transforms the problem of testing sequential circuit into that of combinational.
  • the structural test normally cannot directly be applied to the testing of ring oscillators due to the asynchronous feedback.
  • the TRO can be treated as a random logic without asynchronous feedback and tested with other random logic using the same structural test.
  • Other advantages include an insignificant pattern count increase due to increase in the number of TRO in the TOC. Since the proposed test access serially connects the inverter chains included in the TOC, the test patterns that detect the faults on one TRO can detect faults on the many TROs included in the same TOC. That is, serially connected TROs can increase equivalent faults so that detection of one fault can lead to detection of potentially many equivalent faults with no extra effort.
  • the steady-state behavior model shown in Figure 11 is employed in automatic test pattern generation (ATPG), which can be carried out by the commercial ATPG tools.
  • the structure test pattern often follows the structural test procedure provided below. For discussion, the structural test procedure is annotated with how testing of the ring oscillator to be incorporated.
  • the OTM is assumed to be provided from the internal register so that it is tested and the CPE to be controlled by the scan enable (SE) during the structural test.
  • SE scan enable
  • the test_in and the obc_in is loaded for the test in step 3.
  • SE 1
  • the captured test result is checked at the ATE for test decision in step 3. Since loading of the test input can be overlapped with unloading of the test result, they are merged in step 3.
  • step 4 The test setup discussed in the pseudo-functional test is achieved in step 4 and 5.
  • the structural test is often a mandatory test and can take longer test time than the proposed ring oscillator test. Since the ring oscillator test is overlapped with the other random logic test, the test cost of ring oscillator can be masked out or can be insignificant. Furthermore, the available test time can be utilized to improve diagnostic resolution of the ring oscillator test in some test applications, especially when the dedicated Enable can be available.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

A method and apparatus is disclosed herein for testing of multiple ring oscillators. In one embodiment, the apparatus comprises at least one ring oscillator structure having a ring oscillator having an inverter chain with an odd number of inverters connected back-to-back and operable to produce an oscillatory output, and a test structure coupled to provide either an observability chain input or a test input to the ring oscillator and to receive the oscillatory output as a feedback from the ring oscillator.

Description

TEST SOLUTION FOR RING OSCILLATORS
FIELD OF THE INVENTION
[0001] Embodiments of the present invention relate to the field of ring oscillators; more particularly, embodiments of the present invention relate to testing of multiple ring oscillators, such as may be employed in a random number generator for secret key generation in high- definition content protection (HDCP).
BACKGROUND OF THE INVENTION
[0002] Randomness is found a critical role in cryptography for ensuring security of data transmission. In order to implement randomness in hardware, metastability of flip-flop or a clock jitter is used as a source of randomness. Many of the implementations employ ring oscillators as a clock. A large number of ring oscillators are often employed to maintain a required level of randomness. There are 256 ring oscillators used in the HDCP 2.0 for a secret key generation for a safe data transmission.
[0003] Figure 1 illustrates a simplified view of data encryption in HDCP. Referring to
Figure 1, secret key 101 is constructed from a random number generated from True Random Number Generator (TRNG) 102. The random number is used to calculate the secret keys both at the source and the sink. The random number is generated first from the source and the secret key is computed. At the same time, the random number can be transmitted to the sink so that it can calculate its own secret key. The source encrypts the video stream, video data 110, using the secret key via the XOR operation 120 and encrypted video stream 111 is transmitted to the sink. The sink uses its own secret key to decrypt the received encrypted video stream 111.
[0004] TRNG 102 employs a large number of ring oscillators to generate the random number. Figure 2 illustrates an example of a TRNG. Referring to Figure 2, ring oscillators (ROs) 201i- are the odd number of inverters 210 connected back-to-back through the combinational feedback as shown. The outputs of ring oscillators 201 i_ are combined using XOR logic 202 and the output of XOR logic is connected to flip-flop 203. The sampling clock Fs is provided to capture a stream of the output of XOR logic 202 in order to obtain the random numbers.
[0005] Due to an inherent combinational feedback in ring oscillators 201 i_ , testing of each of ring oscillators 201i_ using the economical structural tests such as the stuck- at test can be difficult. Often, ring oscillators 2011_N are functionally tested one at a time in isolation. Such conventional ring oscillator tests can involve observation of the ring oscillator output directly at the tester or employment of some on-chip counters to detect the oscillation produced by the ring oscillator under test. Testing the output of ring oscillator at the tester may be costly due to asynchronous nature of ring oscillator and inefficient test access. The test method employing the on-chip counters may suffer from hardware and test time overhead due to a test setup of each individual ring oscillator.
[0006] Thus, cost of the functional test can be substantial if a number of ring oscillators is large and is increasing. It is critical to provide low cost test solutions that are not cost sensitive to the increase in problem size, i.e. the number of employed ring oscillators, especially when the price of commercial ICs is continuously under the pressure but their cost of test persists if not increasing.
SUMMARY OF THE INVENTION
[0007] A method and apparatus is disclosed herein for testing of multiple ring oscillators.
In one embodiment, the apparatus comprises at least one ring oscillator structure having a ring oscillator having an inverter chain with an odd number of inverters connected back-to-back and operable to produce an oscillatory output, and a test structure coupled to provide either an observability chain input or a test input to the ring oscillator and to receive the oscillatory output as a feedback from the ring oscillator.
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The present invention will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the invention, which, however, should not be taken to limit the invention to the specific embodiments, but are for explanation and understanding only.
Figure 1 illustrates data encryption in HDCP.
Figure 2 illustrates an example of a true random number generator (TRNG).
Figure 3 illustrates a functional view of prior art ring oscillator.
Figure 4 illustrates one embodiment of a ring oscillator apparatus having a ring oscillator test structure (TS).
Figure 5 illustrates behavior of one embodiment of a ring oscillator test structure.
Figure 6A illustrates one embodiment of a test structure used as part of a ring oscillator apparatus.
Figure 6B illustrates another embodiment of the test structure.
Figure 7 illustrates setup and hold times of one embodiment of a test structure. Figure 8 illustrates asynchronous FSM describing test sequence for one embodiment of a test structure.
Figure 9 illustrates one embodiment of test access for a ring oscillator test.
Figure 10 illustrates one embodiment of a hierarchical ring oscillator test structure. Figure 11 illustrates a steady-state behavior model of a testable ring oscillator (TRO).
DETAILED DESCRIPTION OF THE PRESENT INVENTION
[0009] A scheme for testing a large number of ring oscillators employed in a true random number generator for a secret key generation in the HDCP (high-definition content protection) for video encryption and decryption is described. In one embodiment, using the disclosed on-chip ring oscillator test solution, all of the ring oscillators can instantly be tested for oscillation by the stuck-at structural test or a proposed pseudo-functional test. In one embodiment, the test structure is modular and a collection of test structures, when connected, construct a test access for a parallel test of ring oscillators, characterization and silicon debug. An advantage of the test solution described herein is a fast determination of defective parts before a detailed performance specification test so that overall manufacturing test time can be reduced.
[0010] In one embodiment, the described ring oscillator testing scheme can eliminate test cost of a large number of ring oscillators by testing them with other system logic during the structural test or reduce the test cost to an insignificant level (i.e., delay of inverter chain in ring oscillators), if they are tested in isolation. In one embodiment, the ring oscillator testing scheme achieves the goal by transforming the existing ring oscillator into a more testable form referred to herein as a "ring oscillator test structure". The ring oscillator test structure can reconfigure the ring oscillators into a testable structure that allows the structural stuck-at test and a parallel functional test of ring oscillators. The described scheme can reduce the test time increase to an insignificant level for the greater number of ring oscillators.
[0011] In the following description, numerous details are set forth to provide a more thorough explanation of the present invention. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.
[0012] Some portions of the detailed descriptions which follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
[0013] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as "processing" or "computing" or "calculating" or "determining" or "displaying" or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
[0014] The present invention also relates to apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
[0015] The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein.
[0016] A machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a machine- readable medium includes read only memory ("ROM"); random access memory ("RAM"); magnetic disk storage media; optical storage media; flash memory devices; etc.
Overview
[0017] In one embodiment, the ring oscillator architecture has at least one ring oscillator structure, and each ring oscillator structure has a ring oscillator and a test structure. The ring oscillator has an inverter chain with an odd number of inverters connected back-to-back and operable to produce an oscillatory output. The test structure is coupled to the ring oscillator and provides either an observability chain input or a test input to the ring oscillator and receives the oscillatory output as a feedback from the ring oscillator. In one embodiment, the test structure is operable to reconfigure the ring oscillator into a testable structure to allow one or more of a structural stuck-at test and a functional test of the ring oscillator to validate whether the ring oscillator can produce an intended oscillating frequency within a specified jitter limit. In one embodiment, the ring oscillator architecture also includes an AND gate having a pair of inputs and an output, and the output is coupled to the input of the ring oscillator.
[0018] In one embodiment, the test structure is responsive to a plurality of control signals. In one embodiment, one of the control signals includes a test control signal from a register internal to the ring oscillator architecture. In one embodiment, one of the control signals includes is a ring oscillator test mode signal that indicates whether the ring oscillator under test is in functional mode or test mode.
[0019] In one embodiment, each ring oscillator structure comprises a group of ring oscillator structures connected in a serial chain, wherein a test output of a last of the ring oscillator test structures in the serial chain is fed back for use with the test input to a first ring oscillator structure in the chain. In one embodiment, the serial chain contains an odd number of inverters. In one embodiment, each ring oscillator structure further comprises a gate to conditionally activate a feedback path to feed back the test output based on a feedback enable signal. In one embodiment, each ring oscillator structure further comprises an XOR gate to XOR the test output fed back from the last of the test structures with the test input. In one
embodiment, one or more ring oscillators (less than all) is selected for testing by asserting an enable signal of each of the ring oscillators being tested.
[0020] Figure 3 illustrates one embodiment of a ring oscillator. Referring to Figure 3, the function of ring oscillator is to produce oscillating output at osc_out 311. The oscillating output, osc_out 311, can be used to provide a clock to the on-chip circuitry and employed in generation of random numbers for encryption and decryption. The ring oscillator in Figure 3 shows a functional view of the ring oscillator. In one embodiment, the ring oscillators are implemented in analog circuits. In another embodiment, the ring oscillators are implemented with digital circuits. A ring oscillator can functionally be viewed as an odd number of inverters (2N+1) with a combinational loop-back enabled by an enable signal 310 via AND gate 300. If the enable signal 310 equals 1, the ring oscillator can produce an oscillating output at osc_out 311. Otherwise, the output can be fixed at the logical state, for example, the osc_out 311 equals -Enable, where the symbol ~ denotes a logical negation. The behavior of ring oscillator shown in Figure 3 can be summarized as "forever osc_out = Enable? (~osc_out : 1)." If the Enable signal 310 equals 0, then osc_out 311 equals 1 because of odd number of inversions. Otherwise, osc_out 311 can continuously complemented in order to produce the oscillating output at osc_out 311.
[0021] Because test constraint and requirement can be different from application to application, the focus of interest in testing for each application can be different. In order to test a large number of ring oscillators employed in cryptography, for example, validating the capability of producing the oscillating output may be of greater importance than the detailed performance analysis from an economic point of view. As long as the ring oscillators can oscillate, they may successfully be made to serve as a source of randomness to generate the random numbers. Thus, in testing of ring oscillators used in the random number generation, for example, the function of oscillation may be targeted prior to the detailed performance spec test. If necessary, however, the detailed performance spec test can be followed after testing their basic functionality.
[0022] The described ring oscillator scheme can provide the test access for the performance test. The performance spec test is to validate if the ring oscillator can produce an intended frequency of oscillating output within the specified jitter limit. Testing of basic functionality of ring oscillators may not have to be performed at functional speed but at slower speed if the test quality and the test cost benefit can be justified. When the functional test is performed at rates different than the performance spec, the test is called a pseudo-functional test. In order to achieve the pseudo-functional test at various frequencies, the period of ring oscillator may need to be controllable by test engineers.
[0023] In one embodiment, the pseudo-functional test is implemented by a test control mechanism embedded in the ring oscillator. The test control mechanism allows the frequency of ring oscillator to be controlled from the primary input during the test. Using the provided test control, the ring oscillator is forced to operate at any allowable frequencies possibly below and beyond its spec frequency. This feature can be useful in testing of the ring oscillators for their basic functionality and can also be useful in implementing structural test of ring oscillators. [0024] In general, functional tests do not involve fault models. A fault model can be viewed as a logical representation of a physical defect. There are different fault models available to model behavior of physical defects. Fault models can aid in determining a reason for the behavior of defects at the level of abstraction provided by the underlying the fault models. One of putative fault model is a stuck-at fault model. The stuck-at fault model can represent physical defects resulted from being shorted to a power VDD (modeled as stuck-at logical 1 or SA-1) and to a ground GND (modeled as SA-0). In this fault model, the SA-0 and the SA-1 faults are assumed at each port of a gate.
[0025] In the following, one embodiment of a ring oscillator (RO) test structure is described. The constructed test access from the RO test structure is also discussed along with construction of the hierarchical ring oscillator test structure. In one embodiment, the test access is formed by connecting the RO test structures in a serial fashion. In one embodiment, the hierarchical RO is constructed from the test access by establishing back- to-back connection from the input of RO chain to the output forming a larger RO. In one embodiment, the hierarchical RO contains all ring oscillators included in the RO chain. The hierarchical RO can be tested the same way as the individual RO and can be used to detect a gross delay defect. Thereafter, in the description below, a pseudo-functional test is discussed, followed by a structural test. Both tests are performed through the disclosed test access.
One Embodiment of a Proposed Ring Oscillator Test Structure
[0026] In order to control asynchronous behavior of the ring oscillator during the test, a test point can be incorporated into the ring oscillator so that the output of ring oscillator can be changed under the control of test input. Hence, the frequency of the ring oscillator can be controlled from the test input.
[0027] Figure 4 is one embodiment of a RO test structure. The RO test structure can be placed anywhere in the ring oscillator. Referring to Figure 4, the RO test structure comprises an AND gate 401, inverter chain 402, and RO test structure 403. Enable signal 410 is coupled to one input of AND gate 401 and an input of RO test structure 403. The other input of AND gate 401 is coupled to osc_in 411 output from RO test structure 403. The output of AND gate 401 is coupled to the input of inverter chain 402. In one embodiment, inverter chain 402 comprises an odd number of inverters (e.g., 2N+1 inverters). The output inverter chain 402, and the RO, is osc_out 412, and is also coupled to a osc_out input 427 of RO test structure 403.
[0028] Osc_out 412 can be connected to osc_in 411 through the input of AND gate 401 via RO test structure 403. In one embodiment, at initialization, osc_in 411 is reset to logical 1, providing a non-controlling logic value to AND gate 401, and hence, enable signal 410 can be observed at osc_out 412.
[0029] The disclosed testable oscillators can incorporate global test control signals to orchestrate the ring oscillator test. In one embodiment, the test control signals are provided from the internal registers which can be accessed via a widely known IO interfaces (e.g., I2C, IEEE STD 1149.1 Boundary Scan, etc.). In one embodiment, in case of the structural stuck-at test, the test input signal are provided from the internal register and the test output is also captured into the internal register as well.
[0030] Ring oscillator test mode (OTM) signal 421 determines whether the ring oscillator under test is in functional mode or test mode. In functional mode, where OTM 421 equals 0, the test structure is quiescent and has no effect on the function of ring oscillator. In the test mode, the control point enable (CPE) 424 determines whether the ring oscillator can be run at a free running or at a test input controlled frequency. If the control point is enabled (i.e., CPE 424 equals 1), for example, the frequency of ring oscillator depends on the frequency of test input (test_in 422). Otherwise, the ring oscillator can be run at a free running or at functional speed if the RO is enabled. In one embodiment, CPE 424 is assumed to be gated with OTM 421 at the top level so that it can be disabled (i.e., CPE 424 equals 0) when the OTM 421 equals 0.
[0031] In one embodiment, the observability chain input (obc_in) 423 and output
(obc_out) 426 are used to observe the faults on enable signal 410 and osc_out 412. Osc_in signal
411 and osc_out signal 412 are the input and the output of the inverter chain, respectively. If enable signal 410 equals 1, then osc_out 412 equals ~osc_in. Otherwise, osc_out 412 equals -Enable or logical 1. The test output (test_out 425) is a duplicate of osc_in 411. Osc_out 412 can be passed to osc_in 411 under the control of test_in 422.
[0032] In one embodiment, the test structure is initialized when OTM 421 equals 1, CPE
424 equals 0 and enable signal 410 equals 0. At initialization, the test input (test_in 422) is assumed to be set to the same signal state as the osc_in 411, i.e. test_in 422 equals 1, and osc_out
412 equals -Enable. If CPE 424 equals 1 and Enable signal 410 equals 1, then osc_in 411 can track changes of test_in 422. Since the oscillator output (osc_out 412) is an inverted output of osc_in 411, the change of osc_out 412 is directly controlled by test_in 422.
[0033] Behavior of the ring oscillator test structure during the test is shown in Figure 5.
When the OTM 421 equals 1 and the CPE 424 equals 1, the frequency of the ring oscillator can be controlled from the inserted test point. If enable signal 410 equals 1, the ring oscillator is enabled and waiting for test_in 422 to change its signal state. The output of ring oscillator remains unchanged until test_in 422 is changed. In one embodiment, every signal transition of test_in 422, either low-to-high or high-to-low, causes the oscillator to produce the same signal transition at the both osc_out 412 and the test_out 425. Hence, the output of ring oscillator can be measured or observed reliably under the control of test_in 422. Note that the ring oscillator is operated at the frequency of test_in 422 during the test.
[0034] Figure 6 is one embodiment of a ring oscillator test structure. The ring oscillator equipped with the test structure is referred to herein as a testable ring oscillator (TRO). OTM 421 activates the test structure for test and deactivates the test structure for normal functional mode. If OTM 421 equals 1 and CPE 424 equals 1, the ring oscillator is under the control of the test structure. Otherwise, the ring oscillator is free-running.
[0035] Multiplexor 606 is inserted between osc_out 427 and osc_in 411 in order to implement the control point. Multiplexor 606 outputs osc_out 427 or the latched output to osc_in 411 depending on the signal state of TRACK 610, which is coupled to its selection input.
TRACK 610 is enabled by CPE 424 which is coupled to an input NAND gate 605 (where the output of exclusive XOR gate 604 is coupled to the other input of NAND 605). When the CPE 424 equals 1, TRACK 610 is determined by the signal states of test_in 422 and osc_in 411. If their signal states are the same, TRACK 610 equals 0, and otherwise, TRACK 610 equals 1. If TRACK 610 equals 1, the functional path is established by connecting osc_out 427 to osc_in 411. If TRACK 610 equals 0, a latch can be formed by a combinational feedback through multiplexor 606. The latch can be initialized asynchronously into the same logical state as test_in 422 after three logic gate delay (gates through 1 to 3). The latch can be in transparent if OTM 421 equals 0 or the CPE 424 equals 0.
[0036] A bypass multiplexor (MUX) 603 can implement the proposed test access. The bypass multiplexors can allow the disabled ring oscillators to be excluded from the test. Bypass MUX 603 is controlled by Enable signal 410, which is coupled to one input of AND gate 602 that has an output coupled to the selection input of MUX 603. The input of AND gate 602 is coupled to OTM 421. Bypass MUX 603 configure the test path during the test. If the Enable = 1, the ring oscillator output can be connected to test_out 425. Otherwise, test_in 422 can be bypassed directly to test_out 425. Note that the complementary inputs are used at bypass multiplexor 603 in order to increase testability. That is, osc_in 411 equals test_in 422 at steady- state. The steady-state can be defined as the signal state at which the output is at the valid logical state and remains unchanged unless the input is changed.
[0037] The bypass feature can also be useful in both characterization and silicon debug.
In characterization, any ring oscillator can be characterized in isolation by bypassing all other ring oscillators. Similarly, a suspected ring oscillator can be tested in isolation or the faulty TRO can be bypassed for further diagnosis.
[0038] XOR gate 601 of the observability chain has an input coupled to obc_in 423 and osc_out 427 and outputs obc_out 426. In one embodiment, XOR gate 601 is used to detect the SA faults at enable signal 410 and osc_out 427. Enable signal 410 can be tested at steady-state when the CPE 424 equals 1. Enable signal 410 can be disabled and enabled for SA-1 test and SA-0, respectively. If enable signal 410 equals 0, then osc_out 427 equals 1 and obc_out 426 equals ~obc_in. Otherwise, obc_out 426 equals obc_in 423. Thus, any SA fault on enable signal 410 which violates the obc chain behavior can be detected at obc_out 426. In one embodiment, use of the XOR gate implies that a number of detectable SA faults observed at the output of the gate must be an odd. If, for example, both obc_in 423 and the enable path are faulty, those even number faults are masked at the output of XOR gate 601. If any number of SA fault detection were required, the single-bit obc structure can be replaced with a two-bit employing the AND logic in one bit and the OR logic in the other to increase test coverage. As a result, the one-bit obc_in and obc_out are expanded to two-bit obc_in[l :0] and obc_out[l:0]. When the test_in = 1, all stuck- at-0 and 1 faults on the Enable signals can be detected through the stuck- at- 1 and 0 faults at the osc_out respectively, if all ring oscillators were enabled and disabled, respectively. This is illustrated in Figure 6B.
[0039] The latch can be initialized to hold logical 1 prior to the enable test. This can ensure osc_in 411 equals 1, providing a non-controlling value to the input of AND gate 602 so that its output can solely be determined by enable signal 410. If, for example, the OTM 421 equals 1, CPE 424 equals 1 and test_in 422 equals 1 for all ring oscillators, a SA fault on the Enable signal path (410) can complement obc_out 426 and hence detected.
[0040] Since the test structure can form a latch if TRACK 610 equals 0, the latch is subject to the setup time and the hold time constraints as shown in Figure 7. The setup time and the hold time specify durations of which osc_out 427 (412) should be stable. Since the transition of test_in 422 can cause that of osc_out 427, the timing constraints can easily be met if a delay of inverter chain in the oscillator is larger than the hold time.
[0041] Figure 8 depicts the behavior of the TRO during the test can be described by an asynchronous finite state machine (AFSM). Referring to Figure 8, the upward and the downward arrows denote signal transitions from logical 0 to 1 and 1 to 0, respectively. The signal transition from logical 0 to 1 and 1 to 0 are called a high and low transitions respectively. The state is enumerated with the signal states of input and output signals in the order of test_in 422, osc_in 411, and test_out 425. The backslash symbol is used to separate the inputs of the test structure from the outputs. For example, after initialization (i.e., OTM 421 equals 1, CPE 414 equals 0 and enable signal 410 equals 0), test_in = 1, osc_in = 1 and the test_out = 1 (or, 1/11).
[0042] Enable 410 is assumed to be disabled (i.e. Enable 410 equals 0) at start. At the state 1/11 when CPE 424 equals 1 and test_in 422 equals 1, the test can be initiated by Enable
410 equal to 1. If enable signal 410 equals 1, the test structure is at the 1/11 state and is waiting for the low transition of test_in 422. In the 1/11 state, both osc_in 411 and test_in 422 are in the same logical state so that TRACK 610 equals 0 which blocks the functional path from osc_out
427 to the osc_in 411. Osc_out 427 (and test_out 425) is updated with the complementary signal state of osc_in 421 via the invertor chain.
[0043] When test_in 422 equals 0, the state is changed to the 0/11 state. The signal state of inputs causes the high transition of TRACK 610. When TRACK 610 equals 1, osc_out 427 is connected to osc_in 411 so that osc_in 411 can be complemented. The state of the test structure is advanced to the 0/01 state. The state of TRACK 610 equal to 0 and the updated signal state of osc_in 411 can be latched. At the same time, test_out 425 can follow osc_in 411 and the state is changed to the 0/00 state. When TRACK 610 equals 0, osc_out 427 is changed to 1 after the inverter chain delay. The change of osc_out 427 is blocked by multiplexor 606 and is not propagated to osc_in 411. The test structure can be standstill until test_in 422 changes. This process can be repeated for the opposite transitions of input and output signals. Similarly, the entire test process can continue if OTM 421 equals 1, the CPE 424 equals 1 and enable signal 410 equals 1.
[0044] In one embodiment, the test structures are connected in a serial fashion via test_in
422 and test_out 425 to form a hierarchical test structure. The hierarchical test structure functions as a test access for characterization and silicon debug. Figure 9 illustrates an example of constructed test access. The test_in and the test_out can function as test access ports. Each chain of TROs is referred to herein as a testable oscillator chain (TOC). Referring to Figure 9, each TRO chain has two inputs, an obc_in input and a test_in input. For the TOC, the obc_in input and the test_in input come from the preceding TRO in the chain with the exception of the first TRO in the chain. The inputs to the first TRO in the chain, such as TRO [Ι,Ν^-Ι], are coupled to the output of inverter 901 and output of OR gate, such as OR gate 902i. The input of inverter 901 is coupled to the OTM signal, which is also coupled to one negated input of OR gates 9011-κ· The other input of OR gates 902^ is coupled to a test_in signal.
[0045] In one embodiment, any number of ring oscillators in a hierarchical test structure can be tested and characterized in isolation if a dedicated Enable signal can be provided to each ring oscillator. The Enable signal of each ring oscillator can be used to determine or to program engagement and disengagement of the TRO for test. The multiplexor 603 in the test structure shown in Figure 6 can be set to exclude or bypass the disengaged ring oscillators from the test. For example, CPE 424 equal to 0 for characterization and each ring oscillator can be enabled one at a time by programming the Enable signals so that its functional behavior can be observed at the test_out via the instruments such as electronic scopes and the ATE.
[0046] A hierarchical RO test structure (or a hierarchical test structure for short) can be constructed from the proposed test access by establishing a feedback connection from the test_out[k] to the test_in[k] via the XOR gate (1001, 1002) as shown in Figure 10. The feedback control signal fb_en[k] can be incorporated using the AND gate (1003, 1004) to conditionally activate the feedback loop. The feedback can be enabled if the fb_en[k] 1010 equals 1 and disabled, otherwise. If the feedback is enabled, the hierarchical ring oscillator can be configured with the feedback loop established by the test_in[k, Nk-1] equal to test_in[k] φ fb[k]. Note that the test_in[k] can function as a control input to complement the fb[k].
[0047] In one embodiment, the hierarchical ring oscillator consists of the inverter chains of all enabled ring oscillators. To function as a ring oscillator, the number of inversions in the hierarchical ring oscillator must be an odd. The odd number of inversions required for the ring oscillator can be provided by the signal state of test_in[k] as shown in Figure 10. During the test, if the number of enabled TROs in a given hierarchical test structure is odd, no extra inversion is necessary. If, however, it is even, then the test_in = 1 in order to provide the required inversion. If the fb_en[k] = 0, the hierarchical test structure can be reduced to the test access structure, as expected.
[0048] The hierarchical test can be run autonomously without interaction of the test input
(test_in[k]). In this test, only the output test_out[k] may need to be measured for the test decision. Since the hierarchical test structure can include any set of enabled ring oscillators, this test may not only validate functionality of the ring oscillators but may also detect a gross delay defect among them. If, for example, the frequency of hierarchical ring oscillator is lower than a test limit, the delay defect can be concluded. The proposed hierarchical RO can also be employed in the silicon wafer process characterization. By enabling any number of TROs, the hierarchical RO can be used to correlate working wafers and out-of-spec wafers from its delay and jitter characteristic.
[0049] The disclosed ring oscillator test structure can be employed by the various test methodologies such as the structural test and the pseudo-functional test in order to increase testability of massive number of ring oscillators on chip. Since the structural test to be similar to the pseudo-functional test in terms of test procedure or steps, the pseudo-functional test is discussed primarily and the structural test is discussed reference to the pseudo-functional test.
[0050] A pseudo-functional test can be carried out using the ring oscillator test structure and this is discussed below.
Pseudo-Functional Test of Ring Oscillators
[0051] With an aid of the disclosed test structure and the test access, a pseudo-functional test can be run at any speed if both the setup and the hold time are met. In one embodiment, the disclosed scheme assumes that an odd number of ring oscillators are enabled for any given test. The odd number of ring oscillators can reflect the fault detection feature embedded in the disclosed test access. In one embodiment, the disclosed scheme uses two global enable signals and each enable signal (e.g., enable signal 410) can be shared by an odd number of ring oscillators. Any number of enable signals, however, can be employed and each enable signal can be shared by any number of ring oscillators. In one embodiment, a separate enable signal is available for each ring oscillators. Alternatively, a single enable can be employed for all ring oscillators. One embodiment of the pseudo-functional test using the test access structure is summarized as follows.
Pseudo-functional test procedure
1. OTM = 1; CPE = 0; Enable [1:0] = 00;
2. for all k, test_in[k] = 1; CPE = 1;
3. for all k, fList[k] = Φ;
4. for all k, polarity [k] = total_No_RO(TOC[k]) modi;
5. for (i = 0; i < 2; i++) {
1. for all k, test_in[k] = 1; Enable[i] = 1;
2. for all k, fault-detect (TOC[k], polarity [k], N, fListl[k] = Φ);
3. if (fListl[k]≠ Φ) lfList[k] = fList[k] fListl[k];} }
4. Enable[i] = 0;
6. for all k, report fList[k] ;
7. end
[0052] The pseudo-functional test can be initialized in steps 1 through 2. The fault list of
TOC[k], denoted as fList[k], can hold a list of detected faulty ring oscillators from each test. The fList[k] can be reset or initialized with the empty list, denote as Φ in step 3. The polarity[k] indicates whether a number of the TROs included in the TOC[k] are odd or even. If it is odd, the polarity [k] = 1 ; otherwise, the polarity[k] = 0. The mod2 denotes a modulo-2 operation. The N mod2 can return 1 and 0, if the N is odd and even, respectively. For purposes of the following discussion, type conversion from integer into binary is not explicitly mentioned when trivial. For example, the result of mod2 operation which is an integer may be converted into binary before the assignment is made to the polarity[k] which is binary.
[0053] The pseudo-functional test is performed in step 5. In one embodiment, in order to test both the functional and bypass paths, the steps 5.1 through 5.3 are repeated twice. The TROs are enabled or disabled in step 5.1 depending on the Enable[i], and the test is performed in step 5.2. In the first test execution, for example, the TROs enabled by the Enable[0] are tested in the TOC[k]. Thus, the test path includes the functional path of enabled TROs and the bypass of disabled TROs. Similarly, in the second test execution, the enable signals can be complemented so that the TROs which were enabled are disabled and a vice versa. The fault-detect test procedure in step 5.2 determines the detected fault list for the given TOC[k], polarity and a number of oscillations (N) to be performed in the test. After the test, the result is reported in the fListl[k]. In one embodiment, the fListl[k] contains the test result of TOC[k] from each test. In one embodiment, the list of faults included in the fListl[k] are concatenated to the fList[k] at the end of the test. The detected faults are accumulated in step 5.3 and the Enable[i] is reset in step 5.4.
[0054] Testing of both the functional path and the bypass with all TROs enabled and disabled, respectively, aids in detecting the even number of falsely bypassed or enabled ring oscillators because those faults can change the period or the delay of the hierarchical ring oscillators formed by the test access. If, for example, there were even number of falsely enabled TROs, the delay from the test_in[k] to the test_out[k] will be longer. The period of hierarchical ring oscillator can be lengthened by the same amount of delay. Similarly, the falsely disabled TROs can shorten the delay and the period.
[0055] One embodiment of the fault-detect test procedure is provided below.
fault-detect (TOCfkl polarityfkl N, fList)
1. inversion[k] = #disabled(TOC[k] ) mod2;
2. acc_status[l:0] = 00;
3. for (n = 0; n < 2N; n++) { //pseudo-functional test
//Fault-detection via functional path
1. exp_test_out [k] = test_in[k] φ inversion[k] ;
2. Measure test_out[k] at steady-state;
3. if ( test_out[k] φ exp_test_out[k] ) { status [1:0] = 01; }
4. else { status [1:0] = 00; J
//Fault-detection via obc path
5. if ( test_in[k] ) { exp_obc_out[k] = inversion[k] ; J
6. else { exp_obc_out[k] = polarity[k] ; J 7. Measure obc_out[k] at steady-state;
8. if (exp_obc_out [k] φ obc_out[k] ) { status [1:0] = 10; }
9. else { status [1:0] = 00; J
10. acc_status = acc_status I status [ 1 :0];
11. test_in [k] = test_in [k] φ 1; J // end for
4. if ( acc_status≠00 ) { fList = fList Λ (k, acc_status); J
5. return fList;
[0056] The fault-detect test procedure tests and stores the detected faults. Whether the test_out[k] is the inversion of the test_in[k] is determined in step 1. The inversion can be determined by the number of disabled TROs in the TOC[k]. The inversion can be 1 and 0 if there are odd and even number of disabled TROs in the TOC[k], respectively. The acc_status stores the test result and is reset in step 2.
[0057] In step 3, the N number of oscillations can be measured for every transition at the test_out[k] and the obc_out[k]. In step 3.2, the test_out[k] is measured at steady state for every transition of the test_in[k] and compared to the expected test_out[k] obtained in step 3.1. The expected test_out[k], denoted as exp_test_out[k], can be determined by the exp_test_out[k] = test_in[k] inversion[k], where the symbol denotes the XOR function. If the measured test_out[k] is not the same as the expected, a fault can be concluded. In one embodiment, if a fault is detected, the status is set to the status = 01.
[0058] Similarly, faults related to the Enable path that includes the inverter chain can be detected at the obc_out[k]. In one embodiment, the Enable path is continuously be observed after each transition at steady- state and the expected obc_out[k], denoted as exp_obc_out[k], is determined by the number of inversions occurred in the obc chain. In one embodiment, the inversion at the obc_out in each TRO is caused by the osc_out = 1. The osc_out depends on the Enable, test_in and polarity[k]. If the Enable = 0, the osc_out = 1 regardless of the test_in. Otherwise, the osc_out = ~test_in at steady- state. Thus, if the test_in[k] = 1, the osc_out of all enabled TROs can be logical 0 and hence the exp_obc_out[k] = inversion[k]. Otherwise, the osc_out of all TROs are logical 1 and the exp_obc_out[k] = polarity[k]. The obc_out[k] can be measured in step 3.7 and is compared to the expected obc_out[y] obtained in steps 3.5 and 3.6 for the test decision.
[0059] In one embodiment, the status is accumulated by combining the statuses using a bitwise OR function. Note that the acc_status = 11, if the faults are detected in both steps 3.3 and 3.8. Once the faults are detected, they remain detected until the fault-detection test procedure is terminated. In step 3.11, the test_in[k] is complemented and the test can continue for the N number of oscillations. [0060] After the test is completed, the fList is returned unmodified if no fault is found or the status = 00. Otherwise, the index of faulty TOC[k] and the accumulated final status are appended to the fList.
[0061] The same test can be achieved by the structural test, and is described below.
Testing of Ring Oscillators via Structural Test
[0062] The structural test is a low cost test that is applied mainly to digital random logic. In the structural test, the internal registers (or flip-flops) are connected serially to form a test access called a scan chain. The scan chain is used to initialize the internal registers for the test and to observe the test results after they are captured. Since the internal registers can be initialized to any state by loading the scan chain, the structural test transforms the problem of testing sequential circuit into that of combinational. The structural test normally cannot directly be applied to the testing of ring oscillators due to the asynchronous feedback.
[0063] An advantage of the disclosed TRO in the structural test is the controlled
asynchronous feedback. As far as the steady-state signal states are concerned, the feedback appears to be broken or non-existent. Thus, the TRO can be treated as a random logic without asynchronous feedback and tested with other random logic using the same structural test. Other advantages include an insignificant pattern count increase due to increase in the number of TRO in the TOC. Since the proposed test access serially connects the inverter chains included in the TOC, the test patterns that detect the faults on one TRO can detect faults on the many TROs included in the same TOC. That is, serially connected TROs can increase equivalent faults so that detection of one fault can lead to detection of potentially many equivalent faults with no extra effort.
[0064] Figure 11 illustrates one embodiment of a ring oscillator test structure in the steady- state. Note that the asynchronous feedback is broken when the CPE = 1. In one embodiment, the steady-state behavior model shown in Figure 11 is employed in automatic test pattern generation (ATPG), which can be carried out by the commercial ATPG tools. The structure test pattern often follows the structural test procedure provided below. For discussion, the structural test procedure is annotated with how testing of the ring oscillator to be incorporated.
Structural test procedure
1. STM = 1;
2. SE = 1; // CPE = 0;
3. Scan load/unload; // initialize test & check test result
4. SE = 0; // CPE = 1; 5. Force PI;
6. Measure PO; // check (test_out, obc_outJ, if primary outputs
7. capture; // capture test result from (test_out, obc_outJ
8. go to step 2 until done;
9. end
[0065] The structural test is enabled when the structural test mode STM = 1 in step 1. The scan chains are enabled in step 2 and the combinational system logic including the TRO is disabled when the SE = 1. The OTM is assumed to be provided from the internal register so that it is tested and the CPE to be controlled by the scan enable (SE) during the structural test. The test_in and the obc_in is loaded for the test in step 3. After the test input is loaded, the SE is deactivated (SE = 0) so that the ring oscillator logic is enabled. Necessary primary input (PI) are forced and the primary output (PO) are measured in step 5 and 6, respectively. The test inputs (test_in and obc_in) and the test outputs (test_out and obc_out) are forced and measured if they are connected to the PI and the PO during the structural test, respectively. Otherwise, they are captured into the internal registers in step 7 and the SE is activated (SE = 1) to unload the test result in step 2. The captured test result is checked at the ATE for test decision in step 3. Since loading of the test input can be overlapped with unloading of the test result, they are merged in step 3.
[0066] The test setup discussed in the pseudo-functional test is achieved in step 4 and 5. The controlled asynchronous feedback forces the osc_in to be the same logical state of the test_in at steady-state or the osc_in = -Enable, if the Enable = 0 and the osc_in = ~test_in at steay-state.
Alternatively, the same test setup is accomplished by the scan enable signal in step 2 at an expense of extra logic gates. If the SE = 1, for example, it is used to force the CPE = 0, the Enable[l:0] = 00 and the test_in = 1. Otherwise, the test control signals are determined by the system logic.
[0067] The structural test is often a mandatory test and can take longer test time than the proposed ring oscillator test. Since the ring oscillator test is overlapped with the other random logic test, the test cost of ring oscillator can be masked out or can be insignificant. Furthermore, the available test time can be utilized to improve diagnostic resolution of the ring oscillator test in some test applications, especially when the dedicated Enable can be available.
[0068] Thus, a cost efficient test solution to the problem of testing a large number of ring oscillators employed in the true random number generator for security key generation in the HDCP and other cryptography chips has been described. The disclosed scheme allows the structural test to be incorporated into testing of ring oscillators. The disclosed scheme also scales well with the increased problem size so that the test cost can be insignificant even if the number of ring oscillators is increased. The disclosed methodology, if applied to IP and end products, can reduce test cost, improve test quality and optimize engineering effort in test development. [0069] Whereas many alterations and modifications of the present invention will no doubt become apparent to a person of ordinary skill in the art after having read the foregoing description, it is to be understood that any particular embodiment shown and described by way of illustration is in no way intended to be considered limiting. Therefore, references to details of various embodiments are not intended to limit the scope of the claims which in themselves recite only those features regarded as essential to the invention.

Claims

CLAIMS We claim:
1. An apparatus comprising:
at least one ring oscillator structure having
a ring oscillator having an inverter chain with an odd number of inverters connected back-to-back and operable to produce an oscillatory output, and
a test structure coupled to provide either an observability chain input or a test input to the ring oscillator and to receive the oscillatory output as a feedback from the ring oscillator.
2. The apparatus defined in Claim 1 wherein the test structure is operable to reconfigure the ring oscillator into a testable structure to allow one or more of a structural stuck- at test and a functional test of the ring oscillator.
3. The apparatus defined in Claim 1 wherein the test structure is operable to validate whether the ring oscillator can produce an intended oscillating frequency within a specified jitter limit.
4. The apparatus defined in Claim 1 wherein the at least one ring oscillator structure comprises a group of ring oscillator structures connected in a serial chain, wherein a test output of a last of the ring oscillator test structures in the serial chain is fed back for use with the test input to a first ring oscillator structure in the chain.
5. The apparatus defined in Claim 4 further comprising a gate to conditionally activate a feedback path to feed back the test output based on a feedback enable signal.
6. The apparatus defined in Claim 4 further comprising an XOR gate to XOR the test output fed back from the last of the test structures with the test input.
7. The apparatus defined in Claim 4 wherein one or more ring oscillators is selected for testing by asserting an enable signal of each of said one or more ring oscillators, the one or more ring oscillators being less than all ring oscillators in the apparatus.
8. The apparatus defined in Claim 4 wherein the serial chain contains an odd number of inverters.
9. The apparatus defined in Claim 1 further comprising an AND gate having a pair of inputs and an output, the output being coupled to the input of the ring oscillator.
10. The apparatus defined in Claim 1 wherein the test structure is responsive to a plurality of control signals.
11. The apparatus defined in Claim 1 wherein at least one of the control signals is a test control signal from a register internal to the apparatus.
12. The apparatus defined in Claim 1 wherein at least one of the control signals is a ring oscillator test mode signal that indicates whether the ring oscillator under test is in functional mode or test mode.
13. A random number generator for use in secret key generation in HDCP, the random number generator comprising the apparatus of Claim 1.
14. An apparatus comprising:
a plurality of ring oscillator structures, each ring oscillator structure having
a ring oscillator having an inverter chain with inverters connected back-to-back and operable to produce a first oscillatory output, and
a ring oscillator test structure coupled to provide either an observability chain input or a test input to the ring oscillator and to receive a second oscillatory output as a feedback, the ring oscillator test structure being operable to reconfigure the ring oscillator into a testable structure to allow one or more of a structural stuck-at test and a functional test of the ring oscillator to validate whether the ring oscillator can produce an intended oscillating frequency, and wherein the plurality of ring oscillator structures are connected in a serial chain with a test output of a last of the ring oscillator test structures in the serial chain being fed back for use with as a test input to a first ring oscillator structure in the chain.
15. The apparatus defined in Claim 14 further comprising a gate to conditionally activate a feedback path to feed back the test output based on a feedback enable signal.
16. The apparatus defined in Claim 14 further comprising an XOR gate to XOR the test output fed back from the last of the ring oscillator test structures with the test input.
17. The apparatus defined in Claim 14 wherein one or more ring oscillators is selected for testing by asserting an enable signal of each of said one or more ring oscillators, the one or more ring oscillators being less than all ring oscillators in the apparatus.
18. The apparatus defined in Claim 14 wherein the serial chain contains an odd number of inverters.
19. The apparatus defined in Claim 14 further comprising gate logic coupled to disable feedback of at least one of the plurality of ring oscillators in steady state for a structural stuck-at test.
20. A random number generator for use in secret key generation in cryptography, the random number generator comprising the apparatus of Claim 14.
21. An apparatus comprising:
a plurality of testable ring oscillators coupled in a serial chain, each of the plurality of testable ring oscillator having an inverter chain serially coupled with an inventor chain of an adjacent testable ring oscillator during a test mode, the testable ring oscillator first in the serial chain receiving a test pattern that potentially causes faults in more than one of the plurality of testable ring oscillators.
PCT/US2013/055176 2012-09-06 2013-08-15 Test solution for ring oscillators WO2014039226A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP13835091.3A EP2893639A4 (en) 2012-09-06 2013-08-15 Test solution for ring oscillators
JP2015531099A JP2015534673A (en) 2012-09-06 2013-08-15 Ring oscillator test solution
CN201380046554.9A CN104604131A (en) 2012-09-06 2013-08-15 Test solution for ring oscillators
KR1020157008839A KR20150054899A (en) 2012-09-06 2013-08-15 Test solution for ring oscillators

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/605,708 US8841974B2 (en) 2012-09-06 2012-09-06 Test solution for ring oscillators
US13/605,708 2012-09-06

Publications (1)

Publication Number Publication Date
WO2014039226A1 true WO2014039226A1 (en) 2014-03-13

Family

ID=50186712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2013/055176 WO2014039226A1 (en) 2012-09-06 2013-08-15 Test solution for ring oscillators

Country Status (7)

Country Link
US (1) US8841974B2 (en)
EP (1) EP2893639A4 (en)
JP (1) JP2015534673A (en)
KR (1) KR20150054899A (en)
CN (1) CN104604131A (en)
TW (1) TWI593234B (en)
WO (1) WO2014039226A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016128999A (en) * 2015-01-09 2016-07-14 株式会社メガチップス Device and method for generating random numbers

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9891276B2 (en) 2015-07-28 2018-02-13 International Business Machines Corporation Performance-screen ring oscillator (PSRO) using an integrated circuit test signal distribution network
US10078114B2 (en) * 2015-09-24 2018-09-18 Renesas Electronics Corporation Test point circuit, scan flip-flop for sequential test, semiconductor device and design device
CN106874177A (en) * 2015-12-14 2017-06-20 中国航空工业第六八研究所 A kind of latch method of testing based on scene
CN106656460A (en) * 2016-11-22 2017-05-10 浙江大学 Defense device for electromagnetic pulse fault analysis of password chip
CN111010880A (en) * 2018-08-08 2020-04-14 深圳市汇顶科技股份有限公司 Modeling method and device of random number generator, medium and random number generator
US11316687B2 (en) * 2019-03-04 2022-04-26 Cypress Semiconductor Corporation Encrypted gang programming
US10761809B1 (en) * 2020-03-12 2020-09-01 Katholieke Universiteit Leuven Random number generator
TWI719917B (en) * 2020-07-14 2021-02-21 金麗科技股份有限公司 Processing method for applying analog dynamic circuit to digital testing tool
CN112504519B (en) * 2020-11-23 2022-05-20 深圳市绘王动漫科技有限公司 Pressure detection circuit, device and pressure input device
US12032460B2 (en) * 2022-02-11 2024-07-09 Stmicroelectronics S.R.L. Systems and methods to test an asynchronous finite machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080048790A1 (en) * 2006-08-09 2008-02-28 Qualcomm Incorporated Circuit Simulator Parameter Extraction Using a Configurable Ring Oscillator
JP2009163539A (en) * 2008-01-08 2009-07-23 Toshiba Corp Random number generation device
US20110090015A1 (en) * 2008-09-30 2011-04-21 Panasonic Corporation Semiconductor integrated circuit and electronic device
US20110163818A1 (en) * 2008-09-22 2011-07-07 Markus Dichtl Apparatus and method for generating a random bit sequence
US20110219277A1 (en) * 2010-03-03 2011-09-08 Qualcomm Incorporated System and Method of Test Mode Gate Operation

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0770573B2 (en) * 1989-07-11 1995-07-31 富士通株式会社 Semiconductor integrated circuit device
US5963104A (en) * 1996-04-15 1999-10-05 Vlsi Technology, Inc. Standard cell ring oscillator of a non-deterministic randomizer circuit
US6069849A (en) * 1996-09-17 2000-05-30 Xilinx, Inc. Method and system for measuring signal propagation delays using the duty cycle of a ring oscillator
JP2000183694A (en) * 1998-12-18 2000-06-30 Mitsumi Electric Co Ltd Oscillation circuit
JP2002311091A (en) * 2001-04-10 2002-10-23 Mitsubishi Electric Corp Semiconductor device
JP2004096237A (en) * 2002-08-29 2004-03-25 Nec Electronics Corp Oscillator circuit and semiconductor integrated circuit
US6798230B1 (en) * 2003-01-15 2004-09-28 Advanced Micro Devices, Inc. Structure and method for increasing accuracy in predicting hot carrier injection (HCI) degradation in semiconductor devices
US7205854B2 (en) * 2003-12-23 2007-04-17 Intel Corporation On-chip transistor degradation monitoring
US7233212B2 (en) * 2005-03-31 2007-06-19 International Business Machines Corporation Oscillator array with row and column control
US7532078B2 (en) * 2007-02-09 2009-05-12 International Business Machines Corporation Scannable virtual rail method and ring oscillator circuit for measuring variations in device characteristics
CN101373203A (en) * 2007-08-21 2009-02-25 中芯国际集成电路制造(上海)有限公司 Speed testing structure of ring-shaped oscillator
US8676870B2 (en) * 2007-09-18 2014-03-18 Seagate Technology Llc Active test and alteration of sample times for a ring based random number generator
JP2009117894A (en) * 2007-11-01 2009-05-28 Univ Of Tokyo Injection-locked oscillator
US8081037B2 (en) * 2008-06-11 2011-12-20 Qualcomm Incorporated Ring oscillator using analog parallelism
CN101819515B (en) * 2010-02-08 2012-06-20 清华大学 Ring-shaped oscillator based truly random number generation circuit and truly random number generator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080048790A1 (en) * 2006-08-09 2008-02-28 Qualcomm Incorporated Circuit Simulator Parameter Extraction Using a Configurable Ring Oscillator
JP2009163539A (en) * 2008-01-08 2009-07-23 Toshiba Corp Random number generation device
US20110163818A1 (en) * 2008-09-22 2011-07-07 Markus Dichtl Apparatus and method for generating a random bit sequence
US20110090015A1 (en) * 2008-09-30 2011-04-21 Panasonic Corporation Semiconductor integrated circuit and electronic device
US20110219277A1 (en) * 2010-03-03 2011-09-08 Qualcomm Incorporated System and Method of Test Mode Gate Operation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2893639A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016128999A (en) * 2015-01-09 2016-07-14 株式会社メガチップス Device and method for generating random numbers

Also Published As

Publication number Publication date
KR20150054899A (en) 2015-05-20
TW201419758A (en) 2014-05-16
CN104604131A (en) 2015-05-06
EP2893639A4 (en) 2016-06-22
TWI593234B (en) 2017-07-21
JP2015534673A (en) 2015-12-03
US20140062606A1 (en) 2014-03-06
EP2893639A1 (en) 2015-07-15
US8841974B2 (en) 2014-09-23

Similar Documents

Publication Publication Date Title
US8841974B2 (en) Test solution for ring oscillators
US9231567B2 (en) Test solution for a random number generator
CN105631077B (en) Integrated circuit with increased fault coverage
US6961886B2 (en) Diagnostic method for structural scan chain designs
US7783946B2 (en) Scan based computation of a signature concurrently with functional operation
US10386413B2 (en) Circuit and method for testing flip flop state retention
JP2004233084A (en) Semiconductor integrated circuit and scan testing method
Da Rolt et al. A smart test controller for scan chains in secure circuits
US9568551B1 (en) Scan wrapper circuit for integrated circuit
Vo et al. Design for board and system level structural test and diagnosis
Kochte et al. Test strategies for reconfigurable scan networks
US10459029B2 (en) On-chip clock control monitoring
US9599673B2 (en) Structural testing of integrated circuits
US7962766B2 (en) Method and system for encryption-based design obfuscation for an integrated circuit
US7496809B2 (en) Integrated scannable interface for testing memory
Kumar et al. Implementation of hybrid LBIST mechanism in digital circuits for test pattern generation and test time reduction
Dubrova et al. Secure and efficient LBIST for feedback shift register-based cryptographic systems
KR100694315B1 (en) At-speed interconnect test controller for system on chip using multiple system clock and having heterogeneous cores
Yang et al. Enhancing silicon debug via periodic monitoring
US9506983B2 (en) Chip authentication using scan chains
Di Natale et al. Manufacturing testing and security countermeasures
US7802159B1 (en) Enhanced logic built-in self-test module and method of online system testing employing the same
Pateras Embedded diagnosis IP
Manich et al. Differential scan-path: A novel solution for secure design-for-testability
Praneeth et al. A Novel Architecture Design of a USB Module in Wireless Modem for IOT Applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13835091

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015531099

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20157008839

Country of ref document: KR

Kind code of ref document: A