Belle II Software  release-05-02-19
CDCTriggerTSFFirmwareWorker Class Reference

a class for CDCTRG TSF firmware worker More...

Collaboration diagram for CDCTriggerTSFFirmwareWorker:

Public Member Functions

 CDCTriggerTSFFirmwareWorker (std::string design, std::string waveform, int nMergersIn)
 Construtor.
 
void initialize ()
 Intialization.
 
void clock ()
 clock function
 
void terminate ()
 Termination.
 
bool setInput (FILE *)
 set input with FILE*
 
void setInput (char *)
 set input with char*
 
char * getInput ()
 get input
 
std::array< char, outputWidth *4 > getOutput ()
 get output
 
std::string getStrOutput ()
 get output in string
 

Static Public Attributes

static constexpr int mergerWidth = 256
 Merger data width.
 
static constexpr int maxInputWidth = 24 * mergerWidth
 Max data input width.
 
static constexpr int outputWidth = 429
 Output data width.
 
static constexpr int nTrackers = 429
 Number of trackers.
 

Protected Attributes

std::string simengine_libname = "librdi_simulator_kernel.so"
 string of simengine libname
 
std::string design_libname
 string of design libname
 
std::string wdbName
 string of wdb name
 
Xsi::Loader loader
 Xsi Loader of Xilinx software.
 
s_xsi_setup_info info
 s_xsi_setup_info of Xilinx software
 
int clk = 0
 clock signal port handle
 
int inPort = 0
 input signal port handle
 
int outPort = 0
 output signal port handle
 
int enableIn = 0
 input enable port handle
 
int enableOutTracker = 0
 output enable port handle
 
int enableOutEVT = 0
 output enable port handle
 
int nMergers
 Number of Mergers.
 
int inputWidth
 input data width
 
std::array< char, maxInputWidthinputToTSF
 array of input data to TSF
 
std::array< char, outputWidth *4 > outputToTracker
 array of output data to tracker
 
char outputArray [429] = {}
 output array
 

Detailed Description

a class for CDCTRG TSF firmware worker

Definition at line 37 of file CDCTriggerTSFFirmwareWorker.cc.


The documentation for this class was generated from the following file: