VHDL implementation of a polyphase filter bank with polyphase filter and 5ndft
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
836B

  1. LIBRARY ieee;
  2. USE ieee.std_logic_1164.ALL;
  3. USE work.POLY_FIR_PKG.ALL;
  4. ENTITY tree_firs IS
  5. PORT (
  6. i_clk : IN std_logic;
  7. i_matrix3D_reg_out : IN matrix3D_reg_data_out;
  8. i_coeffs : IN matrix_fir_coeffs_in;
  9. o_data : OUT matrix_fir_data_out := (OTHERS => (OTHERS => (OTHERS => '0')))
  10. );
  11. END ENTITY tree_firs;
  12. ARCHITECTURE wires OF tree_firs IS
  13. BEGIN
  14. -- instanciation of the cst_nb_subfilters subfilters
  15. simple_fir_inst_loop : FOR i IN 0 TO cst_nb_subfilters-1 GENERATE
  16. simple_fir_inst : ENTITY work.TREE_FIR(Simple_Fir)
  17. PORT MAP(i_clk => i_clk,
  18. i_coeffs => i_coeffs(i),
  19. i_data => i_matrix3D_reg_out(i),
  20. o_data => o_data(i)
  21. );
  22. END GENERATE simple_fir_inst_loop;
  23. END ARCHITECTURE wires;