DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 9/30/2024
Public
Document Table of Contents

14.4.5. AddSub

The AddSub block produces either the sum (a + b) or the difference (a – b) depending on the input you select (1 for add; 0 for subtract).
Note: For single-precision inputs and designs targeting any device with a floating-point DSP block, the block uses a mixture of resources including the DSP blocks in floating-point mode.
Table 165.  Port Interface for the AddSub Block
Signal Direction Type Description Vector Complex
a Input Single or double Operand 1 Yes Yes
b Input Single or double Operand 2 Yes Yes
add Input Boolean Select input Yes Yes
q Output Single or double Result Yes Yes