Abstract:
Firstly, this paper introduces the Lookup-table algorithm and cordic algorithm.Based on the two algorithms, we program and design 32-bit fixed-point trigonometric functions with Verilog-HDL.Combined with simulation, we evaluate these two methods by comparing operation precision, operation speed and hardware resources occupied.Then, we design the 32-bit floating-point trigonometric functions directly based on improved cordic algorithm without floating-fixed exchange.Finally, we evaluate these three methods.