US20170176526A1 - Scan frame based test access mechanisms - Google Patents

Scan frame based test access mechanisms Download PDF

Info

Publication number
US20170176526A1
US20170176526A1 US15/447,989 US201715447989A US2017176526A1 US 20170176526 A1 US20170176526 A1 US 20170176526A1 US 201715447989 A US201715447989 A US 201715447989A US 2017176526 A1 US2017176526 A1 US 2017176526A1
Authority
US
United States
Prior art keywords
input
scan
response
stimulus
register
Prior art date
Legal status (The legal status 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 status listed.)
Abandoned
Application number
US15/447,989
Inventor
Lee D. Whetsel
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Texas Instruments Inc
Original Assignee
Texas Instruments 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
Priority claimed from US09/257,760 external-priority patent/US6405335B1/en
Priority claimed from US11/370,017 external-priority patent/US7421633B2/en
Priority claimed from US11/565,979 external-priority patent/US7417450B2/en
Priority claimed from US11/670,241 external-priority patent/US7657810B2/en
Priority to US15/447,989 priority Critical patent/US20170176526A1/en
Application filed by Texas Instruments Inc filed Critical Texas Instruments Inc
Publication of US20170176526A1 publication Critical patent/US20170176526A1/en
Priority to US15/643,677 priority patent/US10254341B2/en
Priority to US16/270,344 priority patent/US10698028B2/en
Priority to US16/876,405 priority patent/US11275116B2/en
Priority to US17/665,616 priority patent/US11635464B2/en
Priority to US18/305,454 priority patent/US20230258715A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • 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/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318536Scan chain arrangements, e.g. connections, test bus, analog signals
    • 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/3177Testing of logic operation, e.g. by logic analysers
    • 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/31712Input or output aspects
    • G01R31/31713Input or output interfaces for test, e.g. test pins, buffers
    • 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/31723Hardware for routing the test signal within the device under test to the circuits to be tested, e.g. multiplexer for multiple core testing, accessing internal nodes
    • 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/31727Clock circuits aspects, e.g. test clock circuit details, timing aspects for signal generation, circuits for testing clocks
    • 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/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318544Scanning methods, algorithms and patterns

