tdl-xoa-driver 1.1.0__py3-none-any.whl → 1.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tdl_xoa_driver-1.1.0.dist-info → tdl_xoa_driver-1.2.0.dist-info}/METADATA +5 -123
- {tdl_xoa_driver-1.1.0.dist-info → tdl_xoa_driver-1.2.0.dist-info}/RECORD +21 -21
- {tdl_xoa_driver-1.1.0.dist-info → tdl_xoa_driver-1.2.0.dist-info}/WHEEL +1 -1
- xoa_driver/__init__.py +2 -2
- xoa_driver/functions/anlt.py +0 -30
- xoa_driver/functions/headers.py +312 -11
- xoa_driver/functions/mgmt.py +32 -86
- xoa_driver/functions/tools.py +13 -1
- xoa_driver/internals/commands/c_commands.py +26 -0
- xoa_driver/internals/commands/enums.py +8 -29
- xoa_driver/internals/commands/m_commands.py +0 -4
- xoa_driver/internals/commands/p_commands.py +30 -3
- xoa_driver/internals/commands/pl1_commands.py +96 -71
- xoa_driver/internals/commands/pr_commands.py +0 -8
- xoa_driver/internals/commands/ps_commands.py +0 -2
- xoa_driver/internals/commands/pt_commands.py +0 -6
- xoa_driver/internals/hli_v1/ports/port_l23/bases/port_l23.py +7 -0
- xoa_driver/internals/hli_v1/ports/port_l23/freya_l1.py +14 -0
- xoa_driver/internals/hli_v1/testers/_base_tester.py +7 -0
- {tdl_xoa_driver-1.1.0.dist-info → tdl_xoa_driver-1.2.0.dist-info/licenses}/LICENSE +0 -0
- {tdl_xoa_driver-1.1.0.dist-info → tdl_xoa_driver-1.2.0.dist-info}/top_level.txt +0 -0
|
@@ -41,6 +41,8 @@ from xoa_driver.internals.commands import (
|
|
|
41
41
|
PL1_PRESET_CONFIG_LEVEL,
|
|
42
42
|
PL1_PRESET_RESET,
|
|
43
43
|
PP_PRBSTYPE,
|
|
44
|
+
PL1_PNSWAP_RX,
|
|
45
|
+
PL1_PNSWAP_TX,
|
|
44
46
|
)
|
|
45
47
|
from .pcs_pma_ghijkl import (
|
|
46
48
|
Prbs,
|
|
@@ -63,6 +65,18 @@ class FreyaPMA:
|
|
|
63
65
|
:type: PP_GRAYCODING
|
|
64
66
|
"""
|
|
65
67
|
|
|
68
|
+
self.pn_swap_rx = PL1_PNSWAP_RX(conn, module_id, port_id, serdes_xindex)
|
|
69
|
+
"""GET/SET PN-Swap RX Configurations. (only for Freya)
|
|
70
|
+
|
|
71
|
+
:type: PL1_PNSWAP_RX
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self.pn_swap_tx = PL1_PNSWAP_TX(conn, module_id, port_id, serdes_xindex)
|
|
75
|
+
"""GET/SET PN-Swap TX Configurations. (only for Freya)
|
|
76
|
+
|
|
77
|
+
:type: PL1_PNSWAP_TX
|
|
78
|
+
"""
|
|
79
|
+
|
|
66
80
|
class FreyaSIV:
|
|
67
81
|
"""Freya Signal Integrity View"""
|
|
68
82
|
|
|
@@ -29,6 +29,7 @@ from xoa_driver.internals.commands import (
|
|
|
29
29
|
C_FLASH,
|
|
30
30
|
C_MODEL_NAME,
|
|
31
31
|
C_MODEL_NUMBER,
|
|
32
|
+
C_USED_TPLDID,
|
|
32
33
|
)
|
|
33
34
|
from xoa_driver.internals.core.funcs import establish_connection
|
|
34
35
|
from xoa_driver.internals.core.transporter.handler import TransportationHandler
|
|
@@ -173,6 +174,12 @@ class BaseTester(ABC, Generic[TesterStateStorage]):
|
|
|
173
174
|
:type: C_FLASH
|
|
174
175
|
"""
|
|
175
176
|
|
|
177
|
+
self.used_tpld_ids = C_USED_TPLDID(self._conn)
|
|
178
|
+
"""Tester's used TPLD IDs.
|
|
179
|
+
|
|
180
|
+
:type: C_USED_TPLDID
|
|
181
|
+
"""
|
|
182
|
+
|
|
176
183
|
async def __aenter__(self: Awaitable[T]) -> T:
|
|
177
184
|
return await self
|
|
178
185
|
|
|
File without changes
|
|
File without changes
|