The invention discloses a storage and calculation integrated block multiplication and addition array, and relates to the technical field of storage and calculation
integrated circuit structure design, and the storage and calculation integrated block multiplication and addition array comprises the following steps: carrying out one-time vector point integration to form a four-row storage and calculation array to complete partial multiplication and addition, and obtaining four partial multiplication and addition results PP0, PP1, PP3 and PP3; the one-bit calculation result of each partial multiplication and addition result PPI (i = 0, 1, 2, 3) is realized by adopting an accumulation mode; the one-bit calculation result of each partial multiply-add result PPi is calculated in a configurable
clock beat; the partial multiply-accumulate results PPI (i = 0, 1, 2, 3) are multiplied by 20, 24, 24 and 28 respectively, namely, the partial multiply-accumulate results PPI (i = 0, 1, 2, 3) are shifted leftwards by 0, 4, 4 and 8 bits respectively, and four shifted partial multiply-accumulate results PPSi (i = 0, 1, 2, 3) are obtained; the four partial multiply-accumulate results PPSi (i = 0, 1, 2, 3) are subjected to additive operation in a
clock beat through a full
adder. According to the block multiplication and addition circuit, the vector dot product
operation time of storage and calculation integrated implementation can be reduced by half, the effective rate is doubled, and storage and calculation integrated high-speed calculation is realized.