CONSTANTc_wpfb_out_dat_w:NATURAL:=16;--FIXME: Could be wider but is currently 9b to avoid the need for quantization: 9b -> mult -> 18b -> accu -> 32b at the corr output.
CONSTANTc_wpfb_use_separate:BOOLEAN:=FALSE;-- = false for complex input, true for two real inputs
CONSTANTc_wpfb_use_reorder:BOOLEAN:=FALSE;
...
...
@@ -248,68 +249,77 @@ ARCHITECTURE str OF apertif_unb1_correlator IS
SIGNALmm_clk:STD_LOGIC;
SIGNALmm_locked:STD_LOGIC;
SIGNALmm_rst:STD_LOGIC;
SIGNALcal_clk:STD_LOGIC;
SIGNALepcs_clk:STD_LOGIC;
SIGNALdp_rst:STD_LOGIC;
SIGNALdp_clk:STD_LOGIC;
SIGNALdp_pps:STD_LOGIC;
SIGNALsa_rst:STD_LOGIC;
SIGNALeth1g_tse_clk:STD_LOGIC;
SIGNALeth1g_mm_rst:STD_LOGIC;
SIGNALeth1g_reg_interrupt:STD_LOGIC;-- Interrupt
-- PIOs
SIGNALpout_wdi:STD_LOGIC;
-- MM WDI override
-- MM Register interfaces
SIGNALreg_wdi_mosi:t_mem_mosi;
SIGNALreg_wdi_miso:t_mem_miso;
-- MM PPSH
SIGNALreg_ppsh_mosi:t_mem_mosi;
SIGNALreg_ppsh_miso:t_mem_miso;
-- MM UniBoard system info
SIGNALreg_unb_system_info_mosi:t_mem_mosi;
SIGNALreg_unb_system_info_miso:t_mem_miso;
SIGNALrom_unb_system_info_mosi:t_mem_mosi;
SIGNALrom_unb_system_info_miso:t_mem_miso;
-- MM UniBoard I2C sens
SIGNALreg_unb_sens_mosi:t_mem_mosi;
SIGNALreg_unb_sens_miso:t_mem_miso;
-- MM eth1g
SIGNALeth1g_tse_clk:STD_LOGIC;
SIGNALeth1g_mm_rst:STD_LOGIC;
SIGNALeth1g_tse_mosi:t_mem_mosi;-- ETH TSE MAC registers
SIGNALeth1g_tse_miso:t_mem_miso;
SIGNALeth1g_reg_mosi:t_mem_mosi;-- ETH control and status registers
SIGNALeth1g_reg_miso:t_mem_miso;
SIGNALeth1g_reg_interrupt:STD_LOGIC;-- Interrupt
SIGNALeth1g_ram_mosi:t_mem_mosi;-- ETH rx frame and tx frame memory