The engine loads a 64 × 64 image, extracts an embedded Code 128 pattern, and uses the decoded configuration to set convolution stride and dilation. Eight local SRAM banks feed four processing elements. Each element combines nine weighted samples, rounds the fixed-point result and clamps it to an unsigned output byte. Address and valid signals accompany the four output lanes.
Four input pixels arrive together. Their least significant bits enter a shift register while the pixel data enters eight 512 × 8 SRAM banks. Four shifted comparisons align the incoming bit stream with the barcode mask.
Configure the window
The controller loads the kernel coefficients before entering CONV. The decoded configuration selects stride and dilation. Stride changes the distance between output windows; dilation changes the spacing between taps within one window.
Parallelize across output positions
Each processing element forms nine signed-weight products for its 3 × 3 window. Four PEs share the kernel and consume different windows. Banking makes the required image samples available to the parallel datapath.
Preserve the address–data pairing
Each lane rounds its accumulated sum at the seven-fractional-bit boundary and saturates the result to 0–255. Pipelined addresses and valid bits identify the output pixels; the finish indication marks completion.