Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

76 results about "Accumulator (computing)" patented technology

In a computer's central processing unit (CPU), the accumulator is a register in which intermediate arithmetic and logic results are stored. Without a register like an accumulator, it would be necessary to write the result of each calculation (addition, multiplication, shift, etc.) to main memory, perhaps only to be read right back again for use in the next operation. Access to main memory is slower than access to a register like the accumulator because the technology used for the large main memory is slower (but cheaper) than that used for a register. Early electronic computer systems were often split into two groups, those with accumulators and those without.

ANN / SNN accelerator and ANN / SNN neuron acceleration calculation method

The invention provides an ANN / SNN accelerator and an ANN / SNN neuron acceleration calculation method, the accelerator comprises M neural calculation kernels, and each neural calculation kernel comprises Q neurons; the neuron packaging module is used for packaging N neurons into a neuron packaging group and extracting W inputs through a first neuron in the neuron packaging group when the neuron calculation core needs to receive the inputs larger than a fan-in threshold value of a single neuron at the same time, and the first neuron in the neuron packaging group is used for extracting the W inputs through a second neuron in the neuron packaging group; the method comprises the following steps: acquiring W inputs, acquiring weight parameters of each synapse in a first neuron according to a storage position of the first neuron in an SRAM, dividing the W inputs into a plurality of input batch data according to a preset interval, sending the input batch data to a membrane potential accumulator, and calculating the input batch data with the weight parameters, and transmitting the operated membrane potential to the next neuron in the neuron packaging group for the operation of W inputs in the next group until the operation of the N neurons is completed. According to the invention, the neuron packaging technology is utilized, so that the fan-in quantity which can be received by each neuron can be greatly expanded.
Owner:PEKING UNIV

Quantitative lightweight neural network hardware accelerator and design method thereof

The invention belongs to the technical field of embedded hardware acceleration and computer vision, and relates to a quantitative lightweight neural network hardware accelerator and a design method thereof. The hardware accelerator comprises a top-layer control module, a memory control module, a reconfigurable memory, an input data preprocessing module, a core computing unit and a post-processing module; the memory control module controls the reconfigurable memory to send data information to the top-layer control module, the input data preprocessing module and the post-processing module; the input data preprocessing module is used for data and weight preparation; and the core calculation unit is used for completing data preparation, weight preparation and post-processing through a multiplier, an adder tree and an accumulator array. The hardware accelerator has higher computing performance, hardware resource utilization rate and data reuse rate; according to the method, the problem of low storage data utilization rate of the input and output cache is solved; hardware operator fusion of a convolution operator and a pooling operator is realized, and storage delay and access power consumption of data reading and writing are reduced.
Owner:BEIJING INST OF TECH

Double-bit input characteristic optimized DCIM circuit based on SRAM

The invention discloses a double-bit input characteristic optimized DCIM circuit based on an SRAM, and belongs to the technical field of electronic circuits. Comprising an input preprocessing module, an SRAM (Static Random Access Memory) memory array, a split adder tree, a result correction module and an uninterrupted accumulator, wherein the input preprocessing module is used for supporting feature optimization of multiple groups of double-bit data; the low sparseness input data is inverted to increase sparseness, and the resulting computational errors will be subsequently corrected. And after rarefaction, two groups of input data with lower average inversion rate are recombined. The sparseness can be obviously improved and the inversion rate can be reduced through feature optimization. The hybrid computing unit and the split adder tree embedded in each SRAM unit in the SRAM memory array are used for completing multiplication and addition operation of input data and weights after recombination. The uninterrupted accumulator completes accumulation with a minimum period. The circuit aims at improving the operation energy efficiency and the data throughput of the DCIM architecture for the edge AI equipment.
Owner:ZHEJIANG UNIV

Near memory computing device, method and apparatus

