Accelerators · Easy · SystemVerilog

Two-Element Dot Product

Implement the arithmetic kernel for a 2x2 matrix result element.

Task

Compute `a0*b0 + a1*b1` using signed 16-bit operands and a wide signed result.

Examples

Constraints

Accelerator verification checklist

Concepts to review

matrix multiply, dot product, datapath

Open Two-Element Dot Product in the HDLForge interactive editor.

Related problems