diff --git a/src/dbSta/src/dbReadVerilog.cc b/src/dbSta/src/dbReadVerilog.cc index e0d7e31c612..7f86c3f5267 100644 --- a/src/dbSta/src/dbReadVerilog.cc +++ b/src/dbSta/src/dbReadVerilog.cc @@ -39,6 +39,7 @@ #include #include "db_sta/dbNetwork.hh" +#include "db_sta/dbSta.hh" #include "odb/db.h" #include "ord/OpenRoad.hh" #include "sta/ConcreteNetwork.hh" @@ -111,7 +112,8 @@ dbVerilogNetwork* makeDbVerilogNetwork() void initDbVerilogNetwork(ord::OpenRoad* openroad) { - openroad->getVerilogNetwork()->init(openroad->getDbNetwork()); + sta::dbSta* sta = openroad->getSta(); + openroad->getVerilogNetwork()->init(sta->getDbNetwork()); } void deleteDbVerilogNetwork(dbVerilogNetwork* verilog_network)