| CPC G06F 11/1048 (2013.01) [G06F 7/50 (2013.01); G06F 7/523 (2013.01); G06F 7/5443 (2013.01)] | 10 Claims |

|
1. A method of executing a multiplication and accumulation (MAC) calculation of an arithmetic-in-memory (AIM) device, the method comprising:
outputting first data and a parity from a first storage region;
outputting second data from a second storage region;
simultaneously executing an error correction code (ECC) calculation of the first data and the parity and a multiplying calculation of the first and second data;
generating an error code indicating an error location of the first data as a result of the ECC calculation;
outputting multiplication result data corresponding to a result of the multiplying calculation when no error exists in the first data based on the error code; and
executing a compensating calculation of the multiplication result data to output the compensated multiplication result data when an error exists in the first data based on the error code.
|