From 65309e8a811d6c68ebd38a37d16c786ae6da6779 Mon Sep 17 00:00:00 2001
From: Reinier van der Walle <walle@astron.nl>
Date: Fri, 17 Sep 2021 11:43:27 +0200
Subject: [PATCH] corrected user_width

---
 libraries/dsp/st/st.peripheral.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/dsp/st/st.peripheral.yaml b/libraries/dsp/st/st.peripheral.yaml
index d2f47521bc..72ecd338d5 100644
--- a/libraries/dsp/st/st.peripheral.yaml
+++ b/libraries/dsp/st/st.peripheral.yaml
@@ -29,7 +29,7 @@ peripherals:
               number_of_fields: g_nof_bins
               address_offset: 0x0
               mm_width: 32
-              user_width: ceil_pow2(g_nof_data_per_sync + 1 )
+              user_width: ceil_log2(g_nof_data_per_sync + 1 )
 
 
   - peripheral_name: st_sst  # pi_st_sst.py
-- 
GitLab