Skip to content

Commit

Permalink
Implement recognizing Blackhole p150c board type (#565)
Browse files Browse the repository at this point in the history
### Issue

Add p150c to be recognizable as board type from upi. Not sure if we have
p150c for testing but to be ready if UMD is tested on p150c board.

### Description

Implement recognizing Blackhole p150c board type

### List of the changes

- Add upi for p150c 
- Add recognizing p150c from cluster descriptor

### Testing

CI

### API Changes
/
  • Loading branch information
pjanevskiTT authored Mar 3, 2025
1 parent 4f8d9ce commit a5b4719
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion device/api/umd/device/types/cluster_descriptor_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ inline BoardType get_board_type_from_board_id(const uint64_t board_id) {
return BoardType::P100;
} else if (upi == 0x43) {
return BoardType::P100;
} else if (upi == 0x40 || upi == 0x41) {
} else if (upi == 0x40 || upi == 0x41 || upi == 0x42) {
return BoardType::P150;
}

Expand Down
4 changes: 3 additions & 1 deletion device/tt_cluster_descriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,9 @@ void tt_ClusterDescriptor::load_chips_from_connectivity_descriptor(YAML::Node &y
board_type = BoardType::N300;
} else if (chip_board_type.second == "p100") {
board_type = BoardType::P100;
} else if (chip_board_type.second == "p150A" || chip_board_type.second == "p150") {
} else if (
chip_board_type.second == "p150" || chip_board_type.second == "p150A" ||
chip_board_type.second == "p150C") {
board_type = BoardType::P150;
} else if (chip_board_type.second == "p300") {
board_type = BoardType::P300;
Expand Down

0 comments on commit a5b4719

Please sign in to comment.