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
Commits
8da6b9aa
Commit
8da6b9aa
authored
4 years ago
by
Thomas Juerges
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-260
: Update SDP CPs and MPs to math the XLTR
This has been sync'ed with SDP XLTR version 2021-05-03T09.15.23_sdptr.
parent
2af22e10
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!62
L2SS-260: Update SDP CPs and MPs to math the XLTR
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
devices/SDP.py
+36
-28
36 additions, 28 deletions
devices/SDP.py
with
36 additions
and
28 deletions
devices/SDP.py
+
36
−
28
View file @
8da6b9aa
...
@@ -69,45 +69,53 @@ class SDP(hardware_device):
...
@@ -69,45 +69,53 @@ class SDP(hardware_device):
version_R
=
attribute
(
dtype
=
str
,
access
=
AttrWriteType
.
READ
,
fget
=
lambda
self
:
get_version
())
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
# 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_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_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_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_enable_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_enable_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_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_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_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_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_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_sdp_info_station_id_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_station_id_R
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,))
FPGA_sst_offload_selector_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_selector_R
"
],
datatype
=
numpy
.
bool_
,
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_sst_offload_selector_RW
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sst_offload_selector_RW
"
],
datatype
=
numpy
.
bool_
,
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_status_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_status_R
"
],
datatype
=
numpy
.
bool_
,
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_temp_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_temp_R
"
],
datatype
=
numpy
.
float_
,
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
.
uint16
,
dims
=
(
16
,))
FPGA_version_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_version_R
"
],
datatype
=
numpy
.
str_
,
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_weights_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_weights_R
"
],
datatype
=
numpy
.
int16
,
dims
=
(
16
,
12
*
488
*
2
))
FPGA_sdp_info_beamlet_scale_R
=
attribute_wrapper
(
comms_annotation
=
[
"
2:FPGA_sdp_info_beamlet_scale_R
"
],
datatype
=
numpy
.
uint16
,
dims
=
(
16
,))
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_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_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_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
)
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
):
def
always_executed_hook
(
self
):
"""
Method always executed before any TANGO command is executed.
"""
"""
Method always executed before any TANGO command is executed.
"""
pass
pass
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment