R
Roger Bourne
Guest
hello all,
I am a newbie to vhdl. Well sorta.
I have always implemented adder code using by resorting to "variables"
and to the conv_std_logic_vector function. However, I am now at an
impasse since I have to implement a 102-bit adder and the aformentioned
function has a 32-bit limitation. (I know I can cascade adders, but I
want to be elegant ). I know, there are other ways to implement
adders like port-mapping a 1-bit adder cell 102 times or making a for
loop with the 1-bit adder logic code. However, since it a 102-bit
adder, I want to be sure that I am opting for the method that
synthesizes the most compactly. Which is the best way to code an
adder?, especially when bus size impedes of available fcts.
Please advise.
-Roger
P.S The adder is part of an accumulator module
P.P.S The accumulator fucntions at 50MHz, so the adder has to be
moderately fast.
I am a newbie to vhdl. Well sorta.
I have always implemented adder code using by resorting to "variables"
and to the conv_std_logic_vector function. However, I am now at an
impasse since I have to implement a 102-bit adder and the aformentioned
function has a 32-bit limitation. (I know I can cascade adders, but I
want to be elegant ). I know, there are other ways to implement
adders like port-mapping a 1-bit adder cell 102 times or making a for
loop with the 1-bit adder logic code. However, since it a 102-bit
adder, I want to be sure that I am opting for the method that
synthesizes the most compactly. Which is the best way to code an
adder?, especially when bus size impedes of available fcts.
Please advise.
-Roger
P.S The adder is part of an accumulator module
P.P.S The accumulator fucntions at 50MHz, so the adder has to be
moderately fast.