# US 2019/0170821 A1 · Sleek serial interface for a wrapper boundary register (device and method)

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

- Number: US 2019/0170821 A1
- Document ID: US20190170821A1
- Status: Published application
- Kind: A1
- Application number: 16/169,144
- Filed: 2018-10-24
- Published: 2019-06-06
- Earliest claimed: 2014-06-19
- Assignees: X-Fab Semiconductor Foundries AG
- Applicants: X-FAB SEMICONDUCTOR FOUNDRIES GmbH
- Inventors: Ulrike Mueller-Schniek
- Web page: https://patentgrep.com/patent/US20190170821A1

## CPC

- G01R 31/31703: {Comparison aspects, e.g. signature analysis, comparators (concerning scan tests G01R31/318566; concerning testers G01R31/3193)}
- G01R 31/31712: {Input or output aspects}
- G01R 31/31725: {Timing aspects, e.g. clock distribution, skew, propagation delay (for tester hardware G01R31/31937)}
- G01R 31/31727: {Clock circuits aspects, e.g. test clock circuit details, timing aspects for signal generation, circuits for testing clocks (G01R31/31725 takes precedence; concerning scan test G01R31/318552, for tester hardware G01R31/31922)}
- G01R 31/3177: Testing of logic operation, e.g. by logic analysers
- G01R 31/318508: {Board Level Test, e.g. P1500 Standard (features related to boundary scan G01R31/318533)}
- G01R 31/318558: {Addressing or selecting of subparts of the device under test}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

Invention achieves reduced amount of terminals to control a test mode, test function and test results of a given standard for at least one “wrapped core” (40,100) (a core 100 surrounded by a wrapper boundary register (40) as “wrapper chain”). Test flexibility and speed of testing the core (100) are also improved. Suggested serial test interface comprises a state machine (210) and an instruction register (213) for wrapper-instructions, supplied through a single physical data input terminal (1a). The state machine (210) reads wrapper-instructions held by the instruction register (213) and generates on-chip wrapper control signals (30) of the given standard for the wrapper boundary register (40) of the core (100). At least one wrapper-instruction read from the Instruction Register (213) provides at least one wrapper control signal (30). The single input terminal (1a) also supplies an input test signal SDI for coupling to the wrapper boundary register (40) as on chip logical input test signal WSI. A single output terminal (1b) returns an output test signal SDO from an output WSO of the wrapper boundary register (40). Invention may apply to IEEE 1500 control signals.

## Claims

### Claim 1

Serially operable interface device on a chip (1), the interface device (201) for generating control signals for a Wrapper Boundary Register (40,WBR) on chip (1) level, said wrapper control signals (30) complying with a given standard for testing a core device (100), said core device provided on the chip (1) as well and having the WBR, the serial interface device (201) comprising
one physical Data Input (2a) and one physical Data Output (2b) and no more than the input (SDI) for and the output (SDO) of the serial interface device (201) are coupled to a respective terminal (la, lb) on said chip (1) containing the interface device (201) and the core device (100) with the Wrapper Boundary Register (40); and a physical Clock Input (2c) that is coupled to a third terminal (1c) on said chip (1) on chip level for supplying a clock signal (SCLK) to the serial interface device (201);
the serial interface device (201) further comprising
an Address Register (214) for holding a received address for comparison to a device-address (214a);
an Instruction Register (213) to receive and hold wrapper-instructions supplied through the terminal (1a) supplying the Data Input (SDI) on said chip (1)
a control logic (209) including a state machine (210) for handling transactions from an external master (10) that supplies logical data input (SDI) to physical data input terminal (1a) and the serial interface device (201) returns logical data output (SDO) to said physical data output terminal (2b) and for said external master (10) from the WBR (40) of the core device (100);
wherein the state machine (210) is configured to provide the wrapper control signals (30) of the given standard for the core device (100) having the Wrapper Boundary Register (40;WBR);
read an address held by the Address Register (214) and compare it to the device-address (214a);
read a currently active wrapper-instruction, held by the Instruction Register (213),
send (logic) output test (SDO) data, as taken from the Wrapper Boundary Register (40,WBR).

