Accelerators · Medium · SystemVerilog

3x3 Sliding Window

Build the nine-pixel window presented to a 3x3 convolution kernel.

Task

For each valid column, shift three pixels per row so p00/p10/p20 are oldest and p02/p12/p22 are newest.

Examples

Constraints

Accelerator verification checklist

Concepts to review

convolution, window, shift registers

Open 3x3 Sliding Window in the HDLForge interactive editor.

Related problems