Definitions

  • the present invention relates generally to testing of electrical circuits and, more particularly, to testing of electrical circuits using scan framing circuits and techniques which allow circuits to be tested in a more efficient manner than achieved using conventional test approaches.
  • FIG. 1A illustrates a prior art device 100 having a core 102 with parallel scan paths 104 .
  • the core is tested by an external tester inputting stimulus to the scan path inputs, receiving response from the scan paths outputs, and inputting test control to operate the scan paths. This type of testing is well known.
  • FIG. 1B illustrates a prior art device 106 having a core 108 with parallel scan paths 110 .
  • the stimulus inputs to the scan paths come from a parallel scan distributor (PSC) 112 and the response outputs from the scan paths are input to a parallel scan collector (PSC) 114 .
  • the core is tested by an external tester serially inputting stimulus to the PSD via a scan input, serially outputting response from the PSC via a scan output, and inputting test control to operate the PSD, PSC and scan paths.
  • This type of serial to parallel and parallel to serial scan testing was described in U.S. Pat. No. 6,405,335 (Position Independent Testing of Circuits), which is incorporated herein by reference.
  • FIG. 1C illustrates a prior art device 116 having a core 118 with parallel scan paths 120 .
  • the stimulus inputs to the scan paths come from a decompressor (DEC) circuit 122 and the response outputs from the scan paths are input to a compressor (COM) 124 , sometimes referred to as a multiple input shift register (MISR) or compactor.
  • the core is tested by an external tester serially inputting compressed stimulus patterns to the DEC via one or more scan inputs, decompressing the stimulus patterns and inputting them to the scan paths, while simultaneously compressing the response outputs from the scan paths in the COM and outputting the compressed response patterns from the COM via one or more scan outputs.
  • the tester inputs control to operate the DEC, COM, and scan paths during test. This type of response compression and stimulus decompression testing is well known as indicated by a paper referenced in the Reference to Related Art section.
  • FIG. 1D illustrates a prior art device 126 having a core 128 with parallel scan paths 130 .
  • the stimulus inputs to the scan paths come from a stimulus pattern generator (GEN) circuit 132 and the response outputs from the scan paths are input to a response pattern compressor (COM) circuit 134 .
  • the core is tested by an external tester inputting control to operate the GEN, COM, and scan paths during test. This type of testing is referred to a built in self test (BIST), which is very well known.
  • BIST built in self test
  • the present invention describes test access mechanisms (TAM) circuits that can be used to improve the scan testing of cores.
  • TAMs are based on a new method of inputting and outputting scan test data to and from core scan paths using a scan framing technique.
  • FIG. 1A illustrates testing of a core using parallel scan testing.
  • FIG. 1B illustrates scan testing of a core using Parallel Scan Distributor (PSD) and Parallel Scan Collector (PSC) circuits.
  • PSD Parallel Scan Distributor
  • PSC Parallel Scan Collector
  • FIG. 1C illustrates scan testing of a core using Decompressor and Compressor circuits.
  • FIG. 1D illustrates scan testing of a core using Built-In Self test circuits.
  • FIG. 2 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 3 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 4 illustrates the operation of the controller of the test access mechanisms of FIGS. 2 and 3 .
  • FIG. 5 illustrates a circuit for synchronizing the starting and stopping of a controller of a test access mechanism according to the present invention.
  • FIG. 6 illustrates the operation of the controller of the test access mechanisms of present invention during a signature read operation.
  • FIG. 7A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 7B illustrates a detail view of the stimulus decompression and response compression circuits of FIG. 7A .
  • FIG. 8A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 8B illustrates a detail view of the stimulus decompression, mask decompression, and response compression circuits of FIG. 8A .
  • FIG. 8C illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 9 illustrates the operation of the controller of the test access mechanisms of FIGS. 7A, 8A, and 8C .
  • FIG. 10 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 11 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 12 illustrates the operation of the controller of the test access mechanisms of FIGS. 10 and 11 .
  • FIG. 13A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 13B illustrates a detail view of the stimulus decompression, response decompression, and response comparator circuits of FIG. 13A .
  • FIG. 13C illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 14A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 14B illustrates a detail view of the stimulus decompression, mask decompression, response decompression, and response comparator circuits of FIG. 14A .
  • FIG. 14C illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 15 illustrates the operation of the controller of the test access mechanisms of FIGS. 13A, 13C, 14A, and 14C .
  • FIG. 16 illustrates a single detect fail logger circuit of the controllers of the test access mechanisms of FIG. 13A, 13C, 14A, and 14C .
  • FIG. 17 illustrates the operation of the controller of the test access mechanisms of present invention during a single fail data read operation.
  • FIG. 18 illustrates a multiple detect fail logger circuit of the controllers of the test access mechanisms of FIG. 13A, 13C, 14A, and 14C .
  • FIG. 19 illustrates the operation of the controller of the test access mechanisms of present invention during a multiple fail data read operation.
  • FIG. 20 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 21 illustrates the operation of the controller of the test access mechanisms of FIG. 20 .
  • FIG. 22 illustrates the testing and reading of individual die/ICs according to the present invention.
  • FIG. 23 illustrates the testing and reading of strings of die/ICs according to the present invention.
  • FIG. 24 illustrates a tester connected to a die/IC that includes a TAM Port, a TAM interface, and TAMs according to the present invention.
  • FIG. 25 illustrates a more detail view of the FIG. 24 TAM interface between the TAM Port and TAMs within a die/IC.
  • FIG. 26 illustrates individual die/ICs coupled to a tester according to the present invention.
  • FIG. 27 illustrates a string of die/ICs coupled to a tester according to the present invention.
  • FIG. 28 illustrates a TAP based TAM Port according to the present invention.
  • FIG. 29 illustrates a detail view of the TAM interface between the TAP based TAM Port of FIG. 28 and TAMs within a die/IC.
  • FIG. 30 illustrates a circuit for reducing the number of test signals between a tester and a die/IC according to the present invention.
  • FIG. 31 illustrates the signal reducer circuit of FIG. 30 coupled to a TAP based TAM Port according to the present invention.
  • FIG. 32 illustrates a detail view of the TAM interface between the signal reducer and TAP based TAM Port of FIG. 31 and TAMs within a die/IC.
  • FIG. 2 illustrates a Stimulus & Compress TAM 200 that can be coupled to a core within a device, or integrated circuit, to enable testing of the core according to the present invention.
  • This TAM is for use with Compress-Ready Core Scan Paths 202 , i.e. the response from the scan paths does not contain unknown states.
  • the TAM includes a Scan Frame Input Register (SFIR) 204 , a Scan Frame Copy Register (SFCR) 208 , a Scan Frame Update Register (SFUR) 206 , a Compressor 210 , a Controller 212 , and multiplexer 214 .
  • SFIR Scan Frame Input Register
  • SFCR Scan Frame Copy Register
  • SFUR Scan Frame Update Register
  • the SFIR and SFCR both comprise a Stimulus (S) section, a Command (C) section, and a Frame Marker (FM) section.
  • the SFUR comprises a Stimulus (S) section and a Command (C) section.
  • the TAM has a TAM Serial Input (TSI), a TAM Serial Output (TSO), a Clock (CLK) input, a Test/Read (T/R) mode input, a TAM Enable (TE) input, a Functional Clock (FC) input, a Stimulus (S) output bus to the core, a Response (R) input bus from the core, and a Control (CTL) output bus to the core.
  • TAM inputs and outputs form a standardized interface for all TAMs described in this disclosure.
  • the Stimulus (S) bus from the SFUR is input to the core scan paths
  • the Response (R) bus from the core scan paths is input to the Compressor
  • the Control (CTL) bus from the Controller provides control for the TAM circuits and core scan paths.
  • the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the S and C sections of the SFIR into the S and C sections of the SFUR, the S, C, and FM sections of the SFIR into the S, C, and FM sections of the SFCR, and then clears the SFIR. Clearing the SFIR to logic zeros allows for detecting the FM (a logic one) in the next scan frame input. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command timed by either the CLK input or a Functional Clock (FC) input.
  • the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths while the response (R) outputs from the core scan paths are compressed into a signature using the Compressor.
  • the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO.
  • This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation.
  • the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation.
  • the Controller causes the Compressor to shift data from TSI to TSO via multiplexer 214 in response to the CLK input to unload the signature.
  • the S section of the SFUR 206 can be realized as either a register 218 or a FIFO 216 . If the S section is a register, only one stimulus pattern is loaded into the register from the S section of the SFIR to be input to the core scan paths, and only one response pattern from the core scan paths is compressed in the compressor. If the S section is a FIFO a number of stimulus patterns can be stored in the FIFO from the S section of the SFIR to be output to the core scan paths while an equal number of response patterns from the core scan path are compressed in the compressor.
  • the register 218 and FIFO 216 both have parallel inputs that are coupled to the S section of the SFIR, parallel outputs that are coupled to the stimulus inputs of the core scan paths, and control inputs from controller 212 .
  • the advantage of using the FIFO is that, in response to a command, multiple stimulus inputs, buffered up in the FIFO, can be rapidly input to the core scan paths, while an equal number of response outputs from the core scan paths can be rapidly compressed into the compressor.
  • FIG. 3 illustrates a Stimulus & Maskable Compress TAM 300 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Core Scan Paths 302 where the response output contains unknown states that need to be masked off.
  • the TAM includes a SFIR 304 , a SFCR 308 , a SFUR 306 , a Compressor 310 , a Controller 312 , and a multiplexer 314 .
  • the SFIR and SFCR both comprise a Stimulus (S) section, a Mask (M) section, a Command (C) section, and a Frame Marker (FM) section.
  • the SFUR comprises a Stimulus (S) section, a Mask (M) section, and a Command (C) section.
  • the TAM has the standardized inputs and outputs described in FIG. 2 .
  • the Stimulus (S) bus from the SFUR is input to the core scan paths.
  • the Mask (M) bus from the SFUR is input to the Compressor to mask off unknown response inputs.
  • the Response (R) bus from the core scan paths is input to the Compressor.
  • the Control (CTL) bus from the Controller provides control for the TAM circuits and core scan paths.
  • the Controller When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the S, M, and C sections of the SFIR into the S, M, and C sections of the SFUR, the S, M, C, and FM sections of the SFIR into the S, M, C, and FM sections of the SFCR, and then clears the SFIR.
  • the Controller executes the Command (C) output from the SFUR.
  • the Controller can execute the Command in response to either the CLK or FC signal.
  • the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths while the unmasked response (R) outputs from the core scan paths are compressed into a signature using the Compressor.
  • the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO.
  • This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation.
  • the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation.
  • the Controller causes the Compressor to shift data from TSI to TSO via multiplexer 314 in response to the CLK input to unload the signature.
  • the S and M sections of the SFUR 306 can be realized as either a register 318 or a FIFO 316 . If the S and M sections are registers, only one stimulus and mask pattern is loaded into the registers from the S and M sections of the SFIR to be input to the core scan paths and compressor 310 , and only one response pattern from the core scan paths is compressed in the compressor. If the S and M sections are FIFOs a number of stimulus and mask patterns can be stored in the FIFOs from the S and M sections of the SFIR to be output to the core scan paths and compressor, while an equal number of response patterns from the core scan path are compressed in the compressor.
  • An S section register 318 or FIFO 316 has parallel inputs coupled to the S section of the SFIR, parallel outputs coupled to the stimulus inputs of the core scan path, and control inputs from controller.
  • An M section register 318 or FIFO 316 has parallel inputs coupled to the M section of the SFIR, parallel outputs coupled to the mask inputs of the compressor, and control inputs from controller.
  • FIG. 4 illustrates the operation of the Controllers of the FIGS. 2 and 3 TAMs when TE is high and T/R is set for test operation.
  • the Controller consists of a Scan Frame state machine 400 , a Shift state machine 402 , a Shift & Compress state machine 404 , and a Shift, Load, and Compress state machine 406 .
  • the Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR.
  • the Scan Frame state machine has an Idle state where is resides when TE is low, a Shift SFIR & SFCR state where is shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines.
  • the Command state machines can be clocked by either the CLK or FC inputs. Clocking the Command state machines using the FC allows the core scan paths to perform test operations at the functional clock rate, which is usually much faster than the CLK rate and allows better at-speed, delay, and timing closure testing.
  • the Shift state machine 402 In response to a Command of 00 (in this example) the Shift state machine 402 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state. The Shift state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation. In response to a Command of 01 (in this example) the Shift & Compress state machine 404 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state and then back to the Idle state. The Shift & Compress state machine is used to shift in stimulus data to the core scan paths from the SFUR and to compress the response outputs from the core scan paths into the Compressor.
  • a Command of 00 the Shift state machine 402 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state.
  • the Shift state machine is used to initialize the scan paths with stimulus data
  • the Shift, Compress & Load state machine 406 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state, then to the Load Scan Paths state, and then back to the Idle state.
  • the Shift, Compress & Load state machine is used to shift in the last stimulus data patterns to the core scan paths from the SFUR during a current shift & compress test operation cycle, to compress the last response output patterns from the scan paths into the Compressor during the current shift & compress test operation cycle, and to load the scan paths with parallel response data from combinational logic in preparation for the next shift & compress test operation cycle.
  • the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • the Shift state machine 402 will remain in the shift scan paths state
  • the Shift & Compress state machine 404 will remain in the shift scan paths & compress response state
  • the Shift, Compress & Load state machine 406 will remain in the shift scan paths & compress response state, as indicated by dotted line, for the number of FC/CLK cycles required to output buffered stimulus patterns from the S FIFO to the core scan path and buffered mask patterns from the M FIFO to the compressor.
  • FIG. 4 illustrates the operation of the Controllers of the FIGS. 2 and 3 TAMs when TE is high and T/R is set for test operation.
  • the Controller consists of a Scan Frame state machine 400 , a Shift state machine 402 , a Shift & Compress state machine 404 , and a Shift, Load, and Compress state machine 406 .
  • the Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR.
  • the Scan Frame state machine has an Idle state where is it resides when TE is low, a Shift SFIR & SFCR state where is it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines.
  • the Command state machines can be clocked by either the CLK or FC inputs. Clocking the Command state machines using the FC allows the core scan paths to perform test operations at the functional clock rate, which is usually much faster than the CLK rate and allows better at-speed, delay, and timing closure testing.
  • the Shift state machine 402 In response to a Command of 00 (in this example) the Shift state machine 402 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state. The Shift state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation. In response to a Command of 01 (in this example) the Shift & Compress state machine 404 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state and then back to the Idle state. The Shift & Compress state machine is used to shift in stimulus data to the core scan paths from the SFUR and to compress the response outputs from the core scan paths into the Compressor.
  • a Command of 00 the Shift state machine 402 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state.
  • the Shift state machine is used to initialize the scan paths with stimulus data
  • the Shift, Compress & Load state machine 406 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state, then to the Load Scan Paths state, and then back to the Idle state.
  • the Shift, Compress & Load state machine is used to shift in the last stimulus data patterns to the core scan paths from the SFUR during a current shift & compress test operation cycle, to compress the last response output patterns from the scan paths into the Compressor during the current shift & compress test operation cycle, and to load the scan paths with parallel response data from combinational logic in preparation for the next shift & compress test operation cycle.
  • the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • FIG. 5 illustrates an example circuit 500 for enabling the command state machines of the present invention when TE is high and T/R is set for test operation.
  • the circuit consists of a set/reset latch 502 , a synchronizer 504 , and, in this example, the shift state machine 402 of FIG. 4 .
  • a Command 00 signal pulse is output from the Scan Frame state machine 400 the latch's Enable output goes high and is input to the synchronizer.
  • the synchronizer synchronizes the Enable signal with either the FC or CLK clock signal and outputs a synchronized enable (SyncEnable) signal to the Shift state machine.
  • the Shift state machine transitions from the Idle state to the Shift Scan Path state and back to the Idle state in response to the FC or CLK signal. Again as seen in dotted line, if FIFOs are used the Shift Scan Path state will be maintained until the FIFOs empty of data. The transition back into the Idle state produces a Reset signal pulse that resets the set/reset latch and synchronizer to disable the Shift state machine.
  • the other command state machines in this presentation can be substituted for the Shift state machine of FIG. 5 .
  • All command state machines have the SyncEnable input to enable their operation, the FC or CLK inputs to time their operations, and the Reset signal output to terminate their operations upon returning back to their Idle state.
  • the purpose of the synchronizer is to synchronize the Enable signal output from the set/reset latch in response to the CLK signal to the FC signal so that the command state machines start and operate synchronously with the FC signal.
  • the CLK and FC are separate clock signals.
  • the CLK clock is a test clock provided to the device from a tester.
  • the FC clock is a functional clock that may be provided from a device pin, an oscillator, a PLL, or other clock providing source.
  • the synchronizer may be eliminated if desired since the CLK signal times both the Scan Frame state machine that produces the Enable signal and the starting and the operating of command state machines. Without the synchronizer the Enable signal from the set/reset latch is input directly to the command state machine in place of the SyncEnable input.
  • FIG. 6 illustrates the operation of the Shift Compressor state machine 600 of the TAM Controllers of FIGS. 2 and 3 when TE is high and T/R is set for Read operation.
  • the Shift Compressor state machine transitions from the Idle state to the Shift Out Compressor state.
  • the state machine remains in the Shift Out Compressor state until TE returns low.
  • the controller outputs control (CTL) to cause the Compressor to shift in data from TSI and shift out data on TSO.
  • CTL control
  • multiplexer 214 or 314 couples the serial output from the Compressor to the TSO output of the TAM.
  • This Shift Compressor state machine is used by all TAMs that have Compressors.
  • FIG. 7A illustrates a Decompress & Compress TAM 700 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Compress-Ready Core Scan Paths 702 , i.e. the response from the scan paths does not contain unknown states.
  • the TAM includes a SFIR 704 , a SFCR 708 , a SFUR 706 , a Decompressor 716 , a Compressor 710 , a multiplexer 714 , and a Controller 712 .
  • the SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Command (C) section, and a Frame Marker (FM) section.
  • CS Compressed Stimulus
  • C Command
  • FM Frame Marker
  • the SFUR comprises a Compressed Stimulus (CS) section 707 and a Command (C) section.
  • the TAM has the standardized inputs and outputs described in FIG. 2 .
  • the CS bus from the SFUR is input to the Decompressor.
  • the Decompressed Stimulus (DS) output from the Decompressor is input to the core scan paths.
  • the R bus from the core scan paths is input to the Compressor.
  • the CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the CS and C sections of the SFIR into the CS and C sections of the SFUR, the CS, C, and FM sections of the SFIR into the CS, C, and FM sections of the SFCR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR.
  • the Controller can execute the Command in response to either the CLK or FC signal.
  • the Decompressor 716 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path while the Compressor inputs the R outputs from the core scan paths and compresses them into a signature.
  • DS Decompressed Stimulus
  • Each CS input may provide an N number of DS patterns for input to the core scan paths.
  • the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Compressor to shift data from TSI to TSO in response to the CLK input to unload the signature as described in FIG. 6 .
  • FIG. 7B illustrates a more detailed view of the stimulus decompression and response compression circuits of FIG. 7A .
  • the CS register 707 and decompressor 716 circuit combination 717 is enabled by control input from the controller to decompress the compressed stimulus data in the CS register and output the decompressed stimulus data to the stimulus inputs of the core scan paths.
  • the CS register 707 operates as an LFSR or other pseudorandom pattern generation circuit to produce multiple stimulus patterns from the single CS input pattern.
  • the decompressor 716 receives the multiple stimulus patterns from the CS register 707 and outputs stimulus data to each scan path.
  • the CS and decompressor circuit combination 717 expands a small N channel wide CS input pattern into a number of larger M channel wide stimulus output patterns for input to a large number of core scan paths.
  • Stimulus decompression circuits that receive a small compressed stimulus input pattern and produce a number of wide decompressed stimulus output patterns, similar to circuit 717 , are known in the art as indicated in the paper listed in the Reference of Related Art.
  • FIG. 8A illustrates a Decompress & Maskable Compress TAM 800 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Core Scan Paths 802 where the response output contains unknown states that need to be masked off.
  • the TAM includes a SFIR 804 , a SFCR 808 , a SFUR 806 , a stimulus Decompressor 816 , a mask Decompressor 818 , a Compressor 810 , a multiplexer 814 , and a Controller 812 .
  • the SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Compressed Mask (CM) section, a Command (C) section, and a Frame Marker (FM) section.
  • the SFUR comprises a Compressed Stimulus (CS) section 807 , a Compressed Mask (CM) section 809 , and a Command (C) section.
  • the TAM has the standardized inputs and outputs described in FIG. 2 .
  • the CS bus from the SFUR is input to the stimulus Decompressor 816 .
  • the Decompressed Stimulus (DS) output from Decompressor 816 is input to the core scan paths.
  • the CM bus from the SFUR is input to the mask Decompressor 818 .
  • the Decompressed Mask (DM) output from Decompressor 818 is input to the Compressor along with the R bus from the core scan paths.
  • the CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the CS, CM, and C sections of the SFIR into the CS, CM, and C sections of the SFUR, the CS, CM, C, and FM sections of the SFIR into the CS, CM, C, and FM sections of the SFCR, and then clears the SFIR.
  • the Controller executes the Command (C) output from the SFUR.
  • the Controller can execute the Command in response to either the CLK or FC signal.
  • Decompressor 816 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path
  • Decompressor 818 decompresses the CM input and applies the Decompressed Mask (DM) patterns to the Compressor
  • the Compressor inputs the response (R) outputs from the core scan paths and compresses the unmasked response inputs into a signature.
  • Each CS and CM input may provide an N number of DS and CM patterns for input to the core scan paths and Compressor, respectively.
  • This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation.
  • the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation.
  • the Controller causes the Compressor to shift data from TSI to TSO in response to the CLK input to unload the signature and described in FIG. 6 .
  • FIG. 8B illustrates a more detailed view of the stimulus decompression, mask decompression, and response compression circuits of FIG. 8A .
  • compressed stimulus and mask data is updated from the SFIR 804 to the CS 807 and CM 809 register sections of the SFUR 806
  • the CS register 807 and decompressor 816 circuit combination 811 , and the CM register 809 and decompressor 818 circuit combination 813 are enabled by control input from the controller to decompress the compressed the stimulus and mask data in the CS and CM registers.
  • the decompressed stimulus data is input to the core scan paths, and the decompressed mask data is input to the compressor 810 .
  • the CS and CM registers operate as LFSRs or other pseudorandom pattern generation circuits to produce multiple stimulus and mask patterns from the single CS and CM input patterns.
  • the decompressor 816 receives the multiple stimulus patterns from the CS register 807 and outputs stimulus data to each scan path.
  • the decompressor 818 receives the multiple mask patterns from the CM register 809 and outputs mask data to the compressor 810 .
  • circuit combinations 811 and 813 expand a small N channel wide CS and CM input pattern into a number of larger M channel wide stimulus and mask output patterns for input to the core scan paths and compressor, respectively.
  • FIG. 8C illustrates a Decompress & Maskable Compress TAM 820 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Core Scan Paths 802 where the response output contains unknown states that need to be masked off.
  • the TAM of FIG. 8C is the same the TAM of FIG. 8A with the exceptions that; ( 1 ) the SFUR 822 contains a mask (M) FIFO 828 section instead of the CM register section of FIG. 8A , ( 2 ) the SFIR 824 contains an M register section instead of the CM register section of FIG. 8A , and ( 3 ) the SFCR 826 contains an M register section instead of the CM register section of FIG.
  • the masking of the response outputs from the core scan paths is achieved by buffering up mask data into the M FIFO of SFUR 822 and outputting the mask data to the compressor 810 as the decompressed stimulus data from the decompressor is being input to the core scan paths.
  • FIG. 8C TAM uses buffered mask data as opposed to the FIG. 8A TAM using decompressed mask data, the test and read operations of the two TAMs are identical.
  • FIG. 9 illustrates the operation of the Controllers of the FIGS. 7A, 8A , and 8 C TAMs when TE is high and T/R is set for test operation.
  • the Controller consists of a Scan Frame state machine 900 , a Decompress state machine 902 , a Compress & Decompress state machine 904 , and a Load, Compress & Decompress state machine 906 .
  • the Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR.
  • the Scan Frame state machine has an Idle state where is resides when TE is low, a Shift SFIR & SFCR state where it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines.
  • the Command state machines can be clocked by either the CLK or FC inputs.
  • the Decompress state machine 902 is enabled to transition from the Idle state to the Decompress state where it resides during the decompression of the CS inputs.
  • the Decompress state machine transitions back to the Idle state.
  • the Decompress state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation.
  • the Compress & Decompress state machine 904 is enabled to transition from the Idle state to the Compress & Decompress state where it resides during the decompression of the CS input of FIG. 7A , the decompression of the CS and CM inputs of FIG. 8A , or the decompression of the CS input and outputting of mask data from the M FIFO of FIG. 8C .
  • the Compress & Decompress state machine transitions back to the Idle state.
  • the Compress & Decompress state machine is used to decompress the CS input into stimulus data to the core scan paths, to decompress the CM input into mask data to the Compressor or to output buffered mask data from the M FIFO to the Compressor, and to compress the response outputs from the core scan paths into the Compressor.
  • the Compress, Decompress & Load state machine 906 is enabled to transition from the Idle state to the Compress & Decompress state where it resides during the decompression of the CS input of FIG.
  • the Compress, Decompress & Load state machine transitions to the Load Scan Paths state to load data from combinational logic, and then back to the Idle state.
  • the Compress, Decompress & Load state machine is used to shift in the last decompressed stimulus to the core scan paths during a current compress & decompress test operation cycle, to compress the last non-masked response outputs from the core scan paths during the current compress & decompress test operation cycle, and to load response data from combinational logic into the core scan paths in preparation for the next compress & decompress test operation cycle.
  • the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • FIG. 10 illustrates a Stimulus & Compare TAM 1000 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Compare-Ready Core Scan Paths 1002 , i.e. the response from the scan paths does not contain unknown states.
  • the TAM includes a SFIR 1004 , a SFCR 1008 , a SFUR 1006 , a Fail Logger circuit 1016 , a Comparator 1010 , a multiplexer 1014 , and a Controller 1012 .
  • the SFIR and SFCR both comprise a Stimulus (S) section, a Response (R) section, a Command (C) section, and a Frame Marker (FM) section.
  • the SFUR comprises a Stimulus (S) section, a Response (R) section, and a Command (C) section.
  • the TAM has the standardized inputs and outputs described in FIG. 2 .
  • the S bus from the SFUR is input to the stimulus inputs of the core scan paths.
  • the R bus from the SFUR is input to the Comparator.
  • the R bus from the core scan paths is input to the Comparator.
  • the Compare Outputs (CO) from the Comparator are input to the Fail Logger.
  • the Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input.
  • the FO signal may optionally be output from the TAM to immediately indicate a failure to a tester.
  • the CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the S, R, and C sections of the SFIR into the S, R, and C sections of the SFUR, the S, R, C, and FM sections of the SFIR into the S, R, C, and FM sections of the SFCR, and then clears the SFIR.
  • the Controller executes the Command (C) output from the SFUR.
  • the Controller can execute the Command in response to either the CLK or FC signal.
  • the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths while the response (R) outputs from the core scan paths are compared against the response (R) inputs from the SFUR.
  • the results of each response compare operation are input to the Fail Logger. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the failure data contained within the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • the S and R sections of the SFUR 1006 can be realized as either a register 1020 or a FIFO 1018 . If the S and R sections are registers, only one stimulus and response pattern is loaded into the registers from the S and R sections of the SFIR to be input to the core scan paths and comparator 1010 , and only one response pattern from the core scan paths is compared in the comparator. If the S and R sections are FIFOs, a number of stimulus and response patterns can be stored in the FIFOs from the S and R sections of the SFIR to be output to the core scan paths and comparator, while an equal number of response patterns from the core scan path are compared in the comparator.
  • An S section register 1020 or FIFO 1018 has parallel inputs coupled to the S section of the SFIR, parallel outputs coupled to the stimulus inputs of the core scan path, and control inputs from controller.
  • An R section register 1020 or FIFO 1018 has parallel inputs coupled to the R section of the SFIR, parallel outputs coupled to the response inputs of the comparator, and control inputs from controller.
  • FIG. 11 illustrates a Stimulus & Maskable Compare TAM 1100 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Core Scan Paths 1102 where the response output contains unknown states that need to be masked off.
  • the TAM includes a SFIR 1104 , a SFCR 1108 , a SFUR 1106 , a Fail Logger circuit 1116 , a Comparator 1110 , a multiplexer 1114 , and a Controller 1112 .
  • the SFIR and SFCR both comprise a Stimulus (S) section, a Mask (M) section, a Response (R) section, a Command (C) section, and a Frame Marker (FM) section.
  • the SFUR comprises a Stimulus (S) section, a Mask (M) section, a Response (R) section, and a Command (C) section.
  • the TAM has the standardized inputs and outputs described in FIG. 2 .
  • the S bus from the SFUR is input to the stimulus inputs of the core scan paths.
  • the M and R buses from the SFUR are input to the Comparator.
  • the R bus from the core scan paths is input to the Comparator.
  • the Compare Outputs (CO) from the Comparator are input to the Fail Logger.
  • the Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input.
  • the FO signal may optionally be output from the TAM to immediately indicate a failure to a tester.
  • the CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the S, M, R, and C sections of the SFIR into the S, M, R, and C sections of the SFUR, the S, M, R, C, and FM sections of the SFIR into the S, M, R, C, and FM sections of the SFCR, then clears the SFIR. Following the transfer and clear operation, the Controller executes the
  • the Controller can execute the Command in response to either the CLK or FC signal.
  • the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths
  • the mask (M) data from the SFUR is input to the comparator along with the response (R) outputs from the scan paths.
  • the comparator compares the unmasked response (R) outputs from the core scan paths against the response (R) inputs from the SFUR.
  • the results of each response compare operation are input to the Fail Logger. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO.
  • This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation.
  • the failure data contained within the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation.
  • the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • the S, M, and R sections of the SFUR 1106 can be realized as either a register 1120 or a FIFO 1118 . If the S, M, and R sections are registers, only one stimulus, mask, and response pattern is loaded into the registers from the S, M, and R sections of the SFIR to be input to the core scan paths and comparator 1110 , and only one response pattern from the core scan paths is compared in the comparator. If the S, M, and R sections are FIFOs, a number of stimulus, mask, and response patterns can be stored in the FIFOs from the S, M, and R sections of the SFIR to be output to the core scan paths and comparator, while an equal number of response patterns from the core scan path are compared in the comparator.
  • An S section register 1120 or FIFO 1118 has parallel inputs coupled to the S section of the SFIR, parallel outputs coupled to the stimulus inputs of the core scan path, and control inputs from controller.
  • An M section register 1120 or FIFO 1118 has parallel inputs coupled to the M section of the SFIR, parallel outputs coupled to the mask inputs of the comparator, and control inputs from controller.
  • An R section register 1120 or FIFO 1118 has parallel inputs coupled to the R section of the SFIR, parallel outputs coupled to the response inputs of the comparator, and control inputs from controller.
  • S, M, and R FIFOs are advantages of using S, M, and R FIFOs.
  • multiple stimulus, mask, and response inputs, buffered up in the FIFOs can be rapidly input to the core scan paths and comparator, while an equal number of response outputs from the core scan paths can be rapidly compared in the comparator.
  • FIG. 12 illustrates the operation of the Controllers of the FIGS. 10 and 11 TAMs when TE is high and T/R is set for test operation.
  • the Controller consists of a Scan Frame state machine 1200 , a Shift state machine 1202 , a Shift & Compare state machine 1204 , and a Shift, Compare & Load state machine 1206 .
  • the Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR.
  • the Scan Frame state machine has an Idle state where is resides when TE is low, a Shift SFIR & SFCR state where is shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines.
  • the Command state machines can be clocked by either the CLK or FC inputs.
  • the Shift state machine 1202 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state.
  • the Shift state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation.
  • the Shift & Compare state machine 1204 is enabled to transition from the Idle state to the Shift Scan Paths & Compare state then back to the Idle state.
  • the Shift & Compare state machine is used to shift in stimulus data to the core scan paths from the SFUR and to compare unmasked response outputs from the core scan paths using the Comparator.
  • the Shift, Compare & Load state machine 1206 is enabled to transition from the Idle state to the Shift Scan Paths & Compare state, to the Load Scan Paths state, and back to the Idle state.
  • the Shift, Compare & Load state machine is used to shift in the last stimulus data to the core scan paths during a current shift & compare test operation cycle, to compare the last non-masked response outputs from the core scan paths during the current shift & compare test operation cycle, and to load response data from combinational logic into the core scan paths in preparation for the next shift & compare test operation cycle.
  • the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • the Shift state machine 1202 will remain in the shift scan paths state
  • the Shift & Compare state machine 1204 will remain in the shift scan paths & compare response state
  • the Shift, Compare & Load state machine 1206 will remain in the shift scan paths & compare response state, as indicated by dotted line, for the number of FC/CLK cycles required to output buffered patterns from the S and R FIFOs of FIG. 10 or buffered S, M, and R patterns from the FIFOs of FIG. 11 .
  • FIG. 13A illustrates a Decompress & Compare TAM 1300 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Compress-Ready Core Scan Paths 1302 , i.e. the response from the scan paths does not contain unknown states.
  • the TAM includes a SFIR 1304 , a SFCR 1308 , a SFUR 1306 , a stimulus Decompressor 1316 , a response Decompressor 1318 , a Comparator 1310 , a Fail Logger 1320 , a multiplexer 1314 , and a Controller 1312 .
  • the SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Compressed Response (CR) section, a Command (C) section, and a Frame Marker (FM) section.
  • the SFUR comprises a Compressed Stimulus (CS) section, a Compressed Response (CR) section, and a Command (C) section.
  • the TAM has the standardized inputs and outputs described in FIG. 2 .
  • the CS bus from the SFUR is input to the stimulus Decompressor 1316 .
  • Decompressor 1316 outputs decompressed stimulus (DS) patterns to the core scan paths.
  • the CR bus from the SFUR is input to the response Decompressor 1318 .
  • the Comparator inputs decompressed response (DR) patterns from the response Decompressor and response (R) patterns from the core scan paths.
  • the Comparator outputs Compare Outputs (CO) to the Fail Logger circuit.
  • the Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input.
  • the FO signal may optionally be output from the TAM to immediately indicate a failure to a tester.
  • the CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the CS, CR, and C sections of the SFIR into the CS, CR, and C sections of the SFUR, the CS, CR, C, and FM sections of the SFIR into the CS, CR, C, and FM sections of the SFCR, and then clears the SFIR.
  • the Controller executes the Command (C) output from the SFUR.
  • the Controller can execute the Command in response to either the CLK or FC signal.
  • Decompressor 1316 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path
  • Decompressor 1318 decompresses the CR input and applies the Decompressed Response (DR) patterns to the Comparator
  • the Comparator compares the Decompressed Response inputs to the response (R) outputs from the core scan paths and outputs Compare Output (CO) results to the Fail Logger.
  • Each CS and CR input may provide an N number of DS and DR patterns for input to the core scan paths and Comparator, respectively.
  • the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO.
  • This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation.
  • the fail data contained in the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation.
  • the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • FIG. 13B illustrates a more detailed view of the stimulus decompression, response decompression, and response comparator circuits of FIG. 13A .
  • compressed stimulus and response data is updated from the SFIR 1304 to the CS 1307 and CR 1309 register sections of the SFUR 1306
  • the CS register 1307 and decompressor 1316 circuit combination 1311 , and the CR register 1309 and decompressor 1318 circuit combination 1313 are enabled by control input from the controller to decompress the compressed stimulus and response data in the CS and CR registers.
  • the decompressed stimulus data is input to the core scan paths, and the decompressed response data is input to the comparator 1310 .
  • the CS and CR registers operate as LFSRs or other pseudorandom pattern generation circuits to produce multiple stimulus and response patterns from the single CS and CR input patterns.
  • the decompressor 1316 receives the multiple stimulus patterns from the CS register 1307 and outputs stimulus data to each scan path.
  • the decompressor 1318 receives the multiple response patterns from the CR register 1309 and outputs response data to the comparator 1310 .
  • circuit combinations 1311 and 1313 expand a small N channel wide CS and CR input pattern into a number of larger M channel wide stimulus and response output patterns for input to the core scan paths and comparator, respectively.
  • FIG. 13C illustrates a Decompress & Compare TAM 1322 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Core Scan Paths 1302 where the response output does not contain unknown states.
  • the TAM of FIG. 13C is the same the TAM of FIG. 13A with the exceptions that; (1) the SFUR 1324 contains a response (R) FIFO 1330 section instead of the CR register section of FIG. 13A , (2) the SFIR 1326 contains an R register section instead of the CR register section of FIG. 13A , and (3) the SFCR 1328 contains an R register section instead of the CR register section of FIG. 13A .
  • R response
  • the comparing of the response outputs from the core scan paths is achieved by buffering up response data into the R FIFO of SFUR 1324 and outputting the buffered response data to the comparator 1310 as the decompressed stimulus data from the decompressor is being input to the core scan paths.
  • the test and read operations of the two TAMs are identical.
  • FIG. 14A illustrates a Decompress & Maskable Compare TAM 1400 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Core Scan Paths 1402 where the response output contains unknown states that need to be masked off.
  • the TAM includes a SFIR 1404 , a SFCR 1408 , a SFUR 1406 , a stimulus Decompressor 1416 , a mask Decompressor 1418 , a response Decompressor 1420 , a Comparator 1410 , a Fail Logger 1422 , a multiplexer 1414 , and a Controller 1412 .
  • the SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Compressed Mask (CM) section, a Compressed Response (CR) section, a Command (C) section, and a Frame Marker (FM) section.
  • the SFUR comprises a CS section, a CM section, a CR section, and a C section.
  • the TAM has the standardized inputs and outputs described in FIG. 2 .
  • the CS bus from the SFUR is input to the stimulus Decompressor 1416 .
  • Decompressor 1416 outputs decompressed stimulus (DS) patterns to the core scan paths.
  • the CM bus from the SFUR is input to the mask Decompressor 1418 .
  • the CR bus from the SFUR is input to the response Decompressor 1420 .
  • the Comparator inputs decompressed response patterns from Decompressor 1420 , decompressed mask patterns from Decompressor 1418 , and response (R) patterns from the core scan paths.
  • the Comparator outputs Compare Outputs (CO) to the Fail Logger circuit.
  • the Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input.
  • the FO signal may optionally be output from the TAM to immediately indicate a failure to a tester.
  • the CTL bus from the Controller provides control for the TAM circuits and core scan paths.
  • the Controller When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input.
  • the Controller transfers the contents of the CS, CM, CR, and C sections of the SFIR into the CS, CM, CR, and C sections of the SFUR, the CS, CM, CR, C, and FM sections of the SFIR into the CS, CM, CR, C, and FM sections of the SFCR, then clears the SFIR.
  • the Controller executes the Command (C) output from the SFUR.
  • the Controller can execute the Command in response to either the CLK or FC signal.
  • the stimulus Decompressor 1416 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path
  • the response Decompressor 1418 decompresses the CR input and applies the Decompressed Response (DR) patterns to the Comparator
  • the mask Decompressor 1420 decompresses the CM input and applies the Decompressed Mask (DM) patterns to the Comparator
  • the Comparator compares the Decompressed Response inputs to the unmasked response (R) outputs from the core scan paths and outputs Compare Output (CO) results to the Fail Logger.
  • DS Decompressed Stimulus
  • DR Decompressed Response
  • DM Decompressed Mask
  • Each CS, CM, and CR input may provide an N number of DS, DM, and DR patterns for input to the core scan paths and Comparator.
  • the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO.
  • This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation.
  • the fail data contained in the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation.
  • the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • FIG. 14B illustrates a more detailed view of the stimulus decompression, mask decompression, response decompression, and response comparator circuits of FIG. 14A .
  • compressed stimulus, mask, and response data is updated from the SFIR 1404 to the CS 1407 , CM 1409 , and CR 1411 register sections of the SFUR 1406
  • the CS register 1407 and decompressor 1416 circuit combination 11421 , the CM register 1409 and decompressor 1418 , and the CR register 1411 and decompressor 1420 circuit combination 1425 are enabled by control input from the controller to decompress the compressed stimulus, mask, and response data in the CS, CM, and CR registers.
  • the decompressed stimulus data is input to the core scan paths, the decompressed mask data is input to comparator 1410 , and the decompressed response data is input to comparator 1410 .
  • the CS, CM, and CR registers operate as LFSRs or other pseudorandom pattern generation circuits to produce multiple stimulus, mask, and response patterns from the single CS, CM, and CR input patterns.
  • the decompressor 1416 receives the multiple stimulus patterns from the CS register 1407 and outputs stimulus data to each scan path.
  • the decompressor 1418 receives the multiple mask patterns from the CM register 1409 and outputs mask data to comparator 1410 .
  • the decompressor 1420 receives the multiple response patterns from the CR register 1411 and outputs response data to comparator 1410 .
  • circuit combinations 1421 , 1423 , and 1425 expand a small N channel wide CS, CM, and CR input pattern into a number of larger M channel wide stimulus, mask, and response output patterns for input to the core scan paths and comparator.
  • the bit length of the TAM SFIR can be significantly reduced over the SFIR bit length of TAMs that use C, M, and R scan frame patterns (i.e. TAMs of FIGS. 2, 3, 10, and 11 ).
  • the SFIR 1104 of TAM 1100 would have to have an 8-bit wide S section, an 8-bit wide M section, and an 8-bit wide R section in series with the C and FM sections.
  • Each scan frame input to the SFIR 1104 would contain 8 bits for the S section, 8 bits for the M section, 8 bits for the R section, and say 3 bits for the C and FM sections, or 27 bits. If the same core with 8 stimulus inputs and 8 response outputs was tested using the TAM 1400 of FIG. 14A , and assuming the CS, CM, and CR sections of SFIR 1406 required only 3 bits each, each scan frame input to the SFIR 1406 would contain 3 bits for the CS section, 3 bits for the CM section, 3 bits for the CR section, and 3 bits for the C and FM sections, or 12 bits. For the same CLK rate, the scan framing rate of the 12 bit SFIR 1406 of FIG.
  • the TAM of FIG. 14A can apply a number of stimulus patterns to the core and compare the same number of response patterns from the core during each scan frame due to the decompression circuits 1421 , 1423 , and 1425 , the test time is further reduced, which further reduces the cost of testing die and ICs.
  • FIG. 14C illustrates a Decompress & Maskable Compare TAM 1424 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM is for use with Core Scan Paths 1402 where the response output contains unknown states.
  • the TAM of FIG. 14C is the same the TAM of FIG. 14A with the exceptions that; (1) the SFUR 1426 contains mask (M) and response (R) FIFO 1432 sections instead of the CM and CR register sections of FIG. 14A , (2) the SFIR 1428 contains M and R register sections instead of the CM and CR register sections of FIG. 14A , and (3) the SFCR 1430 contains M and R register sections instead of the CM and CR register sections of FIG. 14A .
  • the maskable comparing of the response outputs from the core scan paths is achieved by buffering up mask and response data into the M and R FIFOs of SFUR 1426 and outputting the buffered mask and response data to the comparator 1410 as the decompressed stimulus data from the decompressor is being input to the core scan paths.
  • the test and read operations of the two TAMs are identical.
  • FIG. 15 illustrates the operation of the Controllers of the FIGS. 13A, 13C, 14A, and 14C TAMs when TE is high and T/R is set for test operation.
  • the Controller consists of a Scan Frame state machine 1500 , a Decompress state machine 1502 , a Decompress & Compare state machine 1504 , and a Decompress, Compare & Load state machine 1506 .
  • the Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR.
  • the Scan Frame state machine has an Idle state where it resides when TE is low, a Shift SFIR & SFCR state where it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines.
  • the Command state machines can be clocked by either the CLK or FC inputs.
  • the Decompress state machine 1502 is enabled to transition from the Idle state to the Decompress state where it resides during the decompression of the CS inputs of FIGS. 13A, 13C, 14A , and 14 C.
  • the Decompress state machine transitions back to the Idle state.
  • the Decompress state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation.
  • the Decompress & Compare state machine 1504 is enabled to transition from the Idle state to the Decompress & Compare state where it resides during the decompression of the CS and CR inputs of FIG. 13A , the decompression of the CS inputs and the outputting of buffered response data of FIG. 13C , the decompression of the CS, CM and CR inputs of FIG.
  • the Decompress & Compare state machine transitions back to the Idle state.
  • the Decompress, Compress & Load state machine 1506 is enabled to transition from the Idle state to the decompress & compare state where it resides during the decompression operations of FIGS. 13A and 14A or the decompression and buffered output operations of FIGS. 13C and 14C .
  • the Load, Decompress & Compare state machine transitions back to the Idle state.
  • the Decompress, Compare & Load state machine is used to shift in the last stimulus data to the core scan paths during a current decompress and compare test operation cycle, to compare the last non-masked response outputs from the core scan paths during the current decompress and compare test operation cycle, and to load response data from combinational logic into the core scan paths in preparation for the next decompress and compare test operation cycle.
  • the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • FIG. 16 illustrates an example of a Single Detect Fail Logger Circuit 1600 that can be used in the TAMs of FIGS. 10, 11, 13, and 14 .
  • the circuit consists of a Fail Bit Register 1602 , a Frame Count Register 1604 , a Fail Detect Gate 1606 , and a Frame Counter 1608 .
  • the Fail Bit Register and Fail Detect Gate receive the Compare Outputs (CO 1 -N) from the Comparator of FIGS. 10, 11, 13, and 14 .
  • the FO output of the Fail Detect Gate is output to the Controller and optionally output from the TAM for input to tester so that the tester can immediately detect when a failure occurs.
  • the Comparator would have one such circuit for each SFR 1 -N, SFM 1 -N, and R 1 -N input.
  • the Fail Bit Register, Frame Count Register, and Frame Counter are controlled by the CTL bus output from the Controller. At the beginning of a test, the Fail Bit Register, Frame Counter and Frame Count Register will be initialized to zero. During test the CTL inputs cause the Frame Counter to count up each time a scan frame occurs, i.e. when the FM goes high.
  • the Scan Frame Response (SFR 1 -N) is compare to the Response (R 1 -N) output from the core scan paths.
  • the Scan Frame Mask (SFM 1 -N) can be used to mask off compare operations of unknown response inputs from the core scan paths.
  • the CO 1 -N outputs from the Comparator are written into the Fail Bit Register. If one or more CO 1 -N signals are at a failing logic low level, the FO output from the Fail Detect Gate will go low (in this example implementation). In response to a low on the FO, the Controller will write the Frame Counter value into the Frame Count Register and cease the operation of the Fail Logger circuit.
  • the contents of the Fail Bit Register and Frame Count Register can be shifted out for inspection via TSI and TSO.
  • the contents of the Fail Bit Register will indicate the failing one of more CO 1 -N inputs and the Frame Count Register will indicate the scan frame where the failure occurred. For example, if CO 3 and CO 7 failed during scan frame 1000 the CO 3 and CO 7 bits of Fail Bit Register will be low and the Frame Count Register will contain a frame count of 1000 .
  • the Fail Logger circuit of FIG. 16 allows for detecting the first scan frame compare failure.
  • FIG. 17 illustrates the operation of the Single Detect Fail Logger Read state machine 1700 in the TAM Controllers of FIGS. 10, 11, 13, and 14 .
  • This state machine is used to read out the contents of the Fail Bit Register and Frame Count Register of FIG. 16 .
  • the state machine transitions from the Idle state to the Shift Out Fail Data state.
  • the state machine remains in the Shift Out Fail Data state until TE returns low.
  • the Fail Bit Register and Frame Counter registers shift from TSI to TSO.
  • the shift out operation unloads the failing CO bit pattern and the failing scan frame count.
  • T/R when T/R is set for read operation a multiplexer couples the serial output from the Fail Logger circuit to the TSO output of the TAM.
  • FIG. 18 illustrates an example of a Multiple Detect Fail Logger Circuit that can be used in the TAMs of FIGS. 10, 11, 13, and 14 .
  • the circuit consists of a Fail Bit Shift Register 1802 , a Frame Count Shift Register 1804 , a Fail Detect Gate 1806 , a Fail Bit FIFO 1808 , a Frame Count FIFO 1810 , and a Frame Counter 1820 .
  • the Fail Bit FIFO and Fail Detect Gate receive the Compare Outputs (CO 1 -N) from the Comparator.
  • the FO output of the Fail Detect Gate is output to the Controller and optionally output from the TAM for input to tester so that the tester can immediately detect when a failure occurs.
  • the Fail Bit FIFO, Frame Count FIFO, Fail Bit Shift Register, Frame Count Shift Register, and Frame Counter are controlled by the CTL bus output from the Controller.
  • the Fail Bit FIFO, Fail Bit Shift Register, Frame Count FIFO, Frame Count Shift Register, and Frame Counter are initialized to zero.
  • the CTL inputs cause the Frame Counter to count up each time a scan frame occurs, i.e. when the FM goes high.
  • the Scan Frame Response (SFR 1 -N) is compare to the Response (R 1 -N) output from the core scan paths.
  • the Scan Frame Mask (SFM 1 -N) can be used to mask off compare operations of unknown response inputs from the core scan paths. If one of more CO 1 -N signals are at a failing logic low level, the FO output from the Fail Detect Gate will go low (in this example implementation). In response to a low on the FO, the Controller will write the CO 1 -N pattern into the Frame Bit FIFO and the Frame Counter value into the Frame Count FIFO and continue the test. At the end of the test, the contents of the Fail Bit FIFO and Frame Count FIFO can be shifted out for inspection using the Fail Bit Shift Register and Frame Count Shift Register.
  • a Fail Bit pattern and a Frame Count Pattern from the FIFOs will be loaded into the Fail Bit Shift Register and Frame Count Shift register, respectively, and shifted out via TSI and TSO. Each pattern shifted out will identify the failing one or more CO 1 -N bits of each failing scan frame count pattern.
  • the Fail Logger circuit of FIG. 18 allows for detecting multiple scan frame compare failures.
  • FIG. 19 illustrates the operation of the Multiple Detect Fail Logger Read state machine 1900 in the TAM Controllers of FIGS. 10, 11, 13, and 14 .
  • This state machine is used to read out the contents of the Fail Bit FIFO and Frame Count FIFO of FIG. 18 .
  • the state machine transitions from the Idle state to the Enable Load & Shift state.
  • the state machine transitions to the Load Fail Data state to load a failing CO pattern from the Fail Bit FIFO into the Fail Bit Shift Register and to load the failing scan frame count from the Frame Count FIFO into the Frame Count Shift Register.
  • the state machine transitions to the Shift Out Fail Data state to shift out the contents of the Fail Bit Shift Register and Frame Count Shift Register.
  • the state machine remains in the Shift Out Fail Data state while TE is high.
  • TE goes low, the state machine transitions to the Enable Load & Shift state to prepare to load and shift out the next failing CO pattern and scan frame count data from the FIFOs. This process of loading and shifting out the FIFO data continues until all the FIFO data have been read.
  • TE is set low and T/R is set to test to cause the state machine to return to the Idle state.
  • T/R is set for read operation a multiplexer couples the serial output from the Fail Logger circuit to the TSO output of the TAM.
  • FIG. 20 illustrates a Stimulus & Response TAM 2000 that can be coupled to a core within a device to enable testing of the core according to the present invention.
  • This TAM can be use with Core Scan Paths 2002 that output either known or unknown responses.
  • the TAM includes a SFIR 2004 , a response frame output register (RFOR) 2008 , a SFUR 2006 , a response (R) 2010 register 2016 or FIFO 2014 , and a Controller 2012 .
  • the SFIR comprises S, C, and FM sections.
  • the SFUR comprises an S and C section.
  • the S section of the SFUR can be a register 2016 or a FIFO 2014 .
  • the TAM has a TSI input, a TSO output, a CLK input, a TE input, an FC input, an S output bus to the core, a R input bus from the core, and a CTL output bus to the core.
  • the S bus from the SFUR is input to the core scan paths
  • the R bus from the core scan paths is input to the R register/FIFO 2010
  • the outputs of the R register/FIFO is input to the RFOR 2008
  • the CTL bus from the Controller provides control for the TAM circuits and core scan paths.
  • TE is set high
  • the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the RFOR on TSO in response to the CLK input.
  • the Controller transfers the contents of the S and C sections of the SFIR into the S and C sections of the SFUR, the response (R) output from the R register/FIFO into the RFOR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR.
  • the Controller can execute the Command timed by either the CLK or a Functional Clock (FC) signal.
  • the S data from the SFUR is input to the stimulus inputs of the core scan paths while the R outputs from the core scan paths are input to the R register/FIFO 2010 .
  • FIG. 21 illustrates the operation of the Controllers of the FIG. 20 TAM when TE is high.
  • the Controller consists of a Scan Frame state machine 2100 , a Shift state machine 2102 , a Launch on Shift (LOS) state machine 2104 , and a Launch on Capture (LOC) state machine 2106 .
  • LOS is a term commonly used when delay, at-speed, or timing closure testing of the combinational logic is performed by capturing (i.e. loading) the response output from the combinational logic into the scan path as soon as possible (i.e. next clock edge) following the last stimulus input to the combinational logic from the scan path.
  • LOC is a term commonly used when delay, at-speed, or timing closure testing of the combinational logic is performed by capturing (i.e. loading) the response output from the combinational logic into the scan path as soon as possible (i.e. next clock edge) following a back-to-back response capture operation from the combinational logic into the scan path. It is important to note that the command state machines of 406 of FIG. 4, 906 of FIG. 9, 1206 of FIG. 12, 1506 of FIGS. 15, and 2106 have all been defined to perform LOS type delay, at-speed, and timing closure test operations on combinational logic by the scan framing approach of the present invention.
  • the Scan Frame state machine 2100 is clocked by the CLK input and is used to input scan frames to the SFIR, output response scan frames from the RFOR, and to enable one of the Command state machines in response to a Command input from the SFUR.
  • the Scan Frame state machine has an Idle state where it resides when TE is low, a Shift SFIR & RFOR state where it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Load RFOR & Update & Clear SFIR state where response data from the R register/FIFO 2010 is loaded into the RFOR 2008 , the SFIR data is updated into the SFUR, and the SFIR is cleared, and an Enable Command State Machine state to enable one of the Command state machines.
  • the Command state machines can be clocked by either the CLK or FC inputs.
  • the Shift state machine 2102 is enabled to transition from the Idle state to the Shift Scan Paths state then back to the Idle state.
  • the Shift Scan Paths state the stimulus (S) data from the SFUR's S register 2016 or FIFO 2014 is input to the core scan paths and the response (R) data from the scan paths is input to the R 2010 register 2016 or FIFO 2014 .
  • the LOS state machine 2104 In response to a Command of 01 (in this example) the LOS state machine 2104 is enabled to transition from the Idle state to the Shift Scan Paths state, to the Load Scan Paths state, and back to the Idle state.
  • the Shift Scan Paths state the stimulus (S) data from the SFUR'S register/FIFO is input to the core scan paths and the response (R) data from the core scan paths is input to the R register/FIFO 2010 .
  • the scan paths load response data from combinational logic.
  • the LOS state machine enables the response data from combinational logic to be captured immediately after the scan paths shift in the last stimulus data that fills the scan paths.
  • the LOC state machine 2106 is enabled to transition from the Idle state to the Shift Scan Paths state, to a first Load Scan Paths state, to a second Load Scan Paths state, and back to the Idle state.
  • the Shift Scan Paths state the stimulus (S) data from the SFUR's S register/FIFO is input to the core scan paths and the response (R) data from the core scan paths is input to the R register/FIFO 2010 .
  • the scan paths load response data from combinational logic in response to the stimulus data shifted into the scan paths.
  • the scan paths load response data from the combinational logic in response to the response data captured into the scan paths during the first Load Scan Paths state.
  • the LOC state machine enables response data from combinational logic to be captured following the first load scan path operation and then again during the second load scan paths operation.
  • the TE signal is set low to cause the Scan Frame state machine 2100 to return to the Idle state.
  • the Shift state machine 2102 will remain in the shift scan paths state
  • the LOS state machine 2104 will remain in the shift scan paths state
  • the LOC state machine 2106 will remain in the shift scan paths state, as indicated by dotted line, for the number of FC/CLK cycles required to output a number of buffered stimulus patterns from the S FIFO section of the SFUR and to input an equal number of response patterns from the core scan paths to the R FIFO 2010 section.
  • FIGS. 22 and 23 illustrate how the Scan Frame Based TAMs of this application can be used to test individual die on wafer, or to test strings of die on wafer. While the figures represent die on wafer being tested individually or in strings, it should be understood that FIGS. 22 and 23 could represent packaged or un-packaged ICs on a carrier or other substrate being tested individually or in strings as well.
  • the term “device” will be used in the following description to indicate both die on wafer and ICs on a carrier or other substrate.
  • FIG. 22 illustrates a tester 2200 contacting N individual die/ICs (devices) 2202 - 2208 on a wafer/substrate 2210 .
  • the tester has a data output (O), a data input (I), and a control (C) output(s) for each device.
  • Each device has a data input (I) coupled to the tester's data output (O), a data output (O) coupled to the tester's data input (I), and control (C) input(s) coupled to the tester's control (C) output(s).
  • the I input of each device is coupled to a TSI input of a TAM within the device
  • the O output of is coupled a TSO output of a TAM within the device
  • the C inputs of each device controls the TE, T/R, and CLK inputs of a TAM within the device.
  • the tester inputs scan frames to the TAM's SFIR via the I input, outputs copied scan frames from the TAM's SFCR via the O output, and inputs control to the TAMs controller via the C input.
  • the copied scan frame data output to the tester from SFCR is not required for testing, but it does allow the tester to verify that the correct scan frame data was input to the SFIR.
  • Each die on wafer could be tested simultaneously by the tester having an I, O, and C interface for each die.
  • the tester inputs data to the TAMs Compressor or Fail Logger via the I input, outputs data from the TAM's Compressor or Fail Logger via the O output, and inputs control to the TAMs controller via the C input.
  • the Read operation allows the tester to inspect the signature in the Compressor and the fail data in the Fail Logger following a test operation.
  • TAM example 2216 illustrates how the TAM of FIG. 20 would receive input (I) from the tester and transmit output (O) to the tester via the SFIR and RFOR, respectively, when the TAM's TE input is set for test operation.
  • the one exception to the above described test operation is the test operation of TAM 2000 of FIG. 20 .
  • TAM 2000 outputs response frames on the O output of the device instead of copied scan frames. While the contacted die of FIG. 22 are shown as being die in a row on the wafer, the contacted die could be die randomly distributed around the wafer as well.
  • FIG. 23 illustrates a tester 2300 contacting a String of N devices 2302 - 2308 n a wafer 2310 .
  • the tester has a data output (O), a data input (I), and a control (C) output(s) for each device.
  • Each device has a data input (I), a data output ( 0 ), and control (C) input(s).
  • the data input (I) of the first device 2302 of the string is coupled to the data output (O) from the tester and the data output (O) output of the last device 2308 in the string is coupled to the data input (I) to the tester.
  • Devices existing between the first and last devices of a string are serially connected such that a leading device data output (O) is connected to the data input (I) of a trailing device.
  • Each device in the string is connected to the control input (C) from the tester.
  • the I input of each device in the string is coupled to the TSI input of a device TAM
  • the O output is coupled to the TSO output of a device TAM
  • the C input controls each device TAM's TE, T/R, and CLK inputs.
  • the tester inputs a first scan frame to a TAM SFIR of the first device 2302 .
  • the TAM of the first device copies the first scan frame into its SFCR and outputs the copied scan frame to a TAM SFIR of the second device.
  • the SFIR of the TAM of the second device inputs the scan frame, copies the first scan frame into its SFCR, then outputs the copied scan frame to a TAM SFIR of the third device.
  • This scan frame input, copy, and output process repeats until eventually the last device 2308 in the string inputs the first scan frame from the next to last device in the string.
  • the second and subsequent scan frames from the tester are similarly input, copied and output from the first device in the string to all trailing devices in the string according to the above described scan frame relaying technique.
  • each device As each device is outputting the copied scan frame to a trailing device, it is also inputting the next scan frame and performing a test using the copied scan frame. For example, as the second device is receiving the first scan frame from the first device, the first device is inputting the second scan frame while simultaneously executing a test using the first scan frame.
  • the first scan frame output from each device's SFCR will be an all zero scan frame. Initially outputting an all zero scan frame keeps trailing devices from responding to the initial scan frame output from a leading device.
  • the testing of the first device of the string will complete first, then the testing of the second device of the string, then the testing of the third device of the string, and so on.
  • the last device in the string will be the last device to complete its test.
  • the tester will start inputting scan frames with no-operation commands, as mentioned in regard to FIG. 4 .
  • the no-operation commands have the effect of holding devices that have completed their tests in a quiet, low power mode while other devices in the string are completing their test.
  • the advantage of testing strings of devices as seen in FIG. 23 rather than testing individual devices as seen in FIG. 22 is that the number of contacts between the tester and devices under test is reduced.
  • TAM string arrangement 2314 when T/R is set for a TAM Read operation, the tester serially accesses the TAM string via the serial I and O path to extract each TAM's Compressor signature or the Fail Logger fail data following a test operation.
  • the TAM Read operations were described previously in regard to FIGS. 6, 17, and 19 . While the die string of FIG. 23 is shown as being die in a column on the wafer, the string of die could consist of die randomly distributed around the wafer as well.
  • the TAM of FIG. 20 is not suitable for use in the TAM stringing approach of FIG. 23 , since each FIG. 20 TAM needs to output the contents of its RFOR 2008 directly to the tester during each scan frame input and output operation.
  • TAM's TSI, CLK, T/R, TE, and TSO signals out of the device for interfacing to a tester such that the tester's I output drives TSI, the tester's C outputs drive CLK, T/R, and TE, and the tester's O input receives TSO.
  • the device contains more that one TAM, each TAM's TSI, CLK, T/R, TE and TSO would have to be somehow connected to the tester interface during each TAMs test or read operation modes.
  • This connecting could be achieved by bringing out each TAM test interface directly to the tester or by providing multiplexer circuitry in the device to switch each TAM's test interface onto a common test interface to the tester. Either of these TAM access approaches requires additional test interface contacts between the device and tester. To limit the number of test interface contacts between the device and tester each die or IC may be provided with a test port that allows any number of TAMs within the device to be selected, tested, and read using only a minimum number of test interface contacts.
  • FIG. 24 illustrates an example model of a TAM Port 2400 that could be used for interfacing multiple TAMs 2402 within a device 2406 to an external tester 2404 .
  • the TAM Port consists of an external low voltage differential signal (LVDS) input 2408 for inputting instructions and data to the TAM Port Interface Controller 2414 and for inputting scan frames to a selected TAM 2402 , an external LVDS output 2410 for outputting data from the TAM Port Interface Controller and scan frames from a selected TAM 2402 , and an external LVDS control input for controlling the TAM Port Interface Controller and TAM Ports.
  • LVDS low voltage differential signal
  • the TAM Port has an internal TSI output for inputting scan frames to a selected TAM, a internal T/R output for placing the selected TAM in Test or Read mode, an internal CLK output for clocking the selected TAM, an internal Control Bus (CB) for selecting a TAM for Test or Read operation, and an internal TSO for inputting scan frames from a selected TAM.
  • the TSI and TSO signals may be pipelined if desired.
  • the TAM port's controller 2414 receives input from the tester to output control on the CB that enables the interface circuit 2416 to enable and connect one of the TAMs 2402 to the TSI, T/R, CLK, and TSO signals of the TAM port.
  • the tester After enabling and connecting a TAM, the tester begins inputting and outputting scan frame to the TAM as previously described. While the external input, control, and output signals could use non-differential signaling (i.e. single ended), the LVDS signaling provides improved input and output framing bandwidth between the tester and TAMs.
  • FIG. 25 illustrates in more detail the interface 2416 between the TAM Port of FIG. 24 and a set of selectable TAMs 2402 , each TAM being coupled to scan paths within cores 2502 - 2506 as previously described.
  • Each TAM has the standardized CLK, T/R, TSI, TE inputs and TSO output.
  • the TAM Port sets the control bus (CB) to enable one of the TAMs via TE 1 -N, to select the TAM for testing or reading via the T/R output, and to couple the selected TAM' s TSO output to the TSO input of the TAM Port via multiplexer 2508 .
  • CB control bus
  • the TAM Port After enabling and selecting the TAM, the TAM Port enables its CLK output to time the scan frame input and output operation of the TAM. During test, scan frames input on the external Input of the TAM Port are input to the TSI input of the selected TAM and scan frames from the TSO output of the selected TAM are output the external TAM Port Output. Once started the scan framing input and output operation continues uninterrupted until the TAM test is completed. Following the test operation, the TAM Port receives external input from the tester to switch the T/R output to Read operation. In response to the T/R being set to Read operation, the selected TAM shifts out the results of the test from the Compressor or Fail Logger on the external output to the tester.
  • each TAM may have a FO signal. If desired the FO signal may be output to the tester by an additional output from the device. Outputting the FO signal allows a tester to immediately detect when a compare failure occurred.
  • FIG. 26 is provided to illustrate how the TAM port of FIG. 24 could be coupled to the input (I), control (C), and output (O) signals of a tester to allow the individual die testing arrangement described in regard to FIG. 22 .
  • FIG. 27 is provided to illustrate how the TAM port of FIG. 24 could be coupled to the input (I), control (C), and output (O) signals of a tester to allow the die string testing arrangement described in regard to FIG. 23 .
  • FIG. 28 illustrates TAM Port 2802 where the TAM Port Interface Controller 2414 of FIG. 24 is implemented using an IEEE 1149 . 1 TAP architecture and interface.
  • the TAM Port has a TDI input, a TMS input, an optional TRST input, a TCK input, and a TDO output.
  • the TAM Port Interface Controller consist of a TAP state machine 2804 , an instruction register (IR) 2806 , data registers (DR) 2808 , and clock gating 2810
  • Multiplexer 2416 is controlled by the TAP to select either the output of the IR or a DR to drive the TDO output.
  • Multiplexer 2418 is controlled by the IR to select the output of a DR or the TSO output from a TAM to be input to multiplexer 2416 .
  • the TAM Port Interface Controller may be realized in many different ways, the TAP based implementation of FIG. 28 is one preferred realization.
  • the instruction register (IR) 2806 or data register(s) (DR) 2808 may be serially accessed via TDI and TDO.
  • the T/R output and CB output may be set by scanning data into a DR 2808 .
  • the T/R and CB outputs may be set by scanning an instruction into the IR 2806 , as seen by dotted line.
  • T/R and CB outputs come from a DR or IR is by design choice.
  • an instruction is scanned into the IR to set the clock Enable signal output high.
  • the TAP then transitions to the Shift-DR state where it remains during the selected TAM test or read operation. While in the Shift-DR state, the TAP sets the Shift-DR state signal output high. With the clock Enable and Shift-DR state signal both set high, the Clock Gating circuit 2810 passes the TCK input to the CLK output of the TAM Port to time the selected TAM's test or read operation.
  • test operation scan frames input on the TAM Port's TDI are input to the TAM via the TSI output, and scan frames output from the TAM's TSO output are output on the TAM Port's TDO output.
  • This scan framing input and output operation continues un-interrupted at the TCK rate while the TAP is in the Shift-DR state.
  • TAM 2000 of FIG. 20 will output response data from RFOR 2008 on TDO instead of scan frames.
  • the TAP transitions from the Shift-DR state which sets the Shift-DR state signal output low and gates off the CLK output to the TAM.
  • a TAP scan operation is performed to set the T/R output to Read operation.
  • the TAP loads an instruction to again set the clock Enable output high, then transitions into the Shift-DR state to enable TCK to drive the CLK output.
  • the selected TAM shifts out the results of the test from the Compressor or Fail Logger on TDO. This selection, test and read process is repeated for each TAM in the device.
  • LVDS signaling is used on the TAM Port's TDI, TMS, TCK, and TDO terminals. Using LVDS signaling increases the data framing bandwidth between the tester and TAM Port 2802 to 400 Mbps or higher. Alternately, single ended signaling could be used on the TDI, TMS, TCK, and TDO terminals if a lower data framing bandwidth between the tester and TAP Port is acceptable.
  • FIG. 29 illustrates the interface between a TAM Port of FIG. 28 and a set of selectable TAMs within a device. This interface is the same as described in Figure 25 with the exception that the TAM Port of FIG. 28 is used instead of the TAM Port of FIG. 24 .
  • the TAM Port of FIG. 28 can be used to perform test and read operations of individual die/ICs as shown and described in regard to FIGS. 22 and 26 , and to perform test and read operations of die/IC strings as shown and described in regard to FIGS. 23 and 27 .
  • the input (I) of the devices of FIGS. 22, 23, 26, and 27 will be the TDI input to TAM Port 2802
  • the control (C) inputs of the devices of FIGS. 22, 23, 26, and 27 will be the TMS
  • TCK and optional TRST inputs to TAM Port 2802
  • the output (O) of the devices of FIGS. 22, 23, 26, and 27 will be the TDO output of TAM Port 2802 .
  • FIG. 30 illustrates a circuit 3000 for reducing the number of interface signals to the TAM Port of FIG. 28 from 4 or 5 to only 3.
  • the 3 signals include a data input (DI) 3002 , a clock input (CLK) 3004 , and a data output (DO) 3006 .
  • DI data input
  • CLK clock input
  • DO data output
  • LVDS signaling is used to increase the data framing bandwidth between the tester and device.
  • the reduction in interface signals is achieved by sending the TDI and TMS signals in two bit packets over the DI signal 3002 .
  • the two bit packets are converted back into individual TDI and TMS signals using serial to parallel register circuitry 3008 .
  • the CLK 3004 rate is double the TCK rate to allow the signal reducer circuit 3000 to receive the serial two bit packets and convert them into separate TDI and TMS signals.
  • a connected TAM Port 2802 operates using the TDI, TMS, TCK, TRST, and TDO signals at one half the CLK rate.
  • FIG. 31 illustrates the signal reducer circuit 3000 of FIG. 30 coupled to the TAM Port 2802 of FIG. 28 .
  • FIG. 32 illustrates the signal reducer circuit 3000 of FIG. 30 and TAM Port 2802 of FIG. 28 interfaced to a set of selectable TAMS 2402 within a device. This interface is the same as described in FIG. 29 with the exception that a signal reducer circuit 3000 is used as the external interface to the TAM Port 2802 .
  • the signal reducer 3000 and TAM Port 2802 of FIG. 32 can only be used to perform test and read operations on individual die/ICs as shown and described in regard to FIGS. 22 and 26 . It cannot be used to perform test and read operations of die/IC strings as shown and described in regard to FIGS. 23 and 27 .
  • the reason it cannot test and read die/IC strings is that the DI input rate is double the DO output rate, as can be seen in the timing diagram 3010 of FIG. 30 . Therefore it is not possible to serially connect the die/ICs into strings and relay data frames to each die/IC in the string as was described earlier in regard FIGS. 23 and 27 .
  • the DI input to the signal reducer 3000 the control (C) inputs of the devices of FIGS. 22 and 26 will be the CLK input of the signal reducer 3000
  • the output (O) of the devices of FIGS. 22 and 26 will be the DO output of the signal reducer 3000 .