The invention relates to a near-memory computing device, method and equipment, the device comprises a data arrangement unit, a computing normal form unit and a reconfigurable computing unit, the data arrangement unit is used for continuously storing key vectors corresponding to newly generated texts into preset lines of a memory storage unit, and the computing normal form unit is used for computing the newly generated texts; and / or splitting a value vector corresponding to the newly generated text and then dispersing and storing the value vector into a plurality of storage units of the memory; the calculation normal form unit is used for quoting different calculation normal forms according to different data arrangements of the key cache and the value cache; the reconfigurable calculation unit is used for executing inner product calculation and / or outer product calculation according to different calculation normal forms; the inner product calculation refers to internal accumulation of data read out through an adder tree, and the outer product calculation refers to accumulation of calculation results of matrix data read out multiple times through an accumulator. Therefore, the bandwidth waste in the data preparation stage can be completely eliminated, and the integrated bandwidth of the near memory architecture is fully utilized in the calculation stage.
Owner:SHANGHAI JIAOTONG UNIV

Data processing method, multiply accumulator and chip

The invention discloses a data processing method, a multiply accumulator and a chip, and relates to the technical field of computers, in particular to the technical field of software testing. The method comprises the following steps: acquiring a plurality of operands according to the parallel multiplexing number of computing units of a multiply-accumulator and a target precision type; changing mantissas of the plurality of operands into a plurality of target mantissas according to the target precision type and a preset mantissa data width parameter; performing multiplication operation on the multiple target mantissas to obtain a first mantissa multiplication result of the multiple target mantissas; performing alignment operation on the first mantissa multiplication result according to the indexes of the multiple operands to generate a second mantissa multiplication result; and performing addition operation on the second mantissa multiplication result to generate a mantissa addition result, matching the mantissa addition result with indexes corresponding to the multiple operands, and outputting a multiply-accumulate operation result of the multiple operands.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Statistical quantity accumulation method and system and statistical quantity storage method and system

The invention provides a statistical magnitude accumulation method and system. The statistical magnitude accumulation method comprises the steps that S1, a threshold value t is set; s2, setting a counting register based on a threshold value t; s3, receiving a data stream, and accumulating statistical values through a counting register according to frames of the data stream; s4, judging whether the accumulated statistical value is equal to a threshold value t or not; if the result is yes, sending a statistical signal and a statistical increment, resetting the counting register, and ending; if not, the step S3 is executed again. According to the invention, a fast computing system is realized in a register accumulator mode, the requirement for copying a plurality of storage systems at a rear stage is eliminated, the design complexity of the system is greatly simplified, and the overhead cost of the system is also reduced.
Owner:NO 50 RES INST OF CHINA ELECTRONICS TECH GRP +1

Digital approximate computing circuit for post-quantum cryptography applications

The invention relates to a digital circuit (10) for calculating a scalar product between two vectors and . The digital circuit comprises a multiplier (11), an accumulator (12) comprising at least one adder (13) and a register (14), as well as a control circuit (15) for the accumulator. At a clock tick of index , the multiplier is configured to calculate the result of the multiplication , and the accumulator is configured to add with the current value of the register. The result of the addition is then stored in the register. The control circuit is configured to control the accumulator so as to perform the addition approximately for at least one addition among the additions of the calculation of the scalar product. The digital circuit is in particular intended to be used in an electronic device implementing a cryptographic algorithm based on a "learning with errors" (LWE) technology. Figure for the abstract: Fig. 1
Owner:COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES

Weight stationary in-memory-computing neural network accelerator with localized data multiplexing

Systems, apparatuses, and methods include technology that identifies that a first memory cell of a plurality of memory cells stores data that is associated with a multiply-accumulate operation. The plurality of memory cells is associated with a multiply-accumulator (MAC). The technology executes a connection operation to electrically connect the first memory cell to the MAC to execute the multiply-accumulate operation. A second memory cell of the plurality of memory cells is electrically disconnected from the MAC during the multiply-accumulate operation. The technology executes, with the MAC, the multiply-accumulate operation based on the data.
Owner:INTEL CORP

Memory system, memory device and operating method thereof