### Claim 1

A serially-operable interface device on a chip (1), the interface device (201) for generating control signals for a Wrapper Boundary Register (40, WBR) on chip (1) level, said wrapper control signals (30) complying with a given standard for testing a core device (100), said core device provided on the chip (1) as well and having the WBR, the serial interface device (201) comprising:
one physical Data Input (2a) and one physical Data Output (2b) and no more than the input (SDI) for and the output (SDO) of the serial interface device (201) are coupled to a respective terminal (1a, 1b) on said chip (1) containing the interface device (201) and the core device (100) with the Wrapper Boundary Register (40); and a physical Clock Input (2c) that is coupled to a third terminal (1c) on said chip (1) on chip level for supplying a clock signal (SCLK) to the serial interface device (201);
the serial interface device (201) further comprising:
an Address Register (214) for holding a received address for comparison to a device-address (214a);
an Instruction Register (213) to receive and hold wrapper-instructions supplied through the terminal (1a) supplying the Data Input (SDI) on said chip (1);
a control logic (209) including a state machine (210) for handling transactions from an external master (10) that supplies logical data input (SDI) to physical data input terminal (1a) and the serial interface device (201) returns logical data output (SDO) to said physical data output terminal (2b) and for said external master (10) from the WBR (40) of the core device (100);
wherein the state machine (210) is configured to:
provide the wrapper control signals (30) of the given standard for the core device (100) having the Wrapper Boundary Register (40;WBR);
read an address held by the Address Register (214) and compare it to the device-address (214a);
read a currently active wrapper-instruction, held by the Instruction Register (213); and
send (logic) output test (SDO) data, as taken from the Wrapper Boundary Register (40,WBR).

### Claim 2

Device of one of previous claims, further having a counter (211) to control a data transmission size in certain states (READ_DEV_ADR, READ_INSTRUCTION, SEND_IDCODE, READ_DATA and READ_UPDATE) of the state machine (210), the counter receiving the clock signal (SCLK) supplied to the serial interface device.

### Claim 2 (depends on 1)

The device of claim 1, further having a counter (211) to control a data transmission size in certain states (READ_DEV_ADR, READ_INSTRUCTION, SEND_IDCODE, READ_DATA and READ_UPDATE) of the state machine (210), the counter receiving the clock signal (SCLK) supplied to the serial interface device.

### Claim 3

Device of one of previous claims, the state machine (210) handling transactions between the external master (10) and itself, wherein the state machine (210) is capable to generate an additional Wrapper Boundary Register control signal (WT), e.g. WCH_RESET, to and for the Wrapper Boundary register (WBR,40) of the core device (100).

### Claim 3 (depends on 1)

The device of claim 1, the state machine (210) handling transactions between the external master (10) and itself, wherein the state machine (210) is capable to generate an additional Wrapper Boundary Register control signal (WT), e.g. WCH_RESET, to and for the Wrapper Boundary register (WBR,40) of the core device (100).

### Claim 4

Device of one of previous claims, wherein the State Machine (210) is configured and capable to generate all Wrapper Boundary Register control signals (30; CW, SW, UW, WN) of the given standard, preferably CaptureWR, ShiftWR, UpdateWR and WRSTN of the IEEE 1500 standard, the SelectWIR signal of the IEEE 1500 standard not being a WBR control signal.

### Claim 4 (depends on 1)

The device of claim 1, wherein the State Machine (210) is configured and capable to generate all Wrapper Boundary Register control signals (30; CW, SW, UW, WN) of the given standard selected from the group consisting of CaptureWR, ShiftWR, UpdateWR and WRSTN of the IEEE 1500 standard, the SelectWIR signal of the IEEE 1500 standard not being a WBR control signal.

### Claim 5 (depends on 1, 2, 3)

Device of one of previous claims 1 to 3, the state machine (210) generates at least some Wrapper Boundary Register control signals (30) comprising one or more of the control signals for the IEEE 1500 Wrapper Boundary Register (WBR).

