# US 2023/0099117 A1 · Spiking neural network-based data processing method, computing core circuit, and chip

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

- Number: US 2023/0099117 A1
- Document ID: US20230099117A1
- Status: Published application
- Kind: A1
- Application number: 17/800,176
- Filed: 2021-04-22
- Published: 2023-03-30
- Earliest claimed: 2020-04-22
- Assignees: Lynxi Technologies Co., Ltd.
- Applicants: Lynxi Technologies Co., Ltd.
- Inventors: Zhenzhi WU; Yaolong ZHU; Luojun JIN; Wei HE; Qikun ZHANG
- Web page: https://patentgrep.com/patent/US20230099117A1

## CPC

- G06F 15/7825: {Globally asynchronous, locally synchronous, e.g. network on chip}
- G06N 3/063: using electronic means
- G06F 9/00: Arrangements for program control, e.g. control units (program control for peripheral devices G06F13/10)
- G06F 9/02: using wired connections, e.g. plugboards
- G06N 3/049: Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/0499: Feedforward networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computing core circuit, including: an encoding module, a route sending module, and a control module, wherein the control module is configured to control the encoding module to perform encoding processing on a pulse sequence determined by pulses to be transmitted of at least one neuron in a current computing core, so as to obtain an encoded pulse sequence, and control the route sending module to determine a corresponding route packet according to the encoded pulse sequence, so as to send the route packet. The present disclosure further provides a data processing method, a chip, a board, an electronic device, and a computer-readable storage medium.

## Claims

### Claim 1

A computing core circuit, comprising: an encoding module, a route sending module, and a control module, wherein
the control module is configured to:
control the encoding module to perform encoding processing on at least one first pulse sequence to obtain a second pulse sequence corresponding to each first pulse sequence, wherein the first pulse sequence comprises a pulse to be transmitted of at least one neuron in the current computing core circuit, and the pulses to be transmitted in the first pulse sequence have consecutive transmitting addresses;
control the route sending module to determine a first route packet corresponding to at least one second pulse sequence; and
control the route sending module to send the first route packet to at least one destination computing core circuit.

### Claim 2 (depends on 1)

The computing core circuit according to claim 1, wherein the control module is further configured to:
control the encoding module to read a pulse sequence to be transmitted of the current computing core circuit, and determine at least one pulse to be transmitted with consecutive transmitting addresses in the pulse sequence to be transmitted as the first pulse sequence.

### Claim 3 (depends on 1)

The computing core circuit according to claim 1, wherein values of the pulses in the first pulse sequence comprise a first value and a second value, and
the control module is configured to:
control the encoding module to determine a quantity of consecutive first values before each second value in the first pulse sequence, and determine, according to the quantity, the second pulse sequence corresponding to the first pulse sequence.

### Claim 4 (depends on 1)

The computing core circuit according to claim 1, wherein the control module is configured to:
control the route sending module to determine, according to the second pulse sequence and a first valid address, the first route packet corresponding to the second pulse sequence,
wherein the first valid address is a transmitting address of a first reference pulse in the first pulse sequence.

### Claim 5 (depends on 1)

The computing core circuit according to claim 1, further comprising a route receiving module and an integration issuance processing module, and wherein
the control module is further configured to:
control the route receiving module to receive a second route packet sent from at least one source computing core circuit, wherein the second route packet comprises a third pulse sequence obtained by performing encoding processing on a fourth pulse sequence by a corresponding source computing core circuit, and the pulses in the fourth pulse sequence have consecutive transmitting addresses;
control the integration issuance processing module to perform membrane potential integral operation on at least one third pulse sequence according to a corresponding synaptic weight matrix to obtain a corresponding membrane potential sequence formed by a membrane potential of at least one neuron in the current computing core circuit; and
control the integration issuance processing module to determine, according to the at least one membrane potential sequence, a pulse sequence to be transmitted of the current computing core circuit.

### Claim 6 (depends on 5)

The computing core circuit according to claim 5, further comprising an address hopping control module, and the second route packet further comprising a second valid address corresponding to the third pulse sequence, wherein the second valid address is a transmitting address of a second reference pulse in the fourth pulse sequence, and the control module is configured to:
control the address hopping control module to determine, according to the second valid address and the third pulse sequence, an address of a synaptic weight valid row in the synaptic weight matrix, and determine a synaptic weight of the valid row; and
control the integration issuance processing module to perform membrane potential integral operation according to the synaptic weight of the valid row to determine the membrane potential sequence corresponding to the third pulse sequence.

