LDMX-Software / pflib

Library and tool for interacting with polarfires.
https://ldmx-software.github.io/pflib/
4 stars 0 forks source link

Floating Point Error (core dumped) during DAQ.SETUP.FPGA() #85

Open cjfroemming opened 1 year ago

cjfroemming commented 1 year ago

Description Loading FPGA on DAQ in the pftool causes a floating point error, which occurs when C++ tries to divide by zero.

To Reproduce Steps to reproduce the behavior:

  1. Run pftool cob13_dpm1_0 (the usual setup for UMN)
  2. Go into DAQ
  3. Select HARD RESET
  4. Use either the FPGA setting or the STANDARD setting (which uses the FPGA setting as a part of its setup)
  5. Any value for the FPGA causes an error called 'Floating point error (core dumped)'

Environment (please complete the following information):

Additional Context The FPGA ID is still changed despite the error, seemingly allowing you to set up the rest of the DAQ fine.