1#ifndef FOFB_PROCESSING_H
2#define FOFB_PROCESSING_H
7#include "controllers.h"
10namespace fofb_processing {
13struct wb_fofb_processing_regs;
16 std::unique_ptr<struct wb_fofb_processing_regs> regs_storage;
17 struct wb_fofb_processing_regs ®s;
21 void print(FILE *,
bool)
const override;
27 std::vector<int32_t> ref_orb_x, ref_orb_y;
28 std::vector<std::vector<double>> coefficients_x, coefficients_y;
33 std::unique_ptr<struct wb_fofb_processing_regs> regs_storage;
34 struct wb_fofb_processing_regs ®s;
39 unsigned fixed_point_coeff, fixed_point_gains;
45 bool intlk_sta_clr =
false, intlk_en_orb_distort =
false, intlk_en_packet_loss =
false;
46 unsigned orb_distort_limit = 0, min_num_packets = 0;
48 std::vector<int32_t> ref_orb_x, ref_orb_y;
51 std::vector<double> coefficients_x, coefficients_y;
52 bool acc_clear =
false, acc_freeze =
false;
54 uint32_t sp_limit_max = 0, sp_limit_min = 0;
Definition: controllers.h:7
Definition: decoders.h:97
Definition: fofb_processing.h:31
void set_devinfo_callback() override
Definition: fofb_processing.cc:168
void encode_params() override
Definition: fofb_processing.cc:175
void write_params() override
Definition: fofb_processing.cc:208
Definition: fofb_processing.h:15
void read_monitors() override
Definition: fofb_processing.cc:59
void decode() override
Definition: fofb_processing.cc:74
Definition: fofb_processing.h:50
uint32_t sp_decim_ratio
Definition: fofb_processing.h:56
Definition: pcie-defs.h:19