- added unfiltered output at ddc for eval
git-svn-id: http://moon:8086/svn/vhdl/trunk@214 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -50,9 +50,9 @@ ENTITY ddc IS
|
||||
din_i : in sfixed;
|
||||
din_q : in sfixed;
|
||||
din_vld : in std_logic;
|
||||
-- dec_i : out sfixed;
|
||||
-- dec_q : out sfixed;
|
||||
-- dec_vld : out std_logic;
|
||||
dec_i : out sfixed;
|
||||
dec_q : out sfixed;
|
||||
dec_vld : out std_logic;
|
||||
dout_i : out sfixed;
|
||||
dout_q : out sfixed;
|
||||
dout_vld : out std_logic
|
||||
@@ -149,7 +149,7 @@ ARCHITECTURE behavior OF ddc IS
|
||||
constant cic_nbits_out : integer := nbits_out+1;
|
||||
constant cic_nbits_out_frac : integer := nbits_out_frac+1;
|
||||
|
||||
constant cfir_mul_latency : integer := 2;
|
||||
constant cfir_mul_latency : integer := 5;
|
||||
constant cfir_ntaps : integer := 63;
|
||||
constant cfir_nstages : integer := 2;
|
||||
constant cfir_nbits_in : integer := cic_nbits_out;
|
||||
@@ -200,9 +200,9 @@ ARCHITECTURE behavior OF ddc IS
|
||||
BEGIN
|
||||
|
||||
-- assert false report "cfir_h_addr_i'length = " & natural'image(cfir_h_addr_i'length) & "." severity note;
|
||||
-- dec_vld <= dec_dout_vld_i and dec_dout_vld_q;
|
||||
-- dec_i <= resize(dec_dout_i, shi(nbits_out, nbits_out_frac), slo(nbits_out, nbits_out_frac), fixed_wrap, fixed_round);
|
||||
-- dec_q <= resize(dec_dout_q, shi(nbits_out, nbits_out_frac), slo(nbits_out, nbits_out_frac), fixed_wrap, fixed_round);
|
||||
dec_vld <= dec_dout_vld_i and dec_dout_vld_q;
|
||||
dec_i <= resize(dec_dout_i, shi(nbits_out, nbits_out_frac), slo(nbits_out, nbits_out_frac), fixed_wrap, fixed_round);
|
||||
dec_q <= resize(dec_dout_q, shi(nbits_out, nbits_out_frac), slo(nbits_out, nbits_out_frac), fixed_wrap, fixed_round);
|
||||
|
||||
dout_vld <= cfir_vld_i and cfir_vld_q;
|
||||
dout_i <= resize(cfir_dout_i, shi(nbits_out, nbits_out_frac), slo(nbits_out, nbits_out_frac), fixed_wrap, fixed_round);
|
||||
|
||||
Reference in New Issue
Block a user