DUNE-DAQ / readoutmodules

0 stars 0 forks source link

Make the raw TP frame unpacking configurable #28

Closed hristovaivana closed 1 year ago

hristovaivana commented 2 years ago

This PR adds the option to configure the unpacking of the raw TP frames according to the firmware TPG format. Currently we have two fwTGP format versions, which we call "old" and "new", or alternatively, we can refer to them as "v1" and "v2". This feature involves changes in the following packages (where the relevant PRs are made as well): fdreadoutlibs readoutlibs readoutmodules (here) https://github.com/DUNE-DAQ/fdreadoutlibs/pull/46 https://github.com/DUNE-DAQ/readoutlibs/pull/49 https://github.com/DUNE-DAQ/readoutmodules/pull/28

The new TP format was implemented in firmware as a response to a request we made from the readout side, and it makes the unpacking more straightforward in software, because the TP header explicitly contains the number of hits.

This corresponds to issue: https://github.com/DUNE-DAQ/fdreadoutlibs/issues/26

roland-sipos commented 2 years ago

Please update target release and status on tracking

hristovaivana commented 1 year ago

This PR is replaced by https://github.com/DUNE-DAQ/readoutmodules/pull/31