The invention discloses a Depthwise volume storage internal calculation device and method based on dynamic table lookup accumulation, and the device comprises a
lookup table memory, a multi-address concurrent
lookup table cache module, a dynamic table lookup accumulation module, a data write-back module, a feature map memory, a
data acquisition module and a cache switching control module. Based on the design of a multi-access concurrent
lookup table cache module, parallel access to a plurality of pre-stored lookup table values in a single period is supported, and dynamic space alignment, multi-channel parallel lookup and accumulation operation of an input feature map and the lookup table values are realized in cooperation with a dynamic lookup accumulation module; according to the method, a lookup table pre-generation technology of
receptive field decoupling is adopted, and exponential compression of lookup table storage overhead is realized by separating a
convolution kernel space dimension mapping relation. According to the method, the multiplication and addition operation of the traditional
convolution is converted into a dynamic table look-up accumulation process, a high-complexity multiplier of the traditional Depthwise
convolution is avoided, the calculation efficiency is remarkably improved, and meanwhile, the hardware
resource consumption and the
power consumption are greatly reduced.