- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi i was wondering if there is an accumulator in the standard blockset of DSP Builder. if not, how do i make it?
thank youLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Altera DSP Builder does not provide a accumulator. But you can easily build one with an adder and a register.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's a Multiply Accumulate block in the arithmetic library. You could wire the b input to a constant 1 so that it just does simple accumulation, but that might use up a DSP. It's possible that if you set "Use Dedicated Multiplier Circuitry" to NO, that Quartus might optimise away the multiply. You'd really have to see for yourself if that works.
The other option would be to add a Pipelined adder, set its latency to one and feed its output into one of the inputs. Again this block is in the artithmetic library.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok thank you
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page