Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Merge requests
!62
L2SS-260
: Update SDP CPs and MPs to math the XLTR
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
L2SS-260
: Update SDP CPs and MPs to math the XLTR
L2SS-260-Update_SDP_MP_and_CP_names
into
master
Overview
1
Commits
1
Pipelines
0
Changes
1
Merged
Thomas Juerges
requested to merge
L2SS-260-Update_SDP_MP_and_CP_names
into
master
4 years ago
Overview
1
Commits
1
Pipelines
0
Changes
1
This has been sync'ed with SDP XLTR version 2021-05-03T09.15.23_sdptr.
Closes
L2SS-260
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
8da6b9aa
1 commit,
4 years ago
1 file
+
36
−
28
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
devices/SDP.py
+
36
−
28
View file @ 8da6b9aa
Edit in single-file editor
Open in Web IDE
Show full file
@@ -69,45 +69,53 @@ class SDP(hardware_device):
version_R
=
attribute
(
dtype
=
str
,
access
=
AttrWriteType
.
READ
,
fget
=
lambda
self
:
get_version
())
# SDP will switch from FPGA_mask_RW to TR_FPGA_mask_RW, offer both for now as its a critical flag
TR_FPGA_mask_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:TR_FPGA_mask_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_firmware_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_firmware_version_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
FPGA_hardware_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_hardware_version_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
FPGA_mask_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_mask_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,))
FPGA_mask_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_mask_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_scrap_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_scrap_R
"
],
datatype
=
numpy
.
int32
,
dims
=
(
2048
,))
FPGA_scrap_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_scrap_RW
"
],
datatype
=
numpy
.
int32
,
dims
=
(
2048
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_status_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_status_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,))
FPGA_temp_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_temp_R
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,))
FPGA_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_version_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
FPGA_weights_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_weights_R
"
],
datatype
=
numpy
.
int16
,
dims
=
(
16
,
12
*
488
*
2
))
FPGA_weights_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_weights_RW
"
],
datatype
=
numpy
.
int16
,
dims
=
(
16
,
12
*
488
*
2
),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_processing_enable_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_processing_enable_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_processing_enable_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_processing_enable_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,))
FPGA_sst_offload_enable_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_enable_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_processing_enable_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_processing_enable_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_scrap_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_scrap_R
"
],
datatype
=
numpy
.
int32
,
dims
=
(
8192
,))
FPGA_scrap_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_scrap_RW
"
],
datatype
=
numpy
.
int32
,
dims
=
(
8192
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sdp_info_antenna_band_index_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_antenna_band_index_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_block_period_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_block_period_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_f_adc_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_f_adc_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_f_sub_type_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_f_sub_type_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_nyquist_sampling_zone_index_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_nyquist_sampling_zone_index_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_nyquist_sampling_zone_index_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_nyquist_sampling_zone_index_RW
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sdp_info_observation_id_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_observation_id_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_observation_id_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_observation_id_RW
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sdp_info_station_id_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_station_id_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_station_id_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_station_id_RW
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_enable_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_enable_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,))
FPGA_sst_offload_selector_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_selector_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_selector_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_selector_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,))
FPGA_sst_offload_hdr_eth_destination_mac_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_eth_destination_mac_RW
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_enable_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_enable_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_hdr_eth_destination_mac_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_eth_destination_mac_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
FPGA_sst_offload_hdr_
ip
_destination_
address
_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_
ip
_destination_
address
_RW
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_hdr_
eth
_destination_
mac
_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_
eth
_destination_
mac
_RW
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_hdr_ip_destination_address_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_ip_destination_address_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
FPGA_sst_offload_hdr_
ud
p_destination_
port
_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_
ud
p_destination_
port
_RW
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_hdr_
i
p_destination_
address
_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_
i
p_destination_
address
_RW
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_hdr_udp_destination_port_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_udp_destination_port_R
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,))
FPGA_sdp_info_station_id_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_station_id_RW
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sdp_info_station_id_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_station_id_R
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,))
FPGA_sdp_info_observation_id_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_observation_id_RW
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sdp_info_observation_id_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_observation_id_R
"
],
datatype
=
numpy
.
uint32
,
dims
=
(
16
,))
FPGA_sdp_info_nyquist_sampling_zone_index_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_nyquist_sampling_zone_index_RW
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sdp_info_nyquist_sampling_zone_index_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_nyquist_sampling_zone_index_R
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,))
FPGA_sdp_info_subband_calibrated_flag_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_subband_calibrated_flag_R
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,))
FPGA_sdp_info_beamlet_scale_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_beamlet_scale_R
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,))
FPGA_sst_offload_hdr_udp_destination_port_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_hdr_udp_destination_port_RW
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_sst_offload_selector_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_selector_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,))
FPGA_sst_offload_selector_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_selector_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_status_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_status_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,))
FPGA_temp_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_temp_R
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,))
FPGA_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_version_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
FPGA_weights_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_weights_R
"
],
datatype
=
numpy
.
int16
,
dims
=
(
16
,
12
*
488
*
2
))
FPGA_weights_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_weights_RW
"
],
datatype
=
numpy
.
int16
,
dims
=
(
16
,
12
*
488
*
2
),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_wg_amplitude_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_amplitude_R
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,
12
))
FPGA_wg_amplitude_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_amplitude_RW
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,
12
),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_wg_enable_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_enable_R
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,
12
))
FPGA_wg_enable_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_enable_RW
"
],
datatype
=
numpy
.
bool_
,
dims
=
(
16
,
12
),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_wg_frequency_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_frequency_R
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,
12
))
FPGA_wg_frequency_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_frequency_RW
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,
12
),
access
=
AttrWriteType
.
READ_WRITE
)
FPGA_wg_phase_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_phase_R
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,
12
))
FPGA_wg_phase_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_wg_phase_R
"
],
datatype
=
numpy
.
float_
,
dims
=
(
16
,
12
),
access
=
AttrWriteType
.
READ_WRITE
)
TR_busy_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:TR_busy_R
"
],
datatype
=
numpy
.
bool_
)
TR_reload_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:TR_reload_RW
"
],
datatype
=
numpy
.
bool_
,
access
=
AttrWriteType
.
READ_WRITE
)
TR_software_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:TR_software_version_R
"
],
datatype
=
numpy
.
str_
)
TR_tod_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:TR_tod_R
"
],
datatype
=
numpy
.
uint64
)
TR_uptime_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:TR_uptime_R
"
],
datatype
=
numpy
.
uint64
)
FPGA_firmware_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_firmware_version_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
FPGA_hardware_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_hardware_version_R
"
],
datatype
=
numpy
.
str_
,
dims
=
(
16
,))
TR_software_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:TR_software_version_R
"
],
datatype
=
numpy
.
str_
)
def
always_executed_hook
(
self
):
"""
Method always executed before any TANGO command is executed.
"""
pass
Loading