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 start{false};
22  bool end{false};
23  };
24 
25 } // namespace l1t::demo
26 
27 #endif
Definition: start.py:1
bool valid
Definition: Frame.h:19
ap_uint< 64 > data
Definition: Frame.h:18
bool strobe
Definition: Frame.h:20
unsigned long long uint64_t
Definition: Time.h:13