proper place for assignArchInfo

This commit is contained in:
Miodrag Milanovic 2025-08-13 10:51:55 +02:00
parent b14b27d082
commit 3b3361a848
1 changed files with 6 additions and 4 deletions

View File

@ -223,19 +223,21 @@ bool GateMateImpl::getClusterPlacement(ClusterId cluster, BelId root_bel,
void GateMateImpl::prePlace() { assign_cell_info(); } void GateMateImpl::prePlace() { assign_cell_info(); }
void GateMateImpl::postPlace() { repack(); } void GateMateImpl::postPlace()
{
repack();
ctx->assignArchInfo();
}
void GateMateImpl::preRoute() void GateMateImpl::preRoute()
{ {
ctx->assignArchInfo();
route_mult(); route_mult();
route_clock(); route_clock();
ctx->assignArchInfo();
} }
void GateMateImpl::postRoute() void GateMateImpl::postRoute()
{ {
ctx->assignArchInfo();
const ArchArgs &args = ctx->args; const ArchArgs &args = ctx->args;
if (args.options.count("out")) { if (args.options.count("out")) {
write_bitstream(args.device, args.options.at("out")); write_bitstream(args.device, args.options.at("out"));