# US 2021/0063485 A1 · Test access port circuit capable of increasing transmission throughput

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

- Number: US 2021/0063485 A1
- Document ID: US20210063485A1
- Status: Published application
- Kind: A1
- Application number: 17/000,351
- Filed: 2020-08-23
- Published: 2021-03-04
- Earliest claimed: 2019-09-02
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corp.
- Inventors: YUEFENG CHEN
- Web page: https://patentgrep.com/patent/US20210063485A1

## CPC

- G01R 31/31724: {Test controller, e.g. BIST state machine (for scan test G01R31/318555)}
- G01R 31/318552: {Clock circuits details}
- G01R 31/2815: {Functional tests, e.g. boundary scans, using the normal I/O contacts (contacting devices G01R31/2808; testing digital circuits G01R31/317, G06F11/00)}
- G01R 31/31713: {Input or output interfaces for test, e.g. test pins, buffers (for scan test G01R31/318572)}
- G01R 31/3177: Testing of logic operation, e.g. by logic analysers
- G01R 31/318533: {using scanning techniques, e.g. LSSD, Boundary Scan, JTAG}
- G01R 31/318555: {Control logic}
- G01R 31/318558: {Addressing or selecting of subparts of the device under test}
- G01R 31/318572: {Input/Output interfaces}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A test access port circuit includes a data input terminal, a reset terminal, a mode selection terminal, at least one test data register set, an auxiliary data register set, an instruction register set, and a controller. The controller is coupled to the mode selection terminal and the instruction register set, and controls the at least one test data register set, the auxiliary data register set, and the instruction register set according to at least mode selection signal received by the mode selection terminal. In a reset terminal input mode, when the controller controls a test data register set of the at least one test data register set to store a first input data bit received by the data input terminal, the auxiliary data register set stores a second input data bit received by the reset terminal.

## Claims

### Claim 1

A test access port circuit comprising:
a data input terminal;
a reset terminal;
a mode selection terminal;
at least one test data register set;
a first auxiliary data register set;
an instruction register set; and
a controller coupled to the mode selection terminal and the instruction register set, and configured to control the at least one test data register set, the first auxiliary data register set, and the instruction register set according to at least mode selection signal received by the mode selection terminal;
wherein:
in a reset terminal input mode, when the controller controls a first test data register set of the at least one test data register set to store a first input data bit received by the data input terminal, the first auxiliary data register set stores a second input data bit received by the reset terminal.

### Claim 2 (depends on 1)

The test access port circuit of claim 1, wherein:
in an external reset mode, the controller resets the controller according to a reset signal received by the reset terminal.

### Claim 3 (depends on 2)

The test access port circuit of claim 2, further comprising:
a path selection circuit having a first input terminal coupled to the reset terminal, a second input terminal configured to receive a predetermined voltage, and an output terminal configured to output the reset signal or the predetermined voltage to the controller, and a control terminal; and
a first mode register set coupled to the controller and the control terminal of the path selection circuit;
wherein:
the controller is further configured to write a first value to the first mode register set to have the path selection circuit form an electrical connection between the first input terminal and the output terminal of the path selection circuit so as to have the test access port circuit enter the external reset mode; and
the controller is further configured to write a second value to the first mode register set to have the path selection circuit form an electrical connection between the second input terminal and the output terminal of the path selection circuit so as to have the test access port circuit enter the reset terminal input mode.

### Claim 4 (depends on 3)

The test access port circuit of claim 3, wherein the controller comprises a finite state machine (FSM) configured to write a predetermined value to the instruction register set to select the first mode register set and write the first value or the second value to the first mode register set according to the at least one mode selection signal.

### Claim 5 (depends on 1)

The test access port circuit of claim 1, wherein:
in a reset terminal output mode, when the controller controls the first test data register set to output a first output data bit through a data output terminal of the test access port circuit, the first auxiliary data register set outputs a second output data bit through the reset terminal.