Embodiments of the invention provide a memory system, a memory device, and a method of operating the memory device. A memory device includes an encoder circuit, a memory array, and an accumulator circuit. An encoder circuit converts the first bit of each weight to a sign bit according to flag data to generate an encoded weight. The memory array includes memory cells. The memory cells arranged in the same column store bits of encoding weights and flag data having the same index number. The memory array performs an in-memory computation (CIM) operation on the encoding weight and the input to generate a plurality of CIM results. Each of the plurality of CIM results corresponds to a column of the memory array. The accumulator circuit decodes the CIM result according to the flag data to generate a decoded CIM result.
Owner:TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD

Analog multiply-accumulate unit for multibit in-memory cell computing

Systems, apparatuses and methods include technology that receives, with a first plurality of multipliers of a multiply-accumulator (MAC), first digital signals from a memory array, wherein the first plurality of multipliers includes a plurality of capacitors. The technology further executes, with the first plurality of multipliers, multibit computation operations with the plurality of capacitors based on the first digital signals, and generates, with the first plurality of multipliers, a first analog signal based on the multibit computation operations.
Owner:INTEL CORP

Method and apparatus for performing deep learning operations

Methods and apparatuses for performing deep learning operations are provided. The computing apparatus includes an adder-tree-based tensor kernel and a multiplier-accumulator (MAC)-based vector kernel. The adder-tree-based tensor kernel is configured to perform tensor operations, and the multiplier-accumulator (MAC)-based vector kernel is configured to perform vector operations using the output of the tensor kernel as input.
Owner:SAMSUNG ELECTRONICS CO LTD

Approximate computing digital circuit for post-quantum cryptography applications

A digital circuit for including a scalar product between two vectors (a0, a1, . . . , ai, . . . , aN-1) and (s0, s1, . . . , si, . . . , sN-1). The digital circuit includes a multiplier, an accumulator including at least one adder and a register, as well as a control circuit of the accumulator. At a clock tick of index i, the multiplier is configured to compute the result ri of the multiplication ai×si, and the accumulator is configured to add ri with the current value of the register. Afterwards, the result of the addition is memorised in the register. The control circuit is configured to control the accumulator so as to perform the addition in an approximate manner for at least one addition amongst the N additions of the computation of the scalar product. In particular, the digital circuit is intended to be used in an electronic device implementing a cryptographic algorithm based on a “Learning With Errors” (LWE) technology.
Owner:COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES

Data processing task result verification method and system based on smart contract

The invention belongs to the technical field of block chains and cloud computing, and provides a data processing task result verification method and system.The data processing task result verification method based on the smart contract comprises the steps that an execution device receives auxiliary information sent by a block chain and responds to decryption operation executed by an executor, and the execution device sends the auxiliary information to the block chain; and processing the CPABE ciphertext based on the decryption operation to obtain a decryption set, calculating according to the decryption set and the auxiliary information to obtain a solution proving set, receiving an accumulator value sent by the block chain by the execution device, responding to a verification operation executed by an executor, performing verification according to the accumulator value and the solution proving set to obtain a verification result, and sending the verification result to the execution device. Therefore, the reliability of the data processing task result is improved.
Owner:CHONGQING UNIV

Multiply-accumulator based on unary calculation

The invention discloses a multiply-accumulator based on unary calculation, which is characterized by comprising a sequence generation unit, a signal processing unit, a signal processing unit, a signal processing unit, a signal processing unit and a signal processing unit, wherein the sequence generation unit is used for converting a fixed-point decimal between 0 / -1 and 1 into a unary sequence; the unary calculation multiply-accumulate unit is fused with the sequence generation unit; and the probability estimation unit is used for converting a unary calculation result obtained by the unary calculation multiply-accumulate unit back to the fixed-point decimal. The method has the following beneficial effects: a unary sequence generation unit with lower hardware overhead is provided, and the problem that the energy efficiency of unary calculation is reduced in a high-precision scene is solved; a novel low-delay unary calculation multiply-accumulate unit which is high in energy efficiency and can be terminated in advance is provided, and the problem that the energy efficiency of unary calculation is reduced under large-scale calculation is solved.
Owner:SHANGHAI TECH UNIV