Abstract

Testing of an electrical device is achieved by providing a test access mechanism within the device that can receive scan frames from an external tester. The received scan frames contain stimulus data to be applied to circuitry within the device to be tested, a command for enabling a test control operation, and a frame marker bit to indicate the end of the scan frame pattern. The inputting of scan frames can occur continuously and simultaneous with a commanded test control operation.

Description

    CROSS REFERENCE TO RELATED APPLICATIONS
  • This application is a divisional of prior application Ser. No. 15/077,322, filed Mar. 22, 2016, currently pending;
  • Which was a divisional of prior application Ser. No. 14/314,475, filed Jun. 25, 2014, now U.S. Pat. No. 9,322,875, granted Apr. 26, 2016;
  • Which was a divisional of prior application Ser. No. 13/693,709, filed Dec. 4, 2012, now U.S. Pat. No. 8,799,712, granted August 5, 2014;
  • Which was a divisional of prior application Ser. No. 13/157,927, filed Jun. 10, 2011, now U.S. Pat. No. 8,352,792, granted Jan. 8, 2013;
  • Which is a divisional of prior application Ser. No. 12/638,498, filed Dec. 15, 2009, now U.S. Pat. No. 7,984,331, granted Jul. 19, 2011;
  • Which is a divisional of prior application Ser. No. 11/694,115, filed Mar. 30, 2007, now U.S. Pat. No. 7,657,790, granted Feb. 2, 2010;
  • Which claims priority from Provisional Application No. 60/744,312, filed Apr. 5, 2006.
  • The following documents and paper reference include subject matter which is related to the subject matter of this application. The documents have been assigned to the assignee of this application, and are incorporated herein by reference.
  • TI-27442, application Ser. No. 09/257,760, filed Feb. 25, 1999, now U.S. Pat. No. 6,405,335, granted Jun. 11, 2002;
  • TI-60187, application Ser. No. 11/370,017, filed Mar. 7, 2006, now U.S. Pat. No. 7,421,633, granted Sep. 2, 2008;
  • TI-61778, application Ser. No. 11/565,979, filed Dec. 1, 2006, now U.S. Pat. No. 7,417,450, granted Au. 28, 2008;
  • TI-61921, application Ser. No. 11/670,241, filed Feb. 1, 2007, now pending;
  • Test Data Compression and Compaction for Embedded Test of Nanometer Technology Designs, Proceedings of 21st IEEE International Conference on Computer Design 2003.
  • BACKGROUND OF THE INVENTION
  • Field of the Invention
  • The present invention relates generally to testing of electrical circuits and, more particularly, to testing of electrical circuits using scan framing circuits and techniques which allow circuits to be tested in a more efficient manner than achieved using conventional test approaches.
  • Description of Related Art
  • FIG. 1A illustrates a prior art device 100 having a core 102 with parallel scan paths 104. The core is tested by an external tester inputting stimulus to the scan path inputs, receiving response from the scan paths outputs, and inputting test control to operate the scan paths. This type of testing is well known.
  • FIG. 1B illustrates a prior art device 106 having a core 108 with parallel scan paths 110. The stimulus inputs to the scan paths come from a parallel scan distributor (PSC) 112 and the response outputs from the scan paths are input to a parallel scan collector (PSC) 114. The core is tested by an external tester serially inputting stimulus to the PSD via a scan input, serially outputting response from the PSC via a scan output, and inputting test control to operate the PSD, PSC and scan paths. This type of serial to parallel and parallel to serial scan testing was described in U.S. Pat. No. 6,405,335 (Position Independent Testing of Circuits), which is incorporated herein by reference.
  • FIG. 1C illustrates a prior art device 116 having a core 118 with parallel scan paths 120. The stimulus inputs to the scan paths come from a decompressor (DEC) circuit 122 and the response outputs from the scan paths are input to a compressor (COM) 124, sometimes referred to as a multiple input shift register (MISR) or compactor. The core is tested by an external tester serially inputting compressed stimulus patterns to the DEC via one or more scan inputs, decompressing the stimulus patterns and inputting them to the scan paths, while simultaneously compressing the response outputs from the scan paths in the COM and outputting the compressed response patterns from the COM via one or more scan outputs. The tester inputs control to operate the DEC, COM, and scan paths during test. This type of response compression and stimulus decompression testing is well known as indicated by a paper referenced in the Reference to Related Art section.
  • FIG. 1D illustrates a prior art device 126 having a core 128 with parallel scan paths 130. The stimulus inputs to the scan paths come from a stimulus pattern generator (GEN) circuit 132 and the response outputs from the scan paths are input to a response pattern compressor (COM) circuit 134. The core is tested by an external tester inputting control to operate the GEN, COM, and scan paths during test. This type of testing is referred to a built in self test (BIST), which is very well known.
  • SUMMARY OF THE INVENTION
  • The present invention describes test access mechanisms (TAM) circuits that can be used to improve the scan testing of cores. The TAMs are based on a new method of inputting and outputting scan test data to and from core scan paths using a scan framing technique.
  • DESCRIPTION OF THE VIEWS OF THE INVENTION
  • FIG. 1A illustrates testing of a core using parallel scan testing.
  • FIG. 1B illustrates scan testing of a core using Parallel Scan Distributor (PSD) and Parallel Scan Collector (PSC) circuits.
  • FIG. 1C illustrates scan testing of a core using Decompressor and Compressor circuits.
  • FIG. 1D illustrates scan testing of a core using Built-In Self test circuits.
  • FIG. 2 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 3 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 4 illustrates the operation of the controller of the test access mechanisms of FIGS. 2 and 3.
  • FIG. 5 illustrates a circuit for synchronizing the starting and stopping of a controller of a test access mechanism according to the present invention.
  • FIG. 6 illustrates the operation of the controller of the test access mechanisms of present invention during a signature read operation.
  • FIG. 7A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 7B illustrates a detail view of the stimulus decompression and response compression circuits of FIG. 7A.
  • FIG. 8A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 8B illustrates a detail view of the stimulus decompression, mask decompression, and response compression circuits of FIG. 8A.
  • FIG. 8C illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 9 illustrates the operation of the controller of the test access mechanisms of FIGS. 7A, 8A, and 8C.
  • FIG. 10 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 11 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 12 illustrates the operation of the controller of the test access mechanisms of FIGS. 10 and 11.
  • FIG. 13A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 13B illustrates a detail view of the stimulus decompression, response decompression, and response comparator circuits of FIG. 13A.
  • FIG. 13C illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 14A illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 14B illustrates a detail view of the stimulus decompression, mask decompression, response decompression, and response comparator circuits of FIG. 14A.
  • FIG. 14C illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 15 illustrates the operation of the controller of the test access mechanisms of FIGS. 13A, 13C, 14A, and 14C.
  • FIG. 16 illustrates a single detect fail logger circuit of the controllers of the test access mechanisms of FIG. 13A, 13C, 14A, and 14C.
  • FIG. 17 illustrates the operation of the controller of the test access mechanisms of present invention during a single fail data read operation.
  • FIG. 18 illustrates a multiple detect fail logger circuit of the controllers of the test access mechanisms of FIG. 13A, 13C, 14A, and 14C.
  • FIG. 19 illustrates the operation of the controller of the test access mechanisms of present invention during a multiple fail data read operation.
  • FIG. 20 illustrates a test access mechanism for testing a core according to the present invention.
  • FIG. 21 illustrates the operation of the controller of the test access mechanisms of FIG. 20.
  • FIG. 22 illustrates the testing and reading of individual die/ICs according to the present invention.
  • FIG. 23 illustrates the testing and reading of strings of die/ICs according to the present invention.
  • FIG. 24 illustrates a tester connected to a die/IC that includes a TAM Port, a TAM interface, and TAMs according to the present invention.
  • FIG. 25 illustrates a more detail view of the FIG. 24 TAM interface between the TAM Port and TAMs within a die/IC.
  • FIG. 26 illustrates individual die/ICs coupled to a tester according to the present invention.
  • FIG. 27 illustrates a string of die/ICs coupled to a tester according to the present invention.
  • FIG. 28 illustrates a TAP based TAM Port according to the present invention.
  • FIG. 29 illustrates a detail view of the TAM interface between the TAP based TAM Port of FIG. 28 and TAMs within a die/IC.
  • FIG. 30 illustrates a circuit for reducing the number of test signals between a tester and a die/IC according to the present invention.
  • FIG. 31 illustrates the signal reducer circuit of FIG. 30 coupled to a TAP based TAM Port according to the present invention.
  • FIG. 32 illustrates a detail view of the TAM interface between the signal reducer and TAP based TAM Port of FIG. 31 and TAMs within a die/IC.
  • DETAILED DESCRIPTION OF THE INVENTION
  • FIG. 2 illustrates a Stimulus & Compress TAM 200 that can be coupled to a core within a device, or integrated circuit, to enable testing of the core according to the present invention. This TAM is for use with Compress-Ready Core Scan Paths 202, i.e. the response from the scan paths does not contain unknown states. The TAM includes a Scan Frame Input Register (SFIR) 204, a Scan Frame Copy Register (SFCR) 208, a Scan Frame Update Register (SFUR) 206, a Compressor 210, a Controller 212, and multiplexer 214. The SFIR and SFCR both comprise a Stimulus (S) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a Stimulus (S) section and a Command (C) section. The TAM has a TAM Serial Input (TSI), a TAM Serial Output (TSO), a Clock (CLK) input, a Test/Read (T/R) mode input, a TAM Enable (TE) input, a Functional Clock (FC) input, a Stimulus (S) output bus to the core, a Response (R) input bus from the core, and a Control (CTL) output bus to the core. These TAM inputs and outputs form a standardized interface for all TAMs described in this disclosure. The Stimulus (S) bus from the SFUR is input to the core scan paths, the Response (R) bus from the core scan paths is input to the Compressor, and the Control (CTL) bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the S and C sections of the SFIR into the S and C sections of the SFUR, the S, C, and FM sections of the SFIR into the S, C, and FM sections of the SFCR, and then clears the SFIR. Clearing the SFIR to logic zeros allows for detecting the FM (a logic one) in the next scan frame input. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command timed by either the CLK input or a Functional Clock (FC) input. During the Command execution, the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths while the response (R) outputs from the core scan paths are compressed into a signature using the Compressor. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Compressor to shift data from TSI to TSO via multiplexer 214 in response to the CLK input to unload the signature.
  • The S section of the SFUR 206 can be realized as either a register 218 or a FIFO 216. If the S section is a register, only one stimulus pattern is loaded into the register from the S section of the SFIR to be input to the core scan paths, and only one response pattern from the core scan paths is compressed in the compressor. If the S section is a FIFO a number of stimulus patterns can be stored in the FIFO from the S section of the SFIR to be output to the core scan paths while an equal number of response patterns from the core scan path are compressed in the compressor. As seen, the register 218 and FIFO 216 both have parallel inputs that are coupled to the S section of the SFIR, parallel outputs that are coupled to the stimulus inputs of the core scan paths, and control inputs from controller 212. The advantage of using the FIFO is that, in response to a command, multiple stimulus inputs, buffered up in the FIFO, can be rapidly input to the core scan paths, while an equal number of response outputs from the core scan paths can be rapidly compressed into the compressor.
  • FIG. 3 illustrates a Stimulus & Maskable Compress TAM 300 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Core Scan Paths 302 where the response output contains unknown states that need to be masked off. The TAM includes a SFIR 304, a SFCR 308, a SFUR 306, a Compressor 310, a Controller 312, and a multiplexer 314. The SFIR and SFCR both comprise a Stimulus (S) section, a Mask (M) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a Stimulus (S) section, a Mask (M) section, and a Command (C) section. The TAM has the standardized inputs and outputs described in FIG. 2. The Stimulus (S) bus from the SFUR is input to the core scan paths. The Mask (M) bus from the SFUR is input to the Compressor to mask off unknown response inputs. The Response (R) bus from the core scan paths is input to the Compressor. The Control (CTL) bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the S, M, and C sections of the SFIR into the S, M, and C sections of the SFUR, the S, M, C, and FM sections of the SFIR into the S, M, C, and FM sections of the SFCR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command in response to either the CLK or FC signal. During the Command execution, the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths while the unmasked response (R) outputs from the core scan paths are compressed into a signature using the Compressor. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Compressor to shift data from TSI to TSO via multiplexer 314 in response to the CLK input to unload the signature.
  • The S and M sections of the SFUR 306 can be realized as either a register 318 or a FIFO 316. If the S and M sections are registers, only one stimulus and mask pattern is loaded into the registers from the S and M sections of the SFIR to be input to the core scan paths and compressor 310, and only one response pattern from the core scan paths is compressed in the compressor. If the S and M sections are FIFOs a number of stimulus and mask patterns can be stored in the FIFOs from the S and M sections of the SFIR to be output to the core scan paths and compressor, while an equal number of response patterns from the core scan path are compressed in the compressor. An S section register 318 or FIFO 316 has parallel inputs coupled to the S section of the SFIR, parallel outputs coupled to the stimulus inputs of the core scan path, and control inputs from controller. An M section register 318 or FIFO 316 has parallel inputs coupled to the M section of the SFIR, parallel outputs coupled to the mask inputs of the compressor, and control inputs from controller. The advantage of using S and M FIFOs is that, in response to a command, multiple stimulus and mask inputs, buffered up in the FIFOs, can be rapidly input to the core scan paths and compressor, while an equal number of response outputs from the core scan paths can be rapidly compressed into the compressor.
  • FIG. 4 illustrates the operation of the Controllers of the FIGS. 2 and 3 TAMs when TE is high and T/R is set for test operation. The Controller consists of a Scan Frame state machine 400, a Shift state machine 402, a Shift & Compress state machine 404, and a Shift, Load, and Compress state machine 406. The Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR. The Scan Frame state machine has an Idle state where is resides when TE is low, a Shift SFIR & SFCR state where is shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines. The Command state machines can be clocked by either the CLK or FC inputs. Clocking the Command state machines using the FC allows the core scan paths to perform test operations at the functional clock rate, which is usually much faster than the CLK rate and allows better at-speed, delay, and timing closure testing. In response to a Command of 00 (in this example) the Shift state machine 402 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state. The Shift state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation. In response to a Command of 01 (in this example) the Shift & Compress state machine 404 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state and then back to the Idle state. The Shift & Compress state machine is used to shift in stimulus data to the core scan paths from the SFUR and to compress the response outputs from the core scan paths into the Compressor. In response to a Command of 10 (in this example) the Shift, Compress & Load state machine 406 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state, then to the Load Scan Paths state, and then back to the Idle state. The Shift, Compress & Load state machine is used to shift in the last stimulus data patterns to the core scan paths from the SFUR during a current shift & compress test operation cycle, to compress the last response output patterns from the scan paths into the Compressor during the current shift & compress test operation cycle, and to load the scan paths with parallel response data from combinational logic in preparation for the next shift & compress test operation cycle. When the testing is complete, the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • As seen in FIG. 4, if FIFOs are used for the S and M sections of the SFURs of FIGS. 2 and 3, the Shift state machine 402 will remain in the shift scan paths state, the Shift & Compress state machine 404 will remain in the shift scan paths & compress response state, and the Shift, Compress & Load state machine 406 will remain in the shift scan paths & compress response state, as indicated by dotted line, for the number of FC/CLK cycles required to output buffered stimulus patterns from the S FIFO to the core scan path and buffered mask patterns from the M FIFO to the compressor.
  • FIG. 4 illustrates the operation of the Controllers of the FIGS. 2 and 3 TAMs when TE is high and T/R is set for test operation. The Controller consists of a Scan Frame state machine 400, a Shift state machine 402, a Shift & Compress state machine 404, and a Shift, Load, and Compress state machine 406. The Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR. The Scan Frame state machine has an Idle state where is it resides when TE is low, a Shift SFIR & SFCR state where is it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines. The Command state machines can be clocked by either the CLK or FC inputs. Clocking the Command state machines using the FC allows the core scan paths to perform test operations at the functional clock rate, which is usually much faster than the CLK rate and allows better at-speed, delay, and timing closure testing. In response to a Command of 00 (in this example) the Shift state machine 402 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state. The Shift state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation. In response to a Command of 01 (in this example) the Shift & Compress state machine 404 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state and then back to the Idle state. The Shift & Compress state machine is used to shift in stimulus data to the core scan paths from the SFUR and to compress the response outputs from the core scan paths into the Compressor. In response to a Command of 10 (in this example) the Shift, Compress & Load state machine 406 is enabled to transition from the Idle state to the Shift Scan Paths & Compress Response state, then to the Load Scan Paths state, and then back to the Idle state. The Shift, Compress & Load state machine is used to shift in the last stimulus data patterns to the core scan paths from the SFUR during a current shift & compress test operation cycle, to compress the last response output patterns from the scan paths into the Compressor during the current shift & compress test operation cycle, and to load the scan paths with parallel response data from combinational logic in preparation for the next shift & compress test operation cycle. When the testing is complete, the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • FIG. 5 illustrates an example circuit 500 for enabling the command state machines of the present invention when TE is high and T/R is set for test operation. The circuit consists of a set/reset latch 502, a synchronizer 504, and, in this example, the shift state machine 402 of FIG. 4. When a Command 00 signal pulse is output from the Scan Frame state machine 400 the latch's Enable output goes high and is input to the synchronizer. The synchronizer synchronizes the Enable signal with either the FC or CLK clock signal and outputs a synchronized enable (SyncEnable) signal to the Shift state machine. In response to the SyncEnable signal, the Shift state machine transitions from the Idle state to the Shift Scan Path state and back to the Idle state in response to the FC or CLK signal. Again as seen in dotted line, if FIFOs are used the Shift Scan Path state will be maintained until the FIFOs empty of data. The transition back into the Idle state produces a Reset signal pulse that resets the set/reset latch and synchronizer to disable the Shift state machine. The other command state machines in this presentation can be substituted for the Shift state machine of FIG. 5. All command state machines have the SyncEnable input to enable their operation, the FC or CLK inputs to time their operations, and the Reset signal output to terminate their operations upon returning back to their Idle state. The purpose of the synchronizer is to synchronize the Enable signal output from the set/reset latch in response to the CLK signal to the FC signal so that the command state machines start and operate synchronously with the FC signal. The CLK and FC are separate clock signals. The CLK clock is a test clock provided to the device from a tester. The FC clock is a functional clock that may be provided from a device pin, an oscillator, a PLL, or other clock providing source. If the command state machines are timed by the CLK signal, the synchronizer may be eliminated if desired since the CLK signal times both the Scan Frame state machine that produces the Enable signal and the starting and the operating of command state machines. Without the synchronizer the Enable signal from the set/reset latch is input directly to the command state machine in place of the SyncEnable input.
  • FIG. 6 illustrates the operation of the Shift Compressor state machine 600 of the TAM Controllers of FIGS. 2 and 3 when TE is high and T/R is set for Read operation. As seen, when the TE is high, the Shift Compressor state machine transitions from the Idle state to the Shift Out Compressor state. The state machine remains in the Shift Out Compressor state until TE returns low. In the Shift Out Compressor state the controller outputs control (CTL) to cause the Compressor to shift in data from TSI and shift out data on TSO. The shift out operation unloads the signature contained within the Compressor following a test operation. As seen in FIGS. 2 and 3, when T/R is set for Read operation multiplexer 214 or 314 couples the serial output from the Compressor to the TSO output of the TAM. This Shift Compressor state machine is used by all TAMs that have Compressors.
  • FIG. 7A illustrates a Decompress & Compress TAM 700 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Compress-Ready Core Scan Paths 702, i.e. the response from the scan paths does not contain unknown states. The TAM includes a SFIR 704, a SFCR 708, a SFUR 706, a Decompressor 716, a Compressor 710, a multiplexer 714, and a Controller 712. The SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a Compressed Stimulus (CS) section 707 and a Command (C) section. The TAM has the standardized inputs and outputs described in FIG. 2. The CS bus from the SFUR is input to the Decompressor. The Decompressed Stimulus (DS) output from the Decompressor is input to the core scan paths. The R bus from the core scan paths is input to the Compressor. The CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the CS and C sections of the SFIR into the CS and C sections of the SFUR, the CS, C, and FM sections of the SFIR into the CS, C, and FM sections of the SFCR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command in response to either the CLK or FC signal. During the Command execution, the Decompressor 716 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path while the Compressor inputs the R outputs from the core scan paths and compresses them into a signature. Each CS input may provide an N number of DS patterns for input to the core scan paths. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Compressor to shift data from TSI to TSO in response to the CLK input to unload the signature as described in FIG. 6.
  • FIG. 7B illustrates a more detailed view of the stimulus decompression and response compression circuits of FIG. 7A. When compressed stimulus data is updated from the SFIR 704 to the CS register section 707 of the SFUR 706, the CS register 707 and decompressor 716 circuit combination 717 is enabled by control input from the controller to decompress the compressed stimulus data in the CS register and output the decompressed stimulus data to the stimulus inputs of the core scan paths. The CS register 707 operates as an LFSR or other pseudorandom pattern generation circuit to produce multiple stimulus patterns from the single CS input pattern. The decompressor 716 receives the multiple stimulus patterns from the CS register 707 and outputs stimulus data to each scan path. As seen, the CS and decompressor circuit combination 717 expands a small N channel wide CS input pattern into a number of larger M channel wide stimulus output patterns for input to a large number of core scan paths. Stimulus decompression circuits that receive a small compressed stimulus input pattern and produce a number of wide decompressed stimulus output patterns, similar to circuit 717, are known in the art as indicated in the paper listed in the Reference of Related Art.
  • FIG. 8A illustrates a Decompress & Maskable Compress TAM 800 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Core Scan Paths 802 where the response output contains unknown states that need to be masked off. The TAM includes a SFIR 804, a SFCR 808, a SFUR 806, a stimulus Decompressor 816, a mask Decompressor 818, a Compressor 810, a multiplexer 814, and a Controller 812. The SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Compressed Mask (CM) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a Compressed Stimulus (CS) section 807, a Compressed Mask (CM) section 809, and a Command (C) section. The TAM has the standardized inputs and outputs described in FIG. 2. The CS bus from the SFUR is input to the stimulus Decompressor 816. The Decompressed Stimulus (DS) output from Decompressor 816 is input to the core scan paths. The CM bus from the SFUR is input to the mask Decompressor 818. The Decompressed Mask (DM) output from Decompressor 818 is input to the Compressor along with the R bus from the core scan paths. The CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the CS, CM, and C sections of the SFIR into the CS, CM, and C sections of the SFUR, the CS, CM, C, and FM sections of the SFIR into the CS, CM, C, and FM sections of the SFCR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command in response to either the CLK or FC signal. During the Command execution, Decompressor 816 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path, Decompressor 818 decompresses the CM input and applies the Decompressed Mask (DM) patterns to the Compressor, and the Compressor inputs the response (R) outputs from the core scan paths and compresses the unmasked response inputs into a signature. Each CS and CM input may provide an N number of DS and CM patterns for input to the core scan paths and Compressor, respectively. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the signature contained within the Compressor needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Compressor to shift data from TSI to TSO in response to the CLK input to unload the signature and described in FIG. 6.
  • FIG. 8B illustrates a more detailed view of the stimulus decompression, mask decompression, and response compression circuits of FIG. 8A. When compressed stimulus and mask data is updated from the SFIR 804 to the CS 807 and CM 809 register sections of the SFUR 806, the CS register 807 and decompressor 816 circuit combination 811, and the CM register 809 and decompressor 818 circuit combination 813 are enabled by control input from the controller to decompress the compressed the stimulus and mask data in the CS and CM registers. The decompressed stimulus data is input to the core scan paths, and the decompressed mask data is input to the compressor 810. The CS and CM registers operate as LFSRs or other pseudorandom pattern generation circuits to produce multiple stimulus and mask patterns from the single CS and CM input patterns. The decompressor 816 receives the multiple stimulus patterns from the CS register 807 and outputs stimulus data to each scan path. The decompressor 818 receives the multiple mask patterns from the CM register 809 and outputs mask data to the compressor 810. To allow for masking each response input from the scan paths, there will be one mask input for each response input to the compressor. As seen, circuit combinations 811 and 813 expand a small N channel wide CS and CM input pattern into a number of larger M channel wide stimulus and mask output patterns for input to the core scan paths and compressor, respectively.
  • FIG. 8C illustrates a Decompress & Maskable Compress TAM 820 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Core Scan Paths 802 where the response output contains unknown states that need to be masked off. The TAM of FIG. 8C is the same the TAM of FIG. 8A with the exceptions that; (1) the SFUR 822 contains a mask (M) FIFO 828 section instead of the CM register section of FIG. 8A, (2) the SFIR 824 contains an M register section instead of the CM register section of FIG. 8A, and (3) the SFCR 826 contains an M register section instead of the CM register section of FIG. 8A. In FIG. 8C, the masking of the response outputs from the core scan paths is achieved by buffering up mask data into the M FIFO of SFUR 822 and outputting the mask data to the compressor 810 as the decompressed stimulus data from the decompressor is being input to the core scan paths. With the exception that the FIG. 8C TAM uses buffered mask data as opposed to the FIG. 8A TAM using decompressed mask data, the test and read operations of the two TAMs are identical.
  • FIG. 9 illustrates the operation of the Controllers of the FIGS. 7A, 8A, and 8C TAMs when TE is high and T/R is set for test operation. The Controller consists of a Scan Frame state machine 900, a Decompress state machine 902, a Compress & Decompress state machine 904, and a Load, Compress & Decompress state machine 906. The Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR. The Scan Frame state machine has an Idle state where is resides when TE is low, a Shift SFIR & SFCR state where it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines. The Command state machines can be clocked by either the CLK or FC inputs. In response to a Command of 00 (in this example) the Decompress state machine 902 is enabled to transition from the Idle state to the Decompress state where it resides during the decompression of the CS inputs. After the decompression step is performed, the Decompress state machine transitions back to the Idle state. The Decompress state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation. In response to a Command of 01 (in this example) the Compress & Decompress state machine 904 is enabled to transition from the Idle state to the Compress & Decompress state where it resides during the decompression of the CS input of FIG. 7A, the decompression of the CS and CM inputs of FIG. 8A, or the decompression of the CS input and outputting of mask data from the M FIFO of FIG. 8C. After the compress and decompress step is preformed, the Compress & Decompress state machine transitions back to the Idle state. The Compress & Decompress state machine is used to decompress the CS input into stimulus data to the core scan paths, to decompress the CM input into mask data to the Compressor or to output buffered mask data from the M FIFO to the Compressor, and to compress the response outputs from the core scan paths into the Compressor. In response to a Command of 10 (in this example) the Compress, Decompress & Load state machine 906 is enabled to transition from the Idle state to the Compress & Decompress state where it resides during the decompression of the CS input of FIG. 7A, the decompression of the CS and CM inputs of FIG. 8A, or the decompression of the CS input and outputting of mask data from the M FIFO of FIG. 8C. After the compress and decompress step is preformed, the Compress, Decompress & Load state machine transitions to the Load Scan Paths state to load data from combinational logic, and then back to the Idle state. The Compress, Decompress & Load state machine is used to shift in the last decompressed stimulus to the core scan paths during a current compress & decompress test operation cycle, to compress the last non-masked response outputs from the core scan paths during the current compress & decompress test operation cycle, and to load response data from combinational logic into the core scan paths in preparation for the next compress & decompress test operation cycle. When testing is complete, the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • FIG. 10 illustrates a Stimulus & Compare TAM 1000 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Compare-Ready Core Scan Paths 1002, i.e. the response from the scan paths does not contain unknown states. The TAM includes a SFIR 1004, a SFCR 1008, a SFUR 1006, a Fail Logger circuit 1016, a Comparator 1010, a multiplexer 1014, and a Controller 1012. The SFIR and SFCR both comprise a Stimulus (S) section, a Response (R) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a Stimulus (S) section, a Response (R) section, and a Command (C) section. The TAM has the standardized inputs and outputs described in FIG. 2. The S bus from the SFUR is input to the stimulus inputs of the core scan paths. The R bus from the SFUR is input to the Comparator. The R bus from the core scan paths is input to the Comparator. The Compare Outputs (CO) from the Comparator are input to the Fail Logger. The Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input. The FO signal may optionally be output from the TAM to immediately indicate a failure to a tester. The CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the S, R, and C sections of the SFIR into the S, R, and C sections of the SFUR, the S, R, C, and FM sections of the SFIR into the S, R, C, and FM sections of the SFCR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command in response to either the CLK or FC signal. During the Command execution, the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths while the response (R) outputs from the core scan paths are compared against the response (R) inputs from the SFUR. The results of each response compare operation are input to the Fail Logger. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the failure data contained within the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • The S and R sections of the SFUR 1006 can be realized as either a register 1020 or a FIFO 1018. If the S and R sections are registers, only one stimulus and response pattern is loaded into the registers from the S and R sections of the SFIR to be input to the core scan paths and comparator 1010, and only one response pattern from the core scan paths is compared in the comparator. If the S and R sections are FIFOs, a number of stimulus and response patterns can be stored in the FIFOs from the S and R sections of the SFIR to be output to the core scan paths and comparator, while an equal number of response patterns from the core scan path are compared in the comparator. An S section register 1020 or FIFO 1018 has parallel inputs coupled to the S section of the SFIR, parallel outputs coupled to the stimulus inputs of the core scan path, and control inputs from controller. An R section register 1020 or FIFO 1018 has parallel inputs coupled to the R section of the SFIR, parallel outputs coupled to the response inputs of the comparator, and control inputs from controller. The advantage of using S and R FIFOs is that, in response to a command, multiple stimulus and response inputs, buffered up in the FIFOs, can be rapidly input to the core scan paths and comparator, while an equal number of response outputs from the core scan paths can be rapidly compared in the comparator.
  • FIG. 11 illustrates a Stimulus & Maskable Compare TAM 1100 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Core Scan Paths 1102 where the response output contains unknown states that need to be masked off. The TAM includes a SFIR 1104, a SFCR 1108, a SFUR 1106, a Fail Logger circuit 1116, a Comparator 1110, a multiplexer 1114, and a Controller 1112. The SFIR and SFCR both comprise a Stimulus (S) section, a Mask (M) section, a Response (R) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a Stimulus (S) section, a Mask (M) section, a Response (R) section, and a Command (C) section. The TAM has the standardized inputs and outputs described in FIG. 2. The S bus from the SFUR is input to the stimulus inputs of the core scan paths. The M and R buses from the SFUR are input to the Comparator. The R bus from the core scan paths is input to the Comparator. The Compare Outputs (CO) from the Comparator are input to the Fail Logger. The Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input. The FO signal may optionally be output from the TAM to immediately indicate a failure to a tester. The CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the S, M, R, and C sections of the SFIR into the S, M, R, and C sections of the SFUR, the S, M, R, C, and FM sections of the SFIR into the S, M, R, C, and FM sections of the SFCR, then clears the SFIR. Following the transfer and clear operation, the Controller executes the
  • Command (C) output from the SFUR. The Controller can execute the Command in response to either the CLK or FC signal. During the Command execution, the stimulus (S) data from the SFUR is input to the stimulus inputs of the core scan paths, the mask (M) data from the SFUR is input to the comparator along with the response (R) outputs from the scan paths. The comparator compares the unmasked response (R) outputs from the core scan paths against the response (R) inputs from the SFUR. The results of each response compare operation are input to the Fail Logger. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the failure data contained within the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • The S, M, and R sections of the SFUR 1106 can be realized as either a register 1120 or a FIFO 1118. If the S, M, and R sections are registers, only one stimulus, mask, and response pattern is loaded into the registers from the S, M, and R sections of the SFIR to be input to the core scan paths and comparator 1110, and only one response pattern from the core scan paths is compared in the comparator. If the S, M, and R sections are FIFOs, a number of stimulus, mask, and response patterns can be stored in the FIFOs from the S, M, and R sections of the SFIR to be output to the core scan paths and comparator, while an equal number of response patterns from the core scan path are compared in the comparator. An S section register 1120 or FIFO 1118 has parallel inputs coupled to the S section of the SFIR, parallel outputs coupled to the stimulus inputs of the core scan path, and control inputs from controller. An M section register 1120 or FIFO 1118 has parallel inputs coupled to the M section of the SFIR, parallel outputs coupled to the mask inputs of the comparator, and control inputs from controller. An R section register 1120 or FIFO 1118 has parallel inputs coupled to the R section of the SFIR, parallel outputs coupled to the response inputs of the comparator, and control inputs from controller. The advantage of using S, M, and R FIFOs is that, in response to a command, multiple stimulus, mask, and response inputs, buffered up in the FIFOs, can be rapidly input to the core scan paths and comparator, while an equal number of response outputs from the core scan paths can be rapidly compared in the comparator.
  • FIG. 12 illustrates the operation of the Controllers of the FIGS. 10 and 11 TAMs when TE is high and T/R is set for test operation. The Controller consists of a Scan Frame state machine 1200, a Shift state machine 1202, a Shift & Compare state machine 1204, and a Shift, Compare & Load state machine 1206. The Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR. The Scan Frame state machine has an Idle state where is resides when TE is low, a Shift SFIR & SFCR state where is shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines. The Command state machines can be clocked by either the CLK or FC inputs. In response to a Command of 00 (in this example) the Shift state machine 1202 is enabled to transition from the Idle state to the Shift Scan Paths state and back to the Idle state. The Shift state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation. In response to a Command of 01 (in this example) the Shift & Compare state machine 1204 is enabled to transition from the Idle state to the Shift Scan Paths & Compare state then back to the Idle state. The Shift & Compare state machine is used to shift in stimulus data to the core scan paths from the SFUR and to compare unmasked response outputs from the core scan paths using the Comparator. In response to a Command of 10 (in this example) the Shift, Compare & Load state machine 1206 is enabled to transition from the Idle state to the Shift Scan Paths & Compare state, to the Load Scan Paths state, and back to the Idle state. The Shift, Compare & Load state machine is used to shift in the last stimulus data to the core scan paths during a current shift & compare test operation cycle, to compare the last non-masked response outputs from the core scan paths during the current shift & compare test operation cycle, and to load response data from combinational logic into the core scan paths in preparation for the next shift & compare test operation cycle. When testing is complete, the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • As seen in FIG. 12, if FIFOs are used for the S and R sections of the SFUR of FIGS. 10 or the S, M, and R sections of the SFUR of FIG. 11, the Shift state machine 1202 will remain in the shift scan paths state, the Shift & Compare state machine 1204 will remain in the shift scan paths & compare response state, and the Shift, Compare & Load state machine 1206 will remain in the shift scan paths & compare response state, as indicated by dotted line, for the number of FC/CLK cycles required to output buffered patterns from the S and R FIFOs of FIG. 10 or buffered S, M, and R patterns from the FIFOs of FIG. 11.
  • FIG. 13A illustrates a Decompress & Compare TAM 1300 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Compress-Ready Core Scan Paths 1302, i.e. the response from the scan paths does not contain unknown states. The TAM includes a SFIR 1304, a SFCR 1308, a SFUR 1306, a stimulus Decompressor 1316, a response Decompressor 1318, a Comparator 1310, a Fail Logger 1320, a multiplexer 1314, and a Controller 1312. The SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Compressed Response (CR) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a Compressed Stimulus (CS) section, a Compressed Response (CR) section, and a Command (C) section. The TAM has the standardized inputs and outputs described in FIG. 2. The CS bus from the SFUR is input to the stimulus Decompressor 1316. Decompressor 1316 outputs decompressed stimulus (DS) patterns to the core scan paths. The CR bus from the SFUR is input to the response Decompressor 1318. The Comparator inputs decompressed response (DR) patterns from the response Decompressor and response (R) patterns from the core scan paths. The Comparator outputs Compare Outputs (CO) to the Fail Logger circuit. The Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input. The FO signal may optionally be output from the TAM to immediately indicate a failure to a tester. The CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the CS, CR, and C sections of the SFIR into the CS, CR, and C sections of the SFUR, the CS, CR, C, and FM sections of the SFIR into the CS, CR, C, and FM sections of the SFCR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command in response to either the CLK or FC signal. During the Command execution, Decompressor 1316 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path, Decompressor 1318 decompresses the CR input and applies the Decompressed Response (DR) patterns to the Comparator, and the Comparator compares the Decompressed Response inputs to the response (R) outputs from the core scan paths and outputs Compare Output (CO) results to the Fail Logger. Each CS and CR input may provide an N number of DS and DR patterns for input to the core scan paths and Comparator, respectively. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the fail data contained in the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • FIG. 13B illustrates a more detailed view of the stimulus decompression, response decompression, and response comparator circuits of FIG. 13A. When compressed stimulus and response data is updated from the SFIR 1304 to the CS 1307 and CR 1309 register sections of the SFUR 1306, the CS register 1307 and decompressor 1316 circuit combination 1311, and the CR register 1309 and decompressor 1318 circuit combination 1313 are enabled by control input from the controller to decompress the compressed stimulus and response data in the CS and CR registers. The decompressed stimulus data is input to the core scan paths, and the decompressed response data is input to the comparator 1310. The CS and CR registers operate as LFSRs or other pseudorandom pattern generation circuits to produce multiple stimulus and response patterns from the single CS and CR input patterns. The decompressor 1316 receives the multiple stimulus patterns from the CS register 1307 and outputs stimulus data to each scan path. The decompressor 1318 receives the multiple response patterns from the CR register 1309 and outputs response data to the comparator 1310. To allow for comparing each response input from the scan paths, there will be one response input from decompressor 1318 for each response input from the scan path. As seen, circuit combinations 1311 and 1313 expand a small N channel wide CS and CR input pattern into a number of larger M channel wide stimulus and response output patterns for input to the core scan paths and comparator, respectively.
  • FIG. 13C illustrates a Decompress & Compare TAM 1322 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Core Scan Paths 1302 where the response output does not contain unknown states. The TAM of FIG. 13C is the same the TAM of FIG. 13A with the exceptions that; (1) the SFUR 1324 contains a response (R) FIFO 1330 section instead of the CR register section of FIG. 13A, (2) the SFIR 1326 contains an R register section instead of the CR register section of FIG. 13A, and (3) the SFCR 1328 contains an R register section instead of the CR register section of FIG. 13A. In FIG. 13C, the comparing of the response outputs from the core scan paths is achieved by buffering up response data into the R FIFO of SFUR 1324 and outputting the buffered response data to the comparator 1310 as the decompressed stimulus data from the decompressor is being input to the core scan paths. With the exception that the FIG. 13C TAM uses buffered response data as opposed to the FIG. 13A TAM using decompressed response data, the test and read operations of the two TAMs are identical.
  • FIG. 14A illustrates a Decompress & Maskable Compare TAM 1400 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Core Scan Paths 1402 where the response output contains unknown states that need to be masked off. The TAM includes a SFIR 1404, a SFCR 1408, a SFUR 1406, a stimulus Decompressor 1416, a mask Decompressor 1418, a response Decompressor 1420, a Comparator 1410, a Fail Logger 1422, a multiplexer 1414, and a Controller 1412. The SFIR and SFCR both comprise a Compressed Stimulus (CS) section, a Compressed Mask (CM) section, a Compressed Response (CR) section, a Command (C) section, and a Frame Marker (FM) section. The SFUR comprises a CS section, a CM section, a CR section, and a C section. The TAM has the standardized inputs and outputs described in FIG. 2. The CS bus from the SFUR is input to the stimulus Decompressor 1416. Decompressor 1416 outputs decompressed stimulus (DS) patterns to the core scan paths. The CM bus from the SFUR is input to the mask Decompressor 1418. The CR bus from the SFUR is input to the response Decompressor 1420. The Comparator inputs decompressed response patterns from Decompressor 1420, decompressed mask patterns from Decompressor 1418, and response (R) patterns from the core scan paths. The Comparator outputs Compare Outputs (CO) to the Fail Logger circuit. The Fail Logger outputs a Fail Output (FO) indication signal to the Controller in response to a failing CO input. The FO signal may optionally be output from the TAM to immediately indicate a failure to a tester. The CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high and T/R is set for Test operation, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the SFCR on TSO, in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the CS, CM, CR, and C sections of the SFIR into the CS, CM, CR, and C sections of the SFUR, the CS, CM, CR, C, and FM sections of the SFIR into the CS, CM, CR, C, and FM sections of the SFCR, then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command in response to either the CLK or FC signal. During the Command execution, the stimulus Decompressor 1416 decompresses the CS input and applies the Decompressed Stimulus (DS) patterns to the stimulus inputs of the core scan path, the response Decompressor 1418 decompresses the CR input and applies the Decompressed Response (DR) patterns to the Comparator, the mask Decompressor 1420 decompresses the CM input and applies the Decompressed Mask (DM) patterns to the Comparator, and the Comparator compares the Decompressed Response inputs to the unmasked response (R) outputs from the core scan paths and outputs Compare Output (CO) results to the Fail Logger. Each CS, CM, and CR input may provide an N number of DS, DM, and DR patterns for input to the core scan paths and Comparator. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the previous scan frame is shifted out of the SFCR via TSO. This process of shifting in a new scan frame from TSI, shifting out a previous scan frame from TSO, and executing a Command continues until the TE signal goes low to end the test operation. Following the test operation, the fail data contained in the Fail Logger needs to be shifted out for inspection. This is accomplished by setting TE high and setting T/R for Read operation. During the read operation the Controller causes the Fail Logger to shift data from TSI to TSO in response to the CLK input to unload the fail data.
  • FIG. 14B illustrates a more detailed view of the stimulus decompression, mask decompression, response decompression, and response comparator circuits of FIG. 14A. When compressed stimulus, mask, and response data is updated from the SFIR 1404 to the CS 1407, CM 1409, and CR 1411 register sections of the SFUR 1406, the CS register 1407 and decompressor 1416 circuit combination 11421, the CM register 1409 and decompressor 1418, and the CR register 1411 and decompressor 1420 circuit combination 1425 are enabled by control input from the controller to decompress the compressed stimulus, mask, and response data in the CS, CM, and CR registers. The decompressed stimulus data is input to the core scan paths, the decompressed mask data is input to comparator 1410, and the decompressed response data is input to comparator 1410. The CS, CM, and CR registers operate as LFSRs or other pseudorandom pattern generation circuits to produce multiple stimulus, mask, and response patterns from the single CS, CM, and CR input patterns. The decompressor 1416 receives the multiple stimulus patterns from the CS register 1407 and outputs stimulus data to each scan path.
  • The decompressor 1418 receives the multiple mask patterns from the CM register 1409 and outputs mask data to comparator 1410. The decompressor 1420 receives the multiple response patterns from the CR register 1411 and outputs response data to comparator 1410. To allow for masking or comparing each response input from the scan paths, there will be one mask input from decompressor 1418 and one response input from decompressor 1420 for each response input from the scan path. As seen, circuit combinations 1421, 1423, and 1425 expand a small N channel wide CS, CM, and CR input pattern into a number of larger M channel wide stimulus, mask, and response output patterns for input to the core scan paths and comparator.
  • In the examples illustrated in FIGS. 7A, 8A, 13A, and 14A it is seen that by using TAMs with CS, CM, and CR scan frame patterns, the bit length of the TAM SFIR can be significantly reduced over the SFIR bit length of TAMs that use C, M, and R scan frame patterns (i.e. TAMs of FIGS. 2, 3, 10, and 11). For example, if the core 1102 of FIG. 11 had an 8-bit wide stimulus input and an 8-bit wide response output, the SFIR 1104 of TAM 1100 would have to have an 8-bit wide S section, an 8-bit wide M section, and an 8-bit wide R section in series with the C and FM sections. Each scan frame input to the SFIR 1104 would contain 8 bits for the S section, 8 bits for the M section, 8 bits for the R section, and say 3 bits for the C and FM sections, or 27 bits. If the same core with 8 stimulus inputs and 8 response outputs was tested using the TAM 1400 of FIG. 14A, and assuming the CS, CM, and CR sections of SFIR 1406 required only 3 bits each, each scan frame input to the SFIR 1406 would contain 3 bits for the CS section, 3 bits for the CM section, 3 bits for the CR section, and 3 bits for the C and FM sections, or 12 bits. For the same CLK rate, the scan framing rate of the 12 bit SFIR 1406 of FIG. 14A would be double that of the 27 bit SFIR 1104 of FIG. 11. Increasing the scan frame rate of the SFIR decreases the time it takes to test to a core. In addition, since the TAM of FIG. 14A can apply a number of stimulus patterns to the core and compare the same number of response patterns from the core during each scan frame due to the decompression circuits 1421, 1423, and 1425, the test time is further reduced, which further reduces the cost of testing die and ICs.
  • FIG. 14C illustrates a Decompress & Maskable Compare TAM 1424 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM is for use with Core Scan Paths 1402 where the response output contains unknown states. The TAM of FIG. 14C is the same the TAM of FIG. 14A with the exceptions that; (1) the SFUR 1426 contains mask (M) and response (R) FIFO 1432 sections instead of the CM and CR register sections of FIG. 14A, (2) the SFIR 1428 contains M and R register sections instead of the CM and CR register sections of FIG. 14A, and (3) the SFCR 1430 contains M and R register sections instead of the CM and CR register sections of FIG. 14A. In FIG. 14C, the maskable comparing of the response outputs from the core scan paths is achieved by buffering up mask and response data into the M and R FIFOs of SFUR 1426 and outputting the buffered mask and response data to the comparator 1410 as the decompressed stimulus data from the decompressor is being input to the core scan paths. With the exception that the FIG. 14C TAM uses buffered mask and response data as opposed to the FIG. 14A TAM using decompressed mask and response data, the test and read operations of the two TAMs are identical.
  • FIG. 15 illustrates the operation of the Controllers of the FIGS. 13A, 13C, 14A, and 14C TAMs when TE is high and T/R is set for test operation. The Controller consists of a Scan Frame state machine 1500, a Decompress state machine 1502, a Decompress & Compare state machine 1504, and a Decompress, Compare & Load state machine 1506. The Scan Frame state machine is clocked by the CLK input and is used to input and output scan frames from the SFIR and SFCR, respectively, and to enable one of the Command state machines in response to a Command input from the SFUR. The Scan Frame state machine has an Idle state where it resides when TE is low, a Shift SFIR & SFCR state where it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Copy, Update, & Clear SFIR state where SFIR data is copied, updated and cleared, and an Enable Command State Machine state to enable one of the Command state machines. The Command state machines can be clocked by either the CLK or FC inputs. In response to a Command of 00 (in this example) the Decompress state machine 1502 is enabled to transition from the Idle state to the Decompress state where it resides during the decompression of the CS inputs of FIGS. 13A, 13C, 14A, and 14C. After the decompression step is performed, the Decompress state machine transitions back to the Idle state. The Decompress state machine is used to initialize the scan paths with stimulus data at the beginning of a test operation. In response to a Command of 01 (in this example) the Decompress & Compare state machine 1504 is enabled to transition from the Idle state to the Decompress & Compare state where it resides during the decompression of the CS and CR inputs of FIG. 13A, the decompression of the CS inputs and the outputting of buffered response data of FIG. 13C, the decompression of the CS, CM and CR inputs of FIG. 14A, or the decompression of the CS inputs and the outputting of buffered mask and response data of FIG. 14C. After the decompress and compare step is preformed, the Decompress & Compare state machine transitions back to the Idle state. In response to a Command of 10 (in this example) the Decompress, Compress & Load state machine 1506 is enabled to transition from the Idle state to the decompress & compare state where it resides during the decompression operations of FIGS. 13A and 14A or the decompression and buffered output operations of FIGS. 13C and 14C. After the decompress and compare step is preformed, the Load, Decompress & Compare state machine transitions back to the Idle state. The Decompress, Compare & Load state machine is used to shift in the last stimulus data to the core scan paths during a current decompress and compare test operation cycle, to compare the last non-masked response outputs from the core scan paths during the current decompress and compare test operation cycle, and to load response data from combinational logic into the core scan paths in preparation for the next decompress and compare test operation cycle. When testing is complete, the TE signal is set low to cause the Scan Frame state machine to return to the Idle state.
  • FIG. 16 illustrates an example of a Single Detect Fail Logger Circuit 1600 that can be used in the TAMs of FIGS. 10, 11, 13, and 14. The circuit consists of a Fail Bit Register 1602, a Frame Count Register 1604, a Fail Detect Gate 1606, and a Frame Counter 1608. The Fail Bit Register and Fail Detect Gate receive the Compare Outputs (CO1-N) from the Comparator of FIGS. 10, 11, 13, and 14. The FO output of the Fail Detect Gate is output to the Controller and optionally output from the TAM for input to tester so that the tester can immediately detect when a failure occurs. An example circuit 1610 for comparing SFR1 with R1 or masking (SFM1=1) the compare operation is shown to include a XNOR (X) and OR (O) gate. The Comparator would have one such circuit for each SFR1-N, SFM1-N, and R1-N input. The Fail Bit Register, Frame Count Register, and Frame Counter are controlled by the CTL bus output from the Controller. At the beginning of a test, the Fail Bit Register, Frame Counter and Frame Count Register will be initialized to zero. During test the CTL inputs cause the Frame Counter to count up each time a scan frame occurs, i.e. when the FM goes high. For each scan frame input, the Scan Frame Response (SFR1-N) is compare to the Response (R1-N) output from the core scan paths. The Scan Frame Mask (SFM1-N) can be used to mask off compare operations of unknown response inputs from the core scan paths. Following each compare operation, the CO1-N outputs from the Comparator are written into the Fail Bit Register. If one or more CO1-N signals are at a failing logic low level, the FO output from the Fail Detect Gate will go low (in this example implementation). In response to a low on the FO, the Controller will write the Frame Counter value into the Frame Count Register and cease the operation of the Fail Logger circuit. At the end of the test, the contents of the Fail Bit Register and Frame Count Register can be shifted out for inspection via TSI and TSO. The contents of the Fail Bit Register will indicate the failing one of more CO1-N inputs and the Frame Count Register will indicate the scan frame where the failure occurred. For example, if CO3 and CO7 failed during scan frame 1000 the CO3 and CO7 bits of Fail Bit Register will be low and the Frame Count Register will contain a frame count of 1000. The Fail Logger circuit of FIG. 16 allows for detecting the first scan frame compare failure.
  • FIG. 17 illustrates the operation of the Single Detect Fail Logger Read state machine 1700 in the TAM Controllers of FIGS. 10, 11, 13, and 14. This state machine is used to read out the contents of the Fail Bit Register and Frame Count Register of FIG. 16. As seen, when TE is high and T/R is set for Read operation the state machine transitions from the Idle state to the Shift Out Fail Data state. The state machine remains in the Shift Out Fail Data state until TE returns low. In the Shift Out Fail Data state, the Fail Bit Register and Frame Counter registers shift from TSI to TSO. The shift out operation unloads the failing CO bit pattern and the failing scan frame count. As seen in FIGS. 10, 11, 13, and 14, when T/R is set for read operation a multiplexer couples the serial output from the Fail Logger circuit to the TSO output of the TAM.
  • FIG. 18 illustrates an example of a Multiple Detect Fail Logger Circuit that can be used in the TAMs of FIGS. 10, 11, 13, and 14. The circuit consists of a Fail Bit Shift Register 1802, a Frame Count Shift Register 1804, a Fail Detect Gate 1806, a Fail Bit FIFO 1808, a Frame Count FIFO 1810, and a Frame Counter 1820. The Fail Bit FIFO and Fail Detect Gate receive the Compare Outputs (CO1-N) from the Comparator. The FO output of the Fail Detect Gate is output to the Controller and optionally output from the TAM for input to tester so that the tester can immediately detect when a failure occurs. The Fail Bit FIFO, Frame Count FIFO, Fail Bit Shift Register, Frame Count Shift Register, and Frame Counter are controlled by the CTL bus output from the Controller. At the beginning of a test, the Fail Bit FIFO, Fail Bit Shift Register, Frame Count FIFO, Frame Count Shift Register, and Frame Counter are initialized to zero. During test the CTL inputs cause the Frame Counter to count up each time a scan frame occurs, i.e. when the FM goes high. For each scan frame input, the Scan Frame Response (SFR1-N) is compare to the Response (R1-N) output from the core scan paths. The Scan Frame Mask (SFM1-N) can be used to mask off compare operations of unknown response inputs from the core scan paths. If one of more CO1-N signals are at a failing logic low level, the FO output from the Fail Detect Gate will go low (in this example implementation). In response to a low on the FO, the Controller will write the CO1-N pattern into the Frame Bit FIFO and the Frame Counter value into the Frame Count FIFO and continue the test. At the end of the test, the contents of the Fail Bit FIFO and Frame Count FIFO can be shifted out for inspection using the Fail Bit Shift Register and Frame Count Shift Register. During each shift out operation, a Fail Bit pattern and a Frame Count Pattern from the FIFOs will be loaded into the Fail Bit Shift Register and Frame Count Shift register, respectively, and shifted out via TSI and TSO. Each pattern shifted out will identify the failing one or more CO1-N bits of each failing scan frame count pattern. The Fail Logger circuit of FIG. 18 allows for detecting multiple scan frame compare failures.
  • FIG. 19 illustrates the operation of the Multiple Detect Fail Logger Read state machine 1900 in the TAM Controllers of FIGS. 10, 11, 13, and 14. This state machine is used to read out the contents of the Fail Bit FIFO and Frame Count FIFO of FIG. 18. As seen, when TE is high and T/R is set for Read operation the state machine transitions from the Idle state to the Enable Load & Shift state. When TE goes high, the state machine transitions to the Load Fail Data state to load a failing CO pattern from the Fail Bit FIFO into the Fail Bit Shift Register and to load the failing scan frame count from the Frame Count FIFO into the Frame Count Shift Register. From the Load Fail Data state the state machine transitions to the Shift Out Fail Data state to shift out the contents of the Fail Bit Shift Register and Frame Count Shift Register. The state machine remains in the Shift Out Fail Data state while TE is high. When TE goes low, the state machine transitions to the Enable Load & Shift state to prepare to load and shift out the next failing CO pattern and scan frame count data from the FIFOs. This process of loading and shifting out the FIFO data continues until all the FIFO data have been read. When the FIFO read operation is complete, TE is set low and T/R is set to test to cause the state machine to return to the Idle state. As seen in FIGS. 10, 11, 13, and 14, when T/R is set for read operation a multiplexer couples the serial output from the Fail Logger circuit to the TSO output of the TAM.
  • FIG. 20 illustrates a Stimulus & Response TAM 2000 that can be coupled to a core within a device to enable testing of the core according to the present invention. This TAM can be use with Core Scan Paths 2002 that output either known or unknown responses. The TAM includes a SFIR 2004, a response frame output register (RFOR) 2008, a SFUR 2006, a response (R) 2010 register 2016 or FIFO 2014, and a Controller 2012. The SFIR comprises S, C, and FM sections. The SFUR comprises an S and C section. The S section of the SFUR can be a register 2016 or a FIFO 2014. The TAM has a TSI input, a TSO output, a CLK input, a TE input, an FC input, an S output bus to the core, a R input bus from the core, and a CTL output bus to the core. The S bus from the SFUR is input to the core scan paths, the R bus from the core scan paths is input to the R register/FIFO 2010, the outputs of the R register/FIFO is input to the RFOR 2008, and the CTL bus from the Controller provides control for the TAM circuits and core scan paths. When TE is set high, the Controller is enabled to shift scan frames into the SFIR from TSI and shift scan frames out of the RFOR on TSO in response to the CLK input. When the FM signal from the SFIR goes high, the Controller transfers the contents of the S and C sections of the SFIR into the S and C sections of the SFUR, the response (R) output from the R register/FIFO into the RFOR, and then clears the SFIR. Following the transfer and clear operation, the Controller executes the Command (C) output from the SFUR. The Controller can execute the Command timed by either the CLK or a Functional Clock (FC) signal. During the Command execution, the S data from the SFUR is input to the stimulus inputs of the core scan paths while the R outputs from the core scan paths are input to the R register/FIFO 2010. While the Command is being executed, the next scan frame is shifted into the SFIR via TSI and the response to the previous scan frame is shifted out of the RFOR via TSO. When the response bits contained in the RFOR have been shifted out, logic low bits (or high bits if desired) will be shifted out for the remainder of the scan frame input and output operation. This occurs since the shift length of the RFOR is less than the shift length of the SFIR. This process of shifting in a new scan frame from TSI, shifting out the response of the previous scan frame on TSO, and executing a Command continues until the TE signal goes low to end the test operation. Since this TAM provides the response back to the tester during each scan frame shift operation via the RFOR, there is no need for a Read operation. Thus the T/R input is not required for this TAM. However, all the other standardized TAM interface signals are maintained.
  • FIG. 21 illustrates the operation of the Controllers of the FIG. 20 TAM when TE is high. The Controller consists of a Scan Frame state machine 2100, a Shift state machine 2102, a Launch on Shift (LOS) state machine 2104, and a Launch on Capture (LOC) state machine 2106. LOS is a term commonly used when delay, at-speed, or timing closure testing of the combinational logic is performed by capturing (i.e. loading) the response output from the combinational logic into the scan path as soon as possible (i.e. next clock edge) following the last stimulus input to the combinational logic from the scan path. LOC is a term commonly used when delay, at-speed, or timing closure testing of the combinational logic is performed by capturing (i.e. loading) the response output from the combinational logic into the scan path as soon as possible (i.e. next clock edge) following a back-to-back response capture operation from the combinational logic into the scan path. It is important to note that the command state machines of 406 of FIG. 4, 906 of FIG. 9, 1206 of FIG. 12, 1506 of FIGS. 15, and 2106 have all been defined to perform LOS type delay, at-speed, and timing closure test operations on combinational logic by the scan framing approach of the present invention.
  • The Scan Frame state machine 2100 is clocked by the CLK input and is used to input scan frames to the SFIR, output response scan frames from the RFOR, and to enable one of the Command state machines in response to a Command input from the SFUR. The Scan Frame state machine has an Idle state where it resides when TE is low, a Shift SFIR & RFOR state where it shifts scan frames in from TSI and out on TSO while the FM signal is low, a Load RFOR & Update & Clear SFIR state where response data from the R register/FIFO 2010 is loaded into the RFOR 2008, the SFIR data is updated into the SFUR, and the SFIR is cleared, and an Enable Command State Machine state to enable one of the Command state machines. The Command state machines can be clocked by either the CLK or FC inputs. In response to a Command of 00 (in this example) the Shift state machine 2102 is enabled to transition from the Idle state to the Shift Scan Paths state then back to the Idle state. During the Shift Scan Paths state, the stimulus (S) data from the SFUR's S register 2016 or FIFO 2014 is input to the core scan paths and the response (R) data from the scan paths is input to the R 2010 register 2016 or FIFO 2014. In response to a Command of 01 (in this example) the LOS state machine 2104 is enabled to transition from the Idle state to the Shift Scan Paths state, to the Load Scan Paths state, and back to the Idle state. During the Shift Scan Paths state, the stimulus (S) data from the SFUR'S register/FIFO is input to the core scan paths and the response (R) data from the core scan paths is input to the R register/FIFO 2010. During the Load Scan Path state, the scan paths load response data from combinational logic. The LOS state machine enables the response data from combinational logic to be captured immediately after the scan paths shift in the last stimulus data that fills the scan paths. In response to a Command of 10 (in this example) the LOC state machine 2106 is enabled to transition from the Idle state to the Shift Scan Paths state, to a first Load Scan Paths state, to a second Load Scan Paths state, and back to the Idle state. During the Shift Scan Paths state, the stimulus (S) data from the SFUR's S register/FIFO is input to the core scan paths and the response (R) data from the core scan paths is input to the R register/FIFO 2010. During the first Load Scan Paths state, the scan paths load response data from combinational logic in response to the stimulus data shifted into the scan paths. During the second Load Scan Paths state, the scan paths load response data from the combinational logic in response to the response data captured into the scan paths during the first Load Scan Paths state. The LOC state machine enables response data from combinational logic to be captured following the first load scan path operation and then again during the second load scan paths operation. When testing is complete, the TE signal is set low to cause the Scan Frame state machine 2100 to return to the Idle state.
  • As seen in FIG. 21, if FIFOs 2014 are used for the S section of the SFUR and the TAM's R section 2010, the Shift state machine 2102 will remain in the shift scan paths state, the LOS state machine 2104 will remain in the shift scan paths state, and the LOC state machine 2106 will remain in the shift scan paths state, as indicated by dotted line, for the number of FC/CLK cycles required to output a number of buffered stimulus patterns from the S FIFO section of the SFUR and to input an equal number of response patterns from the core scan paths to the R FIFO 2010 section.
  • The following examples in FIGS. 22 and 23 illustrate how the Scan Frame Based TAMs of this application can be used to test individual die on wafer, or to test strings of die on wafer. While the figures represent die on wafer being tested individually or in strings, it should be understood that FIGS. 22 and 23 could represent packaged or un-packaged ICs on a carrier or other substrate being tested individually or in strings as well. The term “device” will be used in the following description to indicate both die on wafer and ICs on a carrier or other substrate.
  • FIG. 22 illustrates a tester 2200 contacting N individual die/ICs (devices) 2202-2208 on a wafer/substrate 2210. The tester has a data output (O), a data input (I), and a control (C) output(s) for each device. Each device has a data input (I) coupled to the tester's data output (O), a data output (O) coupled to the tester's data input (I), and control (C) input(s) coupled to the tester's control (C) output(s). The I input of each device is coupled to a TSI input of a TAM within the device, the O output of is coupled a TSO output of a TAM within the device, and the C inputs of each device controls the TE, T/R, and CLK inputs of a TAM within the device. As seen in TAM example 2212, when T/R is set for a TAM Test operation, the tester inputs scan frames to the TAM's SFIR via the I input, outputs copied scan frames from the TAM's SFCR via the O output, and inputs control to the TAMs controller via the C input. The copied scan frame data output to the tester from SFCR is not required for testing, but it does allow the tester to verify that the correct scan frame data was input to the SFIR. Each die on wafer could be tested simultaneously by the tester having an I, O, and C interface for each die. Also as seen in TAM example 2214, when T/R is set for a TAM Read operation, the tester inputs data to the TAMs Compressor or Fail Logger via the I input, outputs data from the TAM's Compressor or Fail Logger via the O output, and inputs control to the TAMs controller via the C input. As previously mentioned the Read operation allows the tester to inspect the signature in the Compressor and the fail data in the Fail Logger following a test operation. TAM example 2216 illustrates how the TAM of FIG. 20 would receive input (I) from the tester and transmit output (O) to the tester via the SFIR and RFOR, respectively, when the TAM's TE input is set for test operation. The one exception to the above described test operation is the test operation of TAM 2000 of FIG. 20. As previously described in FIG. 20, TAM 2000 outputs response frames on the O output of the device instead of copied scan frames. While the contacted die of FIG. 22 are shown as being die in a row on the wafer, the contacted die could be die randomly distributed around the wafer as well.
  • FIG. 23 illustrates a tester 2300 contacting a String of N devices 2302-2308 n a wafer 2310. The tester has a data output (O), a data input (I), and a control (C) output(s) for each device. Each device has a data input (I), a data output (0), and control (C) input(s). The data input (I) of the first device 2302 of the string is coupled to the data output (O) from the tester and the data output (O) output of the last device 2308 in the string is coupled to the data input (I) to the tester. Devices existing between the first and last devices of a string are serially connected such that a leading device data output (O) is connected to the data input (I) of a trailing device. Each device in the string is connected to the control input (C) from the tester. The I input of each device in the string is coupled to the TSI input of a device TAM, the O output is coupled to the TSO output of a device TAM, and the C input controls each device TAM's TE, T/R, and CLK inputs. As seen in the example device TAM string arrangement 2312, when T/R is set for a TAM Test operation, the tester inputs a first scan frame to a TAM SFIR of the first device 2302. The TAM of the first device copies the first scan frame into its SFCR and outputs the copied scan frame to a TAM SFIR of the second device. The SFIR of the TAM of the second device inputs the scan frame, copies the first scan frame into its SFCR, then outputs the copied scan frame to a TAM SFIR of the third device. This scan frame input, copy, and output process repeats until eventually the last device 2308 in the string inputs the first scan frame from the next to last device in the string. The second and subsequent scan frames from the tester are similarly input, copied and output from the first device in the string to all trailing devices in the string according to the above described scan frame relaying technique. As each device is outputting the copied scan frame to a trailing device, it is also inputting the next scan frame and performing a test using the copied scan frame. For example, as the second device is receiving the first scan frame from the first device, the first device is inputting the second scan frame while simultaneously executing a test using the first scan frame. At the beginning of a test operation, i.e. before the first scan frame is copied from the SCIR into the SFCR, the first scan frame output from each device's SFCR will be an all zero scan frame. Initially outputting an all zero scan frame keeps trailing devices from responding to the initial scan frame output from a leading device. Using this scan framing technique, the testing of the first device of the string will complete first, then the testing of the second device of the string, then the testing of the third device of the string, and so on. The last device in the string will be the last device to complete its test. When the first device completes its test, the tester will start inputting scan frames with no-operation commands, as mentioned in regard to FIG. 4. The no-operation commands have the effect of holding devices that have completed their tests in a quiet, low power mode while other devices in the string are completing their test. The advantage of testing strings of devices as seen in FIG. 23 rather than testing individual devices as seen in FIG. 22 is that the number of contacts between the tester and devices under test is reduced. For example, individual device testing requires the tester to receive the output (O) from each device being tested, whereas device string testing only requires the tester to receive the output (O) of the last device in a device string. As seen in the example device TAM string arrangement 2314, when T/R is set for a TAM Read operation, the tester serially accesses the TAM string via the serial I and O path to extract each TAM's Compressor signature or the Fail Logger fail data following a test operation. The TAM Read operations were described previously in regard to FIGS. 6, 17, and 19. While the die string of FIG. 23 is shown as being die in a column on the wafer, the string of die could consist of die randomly distributed around the wafer as well. The TAM of FIG. 20 is not suitable for use in the TAM stringing approach of FIG. 23, since each FIG. 20 TAM needs to output the contents of its RFOR 2008 directly to the tester during each scan frame input and output operation.
  • As can be seen in FIGS. 22 and 23, it is possible to simply bring a device TAM's TSI, CLK, T/R, TE, and TSO signals out of the device for interfacing to a tester such that the tester's I output drives TSI, the tester's C outputs drive CLK, T/R, and TE, and the tester's O input receives TSO. However, if the device contains more that one TAM, each TAM's TSI, CLK, T/R, TE and TSO would have to be somehow connected to the tester interface during each TAMs test or read operation modes. This connecting could be achieved by bringing out each TAM test interface directly to the tester or by providing multiplexer circuitry in the device to switch each TAM's test interface onto a common test interface to the tester. Either of these TAM access approaches requires additional test interface contacts between the device and tester. To limit the number of test interface contacts between the device and tester each die or IC may be provided with a test port that allows any number of TAMs within the device to be selected, tested, and read using only a minimum number of test interface contacts.
  • FIG. 24 illustrates an example model of a TAM Port 2400 that could be used for interfacing multiple TAMs 2402 within a device 2406 to an external tester 2404. The TAM Port consists of an external low voltage differential signal (LVDS) input 2408 for inputting instructions and data to the TAM Port Interface Controller 2414 and for inputting scan frames to a selected TAM 2402, an external LVDS output 2410 for outputting data from the TAM Port Interface Controller and scan frames from a selected TAM 2402, and an external LVDS control input for controlling the TAM Port Interface Controller and TAM Ports. The TAM Port has an internal TSI output for inputting scan frames to a selected TAM, a internal T/R output for placing the selected TAM in Test or Read mode, an internal CLK output for clocking the selected TAM, an internal Control Bus (CB) for selecting a TAM for Test or Read operation, and an internal TSO for inputting scan frames from a selected TAM. As seen, the TSI and TSO signals may be pipelined if desired. The TAM port's controller 2414 receives input from the tester to output control on the CB that enables the interface circuit 2416 to enable and connect one of the TAMs 2402 to the TSI, T/R, CLK, and TSO signals of the TAM port. After enabling and connecting a TAM, the tester begins inputting and outputting scan frame to the TAM as previously described. While the external input, control, and output signals could use non-differential signaling (i.e. single ended), the LVDS signaling provides improved input and output framing bandwidth between the tester and TAMs.
  • FIG. 25 illustrates in more detail the interface 2416 between the TAM Port of FIG. 24 and a set of selectable TAMs 2402, each TAM being coupled to scan paths within cores 2502-2506 as previously described. Each TAM has the standardized CLK, T/R, TSI, TE inputs and TSO output. In response to external input from the tester, the TAM Port sets the control bus (CB) to enable one of the TAMs via TE1-N, to select the TAM for testing or reading via the T/R output, and to couple the selected TAM' s TSO output to the TSO input of the TAM Port via multiplexer 2508. After enabling and selecting the TAM, the TAM Port enables its CLK output to time the scan frame input and output operation of the TAM. During test, scan frames input on the external Input of the TAM Port are input to the TSI input of the selected TAM and scan frames from the TSO output of the selected TAM are output the external TAM Port Output. Once started the scan framing input and output operation continues uninterrupted until the TAM test is completed. Following the test operation, the TAM Port receives external input from the tester to switch the T/R output to Read operation. In response to the T/R being set to Read operation, the selected TAM shifts out the results of the test from the Compressor or Fail Logger on the external output to the tester. This TAM selection, test and read process is repeated for each TAM in the device. As seen, each TAM may have a FO signal. If desired the FO signal may be output to the tester by an additional output from the device. Outputting the FO signal allows a tester to immediately detect when a compare failure occurred.
  • FIG. 26 is provided to illustrate how the TAM port of FIG. 24 could be coupled to the input (I), control (C), and output (O) signals of a tester to allow the individual die testing arrangement described in regard to FIG. 22.
  • FIG. 27 is provided to illustrate how the TAM port of FIG. 24 could be coupled to the input (I), control (C), and output (O) signals of a tester to allow the die string testing arrangement described in regard to FIG. 23.
  • FIG. 28 illustrates TAM Port 2802 where the TAM Port Interface Controller 2414 of FIG. 24 is implemented using an IEEE 1149.1 TAP architecture and interface. The TAM Port has a TDI input, a TMS input, an optional TRST input, a TCK input, and a TDO output. The TAM Port Interface Controller consist of a TAP state machine 2804, an instruction register (IR) 2806, data registers (DR) 2808, and clock gating 2810 Multiplexer 2416 is controlled by the TAP to select either the output of the IR or a DR to drive the TDO output. Multiplexer 2418 is controlled by the IR to select the output of a DR or the TSO output from a TAM to be input to multiplexer 2416. While the TAM Port Interface Controller may be realized in many different ways, the TAP based implementation of FIG. 28 is one preferred realization. In response to TMS and TCK input to the TAP 2804, the instruction register (IR) 2806 or data register(s) (DR) 2808 may be serially accessed via TDI and TDO. As seen, the T/R output and CB output may be set by scanning data into a DR 2808. Alternately the T/R and CB outputs may be set by scanning an instruction into the IR 2806, as seen by dotted line. Whether the T/R and CB outputs come from a DR or IR is by design choice. Once the T/R and CB outputs have been setup, an instruction is scanned into the IR to set the clock Enable signal output high. The TAP then transitions to the Shift-DR state where it remains during the selected TAM test or read operation. While in the Shift-DR state, the TAP sets the Shift-DR state signal output high. With the clock Enable and Shift-DR state signal both set high, the Clock Gating circuit 2810 passes the TCK input to the CLK output of the TAM Port to time the selected TAM's test or read operation. During test operation, scan frames input on the TAM Port's TDI are input to the TAM via the TSI output, and scan frames output from the TAM's TSO output are output on the TAM Port's TDO output. This scan framing input and output operation continues un-interrupted at the TCK rate while the TAP is in the Shift-DR state. Note that during test operation, TAM 2000 of FIG. 20 will output response data from RFOR 2008 on TDO instead of scan frames. At the end of test, the TAP transitions from the Shift-DR state which sets the Shift-DR state signal output low and gates off the CLK output to the TAM. Following the test operation, a TAP scan operation is performed to set the T/R output to Read operation. After the T/R output is set to Read operation, the TAP loads an instruction to again set the clock Enable output high, then transitions into the Shift-DR state to enable TCK to drive the CLK output. In response to T/R being set to Read operation and with the CLK output active, the selected TAM shifts out the results of the test from the Compressor or Fail Logger on TDO. This selection, test and read process is repeated for each TAM in the device. As indicated in FIG. 28, LVDS signaling is used on the TAM Port's TDI, TMS, TCK, and TDO terminals. Using LVDS signaling increases the data framing bandwidth between the tester and TAM Port 2802 to 400 Mbps or higher. Alternately, single ended signaling could be used on the TDI, TMS, TCK, and TDO terminals if a lower data framing bandwidth between the tester and TAP Port is acceptable.
  • FIG. 29 illustrates the interface between a TAM Port of FIG. 28 and a set of selectable TAMs within a device. This interface is the same as described in Figure 25 with the exception that the TAM Port of FIG. 28 is used instead of the TAM Port of FIG. 24.
  • The TAM Port of FIG. 28 can be used to perform test and read operations of individual die/ICs as shown and described in regard to FIGS. 22 and 26, and to perform test and read operations of die/IC strings as shown and described in regard to FIGS. 23 and 27. The input (I) of the devices of FIGS. 22, 23, 26, and 27 will be the TDI input to TAM Port 2802, the control (C) inputs of the devices of FIGS. 22, 23, 26, and 27 will be the TMS, TCK and optional TRST inputs to TAM Port 2802, and the output (O) of the devices of FIGS. 22, 23, 26, and 27 will be the TDO output of TAM Port 2802.
  • FIG. 30 illustrates a circuit 3000 for reducing the number of interface signals to the TAM Port of FIG. 28 from 4 or 5 to only 3. The 3 signals include a data input (DI) 3002, a clock input (CLK) 3004, and a data output (DO) 3006. This type of signal reducing circuit is shown and described in FIG. 22A of a pending US patent (TI-60187), which is incorporated herein by reference. The only difference between the previously described circuit of FIG. 22A of the pending patent and the one of FIG. 30 is that the circuit of FIG. 30 uses LVDS signaling on the DI, CLK, and DO signals of FIG. 30, instead of single ended signals OUT, CLK, and TDO of the pending patent's FIG. 22A. Again, LVDS signaling is used to increase the data framing bandwidth between the tester and device. The reduction in interface signals is achieved by sending the TDI and TMS signals in two bit packets over the DI signal 3002. The two bit packets are converted back into individual TDI and TMS signals using serial to parallel register circuitry 3008. As seen in the timing diagram 3010, the CLK 3004 rate is double the TCK rate to allow the signal reducer circuit 3000 to receive the serial two bit packets and convert them into separate TDI and TMS signals. A connected TAM Port 2802 operates using the TDI, TMS, TCK, TRST, and TDO signals at one half the CLK rate.
  • FIG. 31 illustrates the signal reducer circuit 3000 of FIG. 30 coupled to the TAM Port 2802 of FIG. 28.
  • FIG. 32 illustrates the signal reducer circuit 3000 of FIG. 30 and TAM Port 2802 of FIG. 28 interfaced to a set of selectable TAMS 2402 within a device. This interface is the same as described in FIG. 29 with the exception that a signal reducer circuit 3000 is used as the external interface to the TAM Port 2802.
  • The signal reducer 3000 and TAM Port 2802 of FIG. 32 can only be used to perform test and read operations on individual die/ICs as shown and described in regard to FIGS. 22 and 26. It cannot be used to perform test and read operations of die/IC strings as shown and described in regard to FIGS. 23 and 27. The reason it cannot test and read die/IC strings is that the DI input rate is double the DO output rate, as can be seen in the timing diagram 3010 of FIG. 30. Therefore it is not possible to serially connect the die/ICs into strings and relay data frames to each die/IC in the string as was described earlier in regard FIGS. 23 and 27. The input (I) of the devices of FIGS. 22 and 26 will be the DI input to the signal reducer 3000, the control (C) inputs of the devices of FIGS. 22 and 26 will be the CLK input of the signal reducer 3000, and the output (O) of the devices of FIGS. 22 and 26 will be the DO output of the signal reducer 3000.
  • Although exemplary embodiments of the present invention are described above, this does not limit the scope of the present invention, which can be practiced in a variety of embodiments.

