DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Class for timing master with integrated HSI designs. More...
#include <BoreasDesign.hpp>
Public Member Functions | |
BoreasDesign (const uhal::Node &node) | |
virtual | ~BoreasDesign () |
std::string | get_status (bool print_out=false) const override |
Get status string, optionally print. | |
void | configure (ClockSource clock_source, TimestampSource ts_source) const override |
Prepare the timing master for data taking. | |
void | get_info (timingfirmwareinfo::TimingDeviceInfo &mon_data) const override |
Give info to collector. | |
![]() | |
MasterDesign (const uhal::Node &node) | |
virtual | ~MasterDesign () |
std::string | get_status (bool print_out=false) const override |
Get status string, optionally print. | |
void | configure (ClockSource clock_source, TimestampSource ts_source) const override |
Prepare the timing master for data taking. | |
uint64_t | read_master_timestamp () const override |
Read the current timestamp. | |
void | sync_timestamp (TimestampSource source) const override |
Sync timestamp to current machine value. | |
uint32_t | measure_endpoint_rtt (uint32_t address, bool control_sfp=true, int sfp_mux=-1) const override |
Measure the endpoint round trip time. | |
void | apply_endpoint_delay (uint32_t address, uint32_t coarse_delay, uint32_t fine_delay, uint32_t phase_delay, bool measure_rtt=false, bool control_sfp=true, int sfp_mux=-1) const override |
Apply delay to endpoint. | |
void | enable_periodic_fl_cmd (uint32_t channel, double rate, bool poisson=false) const override |
Configure fake trigger generator. | |
void | enable_periodic_fl_cmd (uint32_t command, uint32_t channel, double rate, bool poisson=false) const override |
Configure fake trigger generator. | |
const MasterNodeInterface * | get_master_node_plain () const override |
Get master node pointer. | |
uint32_t | read_firmware_version () const override |
Read master firmware version. | |
void | validate_firmware_version () const override |
Validate master firmware version. | |
void | get_info (timingfirmwareinfo::TimingDeviceInfo &mon_data) const override |
Give info to collector. | |
void | get_info (timingfirmwareinfo::MasterMonitorData &mon_data) const override |
Give info to collector. | |
![]() | |
TopDesign (const uhal::Node &node) | |
virtual | ~TopDesign () |
const IONode * | get_io_node_plain () const override |
Get io node pointer. | |
void | soft_reset_io () const override |
Reset timing node. | |
void | reset_io (const std::string &clock_config_file) const override |
Reset timing node. | |
void | reset_io (const ClockSource &clock_source) const override |
Reset timing node. | |
void | configure (ClockSource clock_source) const override |
Prepare the timing device for data taking. | |
std::string | get_hardware_info (bool print_out=false) const override |
Print hardware information. | |
void | get_info (timingfirmwareinfo::TimingDeviceInfo &mon_data) const override |
Give info to collector. | |
![]() | |
TopDesignInterface (const uhal::Node &node) | |
virtual | ~TopDesignInterface () |
template<class IO > | |
const IO * | get_io_node () const |
![]() | |
TimingNode (const uhal::Node &node) | |
virtual | ~TimingNode () |
std::map< std::string, uhal::ValWord< uint32_t > > | read_sub_nodes (const uhal::Node &node, bool dispatch=true) const |
Read subnodes. | |
void | reset_sub_nodes (const uhal::Node &node, uint32_t aValue=0x0, bool dispatch=true) const |
Reset subnodes. | |
![]() | |
MasterDesignInterface (const uhal::Node &node) | |
virtual | ~MasterDesignInterface () |
template<class MST > | |
const MST * | get_master_node () const |
virtual void | get_info (timingfirmwareinfo::TimingDeviceInfo &mon_data) const=0 |
Give info to collector. | |
![]() | |
HSIDesignInterface (const uhal::Node &node) | |
virtual | ~HSIDesignInterface () |
virtual const HSINode & | get_hsi_node () const |
Get the HSI node. | |
virtual void | configure_hsi (uint32_t src, uint32_t re_mask, uint32_t fe_mask, uint32_t inv_mask, double rate, bool dispatch=true) const |
Configure the HSI node. | |
void | get_info (timingfirmwareinfo::TimingDeviceInfo &mon_data) const override |
Give info to collector. | |
virtual void | get_info (timingfirmwareinfo::HSIFirmwareMonitorData &mon_data) const |
Give info to collector. | |
virtual void | get_info (uint32_t ept_id, timingendpointinfo::TimingEndpointInfo &mon_data) const |
Give info to collector. | |
![]() | |
EndpointDesignInterface (const uhal::Node &node) | |
virtual | ~EndpointDesignInterface () |
virtual const EndpointNodeInterface * | get_endpoint_node_plain (uint32_t ept_id) const |
Return the timing endpoint node. | |
virtual uint32_t | get_number_of_endpoint_nodes () const |
Return the timing endpoint node. | |
Class for timing master with integrated HSI designs.
Definition at line 34 of file BoreasDesign.hpp.
|
explicit |
Definition at line 19 of file BoreasDesign.cpp.
|
virtual |
Definition at line 29 of file BoreasDesign.cpp.
|
overridevirtual |
Prepare the timing master for data taking.
Implements dunedaq::timing::MasterDesignInterface.
Definition at line 50 of file BoreasDesign.cpp.
|
overridevirtual |
Give info to collector.
Implements dunedaq::timing::TopDesignInterface.
Definition at line 61 of file BoreasDesign.cpp.
|
overridevirtual |
Get status string, optionally print.
Implements dunedaq::timing::TimingNode.
Definition at line 35 of file BoreasDesign.cpp.