[core] fixed a corner case where spine usage should be updated after each switch point connection

This commit is contained in:
tangxifan 2024-08-15 20:12:31 -07:00
parent 05ef972911
commit 4b54e6fad1
1 changed files with 3 additions and 0 deletions

View File

@ -411,6 +411,9 @@ static int rec_expand_and_route_clock_spine(
return CMD_EXEC_FATAL_ERROR;
}
}
if (curr_stop_usage) {
curr_spine_usage = true;
}
if (disable_unused_spines && !curr_stop_usage && !prev_stop_usage) {
VTR_LOGV(verbose,
"Disconnect backbone of spine '%s' at (x=%lu, y=%lu) as "