### Claim 5 (depends on 1)

The device of claim 1, the state machine (210) generates at least some Wrapper Boundary Register control signals (30) comprising one or more of the control signals for the IEEE 1500 Wrapper Boundary Register (WBR).

### Claim 6

Device of one of previous claims, wherein an output signal (WSO) of the Wrapper Boundary Register (40;WBR) is supplied to the serial interface device (201) or directly to the terminal (2b) of the physical Data Output (SDO).

### Claim 6 (depends on 1)

The device of claim 1, wherein an output signal (WSO) of the Wrapper Boundary Register (40;WBR) is supplied to the serial interface device (201) or directly to the terminal (2b) of the physical Data Output (SDO).

### Claim 7

Device of one of previous claims, wherein the logical data input signal (SDI) at physical Data Input Terminal (1a) is supplied, preferably directly, to the WBR (40) as Input Signal (WSI).

### Claim 7 (depends on 1)

The device of claim 1, wherein the logical data input signal (SDI) at physical Data Input Terminal (1a) is supplied to the WBR (40) as Input Signal (WSI).

### Claim 8

Device of one of previous claims, wherein the clock signal (SCLK) from the third terminal (1c) is also supplied, preferably directly, to the WBR (40) as clock signal (WRCK).

### Claim 8 (depends on 1)

The device of claim 1, wherein the clock signal (SCLK) from the third terminal (1c) is also supplied to the WBR (40) as clock signal (WRCK).

### Claim 9

Device of one of previous claims, wherein the clock signal (SCLK) from the third terminal (1c) is supplied to the serial interface device (201), preferably therewith to the control logic (209) containing the state machine (210), the Address Register (214) and the Instruction Register (213).

### Claim 9 (depends on 1)

The device of claim 1, wherein the clock signal (SCLK) from the third terminal (1c) is supplied to the serial interface device (201) to the control logic (209) containing the state machine (210), the Address Register (214) and the Instruction Register (213).

### Claim 10

Device of one of previous claims, wherein the logical data input signal (SDI) at physical Data Input Terminal (1a) is supplied to the Address Register (214), the Instruction Register (213) and to the control logic (209) containing the state machine (210), but not to the state machine (210).

### Claim 10 (depends on 1)

The device of claim 1, wherein the logical data input signal (SDI) at physical Data Input Terminal (1a) is supplied to the Address Register (214), the Instruction Register (213) and to the control logic (209) containing the state machine (210), but not to the state machine (210).

### Claim 11

Device of one of previous claims, wherein the coupling is an electrical conductive connection.

### Claim 11 (depends on 1)

The device of claim 1, wherein the coupling is an electrical conductive connection.

### Claim 12

Device of one of previous claims, further having an Identification Register (215) containing an identification-code (215a) of the core device (100).

### Claim 12 (depends on 1)

The device of claim 1, further having an Identification Register (215) containing an identification-code (215a) of the core device (100).

### Claim 13

Device of one of previous claims, the serial interface device (201) further having an additional device-address source, supplying a device-address (214a) of a corresponding core device (100a) associated with the interface device, when multiple cores (100a, 100b) are on the chip (1) and each core has an own dedicated serial interface device (201a, 201b).

### Claim 13 (depends on 1)

The device of claim 1, the serial interface device (201) further having an additional device-address source, supplying a device-address (214a) of a corresponding core device (100a) associated with the interface device, when multiple cores (100a, 100b) are on the chip (1) and each core has an own dedicated serial interface device (201a, 201b).

### Claim 14

Device of one of previous claims, further having a counter (211), supplied with the clock signal (SCLK) through the third terminal (1c) to control the changes of states (510, 520, 525, 530, 550) of the state machine (210).

### Claim 14 (depends on 1)

The device of claim 1, further having a counter (211), supplied with the clock signal (SCLK) through the third terminal (1c) to control the changes of states (510, 520, 525, 530, 550) of the state machine (210).

### Claim 15

