2-dimensional (2-D)
convolution calculation is widely applied in the field of
image processing. The invention discloses a 2-D convolver. By decomposing the 2-D
convolution calculation into parallel calculation of multiple 1-D
convolution calculation windows and adopting the strategy that image data are input in a row or column leading Zigzag scanning format, the capacity of an on-
chip memory is reduced, and on-
chip resource overhead is reduced; because the 2-D convolver can accept two different image
data input formats of row or column leading Zigzag scanning formats, the 2-D convolver is suitable for different application systems; and by adjusting the depth W of each double-port
system random access memory (SRAM) in an intermediate result
temporary storage unit and making good compromise between the capacity of the on-
chip memory and the external bandwidth, flexibility of
system design is brought. Compared with the conventional 2-D convolver, the 2-D convolver occupies fewer hardware resources, the
throughput can meet the real-time requirements of most
image processing systems, and the 2-D convolver can be used for realizing the 2-D convolution calculation in a low-cost
embedded system. The 2-D convolver belongs to the field of super-large-scale
integrated circuit structure design.