US 12,135,642 B2
Semiconductor device
Kazuaki Terashima, Tokyo (JP); Atsushi Nakamura, Tokyo (JP); and Yonghua Wang, Tokyo (JP)
Assigned to RENESAS ELECTRONICS CORPORATION, Tokyo (JP)
Filed by RENESAS ELECTRONICS CORPORATION, Tokyo (JP)
Filed on Mar. 20, 2023, as Appl. No. 18/186,476.
Claims priority of application No. 2022-081417 (JP), filed on May 18, 2022.
Prior Publication US 2023/0376415 A1, Nov. 23, 2023
Int. Cl. G06F 12/08 (2016.01); G06F 7/50 (2006.01); G06F 7/523 (2006.01)
CPC G06F 12/08 (2013.01) [G06F 7/50 (2013.01); G06F 7/523 (2013.01); G06F 2213/28 (2013.01)] 10 Claims
OG exemplary drawing
 
1. A semiconductor device executing a neural network processing, comprising:
single or plural memories configured to store weight parameters and pixel data;
“m” multiplier groups each configured to include “n” multipliers in which each of “n” and “m” is an integer number that is equal to or larger than 2;
a weight parameter buffer configured to output the stored “n×m” weight parameters to the “n×m” multipliers, respectively;
a data input buffer configured to output the stored “n×m” pixel data to the “n×m” multipliers, respectively;
a first Direct Memory Access (DMA) controller configured to transfer the “n×m” weight parameters from the memory to the weight parameter buffer;
a second Direct Memory Access (DMA) controller configured to transfer the “n×m” pixel data from the memory to the data input buffer; and
a group controller configured to control each “m” multiplier groups to be enabled/disabled,
wherein the group controller is configured to
detect a zero weight parameter having a zero value among the “n×m” weight parameters to be transferred to the weight parameter buffer, and,
when receiving the zero weight parameter as its input, exchange the “n×m” weight parameters to be transferred to the weight parameter buffer so that all multiplication results of the “n” multipliers included in a target multiplier group that is one of the “m” multiplier groups are zero,
control the target multiplier group to be disabled, and
exchange the “n×m” pixel data to be transferred to the data input buffer, based on the exchange of the “n×m” weight parameters.