Skip to content
Snippets Groups Projects
Commit ecdf0106 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

#1860 : use beamlet output clipping instead of wrapping.

parent c5802d6d
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,7 @@ ARCHITECTURE str OF node_apertif_unb1_fn_beamformer IS ...@@ -129,6 +129,7 @@ ARCHITECTURE str OF node_apertif_unb1_fn_beamformer IS
CONSTANT c_nof_clk_per_sync : NATURAL := c_nof_blocks_per_sync * c_block_period; -- = 800000 * 256 CONSTANT c_nof_clk_per_sync : NATURAL := c_nof_blocks_per_sync * c_block_period; -- = 800000 * 256
CONSTANT c_bsn_sync_timeout : NATURAL := (c_nof_clk_per_sync * 10)/8; -- *10/8 as margin CONSTANT c_bsn_sync_timeout : NATURAL := (c_nof_clk_per_sync * 10)/8; -- *10/8 as margin
CONSTANT c_use_output_clipping : BOOLEAN := TRUE; -- TRUE = beamlet clipping, FALSE = beamlet wrap (see #1860)
CONSTANT c_use_force : BOOLEAN := TRUE; -- TRUE to instantiate dp_force module CONSTANT c_use_force : BOOLEAN := TRUE; -- TRUE to instantiate dp_force module
CONSTANT c_ram_fringe_stop_addr_w : POSITIVE := ceil_log2(g_bf.nof_weights); CONSTANT c_ram_fringe_stop_addr_w : POSITIVE := ceil_log2(g_bf.nof_weights);
CONSTANT c_fs_offset_w : POSITIVE := 10; CONSTANT c_fs_offset_w : POSITIVE := 10;
...@@ -286,8 +287,8 @@ BEGIN ...@@ -286,8 +287,8 @@ BEGIN
g_lsb_w => c_fs_quant_lsb_w, g_lsb_w => c_fs_quant_lsb_w,
g_lsb_round => TRUE, g_lsb_round => TRUE,
g_lsb_round_clip => FALSE, g_lsb_round_clip => FALSE,
g_msb_clip => FALSE, -- default BF should not clip g_msb_clip => c_use_output_clipping,
g_msb_clip_symmetric => FALSE, g_msb_clip_symmetric => c_use_output_clipping,
g_gain_w => 0, g_gain_w => 0,
g_pipeline_remove_lsb => 1, g_pipeline_remove_lsb => 1,
g_pipeline_remove_msb => 0, g_pipeline_remove_msb => 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment