Forum Discussion
Altera_Forum
Honored Contributor
16 years agostrange behaviour of square root VHDL code
I need a plain VHDL-square root code for a special purpose and used "google code search". I thus found the following code in their files, obviously written by Altera. http://www.google.com/c...
Altera_Forum
Honored Contributor
16 years agoAn interesting solution: http://http://vhdlguru.blogspot.com/2010/03/vhdl-function-for-finding-square-root.html (http://http://vhdlguru.blogspot.com/2010/03/vhdl-function-for-finding-square-root.html)
It synthesizes into a combinatorial function which will run quite slow (44 ns tpd on a Stratix II C3 speed grade) but pipelining it should be reasonably straightforward.