Skip to content

Commit

Permalink
#6659: remove dead code
Browse files Browse the repository at this point in the history
Confirmed that commented out L1 clear is zeroing out erisc base FW, leading to hangs
  • Loading branch information
aliuTT committed Nov 25, 2024
1 parent 42b6de6 commit 69870bd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tt_metal/impl/device/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,13 +759,6 @@ void Device::clear_l1_state() {
zero_vec_above_tile_header_buffer,
eth_l1_mem::address_map::TILE_HEADER_BUFFER_BASE);

/* TODO: removing this section of code fixes the n300 hangs, what's the proper fix?
std::vector<uint32_t> zero_vec_below_command_q_base(
(eth_l1_mem::address_map::COMMAND_Q_BASE - eth_l1_mem::address_map::FIRMWARE_BASE) / sizeof(uint32_t), 0);
llrt::write_hex_vec_to_core(
this->id(), physical_core, zero_vec_below_command_q_base, eth_l1_mem::address_map::FIRMWARE_BASE);
*/
}
// TODO: clear idle eriscs as well
}
Expand Down

0 comments on commit 69870bd

Please sign in to comment.