About Generic

A

agou

Guest
Hi,

A newbie question. :)
I declare a Generic in my entity e.g. LEN := 10.
And then I multiply LEN by an integer in the code, e.g. LEN*5, I wonder
whether the synthesizer would replace LEN*5 by 50 in the sythesize
instead of multiplying it?

Thanks
 
The synthesizer will do the static math; it won't build a multiplier.

JTW

"agou" <agou.win@gmail.com> wrote in message
news:1148529087.135653.110100@i40g2000cwc.googlegroups.com...
Hi,

A newbie question. :)
I declare a Generic in my entity e.g. LEN := 10.
And then I multiply LEN by an integer in the code, e.g. LEN*5, I wonder
whether the synthesizer would replace LEN*5 by 50 in the sythesize
instead of multiplying it?

Thanks
 

Welcome to EDABoard.com

Sponsor

Back
Top