DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

DC Blocker

Started by b2508 ●October 22, 2015
rickman <gnuarm@gmail.com> writes:

> On 10/29/2015 1:33 AM, Randy Yates wrote: >> radams2000@gmail.com writes: >> >>> Randy >>> >>> I was assuming a 16x16 -> 32 multiplier, unless you need more >>> coefficient precision. >> >> I can't see how these two 16x16 multipliers make one 16x16 -> 32 >> multiplier. > > Is this a typo? Or did you mean "one 16x32 -> 32 multiplier"? That > would take just two multipliers and one adder.
Rick, it is not a typo. Read the thread back one or two posts and you'll see. Bob SEEMED to be saying that these TWO multipliers were implementing ONE 16x16 -> 32 multiplier, which doesn't make sense to me. But I may have misinterpreted something. --Randy
> > >>> In reality when you implement this you will >>> need a few extra bits on top to accommodate overshoots without >>> clipping or wrapping so it's not quite as simple as shown. >>> >>> Yes I was assuming you keep as many bits as you need on the output. >>> >>> But my general comment is that digital logic density is so absurdly >>> high now that many of the tricks we used to play in the 80's and 90's >>> are just not worth it anymore. The days when you would get a medal by >>> eliminating a multiply operation are over. >> >> That may be true in the FPGA realm, and 90 percent true for DSPs, but >> there's always some idiot trying to do some algorithm insanely fast on >> DSPs... > > It all depends on your constraints. I did some work in low end FPGAs > where multipliers are not part of the fabric. In one case I used the > synthesis tools to give me an 8x8 multiplier at the full LUT cost. > Later on an upgrade I had to add an 8x16 multiplier and did it word > serially to save on the LUTs. But then the device was getting full. > There were tricks I used so I didn't have to use multipliers in other > cases... other than multiplying by -1.
-- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com
On 10/29/2015 11:27 AM, Randy Yates wrote:
> rickman <gnuarm@gmail.com> writes: > >> On 10/29/2015 1:33 AM, Randy Yates wrote: >>> radams2000@gmail.com writes: >>> >>>> Randy >>>> >>>> I was assuming a 16x16 -> 32 multiplier, unless you need more >>>> coefficient precision. >>> >>> I can't see how these two 16x16 multipliers make one 16x16 -> 32 >>> multiplier. >> >> Is this a typo? Or did you mean "one 16x32 -> 32 multiplier"? That >> would take just two multipliers and one adder. > > Rick, it is not a typo. Read the thread back one or two posts and you'll > see. Bob SEEMED to be saying that these TWO multipliers were > implementing ONE 16x16 -> 32 multiplier, which doesn't make sense to me. > But I may have misinterpreted something.
I asked because what you typed does not make sense regardless of context. "I can't see how these two 16x16 multipliers make one 16x16 -> 32" You only need one multiplier to be a multiplier. I think you made a mistake typing and now you are not reading what I wrote, but what you think you wrote. Look at the numbers you used, please. If someone else is suggesting it takes two 16x16 multiplies to perform a 16x16 multiply, I didn't see it. Maybe I'd have to start at the beginning of the thread which I'm not willing to do. If you tell me that's the case, I'll believe you. -- Rick
rickman <gnuarm@gmail.com> writes:
> [...] > You only need one multiplier to be a multiplier.
That's kind of a bullshit statement to make. As one who designs FPGA you should know that depends on lots of things, chiefly the multiplier provided in the library and and width of the multiply you need to perform. -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com
On 10/29/2015 1:03 PM, Randy Yates wrote:
> rickman <gnuarm@gmail.com> writes: >> [...] >> You only need one multiplier to be a multiplier. > > That's kind of a bullshit statement to make. As one who designs FPGA you > should know that depends on lots of things, chiefly the multiplier > provided in the library and and width of the multiply you need to > perform.
I have no idea what you are talking about. Mostly I don't understand your previous statement which was basically X is not the same as X. If you don't want to explain it fine. I'm not trying to tick you off. -- Rick
On Thursday, October 29, 2015 at 12:50:14 AM UTC+13, radam...@gmail.com wrote:
> Randy > > I was assuming a 16x16 -> 32 multiplier, unless you need more coefficient precision. In reality when you implement this you will need a few extra bits on top to accommodate overshoots without clipping or wrapping so it's not quite as simple as shown. > > Yes I was assuming you keep as many bits as you need on the output. > > But my general comment is that digital logic density is so absurdly high now that many of the tricks we used to play in the 80's and 90's are just not worth it anymore. The days when you would get a medal by eliminating a multiply operation are over. > > Bob
hmmm.no! because you can trade off those tricks against longer filter orders for instance.