Claims (12)

What is claimed is:
1. A test access mechanism comprising:
(a) a mechanism serial input and a mechanism serial output;
(b) a core having parallel scan paths, each scan path having a stimulus input and a response output;
(c) a scan input register having an input coupled to the mechanism serial input and including stimulus registers with parallel stimulus outputs coupled to the stimulus inputs, mask registers coupled in series with the stimulus registers and having parallel mask outputs, and a control register coupled in series with the stimulus registers and the mask registers and having a control output; and
(d) compressor circuitry having parallel inputs coupled to the response outputs, parallel mask inputs coupled to the parallel mask outputs, and a compressed output coupled to the mechanism serial output.
2. The test access mechanism of claim 1 including an update register coupled between the parallel mask outputs and the parallel mask inputs.
3. The test access mechanism of claim 1 including an update register coupled between the parallel mask outputs and the parallel mask inputs and an enable input coupled to the update register.
4. The test access mechanism of claim 1 in which the scan input register is a scan frame input register including a series connection with the mechanism serial input of the serial stimulus registers, the serial mask registers, and the control register.
5. The test access mechanism of claim 1 in which the scan input register is a scan frame input register including a series connection with the mechanism serial input of the serial stimulus registers, the serial mask registers, the control register, and a frame marker register.
6. A test access mechanism comprising:
(a) a mechanism serial input and a mechanism serial output;
(b) a core having parallel scan paths, each scan path having a stimulus input and a response output;
(c) a scan input register having, including serial stimulus registers with an input coupled to the mechanism serial input and parallel stimulus outputs coupled to the stimulus inputs and serial mask registers coupled in series with the stimulus registers and having parallel mask outputs; and
(d) compressor circuitry having parallel inputs coupled to the response outputs, parallel mask inputs coupled to the parallel mask outputs, and a compressed output coupled to the mechanism serial output.
7. The test access mechanism of claim 6 including an update register coupled between the parallel mask outputs and the parallel mask inputs.
8. The test access mechanism of claim 6 including an update register coupled between the parallel mask outputs and the parallel mask inputs and an enable input coupled to the update register.
9. The test access mechanism of claim 6 including a control register coupled in series with the mechanism serial input and having a control output.
10. The test access mechanism of claim 6 including a control register coupled in series with the serial stimulus registers and serial mask registers and having a control output, and including an update register having a control input coupled to the control output and having an update control output.
11. The test access mechanism of claim 6 in which the scan input register is a scan frame input register including a series connection with the mechanism serial input of the serial stimulus registers, the serial mask registers, and a control register.
12. The test access mechanism of claim 6 in which the scan input register is a scan frame input register including a series connection with the mechanism serial input of the serial stimulus registers, the serial mask registers, a control register, and a frame marker register.
US15/447,989 1999-02-25 2017-03-02 Scan frame based test access mechanisms Abandoned US20170176526A1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
US15/447,989 US20170176526A1 (en) 1999-02-25 2017-03-02 Scan frame based test access mechanisms
US15/643,677 US10254341B2 (en) 2006-04-05 2017-07-07 Scan input stimulus registers, test control register controlling compressor circuitry
US16/270,344 US10698028B2 (en) 2006-04-05 2019-02-07 Scan frame input register to decompressor parallel scan path outputs
US16/876,405 US11275116B2 (en) 2006-04-05 2020-05-18 Scan frame based test access mechanisms
US17/665,616 US11635464B2 (en) 2006-04-05 2022-02-07 Scan frame based test access mechanisms
US18/305,454 US20230258715A1 (en) 2006-04-05 2023-04-24 Scan frame based test access mechanisms