### Claim 6 (depends on 5)

The test access port circuit of claim 5, further comprising:
a first bi-directional signal selection circuit coupled to the first auxiliary data register set and the reset terminal; and
a second mode register set coupled to the first bi-directional signal selection circuit;
wherein:
the controller is further configured to write a first value to the second mode register set so as to have the test access port circuit enter the reset terminal input mode, and control the first bi-directional signal selection circuit to receive the second input data bit through the reset terminal; and
the controller is further configured to write a second value to the second mode register set so as to have the test access port circuit enter the reset terminal output mode, and control the first bi-directional signal selection circuit to output the second input data bit through the reset terminal.

### Claim 7 (depends on 1)

The test access port circuit of claim 1, further comprising:
a second auxiliary data register set;
wherein:
in a data input terminal input mode, the controller controls a test data register set of the at least one test data register set to receive a third input data bit through the data input terminal; and
in a data input terminal output mode, when the controller controls a second test data register set of the at least one test data register set to output a third output data bit through a data output terminal of the test access port circuit or controls the first test data register set to output a first output data bit through the data output terminal, the second auxiliary data register set outputs a fourth output data bit through the data input terminal.

### Claim 8 (depends on 7)

The test access port circuit of claim 7, further comprising:
a second bi-directional signal selection circuit coupled to the second auxiliary data register set and the data input terminal; and
a third mode register set coupled to the second bi-directional signal selection circuit;
wherein:
the controller is further configured to write a first value to the third mode register set so as to have the test access port circuit enter the data input terminal input mode, and control the second bi-directional signal selection circuit to receive the third input data bit through the data input terminal; and
the controller is further configured to write a second value to the third mode register set so as to have the test access port circuit enter the data input terminal output mode, and control the second bi-directional signal selection circuit to output the fourth output data bit through the data input terminal.

### Claim 9 (depends on 1)

The test access port circuit of claim 1, further comprising:
a third auxiliary data register set;
wherein:
in a data output terminal output mode, the controller controls a test data register set of the at least one test data register set to output a third output data bit through a data output terminal of the test access port circuit; and
in a data output terminal input mode, when the controller controls a second test data register set of the at least one test data register set to receive a third input data bit through the data input terminal or controls the first test data register set to receive the first input data bit through the data input terminal, the third auxiliary data register set receives a fourth input data bit through the data output terminal.

### Claim 10 (depends on 9)

The test access port circuit of claim 9, further comprising:
a third bi-directional signal selection circuit coupled to the third auxiliary data register set and the data output terminal; and
a fourth mode register set coupled to the third bi-directional signal selection circuit;
wherein:
the controller is further configured to write a first value to the fourth mode register set so as to have the test access port circuit enter the data output terminal output mode, and control the third bi-directional signal selection circuit to output the third output data bit through the data output terminal; and
the controller is further configured to write a second value to the fourth mode register set so as to have the test access port circuit enter the data output terminal input mode, and control the third bi-directional signal selection circuit to receive the fourth input data bit through the data output terminal.

### Claim 11 (depends on 1)

The test access port circuit of claim 1, wherein each test data register set of the at least one test data register set comprises a plurality of shift registers coupled in series.

### Claim 12

A test access port circuit comprising:
a data input terminal;
a data output terminal;
a reset terminal;
a mode selection terminal;
at least one test data register set;
a first auxiliary data register set;
an instruction register set; and
a controller coupled to the mode selection terminal and the instruction register set, and configured to control the at least one test data register set, the first auxiliary data register set, and the instruction register set according to at least mode selection signal received by the mode selection terminal;
wherein:
in a data input terminal input mode, the controller controls a first test data register set of the at least one test data register set to receive a first input data bit through the data input terminal; and
in a data input terminal output mode, when the controller controls the first test data register set of the at least one test data register set to output a first output data bit through the data output terminal, the first auxiliary data register set outputs a second output data bit through the data input terminal.