Serially operable interface device on a chip (1), the interface device (201) for generating control signals for a Wrapper Boundary Register (40;WBR) on chip (1,1*) level, said wrapper control signals (30) complying with a given standard for testing a core device (100), said core device provided on the chip (1) as well and having the WBR (40), the chip (1;1*) comprising
one physical Data Input (1a) for test purposes and one physical Data Output (1b) for test purposes and no more than an input and an output terminal of the serial interface device (201) are coupled to the terminals (1a, 1b) on said chip (1) containing the interface device (201) and the core device (100) with the WBR;
and a physical Clock Input (1c) for test purposes that is coupled to a third terminal (1c) on said chip (1;1*) on chip level for supplying a clock signal (SCLK) to the serial interface device (201);
the serial interface device (201) on chip further comprising an Instruction Register (213) to receive and hold wrapper-instructions supplied through the physical data input terminal (1a);
wherein the state machine (210) is configured to
read a currently active wrapper-instruction, as held by the Instruction Register (213);
generate and provide on-chip wrapper control signals (30) of the given standard for the core device (100) having the Wrapper Boundary Register (40;WBR) according to the wrapper-instruction read from the Instruction Register (213).

### Claim 15

A serially-operable interface device on a chip (1), the interface device (201) for generating control signals for a Wrapper Boundary Register (40;WBR) on chip (1,1*) level, said wrapper control signals (30) complying with a given standard for testing a core device (100), said core device provided on the chip (1) as well and having the WBR (40), the chip (1;1*) comprising:
one physical Data Input (1a) for test purposes and one physical Data Output (1b) for test purposes and no more than an input and an output terminal of the serial interface device (201) are coupled to the terminals (1a, 1b) on said chip (1) containing the interface device (201) and the core device (100) with the WBR;
and a physical Clock Input (1c) for test purposes that is coupled to a third terminal (1c) on said chip (1;1*) on chip level for supplying a clock signal (SCLK) to the serial interface device (201);
the serial interface device (201) on chip further comprising an Instruction Register (213) to receive and hold wrapper-instructions supplied through the physical data input terminal (1a);
wherein the state machine (210) is configured to:
read a currently active wrapper-instruction, as held by the Instruction Register (213); and
generate and provide on-chip wrapper control signals (30) of the given standard for the core device (100) having the Wrapper Boundary Register (40;WBR) according to the wrapper-instruction read from the Instruction Register (213).

### Claim 16

Device of one of previous claims, the serial interface device (201) further having an Address Register (214) to receive and hold an address supplied through the physical data input terminal (1a) for comparison with an individual device-address (214a) of this serial interface device (201a) and a corresponding core (100a), when multiple serial interface devices (201a,201b,201c) each attributed to a corresponding core (100a,100b,100c) are present on the chip (1*).

### Claim 16 (depends on 15)

The device of claim 15, the serial interface device (201) further having an Address Register (214) to receive and hold an address supplied through the physical data input terminal (1a) for comparison with an individual device-address (214a) of this serial interface device (201a) and a corresponding core (100a), when multiple serial interface devices (201a,201b,201c) each attributed to a corresponding core (100a,100b,100c) are present on the chip (1*).

### Claim 17

Device of one of previous claims, wherein the control logic (209) has access to an Address Register (214), being configured for holding a received address, the control logic (209) being configured for reading the address as held by the Address Register (214).

### Claim 17 (depends on 15)

The device of claim 15, wherein the control logic (209) has access to an Address Register (214), being configured for holding a received address, the control logic (209) being configured for reading the address as held by the Address Register (214).

### Claim 18

Device of one of previous claims, further having a counter (211), supplied with the clock signal (SCLK) through the third terminal (1c) to control at least some changes of states (510, 520, 525, 530, 550) of the state machine (210).

### Claim 18 (depends on 15)

The device of claim 15, further having a counter (211), supplied with the clock signal (SCLK) through the third terminal (1c) to control at least some changes of states (510, 520, 525, 530, 550) of the state machine (210).

### Claim 19