Applications Claiming Priority (12)

Application Number Priority Date Filing Date Title
US09/257,760 US6405335B1 (en) 1998-02-25 1999-02-25 Position independent testing of circuits
US11/370,017 US7421633B2 (en) 2005-03-21 2006-03-07 Controller receiving combined TMS/TDI and suppyling separate TMS and TDI
US74431206P 2006-04-05 2006-04-05
US11/565,979 US7417450B2 (en) 2005-12-02 2006-12-01 Testing combinational logic die with bidirectional TDI-TMS/TDO chanel circuit
US11/670,241 US7657810B2 (en) 2006-02-03 2007-02-01 Scan testing using scan frames with embedded commands
US11/694,115 US7657790B2 (en) 2006-04-05 2007-03-30 Scan frame based test access mechanisms
US12/638,498 US7984331B2 (en) 2006-04-05 2009-12-15 TAM with scan frame copy register coupled with serial output
US13/157,927 US8352792B2 (en) 2006-04-05 2011-06-10 TAM with scan frame copy register coupled with serial output
US13/693,709 US8799712B2 (en) 2006-04-05 2012-12-04 TAM with scan frame copy register coupled to input register
US14/314,475 US9322875B2 (en) 1999-02-25 2014-06-25 Core circuitry, test access mechanism, scan frame input register, decompressor
US15/077,322 US9625525B2 (en) 1999-02-25 2016-03-22 IC decompress and maskable compress TAM with SFIR and SFCR
US15/447,989 US20170176526A1 (en) 1999-02-25 2017-03-02 Scan frame based test access mechanisms

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/077,322 Division US9625525B2 (en) 1999-02-25 2016-03-22 IC decompress and maskable compress TAM with SFIR and SFCR

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/643,677 Division US10254341B2 (en) 2006-04-05 2017-07-07 Scan input stimulus registers, test control register controlling compressor circuitry