### Claim 13 (depends on 12)

The test access port circuit of claim 12, further comprising:
a first bi-directional signal selection circuit coupled to the first auxiliary data register set and the data input terminal; and
a first mode register set coupled to the first bi-directional signal selection circuit;
wherein:
the controller is further configured to write a first value to the first mode register set so as to have the test access port circuit enter the data input terminal input mode, and control the first bi-directional signal selection circuit to receive the first input data bit through the data input terminal; and
the controller is further configured to write a second value to the first mode register set so as to have the test access port circuit enter the data input terminal output mode, and control the first bi-directional signal selection circuit to output the second output data bit through the data input terminal.

### Claim 14 (depends on 13)

The test access port circuit of claim 13, wherein the controller comprises a finite state machine (FSM) configured to write a predetermined value to the instruction register set to select the first mode register set and write the first value or the second value to the first mode register set according to the at least one mode selection signal.

### Claim 15 (depends on 13)

The test access port circuit of claim 13, further comprising:
a second auxiliary data register set;
wherein:
in a data output terminal output mode, the controller controls a test data register set of the at least one test data register set to output a third output data bit through the data output terminal; and
in a data output terminal input mode, when the controller controls a second test data register set of the at least one test data register set to receive a second input data bit through the data input terminal or controls the first test data register set to receive the first input data bit through the data input terminal, the second auxiliary data register set receives a third input data bit through the data output terminal.

### Claim 16 (depends on 15)

The test access port circuit of claim 15, further comprising:
a second bi-directional signal selection circuit coupled to the second auxiliary data register set and the data output terminal; and
a second mode register set coupled to the second bi-directional signal selection circuit;
wherein:
the controller is further configured to write a first value to the second mode register set so as to have the test access port circuit enter the data output terminal output mode, and control the second bi-directional signal selection circuit to output the third output data bit through the data output terminal; and
the controller is further configured to write a second value to the second mode register set so as to have the test access port circuit enter the data output terminal input mode, and control the second bi-directional signal selection circuit to receive the third input data bit through the data output terminal.

### Claim 17 (depends on 12)

The test access port circuit of claim 12, wherein each test data register set of the at least one test data register set comprises a plurality of shift registers coupled in series.

### Claim 18

A test access port circuit comprising:
a data input terminal;
a data output terminal;
a reset terminal;
a mode selection terminal;
at least one test data register set;
a first auxiliary data register set;
an instruction register set; and
a controller coupled to the mode selection terminal and the instruction register set, and configured to control the at least one test data register set, the first auxiliary data register set, and the instruction register set according to at least mode selection signal received by the mode selection terminal;
wherein:
in a data output terminal output mode, the controller controls a first test data register set of the at least one test data register set to output a first output data bit through the data output terminal; and
in a data output terminal input mode, when the controller controls the first test data register set to receive a first input data bit through the data input terminal, the first auxiliary data register set receives a second input data bit through the data output terminal.

### Claim 19 (depends on 18)

The test access port circuit of claim 18, further comprising:
a first bi-directional signal selection circuit coupled to the first auxiliary data register set and the data output terminal; and
a first mode register set coupled to the first bi-directional signal selection circuit;
wherein:
the controller is further configured to write a first value to the first mode register set so as to have the test access port circuit enter the data output terminal output mode, and control the first bi-directional signal selection circuit to output the first output data bit through the data output terminal; and
the controller is further configured to write a second value to the first mode register set so as to have the test access port circuit enter the data output terminal input mode, and control the first bi-directional signal selection circuit to receive the second input data bit through the data output terminal.

### Claim 20 (depends on 19)

The test access port circuit of claim 19, wherein the controller comprises a finite state machine (FSM) configured to write a predetermined value to the instruction register set to select the first mode register set and write the first value or the second value to the first mode register set according to the at least one mode selection signal.
