> Dear sir,
> I have a doubt,
> Can we use recursive functions in vhdl, ;
and how do you intend to synthesize it?
--
- XEROX never comes up with something original
Jahagirdar .V.S
IC Design Engineer , Texas Instruments (India) Ltd.
Ph (91)080-5099129(O)
Vijayvithal Jahagirdar wrote:
--
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email r...@andraka.com
http://www.andraka.com
"They that give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
-Benjamin Franklin, 1759
> Yes, and recursive implementations can be synthesizable too, although
> some of the tool vendors may think otherwise.
>
Are there any examples of synthesizable recursive functions available on
the net that I can look up?
Regards
Jags
--
One example could be:
http://groups.google.com/groups?hl=en&selm=38E06F71.79E6CFFE%40Alcatel
.Be
---- Previous post from Jos ----
there's an elegant solution to it
by describing the log2 function recursive (no syntax):
log2(N) : if N=1 then return 0 else return 1+log2(N/2)
The reason is that this is for synthesis unrolled at
analysis time. So the function is expanded with concrete
numbers for N. And so it works as no further calculations
(others than SomeConstant+SomeConstant) are involved.
-----
HTH,
Srinivasan
--
Srinivasan Venkataramanan
ASIC Design Engineer
Software & Silicon Systems India Pvt. Ltd. (An Intel company)
Bangalore, India, Visit: http://www.simputer.org)
"Vijayvithal Jahagirdar" <a7c3eys...@sneakemail.comMONSENSE>
wrote in message news:p6xpu82...@dspsparc147.india.ti.com...
Have a look at Peter J. Ashenden's article "Recursive and repetitive VHDL
modelling". He describes how to instantiate components in a recursive way. It's
available at http://tech-www.informatik.uni-hamburg.de/vhdl/#DOCUMENTATION-LIST
Alex
--
__________________________________________________________
News suchen, lesen, schreiben mit http://newsgroups.web.de
Greetings!
Volker
--
Das meiste Geld habe ich fuer exklusive Restaurants, schnelle Autos und
teure Frauen ausgegeben. Den Rest habe ich verplempert.
Vijayvithal Jahagirdar wrote:
--