30bit - adder performance improvement
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
30bit - adder performance improvement

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA
Author Message
ALuPin
Guest





Posted: Fri Dec 10, 2004 5:15 pm    Post subject: 30bit - adder performance improvement Reply with quote

Hi @ newsgroup,

I have the following problem:

Using a Cypress VHDL template for a 30bit adder I face the problem
that I have to activate an internal pipeline stage within the template
to get the performance I need.
Using this pipeline stage the output of the adder is only valid
every two clock cycles.

So my question:

Is it possible to split the addition into two adders and to combine
the results that way
so that I get a valid sum every clock cycle ?

Any suggestion is highly appreciated.

Thanks in advance.

Rgds
André
Back to top
glen herrmannsfeldt
Guest





Posted: Sat Dec 11, 2004 12:36 am    Post subject: Re: 30bit - adder performance improvement Reply with quote

ALuPin wrote:

Quote:
Using a Cypress VHDL template for a 30bit adder I face the problem
that I have to activate an internal pipeline stage within the template
to get the performance I need.
Using this pipeline stage the output of the adder is only valid
every two clock cycles.

Is it possible to split the addition into two adders and to
combine the results that way so that I get a valid sum every
clock cycle ?

You mean the carry delay is too long?

Split it into two adders, maybe 16 and 14 or 15 and 15, and pipeline
the carry between them. The two will then be one pipeline stage
apart, which may complicate the rest of the pipeline.

Not knowing what the rest of your logic looks like, you might
look into carry save adders. When adding more than two numbers,
a carry save adder pipeline saves the carry propagation until the
last step.

Though I would expect a pipelined template adder to be fully
pipelined, such that you would get a new result out every cycle,
though delayed the appropriate number of cycles. At each clock
cycle you put in A(t) and B(t) and get out sum(t-2) or sum(t-3).

-- glen
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB