pflib
v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
lpgbt_mezz_tester.h
1
#ifndef LPGBT_MEZZ_TESTER_H_INCLUDED
2
#define LPGBT_MEZZ_TESTER_H_INCLUDED
3
4
#include <vector>
5
6
#include "pflib/zcu/UIO.h"
7
8
class
LPGBT_Mezz_Tester
{
9
public
:
10
LPGBT_Mezz_Tester
(
const
std::string
& tname);
11
~LPGBT_Mezz_Tester
();
12
13
std::vector<float>
clock_rates();
14
15
void
get_mode(
bool
& addr,
bool
& mode1);
16
void
set_mode(
bool
addr,
bool
mode1);
17
void
reset_lpGBT();
18
19
void
set_prbs_len_ms(
int
len);
20
void
set_phase(
int
phase,
int
ilink = -1);
21
int
get_phase(
int
ilink = -1);
22
void
set_uplink_pattern(
int
ilink,
int
pattern);
23
std::vector<uint32_t>
ber_rx();
24
std::vector<uint32_t>
ber_tx();
25
26
std::vector<uint32_t>
capture(
int
ilink,
bool
is_rx =
false
);
27
28
pflib::UIO
& coder() {
return
opto_; }
29
30
private
:
31
pflib::UIO
opto_;
32
pflib::UIO
* wired_;
33
};
34
35
#endif
// LPGBT_MEZZ_TESTER_H_INCLUDED
std::string
LPGBT_Mezz_Tester
Definition
lpgbt_mezz_tester.h:8
pflib::UIO
Definition
UIO.h:15
std::vector
app
lpgbt
lpgbt_mezz_tester.h
Generated by
1.12.0