Accelerators · Hard · SystemVerilog

Signed Saturation Stage

Reduce a wide accumulator to a 16-bit output without wraparound on overflow.

Task

Saturate a signed 36-bit value to the signed 16-bit range [-32768, 32767].

Examples

Constraints

Accelerator verification checklist

Concepts to review

DSP, fixed point, saturation

Open Signed Saturation Stage in the HDLForge interactive editor.

Related problems