Operational core and chip based on matrix multiplication combining similar items

The invention relates to an operation core and chip for matrix multiplication based on merged similar items. The operation core mainly comprises a data multiplexing calculation unit, a data mapping unit and a multi-mode accumulator based on an addition tree. In different precision modes, data multiplexing of different degrees is carried out between the calculation units of the operation core, and the optimal bandwidth utilization rate is guaranteed. The calculation parallelism degree is adjusted according to the precision mode, calculation resources are utilized to the maximum extent, operation modes of multiple precision are supported, and the deep neural network operation requirements of different application scenes are met; moreover, the structure is simple and flexible, the complexity of hardware design is low, and the hardware overhead is low.
Owner:NAT UNIV OF DEFENSE TECH

In-memory computing device for parallel vector multiplier-adder and electronic device

The embodiment of the application provides a kind of in-memory computing device of parallel vector multiplier-accumulator and electronic equipment, it is related to in-memory computing technical field, can improve the computing speed.The in-memory computing device of parallel vector multiplier-accumulator, comprising: L multiplication module, each multiplication module includes q multiplication unit and an adder, q>1, L>1;Multiplication unit includes memory and multiplication circuit;The adder includes q addition input, the output of the a multiplication unit is electrically connected to the a addition input, a is 1, 2, …, q;Shift accumulator, shift accumulator includes L accumulation input, the output of the b multiplication module is electrically connected to the b accumulation input, b is 1, 2, …, L;Each accumulation input has corresponding weight value, and shift accumulator is used for carrying out shift accumulation calculation based on the weight value corresponding to each accumulation input value of L accumulation input.
Owner:杭州智芯科微电子科技有限公司

A SRAM-based double-bit input feature-optimized DCIM circuit

The application discloses a double-bit input feature optimization DCIM circuit based on SRAM and belongs to the technical field of electronic circuits. The circuit comprises an input preprocessing module, an SRAM memory and computing array, a split adder tree, a result correction module and an uninterrupted accumulator, supports feature optimization of multiple groups of double-bit data, reverses low-sparse input data to improve sparsity, and corrects calculation errors generated in the subsequent correction. After sparsification, the input data is reorganized into two groups of input data with lower average reversal rate. Feature optimization can significantly improve sparsity and reduce reversal rate. The hybrid computing unit and the split adder tree embedded in each SRAM unit of the SRAM memory and computing array are used to complete the multiplication and addition operation of the reorganized input data and weights. The uninterrupted accumulator completes accumulation in the least period. The circuit aims to improve the operation energy efficiency and data throughput of the DCIM architecture for edge AI devices.
Owner:ZHEJIANG UNIV

Near-memory convolution operation circuit, convolutional neural network and chip system

The invention provides a near-memory convolution operation circuit, a convolutional neural network and a chip system. The near storage convolution operation circuit is used for executing multiply-accumulate operation; the digital near storage convolution operation circuit comprises a logic control circuit, a memory array, a register group and a multiply-accumulate calculation unit, the multiply-accumulate calculation unit comprises a multiplier and an accumulator; the memory array comprises a magnetic random access memory sub-array and a static random access memory sub-array; the multiply-accumulate calculation unit is arranged on one side close to the memory array; and the register group is positioned between the multiply-accumulate calculation unit and the memory array.
Owner:ICY TECHNOLOGY (BEIJING) CO LTD

SEQUENTIAL HYBRID ACCUMULATOR LAYOUT PLAN FOR COMPUTING-IN-MEMORY

A memory device may include a memory array, a first computing unit, and a second computing unit. The memory array may include a plurality of memory cells for storing weights for a neural network. The first computing unit may be configured to receive the stored weights from the plurality of memory cells and generate a first partial sum according to the stored weights. The second computing unit may be configured to receive the stored weights from the plurality of memory cells and the first partial sum and generate a second partial sum according to the stored weights and the first partial sum. The second computing unit may be sequentially connected to the first computing unit.
Owner:TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD

