From bde490c81819778f7f1c029fed8208e5db7335a0 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 25 Sep 2024 10:25:41 +0100 Subject: [PATCH] n_ethernet_connected_chips --- spinn_machine/machine.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spinn_machine/machine.py b/spinn_machine/machine.py index 081c497d..fa422fcf 100644 --- a/spinn_machine/machine.py +++ b/spinn_machine/machine.py @@ -717,6 +717,13 @@ def ethernet_connected_chips(self) -> Sequence[Chip]: """ return self._ethernet_connected_chips + @property + def n_ethernet_connected_chips(self) -> int: + """ + The number of ethernet conencted chips in the machine. + """ + return len(self._ethernet_connected_chips) + @property def spinnaker_links(self) -> Iterator[ Tuple[_SpinLinkKey, SpinnakerLinkData]]: