Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress Wormhole devices from table of resettable devices on Arm #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tt_smi/tt_smi_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from tt_tools_common.reset_common.galaxy_reset import GalaxyReset
from tt_tools_common.utils_common.system_utils import (
get_host_info,
system_compatibility,
)
from tt_tools_common.utils_common.tools_utils import (
get_board_type,
Expand Down Expand Up @@ -146,6 +147,7 @@ def print_all_available_devices(self):
f"{board_id}",
)
console.print(table_1)
sys_compat = system_compatibility()
table_2 = Table(title="Boards that can be reset:")
table_2.add_column("Pci Dev ID")
table_2.add_column("Board Type")
Expand All @@ -154,6 +156,7 @@ def print_all_available_devices(self):
for i, device in enumerate(self.devices):
if (
not device.is_remote()
and not (device.as_wh() and not sys_compat["WH Reset"][0])
and self.device_infos[i]["board_type"] != "GALAXY"
):
board_id = self.device_infos[i]["board_id"]
Expand Down