Skip to content
Snippets Groups Projects
Commit f1483fe7 authored by Pieter Donker's avatar Pieter Donker
Browse files

L2SDP-365, add jesd monitor points, working version.

parent 6cc4f4ae
Branches
Tags
1 merge request!14L2 sdp 365
......@@ -68,7 +68,7 @@ Periph_fpga::Periph_fpga(string ipaddr, string expected_design_name, uint expect
my_current_fw_version("-.-"),
my_bsn_input_sync_timeout(false),
my_bsn_input_bsn(0),
my_bsn_input_nof_blocks(0),
my_bsn_input_nof_packets(0),
my_bsn_input_nof_valid(0),
my_bsn_input_nof_err(0),
my_jesd_csr_rbd_count {0},
......@@ -1561,7 +1561,7 @@ bool Periph_fpga::read_bsn_monitor_input_bsn(TermOutput& termout, int format, in
bool Periph_fpga::read_bsn_monitor_input_nof_packets(TermOutput& termout, int format, int mode) {
bool retval = true;
int32_t nof_blocks = my_bsn_input_nof_blocks;
int32_t nof_blocks = my_bsn_input_nof_packets;
if (mode == R_UCP) {
if (my_bsn_input_sync_timeout == true) {
nof_blocks = -1;
......@@ -1578,7 +1578,7 @@ bool Periph_fpga::read_bsn_monitor_input_nof_packets(TermOutput& termout, int fo
*_ptr = nof_blocks;
termout.nof_vals = 1;
termout.datatype = format;
my_bsn_input_nof_blocks = nof_blocks;
my_bsn_input_nof_packets = nof_blocks;
return retval;
}
......
......@@ -58,7 +58,7 @@ private:
bool my_bsn_input_sync_timeout;
int64_t my_bsn_input_bsn;
int32_t my_bsn_input_nof_blocks;
int32_t my_bsn_input_nof_packets;
int32_t my_bsn_input_nof_valid;
int32_t my_bsn_input_nof_err;
......
......@@ -5,10 +5,10 @@
# gn ipaddr expected firmware expected version enabled
# UNB 0
node 0 10.99.2.1 lofar2_unb2b_sdp_station_fsub 2 1
node 1 10.99.2.2 lofar2_unb2b_sdp_station_fsub 2 1
node 2 10.99.2.3 lofar2_unb2b_sdp_station_fsub 2 1
node 3 10.99.2.4 lofar2_unb2b_sdp_station_fsub 2 0
node 0 10.99.2.1 lofar2_unb2b_sdp_station_xsub_one 2 1
node 1 10.99.2.2 lofar2_unb2b_sdp_station_xsub_one 2 1
node 2 10.99.2.3 lofar2_unb2b_sdp_station_xsub_one 2 1
node 3 10.99.2.4 lofar2_unb2b_sdp_station_xsub_one 2 1
# UNB 1
node 4 10.99.2.5 unb2b_minimal 2 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment