Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-01 23:54:03

0001 
0002 #ifndef L1Trigger_DemonstratorTools_Frame_h
0003 #define L1Trigger_DemonstratorTools_Frame_h
0004 
0005 #include <cstdint>
0006 
0007 #include "ap_int.h"
0008 
0009 namespace l1t::demo {
0010 
0011   struct Frame {
0012     Frame() = default;
0013 
0014     Frame(const uint64_t);
0015 
0016     Frame(const ap_uint<64>&);
0017 
0018     ap_uint<64> data{0};
0019     bool valid{false};
0020     bool strobe{true};
0021     bool start{false};
0022     bool end{false};
0023   };
0024 
0025 }  // namespace l1t::demo
0026 
0027 #endif