diff --git a/tt_metal/llrt/tt_memory.cpp b/tt_metal/llrt/tt_memory.cpp index fe6ca582c67..97c6451b19a 100644 --- a/tt_metal/llrt/tt_memory.cpp +++ b/tt_metal/llrt/tt_memory.cpp @@ -110,7 +110,7 @@ void memory::pack_data_into_text(std::uint64_t text_start, std::uint64_t data_st // Copy text spans. May start after data span (ncrisc) for (const auto& span : this->link_spans_) { if (span.addr >= text_start && span.addr < text_end) { - if (first_text) abort(); + if (!first_text) abort(); if (first_text) { new_span.addr = span.addr; first_text = false;