Skip to content
Snippets Groups Projects
Commit 33c356fb authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Set BG block boundaries to 176 while using a RAM range of 128 words;

-Also set BG gap size to 256-176.
parent caa3713b
No related branches found
No related tags found
No related merge requests found
......@@ -126,8 +126,9 @@ ARCHITECTURE str OF apertif_unb1_fn_bf_emu IS
SIGNAL pout_wdi : STD_LOGIC;
-- Block generator
CONSTANT c_bg_block_size : NATURAL := 2*64; -- 2 interleaved streams
CONSTANT c_bg_gapsize : NATURAL := 0;
CONSTANT c_bg_block_size : NATURAL := 176; -- Note: our block boundaries (176) are different from the functional block size (128)
CONSTANT c_bg_mem_high_addr : NATURAL := 2*64-1; -- 2 interleaved streams.
CONSTANT c_bg_gapsize : NATURAL := 256-176;
CONSTANT c_bg_blocks_per_sync : NATURAL := 781250;
CONSTANT c_bg_ctrl : t_diag_block_gen := (sel_a_b(g_sim, '1', '0'), -- enable: On by default in simulation; MM enable required on hardware.
sel_a_b(g_sim, '1', '0'), -- enable_sync
......@@ -135,7 +136,7 @@ ARCHITECTURE str OF apertif_unb1_fn_bf_emu IS
TO_UVEC(c_bg_blocks_per_sync, c_diag_bg_blocks_per_sync_w),
TO_UVEC( c_bg_gapsize, c_diag_bg_gapsize_w),
TO_UVEC( 0, c_diag_bg_mem_low_adrs_w),
TO_UVEC( c_bg_block_size-1, c_diag_bg_mem_high_adrs_w),
TO_UVEC(c_bg_mem_high_addr-1, c_diag_bg_mem_high_adrs_w),
TO_UVEC( 0, c_diag_bg_bsn_init_w));
-- Interface: 10GbE
CONSTANT c_nof_10GbE_offload_streams : NATURAL := 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment