Line 21... |
Line 21... |
-- Purpose: Pipelined radix 2 FFT
|
-- Purpose: Pipelined radix 2 FFT
|
-- Description: ASTRON-RP-755
|
-- Description: ASTRON-RP-755
|
-- Remarks: doc/readme.txt
|
-- Remarks: doc/readme.txt
|
|
|
|
|
library ieee, common_pkg_lib, common_requantize_lib;
|
library ieee, common_pkg_lib, astron_requantize_lib;
|
use IEEE.std_logic_1164.all;
|
use IEEE.std_logic_1164.all;
|
use common_pkg_lib.common_pkg.all;
|
use common_pkg_lib.common_pkg.all;
|
use work.twiddlesPkg.all;
|
use work.twiddlesPkg.all;
|
use work.rTwoSDFPkg.all;
|
use work.rTwoSDFPkg.all;
|
|
|
Line 146... |
Line 146... |
end generate;
|
end generate;
|
|
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
-- pipelined FFT output requantization
|
-- pipelined FFT output requantization
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
u_requantize_re : entity common_requantize_lib.common_requantize
|
u_requantize_re : entity astron_requantize_lib.common_requantize
|
generic map (
|
generic map (
|
g_representation => "SIGNED",
|
g_representation => "SIGNED",
|
g_lsb_w => c_out_scale_w,
|
g_lsb_w => c_out_scale_w,
|
g_lsb_round => TRUE,
|
g_lsb_round => TRUE,
|
g_lsb_round_clip => FALSE,
|
g_lsb_round_clip => FALSE,
|
Line 167... |
Line 167... |
in_dat => raw_out_re,
|
in_dat => raw_out_re,
|
out_dat => out_re,
|
out_dat => out_re,
|
out_ovr => open
|
out_ovr => open
|
);
|
);
|
|
|
u_requantize_im : entity common_requantize_lib.common_requantize
|
u_requantize_im : entity astron_requantize_lib.common_requantize
|
generic map (
|
generic map (
|
g_representation => "SIGNED",
|
g_representation => "SIGNED",
|
g_lsb_w => c_out_scale_w,
|
g_lsb_w => c_out_scale_w,
|
g_lsb_round => TRUE,
|
g_lsb_round => TRUE,
|
g_lsb_round_clip => FALSE,
|
g_lsb_round_clip => FALSE,
|