From b7a25add42818f46ae6e159926b0c3919ce38918 Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Thu, 6 Mar 2025 17:52:25 -0500 Subject: [PATCH 1/3] Honor `pterm_decay_bits` in Bash-based configuration scripts. This was previously fixed in the newer configuration method. However, while the older configuration scripts were replaced, people still use them at times, which turned out to be problematic. --- script/bits/config_create.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/script/bits/config_create.bash b/script/bits/config_create.bash index 4ebbbb3..f69c4e2 100644 --- a/script/bits/config_create.bash +++ b/script/bits/config_create.bash @@ -131,6 +131,7 @@ for rc in 1 2 3 4; do echo "wb rc$rc fb_dly $fb_dly" >> $mce_script echo "wb rc$rc fb_const ${fb_const[@]:$ch_ofs:8}" >> $mce_script echo "wb rc$rc data_mode $data_mode" >> $mce_script + echo "wb rc$rc pterm_decay_bits $pterm_decay_bits" >> $mce_script echo "wb rc$rc sa_bias ${sa_bias[@]:$ch_ofs:8}" >> $mce_script echo "wb rc$rc offset ${sa_offset[@]:$ch_ofs:8}" >> $mce_script From 1562d403cb13e5a08e1fa2f92ea02c6726feea79 Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Thu, 6 Mar 2025 18:03:37 -0500 Subject: [PATCH 2/3] Fix regression that stopped setting `sa_fb_set`. This bug was introduced in e20507936f16a3de00222a00992367687c6c756b. --- python/auto_setup/mux11d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/auto_setup/mux11d.py b/python/auto_setup/mux11d.py index b13dadc..f75a6ff 100644 --- a/python/auto_setup/mux11d.py +++ b/python/auto_setup/mux11d.py @@ -377,7 +377,7 @@ def do_sq1_servo_sa(tuning, rc, rc_indices): # Save results, but remove flux quantum tuning.set_exp_param('sa_fb', fb_col) - if not is_fast_sa_fb: + if is_fast_sa_fb: tuning.set_exp_param('sa_fb_set', fb_set.transpose().ravel()) tuning.write_config() From 6b44d21df71a109e2d0c0b3a33b26c15c82bd253 Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Thu, 6 Mar 2025 18:04:55 -0500 Subject: [PATCH 3/3] Ignore compiled binary / generated files. --- .gitignore | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..399104c --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Ignore generated file +id + +# Ignore compiled binaries +utilities/*.o +utilities/ascii_frame +utilities/catch_rampers +utilities/eat_packets +utilities/extract_frames +utilities/runfile_scan