Patent ID: 11972262
Assignee: C-SKY MICROSYSTEMS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A data computing method performed by an accelerator of a data computing system, the accelerator comprising:
a control register module communicatively coupled to a processor of the data computing system and configured to store control information that includes an instruction; and
a computing module communicatively coupled to a memory and comprising:
a multiply-accumulate unit configured to perform multiply-accumulate operations to generate a result;
a rectifier computing unit configured to perform rectifier functions for an input data or the result from the multiply-accumulate unit; and
a first multiplexer configured to select the result from the multiply-accumulate unit or the input data as the data input to the rectifier computing unit,

wherein the computing module is configured to perform the method comprising:
receiving, by the accelerator from the processor, control information including a start address for data to be computed, a number of operands, a computing type, a write-back address, and a computing enable flag, the accelerator being separate from the processor;
after detecting that the computing enable flag is enabled:
accessing the memory according to the start address and the number of operands, the accelerator being separate from the memory;
performing a computing process on the data according to the computing type to produce a computed result, wherein the computing process is performed by the accelerator independently from the processor;
writing the computed result to the memory according to the write-back address; and
resetting the computing enable flag after the computing process is completed.