# US 2023/0243886 A1 · Dft architecture for analog circuits

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0243886 A1
- Document ID: US20230243886A1
- Status: Published application
- Kind: A1
- Application number: 17/592,171
- Filed: 2022-02-03
- Published: 2023-08-03
- Earliest claimed: 2022-02-03
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMicroelectronics S.r.l.
- Inventors: Filippo Colombo
- Web page: https://patentgrep.com/patent/US20230243886A1

## CPC

- G01R 31/316: Testing of analog circuits {(G01R31/2851 takes precedence)}
- G01R 31/3167: Testing of combined analog and digital circuits {(testing ADC's H03M1/1071)}
- G01R 31/31704: {Design for test; Design verification (concerning scan tests G01R31/318583; computer-aided design G06F30/00)}
- H03M 1/108: {Converters having special provisions for facilitating access for testing purposes}
- G01R 31/31724: {Test controller, e.g. BIST state machine (for scan test G01R31/318555)}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

An integrated circuit (IC) includes: a first functional analog pin or pad; a first analog test bus coupled to the first functional analog pin or pad; first and second analog circuits coupled to the first analog test bus; and a test controller configured to: when the IC is in a functional operating mode, connect an input or output of the first analog circuit to the first analog test bus so that the input or output of the first analog circuit is accessible by the first functional analog pin or pad, and keep disconnected an input or output of the second analog circuit from the first analog test bus, and when the IC is in a test mode, selectively connect the input or output of the first and second analog circuits to the first analog test bus to test the first and second analog circuits using the first analog test bus.

## Claims

### Claim 1

An integrated circuit comprising:
a first functional analog pin or pad;
a first analog test bus coupled to the first functional analog pin or pad;
a first analog circuit coupled to the first analog test bus;
a second analog circuit coupled to the first analog test bus; and
a test controller configured to:
when the integrated circuit is in a functional operating mode, connect an input or output of the first analog circuit to the first analog test bus so that the input or output of the first analog circuit is accessible by the first functional analog pin or pad, and keep disconnected an input or output of the second analog circuit from the first analog test bus, and
when the integrated circuit is in a test mode, selectively connect the input or output of the first and second analog circuits to the first analog test bus to test the first and second analog circuits using the first analog test bus.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, further comprising a plurality of digital-to-analog converters (DACs) having respective outputs coupled to the first analog test bus, wherein the first analog circuit or the second analog circuit comprises a DAC of the plurality of DACs, and wherein, when the integrated circuit is in the test mode, the test controller is configured to:
provide a same first digital code to respective inputs of each of the plurality of DACs;
sequentially for each of the plurality of DACs, connect the output of the respective DAC to the first analog test bus so that the respective DAC provides a respective first analog signal to the first analog test bus, and disconnect the respective output of the respective DAC from the first analog test bus after the respective DAC provides the respective first analog signal to the first analog test bus; and
determine whether one or more DACs of the plurality of DACs has a fault based on the first analog signals provided to the first analog test bus.

### Claim 3 (depends on 2)

The integrated circuit of claim 2, further comprising a first analog-to-digital converter (ADC) having an input coupled to the first analog test bus, wherein, when the integrated circuit is in the test mode, the test controller is further configured to:
for each of the plurality of DACs, measure the respective first analog signal at the first analog test bus using the first ADC, wherein the test controller is configured to determine whether one or more DACs of the plurality of DACs has a fault based on an output of the first ADC.

### Claim 4 (depends on 1)

The integrated circuit of claim 1, further comprising a plurality of digital-to-analog converters (DACs) having respective outputs coupled to the first analog test bus, wherein, when the integrated circuit is in the test mode, the test controller is configured to:
provide to respective inputs of the plurality of DACs a monotonical sequence of digital codes, wherein the test controller is configured to provide each of the digital codes of the monotonical sequence of digital codes simultaneously to the respective inputs of each of the plurality of DACs;
for each of the digital codes of the monotonical sequence of digital codes, sequentially for each of the plurality of DACs, connect the respective output of the respective DAC to the first analog test bus so that the respective DAC provides a respective first analog signal to the first analog test bus, and disconnect the respective output of the respective DAC from the first analog test bus after the respective DAC provides the respective analog signal to the first analog test bus; and
determine whether one or more DACs of the plurality of DACs has a fault based on the first analog signals provided to the first analog test bus.

### Claim 5 (depends on 4)

The integrated circuit of claim 4, wherein the first analog circuit or the second analog circuit comprises a DAC of the plurality of DACs.

### Claim 6 (depends on 4)

The integrated circuit of claim 4, further comprising a plurality of analog-to-digital converters (ADCs) having respective inputs coupled to the first analog test bus, wherein, when the integrated circuit is in the test mode, the test controller is further configured to:
for each of the plurality of DACs and for each of the digital codes of the monotonical sequence of digital codes, measure the respective first analog signal at the first analog test bus using the plurality of ADCs, wherein the test controller is configured to determine whether one or more DACs of the plurality of DACs has a fault based on an output of the plurality of ADCs.

### Claim 7 (depends on 6)

The integrated circuit of claim 6, wherein the test controller is further configured to determine whether one or more ADCs of the plurality of ADCs has a fault based on the output of the plurality of ADCs.

### Claim 8 (depends on 6)

The integrated circuit of claim 6, wherein the first analog circuit or the second analog circuit comprises an ADC of the plurality of ADCs.

### Claim 9 (depends on 1)

The integrated circuit of claim 1, further comprising a plurality of analog-to-digital converters (ADCs) having first inputs coupled to the first analog test bus, a plurality of digital-to-analog converters (DACs) having outputs coupled to the first analog test bus, and a plurality of comparators having first inputs coupled to the first analog test bus, wherein the first analog circuit or the second analog circuit comprises a DAC of the plurality of DACs, and ADC of the plurality of ADCs, or a comparator of the plurality of comparators, wherein the test controller is configured to:
connect an output of a first DAC of the plurality of DACs to the first analog test bus;
connect the respective first inputs of each of the plurality of ADCs to the first analog test bus; and
connect the respective first inputs of each of the plurality of comparators to the first analog test bus;
while the first inputs of the plurality of ADCs and the first inputs of the plurality of comparators are connected to analog test bus, provide an analog signal to the first analog test bus with the output of the first DAC; and
determine whether one or more ADCs of the plurality of ADCs has a fault based on respective outputs of the plurality of ADCs; and
determine whether one or more comparators of the plurality of comparators has a fault based on respective outputs of the plurality of comparators.

### Claim 10 (depends on 9)

The integrated circuit of claim 9, further comprising:
a plurality of DAC modules, each of the plurality of DAC modules comprising a respective DAC of the plurality of DACs, and a design for testability (DFT) logic circuit;
a plurality of ADC modules, each of the plurality of ADC modules comprising a respective ADC of the plurality of ADCs, and a DFT logic circuit; and
a plurality of comparator modules, each of the plurality of comparator modules comprising a respective comparator of the plurality of comparators, and a DFT logic circuit, wherein the test controller comprises outputs coupled to respective inputs of the DFT logic circuits of the plurality of DAC modules, the plurality of ADC modules, and the plurality of comparator modules, and wherein the test controller is configured to:
connect the output of the first DAC to the first analog test bus using the DFT logic circuit of the DAC module comprising the first DAC;
connect the respective first inputs of each of the plurality of ADCs to the first analog test bus using respective DFT logic circuits of the plurality of ADC modules, and
connect the respective first inputs of each of the plurality of comparators to the first analog test bus using respective DFT logic circuits of the plurality of comparator modules.

### Claim 11 (depends on 10)

The integrated circuit of claim 10, wherein each of the plurality of DAC modules is an instance of the same DAC design, each of the plurality of ADC modules is an instance of the same ADC design, and each of the plurality of comparator modules is an instance of the same comparator module design.

### Claim 12 (depends on 1)

The integrated circuit of claim 1, further comprising a plurality of DAC modules, each of the plurality of DAC modules comprising a respective DAC of a plurality of DACs, and a demultiplexer having an input coupled to an output of the respective DAC, wherein the first analog circuit comprises a first DAC module of the plurality of DAC modules, wherein the demultiplexer of the first DAC module comprises a first output coupled to the first analog test bus, and a second output shorted to the first output, and wherein the demultiplexer of a second DAC module of the plurality of DAC modules comprises a first output coupled to the first analog test bus and a second output coupled to a functional internal node of the integrated circuit.

### Claim 13 (depends on 1)

The integrated circuit of claim 1, further comprising:
a second functional analog pin or pad;
a second analog test bus coupled to the second functional analog pin or pad;
a third analog circuit coupled to the second analog test bus; and
a fourth analog circuit coupled to the second analog test bus, wherein the test controller is configured to:
when the integrated circuit is in the functional operating mode, connect an input or output of the third analog circuit to the second analog test bus so that the input or output of the third analog circuit is accessible by the second functional analog pin or pad, and keep disconnected an input or output of the fourth analog circuit from the second analog test bus, and
when the integrated circuit is in the test mode, test the third analog circuit using the second analog test bus, connect the input or output of the fourth analog circuit to the second analog test bus, and test the fourth analog circuit using the first analog test bus.

### Claim 14 (depends on 13)

The integrated circuit of claim 13, further comprising a first digital-to-analog converter (DAC) having an output coupled to the first analog test bus, a second DAC having an output coupled to the second analog test bus, and a differential analog-to-digital converter (ADC) having a first input coupled to the first analog test bus and a second input coupled to the second analog test bus, wherein, when the integrated circuit is in the test mode, the test controller is configured to:
connect the output of the first DAC to the first analog test bus;
connect the output of the second DAC to the second analog test bus;
connect the first and second inputs of the differential ADC to the first and second analog test buses, respectively;
provide a first analog signal to the first analog test bus using the first DAC;
provide a second analog signal to the second analog test bus using the second DAC; and
determine whether the differential ADC has a fault based on an output of the differential ADC.

### Claim 15 (depends on 1)

The integrated circuit of claim 1, wherein the first analog circuit comprises a first buffered digital-to-analog converter (DAC) having an output coupled to the first analog test bus, and wherein, during the functional operating mode, an output of the first buffered DAC is connected to the first functional analog pin or pad and is configured to provide an analog signal to the first functional analog pin or pad based on an input of the first buffered DAC.

### Claim 16 (depends on 15)

The integrated circuit of claim 15, wherein the second analog circuit comprises a second unbuffered DAC having an output coupled to the first analog test bus.

### Claim 17 (depends on 15)

The integrated circuit of claim 15, wherein the second analog circuit comprises an analog-to-digital converter (ADC) or comparator having an input coupled to the first analog test bus.

### Claim 18 (depends on 1)

The integrated circuit of claim 1, wherein the first analog circuit comprises a first analog-to-digital converter (ADC) having an input coupled to the first analog test bus.

### Claim 19 (depends on 1)

The integrated circuit of claim 1, wherein the second analog circuit comprises a digital-to-analog converter (DAC) having an output coupled to the first analog test bus, a second ADC having an input coupled to the first analog test bus, or a comparator having an input coupled to the first analog test bus.

### Claim 20 (depends on 1)

The integrated circuit of claim 1, wherein the integrated circuit is disposed in a printed circuit board (PCB), and wherein the first functional analog pin or pad is not connected to a ground plane of the PCB.

### Claim 21 (depends on 1)

The integrated circuit of claim 1, wherein the integrated circuit comprises the first functional pad coupled to the first functional analog pin via a bond wire.

### Claim 22

An integrated circuit comprising:
first and second functional analog pins or pads;
first and second analog test buses respectively coupled to the first and second functional analog pins or pads;
a first digital-to-analog converter (DAC) having an output coupled to the first analog test bus;
a second DAC having an output coupled to the second analog test bus;
a differential analog-to-digital converter (ADC) having a first input coupled to the first analog test bus and a second input coupled to the second analog test bus; and
a test controller configured to:
when the integrated circuit is in a functional operating mode, connect the output of the first DAC to the first analog test bus so that the output of the first DAC is accessible by the first functional analog pin or pad, connect the output of the second DAC to the second analog test bus so that the output of the second DAC is accessible by the second functional analog pin or pad, and keep disconnected the first and second inputs of the differential ADC from the first and second analog test buses, respectively, and
when the integrated circuit is in a test mode, connect the first and second inputs of the differential ADC to the first and second analog test buses, respectively, provide first and second analog signals to the first and second analog test buses using the first and second DACs, respectively, and determine whether the first DAC, the second DAC, or the differential ADC has a fault based on an output of the differential ADC.

### Claim 23

A method comprising:
when an integrated circuit is in a non-test mode,
connect an input or output of a first analog circuit to a first analog test bus that is coupled to a first functional analog pin or pad so that the input or output of the first analog circuit is accessible by the first functional analog pin or pad, and
keep disconnected an input or output of a second analog circuit from the first analog test bus; and
when the integrated circuit is in a test mode, selectively connect the input or output of the first and second analog circuits to the first analog test bus to test the first and second analog circuits using the first analog test bus.
