CMS 3D CMS Logo

Frame.h
Go to the documentation of this file.
1 
2 #ifndef L1Trigger_DemonstratorTools_Frame_h
3 #define L1Trigger_DemonstratorTools_Frame_h
4 
5 #include <cstdint>
6 
7 #include "ap_int.h"
8 
9 namespace l1t::demo {
10 
11  struct Frame {
12  Frame() = default;
13 
14  Frame(const uint64_t);
15 
16  Frame(const ap_uint<64>&);
17 
18  ap_uint<64> data{0};
19  bool valid{false};
20  bool strobe{true};
21  bool startOfOrbit{false};
22  bool startOfPacket{false};
23  bool endOfPacket{false};
24  };
25 
26 } // namespace l1t::demo
27 
28 #endif
bool valid
Definition: Frame.h:19
ap_uint< 64 > data
Definition: Frame.h:18
bool startOfOrbit
Definition: Frame.h:21
bool strobe
Definition: Frame.h:20
unsigned long long uint64_t
Definition: Time.h:13
bool startOfPacket
Definition: Frame.h:22
bool endOfPacket
Definition: Frame.h:23