It may only be behavioural, if it is and you need a working function that you can synthesize, you will probably have the most luck looking for a function from your vendor (fpga, asic, whatever)
And I should say that this doesn't use too much logic, although not little either:
Length= 32 bit : Number of SLICES : 81; Clock Frequency : 131.70 MHz
Length=16 bit : Number of SLICES : 43; Clock Frequency :143.37 MHz
And I should say that this doesn't use too much logic, although not little either:
Length= 32 bit : Number of SLICES : 81; Clock Frequency : 131.70 MHz
Length=16 bit : Number of SLICES : 43; Clock Frequency :143.37 MHz
(I think the algorithm iterates the number of bits of each input.)
I need to calculate the magnitude of a complex number: sqrt(X²+Y²). Now I think the best is the CORDIC algorithm. But I don't know yet how to implement that in VHDL. I expect find that nearly!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.