# US 2019/0294957 A1 · Arithmetic device and arithmetic method

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

- Number: US 2019/0294957 A1
- Document ID: US20190294957A1
- Status: Published application
- Kind: A1
- Application number: 16/122,123
- Filed: 2018-09-05
- Published: 2019-09-26
- Earliest claimed: 2018-03-22
- Assignees: Toshiba Memory Corporation
- Applicants: Toshiba Memory Corporation
- Inventors: Fumihiko Tachibana
- Web page: https://patentgrep.com/patent/US20190294957A1

## CPC

- G06N 3/065: Analogue means
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- H03K 5/134: with field-effect transistors
- H03K 19/21: EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical
- H03K 2005/00195: {using FET's}
- H03M 1/82: with intermediate conversion to time interval
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- 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)
- 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 arithmetic device includes: an arithmetic circuit that includes arithmetic elements connected in series, and sequentially performs multiple repetitions of arithmetic processing, wherein each of the arithmetic elements receives a first time signal and a second time signal, and generates a third time signal and a fourth time signal obtained by delaying the first and second time signals by a time corresponding to a weight coefficient and input data; a converter that converts a difference between the third and fourth time signals output from the arithmetic circuit into an analog signal or a digital signal for every multiple repetition of arithmetic processing; an integrator that integrates analog signals or digital signals converted by the converter; and a comparator that compares the integration result by the integrator with a reference value.

## Claims

### Claim 1

An arithmetic device used for a neural network, comprising:
an arithmetic circuit that includes a plurality of arithmetic elements connected in series, and sequentially performs multiple repetitions of arithmetic processing, wherein each of the plurality of arithmetic elements receives a first time signal and a second time signal, and generates and outputs a third time signal and a fourth time signal obtained by delaying the first and second time signals by a time corresponding to a weight coefficient and input data;
a converter that converts a difference between the third and fourth time signals output from the arithmetic circuit into an analog signal or a digital signal for every multiple repetition of arithmetic processing;
an integrator that integrates a plurality of analog signals or a plurality of digital signals converted by the converter; and
a comparator that compares the integration result by the integrator with a reference value.

### Claim 2 (depends on 1)

The arithmetic device according to claim 1, further comprising:
a first storage circuit that stores a plurality of weight coefficients corresponding to the multiple repetitions of arithmetic processing;
a second storage circuit that stores a plurality of input data corresponding to the multiple repetitions of arithmetic processing; and
a control circuit that inputs the plurality of weight coefficients and the plurality of input data into the arithmetic circuit sequentially for every multiple repetition of arithmetic processing.

### Claim 3 (depends on 1)

The arithmetic device according to claim 1, wherein the converter increases a voltage level of the analog signal when the third time signal is faster than the fourth time signal, and decreases the voltage level of the analog signal when the third time signal is slower than the fourth time signal.

### Claim 4 (depends on 3)

The arithmetic device according to claim 3, wherein the converter comprises:
a first flip-flop that includes an input terminal receiving a power supply voltage and a clock terminal receiving the third time signal;
a second flip-flop that includes an input terminal receiving the power supply voltage and a clock terminal receiving the fourth time signal;
a p-type transistor that includes a gate connected to an output terminal of the first flip-flop via an inverter and a drain connected to an output node;
an n-type transistor that includes a gate connected to an output terminal of the second flip-flop and a drain connected to the output node;
a first constant current source that includes a first terminal receiving the power supply voltage and a second terminal connected to a source of the p-type transistor; and
a second constant current source that includes a first terminal connected to a source of the n-type transistor and a second terminal receiving a ground voltage.

### Claim 5 (depends on 4)

The arithmetic device according to claim 4, wherein the integrator comprises a capacitor connected to the output node.

### Claim 6 (depends on 1)

The arithmetic device according to claim 1, wherein the converter comprises:
a plurality of first delay elements that delays the third time signal by a first time each;
second delay element that delays the fourth time signal by a second time longer than the first time; and
a plurality of flip-flops that respectively holds outputs of the plurality of first delay elements in response to an output of the second delay element being asserted.

### Claim 7 (depends on 6)

The arithmetic device according to claim 6, wherein the converter further comprises a conversion unit connected to output terminals of the plurality of flip-flops, and converts a thermometer code output from the plurality of flip-flops into a binary code.

### Claim 8 (depends on 7)

The arithmetic device according to claim 7, wherein the integrator is connected to an output terminal of the conversion unit, and adds a plurality of binary codes corresponding to the multiple repetitions of arithmetic processing.

### Claim 9 (depends on 1)

The arithmetic device according to claim 1, wherein each of the arithmetic elements comprises a delay circuit that delays the time signal by a time corresponding to the weight coefficient.

### Claim 10 (depends on 9)

The arithmetic device according to claim 9, wherein the arithmetic element further comprises a switching circuit that switches a path between the third time signal and the fourth time signal according to the input data.

### Claim 11

An arithmetic method used for a neural network, comprising:
generating and outputting, by each of a plurality of arithmetic elements connected in series, a third time signal and a fourth time signal obtained by delaying a first time signal and a second time signal by a time corresponding to a weight coefficient and input data;
performing multiple repetitions of arithmetic processing sequentially by an arithmetic circuit including the plurality of arithmetic elements;
converting a difference between the third and fourth time signals output from a last-stage arithmetic element among the plurality of arithmetic elements into an analog signal or a digital signal for every multiple repetition of arithmetic processing;
integrating the plurality of converted analog signals or digital signals; and
comparing the integration result with a reference value.

### Claim 12 (depends on 11)

The arithmetic method according to claim 11, further comprising:
storing a plurality of weight coefficients corresponding to the multiple repetitions of arithmetic processing;
storing a plurality of input data corresponding to the multiple repetitions of arithmetic processing; and
inputting the plurality of weight coefficients and the plurality of input data into the arithmetic circuit for every multiple repetition of arithmetic processing.

### Claim 13 (depends on 11)

The arithmetic method according to claim 11, wherein the converting into the analog signal comprises increasing a voltage level of the analog signal when the third time signal is faster than the fourth time signal, and decreasing the voltage level of the analog signal when the third time signal is slower than the fourth time signal.

### Claim 14 (depends on 11)

The arithmetic method according to claim 11, wherein the converting into the digital signal comprises:
delaying, by a plurality of first delay elements, the third time signal by a first time each;
delaying, by a second delay element, the fourth time signal by a second time longer than the first time;
holding, by a plurality of flip-flops, respective outputs of the plurality of first delay elements in response an output of the second delay element being asserted; and
generating the digital signal according to outputs of the plurality of flip-flops.

### Claim 15 (depends on 14)

The arithmetic method according to claim 14, wherein the converting into the digital signal further comprises converting a thermometer code output from the plurality of flip-flops into a binary code.

### Claim 16 (depends on 15)

The arithmetic method according to claim 15, wherein the integrating comprises adding a plurality of binary codes corresponding to the multiple repetitions of arithmetic processing.

### Claim 17 (depends on 11)

The arithmetic method according to claim 11, wherein each of the arithmetic elements comprises a delay circuit that delays the time signal by a time corresponding to the weight coefficient.

### Claim 18 (depends on 17)

The arithmetic method according to claim 17, wherein the arithmetic element further comprises a switching circuit that switches a path between the third time signal and the fourth time signal according to the input data.
