Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Floating point MAC

Anyone ever have to use a floating point multiply accumulator? Im looking for tips on building one because neither altera nor opencores has FPMAC IP.

Matt

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    DSP Builder Advanced Blockset has a floating point accumulator, which you could use in conjunction with its FP multiply to create this. This would work if you want to do ax + by + cz + ... with just a single add and multiply on successive cycles.

    On the other hand if you want to do a(b(c + x) + y) + z, then DSP Builder cannot calculate a result on successive cycles.