Skip to content

Commit

Permalink
n_ethernet_connected_chips
Browse files Browse the repository at this point in the history
Christian-B committed Sep 25, 2024
1 parent 6fe4968 commit bde490c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spinn_machine/machine.py
Original file line number Diff line number Diff line change
@@ -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]]:

0 comments on commit bde490c

Please sign in to comment.