Merge pull request #1802 from lnis-uofu/xt_pbfixup

[core] fixed a corner case where spine usage should be updated after …
This commit is contained in:
tangxifan 2024-08-15 21:50:43 -07:00 committed by GitHub
commit bcf9f25104
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 "