Device of previous claim, wherein at least some changes of states of the state machine (210) depend at least from a counter value of the counter (211) and a wrapper-instruction as read from the Instruction Register (213), the Instruction Register (213) having received the wrapper-instruction through the physical data input terminal (1a).

### Claim 19 (depends on 18)

The device of claim 18, wherein at least some changes of states of the state machine (210) depend at least from a counter value of the counter (211) and a wrapper-instruction as read from the Instruction Register (213), the Instruction Register (213) having received the wrapper-instruction through the physical data input terminal (1a).

### Claim 20

Device of one of previous claims, further having an Identification Register (215) for holding an ID-Code (215a) identifying the core device (100).

### Claim 20 (depends on 15)

The device of claim 15, further having an Identification Register (215) for holding an ID-Code (215a) identifying the core device (100).

### Claim 21

Device of previous claim, the ID-Code of the Identification Register (215) identifying the core device (100) is sent by control of the state machine (210) and a control logic (209) in the serial test interface (201) to the single output terminal (1b) to the external master (10), upon an corresponding wrapper-instruction as read from the Instruction Register (213).

### Claim 21 (depends on 20)

The device of claim 20, the ID-Code of the Identification Register (215) identifying the core device (100) is sent by control of the state machine (210) and a control logic (209) in the serial interface device (201) to the single output terminal (1b) to the external master (10), upon an corresponding wrapper-instruction as read from the Instruction Register (213).

### Claim 22

Device of previous claim, the control logic (209) in the serial test interface (201) acts as gateway to the single output terminal (1b) for supplying either—but not both at the same time—the ID-Code (215a) of the Identification Register (215) or the logical output test signal (WSO) returning from the WBR (40) of the core device (100) to the external master (10) by control of the control logic (209) upon an corresponding wrapper-instruction as read from the Instruction Register (213).

### Claim 22 (depends on 21)

The device of claim 21, the control logic (209) in the serial interface device (201) acts as gateway to the single output terminal (1b) for supplying either—but not both at the same time—the ID-Code (215a) of the Identification Register (215) or the logical output test signal (WSO) returning from the WBR (40) of the core device (100) to the external master (10) by control of the control logic (209) upon an corresponding wrapper-instruction as read from the Instruction Register (213).

### Claim 23

Device of one of previous claims, further having a power-on detector (20) for supplying a power on reset signal to the serial test interface (201) and the Wrapper Boundary Register (40) of the core (100) for common initialisation.

### Claim 23 (depends on 15)

The device of claim 15, further having a power-on detector (20) for supplying a power on reset signal to the serial test interface device (201) and the Wrapper Boundary Register (40) of the core (100) for common initialization.

### Claim 24

Device of one of previous claims, the clock signal (SCLK) supplied through the third terminal (1c) is supplied to the WBR (40) and the serial test interface (201).

### Claim 24 (depends on 15)

The device of claim 15, the clock signal (SCLK) supplied through the third terminal (1c) is supplied to the WBR (40) and the serial interface device (201).

### Claim 25

Test method of testing wrapped cores (100a, 100b, 100c) within a System-on-Chip (SoC;1*), wherein
each core of the wrapped cores (100a, 100b, 100c) having an associated serial interface device (201a, 201b, 201c);
each interface device having a unique device address (214a, 214b, 214c), not being the same, although a structure of all serial interface devices (201a, 201b, 201c) is the same.

### Claim 25

A device for testing wrapped cores (100a, 100b, 100c) within a System-on-Chip (SoC;1*), wherein:
each core of the wrapped cores comprises an associated serial interface device (201a, 201b, 201c) that is directly and individually controlled by a single off-chip test master;
each interface device having a unique device address (214a, 214b, 214c) and the same; and
wherein the off-chip test master operates in parallel with or with the interface devices as multiple slaves, and elects from said multiple slaves one thereof by sending a device address of a targeted slave.

### Claim 26 (depends on 25)

