Skip to content
Snippets Groups Projects
Commit 27841faa authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-370: Configure the masks to be set first, and the SST offload enable only...

L2SS-370: Configure the masks to be set first, and the SST offload enable only when the header is configured correctly.
parent a3c64080
No related branches found
No related tags found
1 merge request!115L2SS-370: Set some default properties first
...@@ -68,11 +68,30 @@ class PCC(hardware_device): ...@@ -68,11 +68,30 @@ class PCC(hardware_device):
dtype='DevDouble', dtype='DevDouble',
mandatory=True mandatory=True
) )
OPC_namespace = device_property( OPC_namespace = device_property(
dtype='DevString', dtype='DevString',
mandatory=False mandatory=False
) )
Ant_mask_RW_default = device_property(
dtype='DevVarBooleanArray',
mandatory=False,
default_value=[[True] * 3] * 32
)
RCU_mask_RW_default = device_property(
dtype='DevVarBooleanArray',
mandatory=False,
default_value=[True] * 32
)
first_default_settings = [
# set the masks first, as those filter any subsequent settings
'Ant_mask_RW',
'RCU_mask_RW'
]
# ---------- # ----------
# Attributes # Attributes
# ---------- # ----------
......
...@@ -69,6 +69,12 @@ class SDP(hardware_device): ...@@ -69,6 +69,12 @@ class SDP(hardware_device):
mandatory=True mandatory=True
) )
TR_fpga_mask_RW_default = device_property(
dtype='DevVarBooleanArray',
mandatory=False,
default_value=[True] * 16
)
FPGA_processing_enable_RW_default = device_property( FPGA_processing_enable_RW_default = device_property(
dtype='DevVarBooleanArray', dtype='DevVarBooleanArray',
mandatory=False, mandatory=False,
...@@ -86,6 +92,11 @@ class SDP(hardware_device): ...@@ -86,6 +92,11 @@ class SDP(hardware_device):
mandatory=True mandatory=True
) )
first_default_settings = [
# set the masks first, as those filter any subsequent settings
'TR_fpga_mask_RW'
]
# ---------- # ----------
# Attributes # Attributes
# ---------- # ----------
......
...@@ -63,6 +63,21 @@ class SST(Statistics): ...@@ -63,6 +63,21 @@ class SST(Statistics):
mandatory=True mandatory=True
) )
FPGA_sst_offload_enable_RW_default = device_property(
dtype='DevVarBooleanArray',
mandatory=False,
default_value=[True] * 16
)
first_default_settings = [
'FPGA_sst_offload_hdr_eth_destination_mac_RW',
'FPGA_sst_offload_hdr_ip_destination_address_RW',
'FPGA_sst_offload_hdr_udp_destination_port_RW',
# enable only after the offloading is configured correctly
'FPGA_sst_offload_enable_RW'
]
# ---------- # ----------
# Attributes # Attributes
# ---------- # ----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment