This PR fixes agreement in the disks between the emulation and the HLS implementation. The calculation for the ideltar value is updated (shifting by one to account for the different number of bits in the stubs and projections). The best_ideltaz_barrel calculation is also updated.
The HLS implementation of the MP disks is still a work in progress, but so far D1 has full agreement for 99/100 events (event 96 has 9 missing FMs in the HLS, likely due to truncation)
PR description:
This PR fixes agreement in the disks between the emulation and the HLS implementation. The calculation for the
ideltar
value is updated (shifting by one to account for the different number of bits in the stubs and projections). Thebest_ideltaz_barrel
calculation is also updated.This PR will bring the emulation in agreement with the HLS PR https://github.com/cms-L1TK/firmware-hls/pull/242 (still a work in progress).
Temporary test vectors: https://cernbox.cern.ch/remote.php/dav/public-files/KMwIFrlRqnQTtGc/MemPrints_byates_100_1260.tar.gz
PR validation:
The HLS implementation of the MP disks is still a work in progress, but so far D1 has full agreement for 99/100 events (event 96 has 9 missing FMs in the HLS, likely due to truncation)