@@ -29,13 +29,10 @@ namespace dpl {
2929
3030using utl::Logger;
3131
32- using odb::dbBlock;
3332using odb::dbDatabase;
34- using odb::dbInst;
3533using odb::dbMaster;
3634using odb::dbMasterType;
3735using odb::dbTechLayer;
38- using odb::Point;
3936
4037class Node ;
4138class Group ;
@@ -93,8 +90,8 @@ class Opendp
9390 Opendp (const Opendp&) = delete ;
9491 Opendp& operator =(const Opendp&) = delete ;
9592
96- void legalCellPos (dbInst* db_inst); // call from rsz
97- void initMacrosAndGrid (); // call from rsz
93+ void legalCellPos (odb:: dbInst* db_inst); // call from rsz
94+ void initMacrosAndGrid (); // call from rsz
9895
9996 // legalize/report
10097 // max_displacment is in sites. use zero for defaults.
@@ -105,15 +102,15 @@ class Opendp
105102
106103 void setPaddingGlobal (int left, int right);
107104 void setPadding (dbMaster* master, int left, int right);
108- void setPadding (dbInst* inst, int left, int right);
105+ void setPadding (odb:: dbInst* inst, int left, int right);
109106 void setDebug (std::unique_ptr<dpl::DplObserver>& observer);
110107
111108 // Global padding.
112109 int padGlobalLeft () const ;
113110 int padGlobalRight () const ;
114111 // Find instance/master/global padding value for an instance.
115- int padLeft (dbInst* inst) const ;
116- int padRight (dbInst* inst) const ;
112+ int padLeft (odb:: dbInst* inst) const ;
113+ int padRight (odb:: dbInst* inst) const ;
117114
118115 void checkPlacement (bool verbose, const std::string& report_file_name = " " );
119116 void fillerPlacement (const dbMasterSeq& filler_masters,
@@ -127,10 +124,11 @@ class Opendp
127124 void insertDecapCells (double target, IRDropByPoint& psm_ir_drops);
128125
129126 // Get the instance adjacent to the left or right of a given instance
130- dbInst* getAdjacentInstance (dbInst* inst, bool left) const ;
127+ odb:: dbInst* getAdjacentInstance (odb:: dbInst* inst, bool left) const ;
131128
132129 // Find a cluster of instances that are touching each other
133- std::vector<dbInst*> getAdjacentInstancesCluster (dbInst* inst) const ;
130+ std::vector<odb::dbInst*> getAdjacentInstancesCluster (
131+ odb::dbInst* inst) const ;
134132 Padding* getPadding () { return padding_.get (); }
135133 void improvePlacement (int seed,
136134 int max_displacement_x,
@@ -160,14 +158,14 @@ class Opendp
160158 friend class Graphics ;
161159 void findDisplacementStats ();
162160 DbuPt pointOffMacro (const Node& cell);
163- void convertDbToCell (dbInst* db_inst, Node& cell);
161+ void convertDbToCell (odb:: dbInst* db_inst, Node& cell);
164162 // Return error count.
165163 void saveViolations (const std::vector<Node*>& failures,
166164 odb::dbMarkerCategory* category,
167165 const std::string& violation_type = " " ) const ;
168166 void importDb ();
169167 void importClear ();
170- odb::Rect getBbox (dbInst* inst);
168+ odb::Rect getBbox (odb:: dbInst* inst);
171169 void createNetwork ();
172170 void createArchitecture ();
173171 void setUpPlacementGroups ();
@@ -312,7 +310,7 @@ class Opendp
312310
313311 Logger* logger_ = nullptr ;
314312 dbDatabase* db_ = nullptr ;
315- dbBlock* block_ = nullptr ;
313+ odb:: dbBlock* block_ = nullptr ;
316314 odb::Rect core_;
317315
318316 std::unique_ptr<Architecture> arch_; // Information about rows, etc.
0 commit comments