Diagnostic layer integration in FPGA-based pipeline measurement systems for HEP experiments