Publications (1)

Publication Number Publication Date
US20170176526A1 true US20170176526A1 (en) 2017-06-22

Family

ID=44657746

Family Applications (12)

Application Number Title Priority Date Filing Date
US11/694,115 Active 2028-03-28 US7657790B2 (en) 1999-02-25 2007-03-30 Scan frame based test access mechanisms
US12/638,498 Active US7984331B2 (en) 1999-02-25 2009-12-15 TAM with scan frame copy register coupled with serial output
US13/157,927 Active US8352792B2 (en) 1999-02-25 2011-06-10 TAM with scan frame copy register coupled with serial output
US13/693,709 Active US8799712B2 (en) 1999-02-25 2012-12-04 TAM with scan frame copy register coupled to input register
US14/314,475 Active US9322875B2 (en) 1999-02-25 2014-06-25 Core circuitry, test access mechanism, scan frame input register, decompressor
US15/077,322 Active US9625525B2 (en) 1999-02-25 2016-03-22 IC decompress and maskable compress TAM with SFIR and SFCR
US15/447,989 Abandoned US20170176526A1 (en) 1999-02-25 2017-03-02 Scan frame based test access mechanisms
US15/643,677 Active 2027-05-17 US10254341B2 (en) 2006-04-05 2017-07-07 Scan input stimulus registers, test control register controlling compressor circuitry
US16/270,344 Active US10698028B2 (en) 2006-04-05 2019-02-07 Scan frame input register to decompressor parallel scan path outputs
US16/876,405 Active 2027-03-31 US11275116B2 (en) 2006-04-05 2020-05-18 Scan frame based test access mechanisms
US17/665,616 Active US11635464B2 (en) 2006-04-05 2022-02-07 Scan frame based test access mechanisms
US18/305,454 Pending US20230258715A1 (en) 2006-04-05 2023-04-24 Scan frame based test access mechanisms

