# US 2021/0286001 A1 · Embedded logic analyzer and integrated circuit including the same

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

- Number: US 2021/0286001 A1
- Document ID: US20210286001A1
- Status: Published application
- Kind: A1
- Application number: 17/337,517
- Filed: 2021-06-03
- Published: 2021-09-16
- Earliest claimed: 2015-08-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Joon-Won KO
- Web page: https://patentgrep.com/patent/US20210286001A1

## CPC

- G01R 31/31705: {Debugging aspects, e.g. using test circuits for debugging, using dedicated debugging test circuits (generation of test sequences therefor G01R31/31835, using scan test therefor G01R31/318544)}
- G01R 31/3177: Testing of logic operation, e.g. by logic analysers
- H03K 5/26: the characteristic being duration, interval, position, frequency, or sequence
- H03K 19/1737: {using multiplexers (H03K19/1738 takes precedence)}
- H03K 19/17764: for reliability
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

An embedded logic analyzer of an integrated circuit includes a comparison block configured to generate a capture data signal and a plurality of comparison enable signals based on an input data signal from one of function blocks included in the integrated circuit such that the comparison enable signals are activated respectively based on different comparison conditions; an operation block configured to perform a logic operation on the comparison enable signals to generate a data enable signal indicating a data capture timing; and packer circuitry configured to generate a packer data signal including capture data and capture time information based on the capture data signal, the data enable signal and a time information signal.

## Claims

### Claim 1

An embedded logic analyzer of an integrated circuit, comprising:
a comparison block configured to generate a capture data signal and a plurality of comparison enable signals based on an input data signal from one of function blocks included in the integrated circuit such that the comparison enable signals are activated respectively based on different comparison conditions;
an operation block configured to select a portion of the comparison enable signals and perform a logic operation on the portion of the comparison enable signals to generate a data enable signal indicating a data capture timing; and
packer circuitry configured to generate a packer data signal including capture data and capture time information based on the capture data signal, the data enable signal and a time information signal.

### Claim 2 (depends on 1)

The embedded logic analyzer of claim 1, wherein the operation block includes:
first operation circuitry configured to generate a start trigger enable signal based on the comparison enable signals and a start trigger control signal;
second operation circuitry configured to generate an end trigger enable signal based on the comparison enable signals and an end trigger control signal; and
third operation circuitry configured to generate a write enable signal based on the comparison enable signals and a write enable control signal.

### Claim 3 (depends on 2)

The embedded logic analyzer of claim 2, wherein each of the first operation circuitry, the second operation circuitry and the third operation circuitry includes:
a plurality of multiplexers configured to output first selected signals selected from among the comparison enable signals such that the first selected signals correspond to the portion of the comparison enable signals, in response to each of the start trigger control signal, the end trigger control signal and the write enable control signal; and
operator circuitry configured to perform a logic operation on the first selected signals in response to each of the start trigger control signal, the end trigger control signal and the write enable control signal to generate each of the start trigger enable signal, the end trigger enable signal and the write enable signal.

### Claim 4 (depends on 3)

The embedded logic analyzer of claim 3, wherein the operator circuitry performs different logic operations on the first selected signals to provide different results of the different logic operation, and the operator circuitry selects one of the different results to output each of the start trigger enable signal, the end trigger enable signal and the write enable signal.

### Claim 5 (depends on 2)

The embedded logic analyzer of claim 2, wherein the operation block further includes:
a time controller configured to generate a write-on signal indicating start and end time points of data capture duration in response to the start trigger enable signal, the end trigger enable signal and a time control signal; and
a logic gate configured to generate the data enable signal based on the write-on signal and the write enable signal.

### Claim 6 (depends on 5)

The embedded logic analyzer of claim 5, wherein the data enable signal is activated in synchronization with the write enable signal when the write-on signal is activated such that data capture is inhibited when the write-on signal is deactivated.

### Claim 7 (depends on 5)

The embedded logic analyzer of claim 5, wherein the logic gate is implemented as an AND gate.

### Claim 8 (depends on 5)

The embedded logic analyzer of claim 5, wherein the time controller includes:
a first logic circuit configured to generate a write start signal indicating the start time point of the data capture duration;
a second logic circuit configured to generate a write end signal indicating the end time point of the data capture duration;
an internal timer configured to provide a relative time of the data capture; and
a counter configured to count activation numbers of the start trigger enable signal and the end trigger enable signal.

### Claim 9 (depends on 7)

The embedded logic analyzer of claim 7, wherein the time controller is configured to activate the write start signal and the write end signal in response to a start control signal and an end control signal, respectively, the start control signal and end control signal being signals provided from an external circuit outside of the time controller.

