mirror of
https://github.com/NawfalMotii79/PLFM_RADAR.git
synced 2026-06-09 15:07:14 +00:00
1f307f77a9
Two stale-baseline events were never captured in earlier commits: 1. The FFT-1024 -> FFT-2048 merge (c668652) updated the testbench and gen_mf_cosim_golden.py but left radar_scene.py FFT_SIZE=1024. When FFT_SIZE was later bumped to 2048, the input vectors written by generate_baseband_samples (bb_mf_test_*.hex, ref_chirp_*.hex) grew from 1024 to 2048 samples but were never re-exported. 2. The TX-I matched-filter realignment (5ff5671) changed the ADC chirp phase from 2*pi*F_IF*t to 2*pi*(F_IF+F_BASEBAND_LOW)*t. ADC sample values shifted from sample ~1336 onward but adc_*.hex was never re-exported. Result: every regression run produced a "dirty" working tree as the regen reproduced post-merge values that disagreed with the committed baselines. Two consecutive regen runs are bit-exact identical (LCG seed=42 + deterministic chirp math) — verified via diff -q on two output dirs. There is no actual non-determinism; only stale artifacts. This commit refreshes all 15 affected files in one shot: - 6 input hex (adc_*_target.hex, bb_mf_test_*.hex, ref_chirp_*.hex) - 5 RTL output csv (rtl_*.csv from current RTL) - 4 compare csv (compare_mf_*.csv = py vs rtl side-by-side) Verification: full regression 39/39 PASS on the refreshed inputs. After this commit, regression runs should leave the working tree clean.