aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/window_block_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/window_block_control.cpp')
-rw-r--r--host/lib/rfnoc/window_block_control.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/rfnoc/window_block_control.cpp b/host/lib/rfnoc/window_block_control.cpp
index 9acb963d0..ad6eb466c 100644
--- a/host/lib/rfnoc/window_block_control.cpp
+++ b/host/lib/rfnoc/window_block_control.cpp
@@ -118,6 +118,10 @@ private:
_window_reg_iface.poke32(REG_WINDOW_LOAD_COEFF_LAST_OFFSET,
static_cast<uint32_t>(_coeffs.at(chan).at(num_coeffs - 1)),
chan);
+ // Set window size
+ _window_reg_iface.poke32(REG_WINDOW_LEN_OFFSET,
+ static_cast<uint32_t>(num_coeffs),
+ chan);
}
//! Maximum length of window