[core] fixed a bug where some spine was wrongly disabled

This commit is contained in:
tangxifan 2024-08-15 14:10:34 -07:00
parent 9ad5f6b08e
commit c7da894eaf
1 changed files with 1 additions and 0 deletions

View File

@ -370,6 +370,7 @@ static int rec_expand_and_route_clock_spine(
*/
bool prev_stop_usage = false;
if (clk_ntwk.is_last_level(curr_spine)) {
curr_spine_usage = curr_tap_usage;
prev_stop_usage = curr_tap_usage;
}
std::reverse(spine_coords.begin(), spine_coords.end());