DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::ctbmodules::content::word::word_t Struct Reference

#include <CTBPacketContent.hpp>

Public Types

typedef uint64_t ts_size_t
 
typedef uint64_t pad_size_t
 
typedef uint64_t word_type_t
 

Public Attributes

ts_size_t timestamp
 
pad_size_t payload: 61
 
word_type_t word_type: 3
 

Static Public Attributes

static size_t const size_bytes = 4*sizeof(uint32_t)
 
static size_t const size_u32 = 4*sizeof(uint32_t)/sizeof(uint32_t)
 
static size_t const n_bits_timestamp = 64
 
static size_t const n_bits_payload = 61
 
static size_t const n_bits_type = 3
 

Detailed Description

N. Barros - May 7, 2018 : Changed the structure of the parsing

Now all structures cast into 16 bytes, but declare different bit fields to interpret each frame in the context of its respective type

Also, to move into a format where the full timestamp is stored, the full timestamp is now placed in the 64 lsb, instead of the msb. Does complies with the memory alignment and simplifies the parsing of the structures

Definition at line 76 of file CTBPacketContent.hpp.

Member Typedef Documentation

◆ pad_size_t

◆ ts_size_t

◆ word_type_t

Member Data Documentation

◆ n_bits_payload

size_t const dunedaq::ctbmodules::content::word::word_t::n_bits_payload = 61
static

Definition at line 86 of file CTBPacketContent.hpp.

◆ n_bits_timestamp

size_t const dunedaq::ctbmodules::content::word::word_t::n_bits_timestamp = 64
static

Definition at line 85 of file CTBPacketContent.hpp.

◆ n_bits_type

size_t const dunedaq::ctbmodules::content::word::word_t::n_bits_type = 3
static

Definition at line 87 of file CTBPacketContent.hpp.

◆ payload

pad_size_t dunedaq::ctbmodules::content::word::word_t::payload

Definition at line 81 of file CTBPacketContent.hpp.

◆ size_bytes

size_t const dunedaq::ctbmodules::content::word::word_t::size_bytes = 4*sizeof(uint32_t)
static

Definition at line 83 of file CTBPacketContent.hpp.

◆ size_u32

size_t const dunedaq::ctbmodules::content::word::word_t::size_u32 = 4*sizeof(uint32_t)/sizeof(uint32_t)
static

Definition at line 84 of file CTBPacketContent.hpp.

◆ timestamp

ts_size_t dunedaq::ctbmodules::content::word::word_t::timestamp

Definition at line 80 of file CTBPacketContent.hpp.

◆ word_type

word_type_t dunedaq::ctbmodules::content::word::word_t::word_type

Definition at line 82 of file CTBPacketContent.hpp.


The documentation for this struct was generated from the following file: