Gowin. Fix style.

Use C++ type cast.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2026-01-31 21:45:06 +10:00
parent 761fa912db
commit 1d8a14ca52
1 changed files with 1 additions and 1 deletions

View File

@ -1229,7 +1229,7 @@ struct GowinGlobalRouter
select_cell->addInput(port_name);
RegionPlug *rp = (RegionPlug *)select_cell->pseudo_cell.get();
RegionPlug *rp = dynamic_cast<RegionPlug *>(select_cell->pseudo_cell.get());
rp->port_wires[port_name] = gate.first;
(*connections)[port_name] = gate.second;
++sfx;