param
Member level 2
verilog absolute value
hi...
how to find the absolute value using verilog language...
i hav got fft_real_ value and fft_imag_value...
now i got to find the fft_out_value...
Does this wok?
fft_out <= (((fft_real_out*fft_real_out) + (fft_imag_out*fft_imag_out))**1/2);
hi...
how to find the absolute value using verilog language...
i hav got fft_real_ value and fft_imag_value...
now i got to find the fft_out_value...
Does this wok?
fft_out <= (((fft_real_out*fft_real_out) + (fft_imag_out*fft_imag_out))**1/2);