### Claim 7 (depends on 1)

The computing core circuit according to claim 1, further comprising a storage module configured to:
store at least one of the pulse sequence to be transmitted and the second pulse sequence,
wherein the pulse sequence to be transmitted comprises at least one first pulse sequence.

### Claim 8

A data processing method based on a spiking neural network, comprising:
performing encoding processing on at least one pulse sequence to obtain a second pulse sequence corresponding to each first pulse sequence, wherein the first pulse sequence comprises a pulse to be transmitted of at least one neuron in a current computing core circuit, and the pulses to be transmitted in the first pulse sequence have consecutive transmitting addresses;
determining a first route packet corresponding to at least one second pulse sequence; and
sending the route packet to at least one destination computing core circuit.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising:
reading a pulse sequence to be transmitted of the current computing core circuit, and determining at least one pulse to be transmitted with consecutive transmitting addresses in the pulse sequence to be transmitted as the first pulse sequence.

### Claim 10 (depends on 8)

The method according to claim 8, wherein values of the pulses in the first pulse sequence comprise a first value and a second value, and
performing encoding processing on at least one first pulse sequence to obtain the second pulse sequence corresponding to the first pulse sequence comprises:
determining a quantity of consecutive first values before each second value in the first pulse sequence, and determining, according to the quantity, the second pulse sequence corresponding to the first pulse sequence.

### Claim 11 (depends on 8)

The method according to claim 8, wherein determining the first route packet corresponding to at least one second pulse sequence comprises:
determining, according to the second pulse sequence and a first valid address, the first route packet corresponding to the second pulse sequence,
wherein the first valid address is a transmitting address of a first reference pulse in the first pulse sequence.

### Claim 12 (depends on 8)

The method according to claim 8, further comprising:
receiving a second route packet sent from at least one source computing core circuit, wherein the second route packet comprises a third pulse sequence obtained by performing encoding processing on a fourth pulse sequence by a corresponding source computing core circuit, and the pulses in the fourth pulse sequence have consecutive transmitting addresses;
performing membrane potential integral operation on at least one third pulse sequence according to a corresponding synaptic weight matrix to obtain a corresponding membrane potential sequence formed by a membrane potential of at least one neuron in the current computing core circuit; and
determining, according to the at least one membrane potential sequence, a pulse sequence to be transmitted of the current computing core circuit.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the second route packet further comprises a second valid address corresponding to the third pulse sequence, wherein the second valid address is a transmitting address of a second reference pulse in the fourth pulse sequence, and
performing membrane potential integral operation on at least one third pulse sequence according to the corresponding synaptic weight matrix to obtain the corresponding membrane potential sequence comprises:
determining, according to the second valid address and the third pulse sequence, an address of a synaptic weight valid row in the synaptic weight matrix, and determining a synaptic weight of the valid row; and
performing membrane potential integral operation according to the synaptic weight of the valid row to determine the membrane potential sequence corresponding to the third pulse sequence.

### Claim 14 (depends on 8)

The method according to claim 8, further comprising:
storing at least one of the pulse sequence to be transmitted and the second pulse sequence,
wherein the pulse sequence to be transmitted comprises at least one first pulse sequence.

### Claim 15 (depends on 1)

An accelerated processing unit, comprising a plurality of computing core circuits according to claim 1.

### Claim 16 (depends on 1)

A chip, comprising at least one computing core circuit according to claim 1, and a network-on-chip configured to establish a communication connection for the at least one computing core circuit.

### Claim 17 (depends on 16)

A board card, comprising at least one chip according to claim 16.

### Claim 18 (depends on 16)

An electronic device, comprising at least one chip according to claim 16.

### Claim 19 (depends on 8)

An electronic device, comprising:
a processor; and
a memory storing instructions executable by the processor;
wherein the processor is configured to execute the instructions stored in the memory to perform the method according to claim 8.

### Claim 20 (depends on 8)

A non-transient computer-readable storage medium having computer program instructions stored thereon which, when executed by a processor, cause the method according to claim 8 to be implemented.
