# US 2018/0321314 A1 · On-chip sequence profiler

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

- Number: US 2018/0321314 A1
- Document ID: US20180321314A1
- Status: Published application
- Kind: A1
- Application number: 15/585,203
- Filed: 2017-05-03
- Published: 2018-11-08
- Earliest claimed: 2017-05-03
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Benedikt Geukes; Manfred Walz; Matteo Michel
- Web page: https://patentgrep.com/patent/US20180321314A1

## CPC

- G01R 31/318525: {Test of flip-flops or latches}
- G01R 31/318541: {Scan latches or cell details}
- G01R 31/318583: {Design for test}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A method, circuit, and design structure for an on-chip sequence profiler involves a programmable matrix and FSM in a logic circuit, a first latch receiving a scan path bit sequence and a first clock signal and generating a first output to control a select input of a first multiplexer, a first multiplexer selecting among functional path bit sequences and outputting a bit sequence to a second latch, a second latch receiving the bit sequence from the first multiplexer and a second clock signal via a second multiplexer and outputting a bit sequence to a logic circuit, a logic circuit receiving the bit sequence from the second latch and outputting a clock control signal to the clock and a second selector control signal to the second multiplexer, and a second multiplexer receiving a second clock signal from the clock and outputting the second clock signal to the second latch.

## Claims

### Claim 1

A method for profiling on-chip application sequences comprising:
generating, for a profiling event to track a first bit sequence as it is applied to the internal latches of a chip and to determine whether the first bit sequence was executed successfully, a matrix for a logic circuit, the matrix having a first dimension corresponding to a sequence of time periods in the profiling event and a second dimension corresponding to a set of profilers, wherein a programmable element of the matrix stores a control signal applied to a first profiler during a first time period of the sequence of time periods;
storing, in a first latch of the first profiler, a first bit of a scan sequence;
selecting, by a first multiplexer of the first profiler based on the first bit, a first bit sequence of a set of two or more bit sequences;
determining, by a second multiplexer of the first profiler based on the control signal, whether to capture the first bit sequence;
latching, by a second latch of the first profiler in response to determining to capture the first bit sequence, a second bit of the first bit sequence during the first time period;
determining, by the logic circuit, whether the latched second bit has an expected value, the expected value indicated by the control signal and the first time period; and
disabling, in response to determining that the second bit has the expected value, the second latch.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
disabling, in response to determining that the second bit does not have the expected value, the profiling event.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the matrix comprises programmable entries of expected values.

### Claim 4 (depends on 1)

The method of claim 1, wherein the logic circuit is a finite state machine.

### Claim 5 (depends on 1)

The method of claim 1, wherein the profiling event is a first profiling event of a set of profiling events and the programmable element of the matrix is programmed for each profiling event in the set of profiling events.

### Claim 6 (depends on 1)

The method of claim 1, wherein the matrix is a field programmable gate array.

### Claim 7

A circuit for profiling on-chip application sequences comprising:
a first latch of a sequence profiler, the first latch receiving a scan path bit sequence and a first clock signal, and wherein the first latch generates a first output in response to the scan path bit sequence and the first clock signal;
a first multiplexer of the sequence profiler coupled to the first latch, the first multiplexer receiving at least two functional path bit sequences and the first output to control a select input of the first multiplexer, and wherein the first multiplexer generates a second output in response to the functional path bit sequence and the first output;
a second latch of the sequence profiler coupled to the first multiplexer, the second latch receiving the second output and a latch control signal;
a second multiplexer of the sequence profiler to generate the latch control signal, the second multiplexer receiving an input from a second clock signal and a select control signal;
a logic circuit of the sequence profiler coupled to the second latch and the second multiplexer to:
receive a second output from the second latch; and
generate, using the second output, the select control signal.

### Claim 8 (depends on 7)

The circuit of claim 7, wherein the logic circuit is a finite state machine.

### Claim 9 (depends on 7)

The circuit of claim 7, wherein the sequence profiler is a first sequence profiler of a set of sequence profilers.

### Claim 10 (depends on 7)

The circuit of claim 7, wherein the logic circuit includes a programmable matrix.

### Claim 11 (depends on 7)

The circuit of claim 7, wherein the logic circuit is a field programmable gate array.

### Claim 12

A design structure tangibly embodied in a non-transitory machine readable medium for designing, manufacturing, or testing an integrated circuit, the design structure comprising:
a first latch of a sequence profiler, the first latch receiving a scan path bit sequence and a first clock signal, and wherein the first latch generates a first output in response to the scan path bit sequence and the first clock signal;
a first multiplexer of the sequence profiler coupled to the first latch, the first multiplexer receiving at least two functional path bit sequences and the first output to control a select input of the first multiplexer, and wherein the first multiplexer generates a second output in response to the functional path bit sequence and the first output;
a second latch of the sequence profiler coupled to the first multiplexer, the second latch receiving the second output and a latch control signal;
a second multiplexer of the sequence profiler to generate the latch control signal, the second multiplexer receiving an input from a second clock signal and a select control signal;
a logic circuit of the sequence profiler coupled to the second latch and the second multiplexer to:
receive a second output from the second latch; and
generate, using the second output, the select control signal.

### Claim 13 (depends on 12)

The design structure of claim 12, wherein the logic circuit is a finite state machine.

### Claim 14 (depends on 12)

The design structure of claim 12, wherein the sequence profiler is a first sequence profiler of a set of sequence profilers.

### Claim 15 (depends on 12)

The design structure of claim 12, wherein the logic circuit includes a programmable matrix.

### Claim 16 (depends on 12)

The design structure of claim 12, wherein the logic circuit is a field programmable gate array.

### Claim 17 (depends on 12)

The design structure of claim 12, wherein the design structure comprises a netlist.

### Claim 18 (depends on 12)

The design structure of claim 12, wherein the design structure resides on storage medium as a data format used for the exchange of layout data of integrated circuits.

### Claim 19 (depends on 12)

The design structure of claim 12, wherein the design structure resides in a programmable gate array.
