Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:38

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 startOfOrbit{false};
0022     bool startOfPacket{false};
0023     bool endOfPacket{false};
0024   };
0025 
0026 }  // namespace l1t::demo
0027 
0028 #endif