Family Applications Before (6)

Application Number Title Priority Date Filing Date
US11/694,115 Active 2028-03-28 US7657790B2 (en) 1999-02-25 2007-03-30 Scan frame based test access mechanisms
US12/638,498 Active US7984331B2 (en) 1999-02-25 2009-12-15 TAM with scan frame copy register coupled with serial output
US13/157,927 Active US8352792B2 (en) 1999-02-25 2011-06-10 TAM with scan frame copy register coupled with serial output
US13/693,709 Active US8799712B2 (en) 1999-02-25 2012-12-04 TAM with scan frame copy register coupled to input register
US14/314,475 Active US9322875B2 (en) 1999-02-25 2014-06-25 Core circuitry, test access mechanism, scan frame input register, decompressor
US15/077,322 Active US9625525B2 (en) 1999-02-25 2016-03-22 IC decompress and maskable compress TAM with SFIR and SFCR

Family Applications After (5)

Application Number Title Priority Date Filing Date
US15/643,677 Active 2027-05-17 US10254341B2 (en) 2006-04-05 2017-07-07 Scan input stimulus registers, test control register controlling compressor circuitry
US16/270,344 Active US10698028B2 (en) 2006-04-05 2019-02-07 Scan frame input register to decompressor parallel scan path outputs
US16/876,405 Active 2027-03-31 US11275116B2 (en) 2006-04-05 2020-05-18 Scan frame based test access mechanisms
US17/665,616 Active US11635464B2 (en) 2006-04-05 2022-02-07 Scan frame based test access mechanisms
US18/305,454 Pending US20230258715A1 (en) 2006-04-05 2023-04-24 Scan frame based test access mechanisms

