@@ -26,7 +26,7 @@ using odb::dbOrientType;
2626
2727static dbOrientType orientMirrorY (const dbOrientType& orient);
2828
29- NetBox::NetBox (dbNet* net, const odb::Rect& box, bool ignore)
29+ NetBox::NetBox (odb:: dbNet* net, const odb::Rect& box, bool ignore)
3030 : net_(net), box_(box), ignore_(ignore)
3131{
3232}
@@ -97,7 +97,7 @@ void OptimizeMirroring::findNetBoxes()
9797{
9898 net_box_map_.clear ();
9999 auto nets = block_->getNets ();
100- for (dbNet* net : nets) {
100+ for (odb:: dbNet* net : nets) {
101101 bool ignore = net->getSigType ().isSupply ()
102102 || net->isSpecial ()
103103 // Reducing HPWL on large nets (like clocks) is irrelevant
@@ -122,7 +122,7 @@ std::vector<odb::dbInst*> OptimizeMirroring::findMirrorCandidates(
122122 // Find inst terms on the boundary of the net boxes.
123123 for (NetBox* net_box : net_boxes) {
124124 if (!net_box->isIgnore ()) {
125- dbNet* net = net_box->getNet ();
125+ odb:: dbNet* net = net_box->getNet ();
126126 const odb::Rect& box = net_box->getBox ();
127127 for (dbITerm* iterm : net->getITerms ()) {
128128 odb::dbInst* inst = iterm->getInst ();
@@ -205,7 +205,7 @@ int64_t OptimizeMirroring::hpwl(odb::dbInst* inst)
205205{
206206 int64_t inst_hpwl = 0 ;
207207 for (dbITerm* iterm : inst->getITerms ()) {
208- dbNet* net = iterm->getNet ();
208+ odb:: dbNet* net = iterm->getNet ();
209209 if (net) {
210210 NetBox& net_box = net_box_map_[net];
211211 if (!net_box.isIgnore ()) {
@@ -219,7 +219,7 @@ int64_t OptimizeMirroring::hpwl(odb::dbInst* inst)
219219void OptimizeMirroring::updateNetBoxes (odb::dbInst* inst)
220220{
221221 for (dbITerm* iterm : inst->getITerms ()) {
222- dbNet* net = iterm->getNet ();
222+ odb:: dbNet* net = iterm->getNet ();
223223 if (net) {
224224 NetBox& net_box = net_box_map_[net];
225225 if (!net_box.isIgnore ()) {
@@ -232,7 +232,7 @@ void OptimizeMirroring::updateNetBoxes(odb::dbInst* inst)
232232void OptimizeMirroring::saveNetBoxes (odb::dbInst* inst)
233233{
234234 for (dbITerm* iterm : inst->getITerms ()) {
235- dbNet* net = iterm->getNet ();
235+ odb:: dbNet* net = iterm->getNet ();
236236 if (net) {
237237 net_box_map_[net].saveBox ();
238238 }
@@ -242,7 +242,7 @@ void OptimizeMirroring::saveNetBoxes(odb::dbInst* inst)
242242void OptimizeMirroring::restoreNetBoxes (odb::dbInst* inst)
243243{
244244 for (dbITerm* iterm : inst->getITerms ()) {
245- dbNet* net = iterm->getNet ();
245+ odb:: dbNet* net = iterm->getNet ();
246246 if (net) {
247247 net_box_map_[net].restoreBox ();
248248 }
0 commit comments