Skip to content

Commit

Permalink
fix opposite check
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Dec 17, 2024
1 parent aa2fc1e commit 29b905a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ void Cluster::configure_tlb(
tlb_config_map.insert({logical_device_id, {}});
map_core_to_tlb_per_chip.insert({logical_device_id, {}});
}
log_assert(tlb_config_map.find(tlb_index) == tlb_config_map.end(), "TLB index already configured {}", tlb_index);
log_assert(tlb_config_map.find(tlb_index) != tlb_config_map.end(), "TLB index already configured {}", tlb_index);

TTDevice* tt_device = get_tt_device(logical_device_id);
tt_device->set_dynamic_tlb(tlb_index, core, address, harvested_coord_translation.at(logical_device_id), ordering);
Expand Down

0 comments on commit 29b905a

Please sign in to comment.