Accelerators · Medium · SystemVerilog

Three-Row Line Buffer

Maintain the current and previous two image rows needed by a 3x3 streaming convolution.

Task

Use three parameterized row memories. On each valid pixel, shift the column entry row1→row2, row0→row1 and new pixel→row0.

Examples

Constraints

Accelerator verification checklist

Concepts to review

convolution, line buffer, streaming

Open Three-Row Line Buffer in the HDLForge interactive editor.

Related problems