Data processing methods, apparatus, equipment, media, and products for AI chips

This disclosure provides a data processing method, apparatus, device, medium, and product for AI chips, relating to the field of artificial intelligence technology, particularly AI chips and high-performance computing. The implementation scheme includes: acquiring data to be processed, which includes a first operand and a second operand for binary data operations; moving the first operand to a first buffer based on a first DMA module; constructing a unit tensor of the first operand based on its attributes; moving the unit tensor to a second buffer based on a second DMA module; moving the second operand to a matrix multiplication accumulator based on a third DMA module to initialize the matrix multiplication accumulator; reading the first operand into a first multiplication matrix; reading the unit tensor into a second multiplication matrix; and the matrix multiplication accumulator performing matrix multiplication to obtain the data processing result. The first DMA module, the second DMA module, and the third DMA module move data in parallel.
Owner:VASTAI TECH (SHANGHAI) INC

A matrix computing device, method, system, circuit, chip and apparatus

A kind of matrix computing device, method, system, circuit, chip and equipment, compressed format matrix can be directly calculated, so as to improve the computing efficiency of compressed format matrix.Matrix computing device includes: vector outer product processing engine and accumulator, matrix computing device is based on vector outer product and carries out the calculation of compressed format first matrix and second matrix, in the process of calculation, vector outer product processing engine carries out vector outer product calculation to the first column vector of the row coordinate reserved and the second column vector of the column coordinate reserved, then accumulator is based on the index of position coordinate, and the third element value of the same position coordinate is accumulated, to obtain the result matrix of two compressed format matrixes for calculating, relative to the method that compressed format matrix needs to be decompressed first in traditional, then matrix calculation is carried out to the decompressed matrix, the matrix computing device provided in the embodiment of the application can effectively improve the computing efficiency of compressed format matrix.
Owner:HUAWEI TECH CO LTD

Storage and calculation framework of basic linear algebraic subprogram and implementation method of storage and calculation framework

The invention discloses a storage and calculation framework of a basic linear algebraic subprogram and an implementation method of the storage and calculation framework, the storage and calculation framework comprises a plurality of processing engines PE interconnected by adopting H trees, each processing engine comprises a plurality of processing units CU interconnected by adopting H trees, each processing unit comprises a plurality of arrays, each array comprises a set of input registers and exponent registers, an exponent calculation unit, a delay unit and a Crossbar array based on a nonvolatile memory equipped with a set of peripheral components. Corresponding data streams and execution mechanisms are designed for each BLAS function, the limitation of a fixed operator of a traditional storage and calculation integrated framework is broken through, the potential of an existing peripheral module is expanded, complex operations such as matrix transposition, subtraction and division are mapped into a shift accumulator under the condition that extra module hardware support is not needed, and the calculation efficiency is improved. And scientific calculation requirements can be efficiently met.
Owner:XIANGTAN UNIV

Convolutional neural network accelerator based on lookup table and in-memory calculation

The invention discloses a convolutional neural network accelerator based on a lookup table and in-memory computation, which comprises an on-chip main memory and a plurality of operation processing units, and is characterized in that each operation processing unit comprises a data preprocessing unit, an in-memory computation array unit, a first summator and an accumulator which are connected in sequence; serial input based on bit feature values is adopted, and an input feature value sequence is compressed; the data preprocessing unit is used for decompressing the compressed feature value sequence and the compressed weight, and matrix multiplication based on a lookup table form is carried out in the in-memory calculation array unit through an in-memory calculation macro module; the first adder is used for adding a first part and a result output by each column of in-memory computing macro-module in the in-memory computing array unit to obtain a second part and a result, and the accumulator is used for calculating the second part and the result to obtain a multiply-accumulate result corresponding to the characteristic value data stream; and high sparseness caused by unstructured pruning can be effectively utilized.
Owner:PEKING UNIV SHENZHEN GRADUATE SCHOOL

Chiplet aware adaptive quantization