Method of claim 25, each serial interface device (201a, 201b, 201c) further having an Address Register (214), receiving and holding an address supplied through a test input terminal (1a), each serial interface device comparing the supplied address with an individual device-address as the unique device address (214a) of each serial interface device (201a) the associated wrapped core (100a) present on the chip (1,1*), and that serial interface device (201a, 201b, 201c) is elected whose device-address matches the supplied address held by the Address Register (214).

### Claim 26 (depends on 25)

The device of claim 25, each serial interface device (201a, 201b, 201c) further having an Address Register (214), receiving and holding an address supplied through a test input terminal (1a), each serial interface device comparing the supplied address with an individual device-address as the unique device address (214a) of each serial interface device (201a) the associated wrapped core (100a) present on the chip (1,1*), and that serial interface device (201a, 201b, 201c) is elected whose device-address matches the supplied address held by the Address Register (214).

### Claim 27 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)

Method of claim 25, each serial interface device (201a, 201b, 201c) having the structure according to one of claims 1 to 24.

### Claim at position 54

-44. (canceled)

### Claim 28

Method to skip a state of a state machine (210) in a selected serial interface device (201), the state machine (210) having a state (510) of reading a device-address (READ DEV ADR), the method comprising . . .
the serial interface device (201) receives a device-address having a first bit (FIN) as a FIN-bit;
a value of the received FIN-bit as held in a corresponding FIN-register determines, whether multiple transactions are implemented for the selected interface device (201),
if the FIN-register holds ONE (=logical 1), further instructions follow for the selected interface device (201), and
in a next transaction reading the or a new device-address is skipped.

### Claim 29 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 28)

Method of claim 28, each serial interface device (201) having a structure according to one of claims 1 to 24.

### Claim 30

Method of generating IEEE 1500 Wrapper Boundary Register (WBR) control signals (30) by a state machine (210) having several states, the state machine being part of a functional slave (201) in a System on Chip (SoC) configuration, the method comprising the steps
generation of WBR control signal CaptureWR by the state machine (210) in a state READ_DATA originating from a currently active wrapper instruction in an Instruction Register (213) and a counting content of a counter (211) of the slave (201);
generation of WBR control signal ShiftWR by the state machine (210) in a state READ SHIFT based on the currently active wrapper instruction in the Instruction Register (213) and the value of a STOP_SHIFT FLAG;
generation of WBR control signal UpdateWR by the state machine (210) in a state READ_UPDATE based on the currently active wrapper instruction in the Instruction Register (213) and a counting contents of the counter register (211);
generation of active-low wrapper reset signal WRSTN by the state machine (210) upon completion of a READ_INSTRUCTION state in an IDLE state, whenever the Instruction Register (213) contains a WS_RESET instruction.

### Claim 31

Method to generate additional Wrapper Boundary Register (WBR) control signals (30) by a state machine (210) on a chip (1,1*), the method comprising the steps of
generation of at least one additional WBR control signal by the state machine (210) upon completion of a READ_INSTRUCTION state, in an IDLE state, whenever the Instruction Register (213) contains an additionally defined wrapper instruction with a non-data-transfer function;
defining one additional signal (WCH RESET), and thereby the additional signal sets back or resets one or more access signals in the Wrapper Boundary Register (40).

### Claim 32

Layout for a serial test interface comprising a layout for an Instruction Register (213) to receive and hold wrapper-instructions supplied through a representation of a physical data input terminal (2a) and a layout of a state machine (210) for handling transactions supplied thereto, wherein the state machine is layouted to read a wrapper-instruction from the Instruction Register (213) and generate and provide wrapper control signals (30) of the given standard for a core device (100) having the Wrapper Boundary Register (40) according to the wrapper-instruction read from the Instruction Register; and the representation of the single input terminal (2a) is provided to supply an input test signal (SDI) coupled to the Wrapper Boundary Register (40) as logical input test signal (WSI);
a representation of a single output terminal (2b) is provided to return an output test signal (SDO) coupled (209) to the representation of the output terminal (2b) from an output (WSO) of the Wrapper Boundary Register (40) of the core device (100).
