aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/ic_reg_maps/gen_ad5623_regs.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/ic_reg_maps/gen_ad5623_regs.py')
-rwxr-xr-xhost/lib/ic_reg_maps/gen_ad5623_regs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/ic_reg_maps/gen_ad5623_regs.py b/host/lib/ic_reg_maps/gen_ad5623_regs.py
index 8b70a9f0a..99ae4c77d 100755
--- a/host/lib/ic_reg_maps/gen_ad5623_regs.py
+++ b/host/lib/ic_reg_maps/gen_ad5623_regs.py
@@ -30,10 +30,10 @@ cmd 0[19:21] 0 wr_input_n, up_dac_n, wr_input_n_up_a
# Template for methods in the body of the struct
########################################################################
BODY_TMPL="""\
-boost::uint32_t get_reg(void){
- boost::uint32_t reg = 0;
+uint32_t get_reg(void){
+ uint32_t reg = 0;
% for reg in filter(lambda r: r.get_addr() == 0, regs):
- reg |= (boost::uint32_t(${reg.get_name()}) & ${reg.get_mask()}) << ${reg.get_shift()};
+ reg |= (uint32_t(${reg.get_name()}) & ${reg.get_mask()}) << ${reg.get_shift()};
% endfor
return reg;
}