A chiplet-based architecture may quantify or reduce the number of bits at various levels of a data path in an artificial intelligence processor. The architecture may utilize quantizing synergy between multiple dimensions together to greatly reduce memory usage and data path bandwidth. The internal weights may be statically quantified after the training procedure. The accumulator bits and the activation bits may be dynamically quantified during an inference operation. The new hardware logic may be configured to quantify the output of each operation directly from the core or other processing node prior to storing the tensor in the memory. Quantization may use statistics from a previous tensor for a current output tensor while also calculating statistics to be used on a subsequent output tensor. In addition to quantization based on statistics, bits may be further quantized using a Kth percentile truncation operation.
Owner:APPLIED MATERIALS INC

Accumulator, method for accumulator, and computing device

The present invention provides an accumulator and a method and computing device for the accumulator, comprising: an addition operation processing unit, a cache comparison unit, and an accumulation feedback unit, wherein the addition operation processing unit selects to perform an addition operation on the external input data or the first accumulation result data and the second accumulation result data according to a first feedback control signal from the cache comparison unit, and outputs the updated second accumulation result data; the cache comparison unit performs comparison and judgment according to internal logic, and according to the comparison and judgment result, caches the updated second accumulation result data as the first accumulation result data and outputs a first feedback control signal; the accumulation feedback unit receives the updated second accumulation result data and feeds back. The technical solution according to the present invention can reduce the calculation error caused by data format restrictions and improve the accuracy of accumulation calculation in the process of performing data accumulation.
Owner:SHENZHEN CORERAIN TECH CO LTD

Linearization of charge-redistribution based vector matrix multiplier

In the field of programmable in-memory computing devices for performing vector-matrix multiplication, an accumulator circuit for a charge-redistribution based vector-matrix multiplier is provided. The accumulator circuit provides column summation output voltages, which are linearized as a function of the capacitances of the matrix memory components associated with the summation charge storage component of a given column, by eliminating a non-linearity caused by the parallel connection of capacitances of the summation charge storage component and its associated matrix memory components in the column.
Owner:IHP GMBH INNOVATIONS FOR HIGH PERFORMANCE MICROELECTRONICS LEIBNIZ INSTITUT FÜR INNOVATIVE MIKROELEKTRONIK

Neural network chip for ear-mounted device

An ear-mounted device may include a neural network chip. A neural network chip may include a plurality of computing units arranged in a computing unit array, each computing unit including a memory, a plurality of multiply-accumulator circuits (MACs), and a routing circuit. The memory of each computing unit may be configured to store a portion of elements of a matrix A including weights of the neural network. Each computing unit may be configured to receive and store elements of an activation vector X, wherein the activation vector X is derived from an input audio signal. All or a subset of the plurality of computing units may be configured to perform matrix vector multiplication AX by performing multiplication and accumulation sub-operations in parallel between all or a subset of the plurality of computing units. Routing circuitry for computing cells in the array of computing cells may be configured to combine the results of the multiply and accumulate sub-operations.
Owner:VERTECH CO LTD

Data processing method and device in sparse matrix multiplication, equipment and storage medium

The invention relates to a data processing method and device in sparse matrix multiplication, equipment and a storage medium. The method comprises the following steps: determining the number of non-zero elements in a processing unit of a first sparse matrix; determining the type of the accumulator according to the number of the non-zero elements; the types of the accumulators comprise a direct index accumulator, a hash accumulator and a dense accumulator; accumulatively summing the product of the number of the non-zero elements in the processing units and the number of the non-zero elements in the corresponding processing units in the second sparse matrix by adopting an accumulator of the type to obtain a sum value; performing intermediate process storage on the sum value; and after performing intermediate process storage on the sum value, inputting the sum value into a third sparse matrix. According to the method, the calculation performance of the SpGEMM is remarkably improved. And the problem of performance bottleneck of the accumulator caused by sparse diversity of the sparse matrix is solved. And a suitable accumulator is dynamically determined for each processing unit in a lightweight manner, so that the problem of non-ideal performance caused by unreasonable design of the accumulators is solved.
Owner:PONGFENG BEIJING TECH CO LTD