### Claim 10 (depends on 7)

The embedded logic analyzer of claim 7, wherein the time controller is configured to,
activate the write start signal based on a system time from a system timer and a reference start time, and
activate the write end signal based on the system time and a reference end time.

### Claim 11 (depends on 7)

The embedded logic analyzer of claim 7, wherein the time controller is configured to,
count a first number of activations of the start trigger enable signal after a start control signal provided from an external circuit outside of the time controller is activated,
activate the write start signal based on the first number of activations, count a second number of activations of the end trigger enable signal after an end control signal provided from the external circuit is activated, and
activate the write end signal based on each of the second number of activations.

### Claim 12 (depends on 7)

The embedded logic analyzer of claim 7, wherein the time controller is configured to,
count a first number of activations of the start trigger enable signal after a system time from a system timer coincides with a reference start time,
activate each the write start signal based on the first number of activations, count a second number of activations of the end trigger enable signal after a system time from a system timer coincides with a reference end time, and
activate the write end signal based on the second number of activations.

### Claim 13 (depends on 2)

The embedded logic analyzer of claim 2, wherein,
the first operation circuitry is configured to vary the start trigger control signal based on a number of activations of the start trigger enable signal, and
the second operation circuitry is configured to vary the end trigger control signal based on a number of activations of the end trigger enable signal.

### Claim 14 (depends on 1)

The embedded logic analyzer of claim 1, further comprising:
input selector circuitry configured to select, as the input data signal, one of logic signals from the function blocks.

### Claim 15 (depends on 1)

The embedded logic analyzer of claim 1, further comprising:
a buffer configured to store data of the packer data signal; and
a direct memory access controller configured to transfer the data stored in the buffer to an embedded memory included in the integrated circuit or an external memory outside of the integrated circuit.

### Claim 16 (depends on 1)

The embedded logic analyzer of claim 1, wherein the comparison block includes a first comparison circuit, a second comparison circuit and a third comparison circuit,
the first comparison circuit is configured to,
shift one of the input data signal and a first shift data signal from the second comparison circuit to generate a second shift data signal, and
compare the second shift data signal with one of a reference data signal and a third shift data signal from the third comparison circuit to generate the comparison enable signal generated by the first comparison circuit.

### Claim 17 (depends on 1)

An integrated circuit comprising:
the embedded logic analyzer of claim 1;
interconnect circuitry; and
the function blocks,
the function blocks being connected to the interconnect circuitry,
the embedded logic analyzer being directly connected to at least one of the function blocks.

### Claim 18

An embedded logic analyzer included in an integrated circuit, comprising:
input selector circuitry configured to select as an input data signal one of logic signals from function blocks included in the integrated circuit and to provide the input data signal;
a comparison block configured to generate a capture data signal and a plurality of comparison enable signals based on the input data signal such that the comparison enable signals are activated respectively based on different comparison conditions;
an operation block configured to select a portion of the comparison enable signals and perform a logic operation on the portion of the comparison enable signals to generate a data enable signal indicating a data capture timing;
packer circuitry configured to generate a packer data signal including capture data and capture time information based on the capture data signal, the data enable signal and a time information signal; and
a main controller configured to control operations of the input selector circuitry, the comparison block, the operation block and the packer circuitry.

### Claim 19 (depends on 18)

The embedded logic analyzer of claim 18, wherein the operation block includes:
first operation circuitry configured to generate a start trigger enable signal based on the comparison enable signals and a start trigger control signal;
second operation circuitry configured to generate an end trigger enable signal based on the comparison enable signals and an end trigger control signal;
third operation circuitry configured to generate a write enable signal based on the comparison enable signals and a write enable control signal.
a time controller configured to generate a write-on signal indicating start and end time points of data capture duration in response to the start trigger enable signal, the end trigger enable signal and a time control signal; and
a logic gate configured to generate the data enable signal based on the write-on signal and the write enable signal.

### Claim 20

An embedded logic analyzer, comprising:
first circuitry configured to,
receive input data generated by at least one function block of an integrated circuit, and
generate a capture data signal based on reference data signals and the input data; second circuitry configured to generate a packer data signal including debugging information of the integrated circuit by combining capture data and capture time information based on the capture data signal
an operation block,
wherein the first circuitry is further configured to generate first enable signals,
wherein the operation block is configured to perform a logic operation based on the first enable signals to generate a data enable signal indicating a data capture timing, and
wherein the second circuitry is configured to generate the packer data signal based on the data enable signal, the capture data signal, and a time information signal.