Country Status (1)

Country Link
US (12) US7657790B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10254341B2 (en) * 2006-04-05 2019-04-09 Texas Instruments Incorporated Scan input stimulus registers, test control register controlling compressor circuitry

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8078567B1 (en) * 2008-12-31 2011-12-13 John Cadick System and method for condition based maintenance for electrical equipment
US8112685B2 (en) 2009-06-11 2012-02-07 Texas Instruments Incorporated Serial compressed data I/O in a parallel test compression architecture
US7941721B2 (en) * 2009-08-31 2011-05-10 Freescale Semiconductor, Inc. System and a method for testing connectivity between a first device and a second device
US8887018B2 (en) 2010-06-11 2014-11-11 Texas Instruments Incorporated Masking circuit removing unknown bit from cell in scan chain
US8438437B2 (en) 2010-07-27 2013-05-07 Texas Instruments Incorporated Structures and control processes for efficient generation of different test clocking sequences, controls and other test signals in scan designs with multiple partitions, and devices, systems and processes of making
TW201225529A (en) * 2010-12-03 2012-06-16 Fortune Semiconductor Corp Test mode controller and electronic apparatus with self-testing thereof
WO2012150970A1 (en) * 2011-01-17 2012-11-08 Mentor Graphics Corporation Test scheduling with pattern-independent test access mechanism
US9588179B2 (en) 2013-06-12 2017-03-07 Synopsys, Inc. Scheme for masking output of scan chains in test circuit
US10067187B2 (en) * 2013-07-19 2018-09-04 Synopsys, Inc. Handling of undesirable distribution of unknown values in testing of circuit using automated test equipment
US11016145B1 (en) * 2019-12-19 2021-05-25 Allegro Microsystems, Llc Fault test circuit using launch-off-shift scan
WO2022082768A1 (en) * 2020-10-23 2022-04-28 华为技术有限公司 Decompression circuit, circuit generation method, and ic chip
CN112422954B (en) * 2020-10-23 2021-10-15 中国科学院西安光学精密机械研究所 LVDS video acquisition, detection and transmission system and method
CN112444735B (en) * 2020-11-27 2023-06-13 成都海光集成电路设计有限公司 Chip capable of being configured safely and operation method thereof

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3610095B2 (en) * 1993-07-30 2005-01-12 テキサス インスツルメンツ インコーポレイテツド Streamlined simultaneous test method and apparatus for electric circuit
US5526365A (en) * 1993-07-30 1996-06-11 Texas Instruments Incorporated Method and apparatus for streamlined testing of electrical circuits
KR100225951B1 (en) * 1996-10-22 1999-10-15 김영환 Noise reduced memory device
US6389565B2 (en) * 1998-05-29 2002-05-14 Agilent Technologies, Inc. Mechanism and display for boundary-scan debugging information
US7657790B2 (en) * 2006-04-05 2010-02-02 Texas Instruments Incorporated Scan frame based test access mechanisms
US7493540B1 (en) * 1999-11-23 2009-02-17 Jansuz Rajski Continuous application and decompression of test patterns to a circuit-under-test
US6769080B2 (en) * 2000-03-09 2004-07-27 Texas Instruments Incorporated Scan circuit low power adapter with counter
US6701476B2 (en) * 2001-05-29 2004-03-02 Motorola, Inc. Test access mechanism for supporting a configurable built-in self-test circuit and method thereof
US7313739B2 (en) * 2002-12-31 2007-12-25 Analog Devices, Inc. Method and apparatus for testing embedded cores
KR100514319B1 (en) * 2003-12-02 2005-09-13 조상욱 Core access switch for soc test
DE602005008552D1 (en) * 2004-01-19 2008-09-11 Nxp Bv TEST ARCHITECTURE AND METHOD
US20060136795A1 (en) * 2004-12-17 2006-06-22 Lsi Logic Corporation Method of testing scan chain integrity and tester setup for scan block testing
TWI263058B (en) * 2004-12-29 2006-10-01 Ind Tech Res Inst Wrapper testing circuits and method thereof for system-on-a-chip
US7487419B2 (en) * 2005-06-15 2009-02-03 Nilanjan Mukherjee Reduced-pin-count-testing architectures for applying test patterns
JP2009512873A (en) * 2005-10-24 2009-03-26 エヌエックスピー ビー ヴィ IC testing method and apparatus
US8103924B2 (en) * 2008-01-29 2012-01-24 Globalfoundries Inc. Test access mechanism for multi-core processor or other integrated circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10254341B2 (en) * 2006-04-05 2019-04-09 Texas Instruments Incorporated Scan input stimulus registers, test control register controlling compressor circuitry
US10698028B2 (en) 2006-04-05 2020-06-30 Texas Instruments Incorporated Scan frame input register to decompressor parallel scan path outputs
US11275116B2 (en) 2006-04-05 2022-03-15 Texas Instruments Incorporated Scan frame based test access mechanisms
US11635464B2 (en) 2006-04-05 2023-04-25 Texas Instruments Incorporated Scan frame based test access mechanisms

Also Published As

Publication number Publication date
US20230258715A1 (en) 2023-08-17
US10698028B2 (en) 2020-06-30
US20100095174A1 (en) 2010-04-15
US7984331B2 (en) 2011-07-19
US9322875B2 (en) 2016-04-26
US8799712B2 (en) 2014-08-05
US20160202318A1 (en) 2016-07-14
US20110239068A1 (en) 2011-09-29
US20140304564A1 (en) 2014-10-09
US20190170820A1 (en) 2019-06-06
US20200278391A1 (en) 2020-09-03
US20220163585A1 (en) 2022-05-26
US10254341B2 (en) 2019-04-09
US20070288796A1 (en) 2007-12-13
US8352792B2 (en) 2013-01-08
US11635464B2 (en) 2023-04-25
US11275116B2 (en) 2022-03-15
US7657790B2 (en) 2010-02-02
US9625525B2 (en) 2017-04-18
US20130097467A1 (en) 2013-04-18
US20170307684A1 (en) 2017-10-26

Similar Documents

Publication Publication Date Title
US11635464B2 (en) Scan frame based test access mechanisms
US11041903B2 (en) TAP gating scan enable output to decompressor and scan registers
US10877093B2 (en) Non-interleaved scan operation for achieving higher scan throughput in presence of slower scan outputs
US20010056559A1 (en) Accelerating scan test by re-using response data as stimulus data
US20040006752A1 (en) Accelerating scan test by re-using response data as stimulus data
US6671841B1 (en) Method for on-line circuit debug using JTAG and shadow scan in a microprocessor
US6662325B1 (en) Apparatus for on-line circuit debug using JTAG and shadow scan in a microprocessor
JP2004117258A (en) Test facilitating circuit for semiconductor integrated circuit
Rashidzadeh et al. An embedded tester core for system-on-chip architectures

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE