@@ -617,7 +617,7 @@ class dbBlock : public dbObject
617617 // /
618618 // / Returns the top module of this block.
619619 // /
620- dbModule* getTopModule ();
620+ dbModule* getTopModule () const ;
621621
622622 // /
623623 // / Get the child blocks of this block.
@@ -2947,8 +2947,8 @@ class dbInst : public dbObject
29472947
29482948 // /
29492949 // / Create a new instance.
2950- // / If physical_only is true the instance can't bee added to a dbModule .
2951- // / If false, it will be added to the top module.
2950+ // / If physical_only is true, the instance can only be added to a top module .
2951+ // / If false, it will be added to the parent module.
29522952 // / Returns nullptr if an instance with this name already exists.
29532953 // / Returns nullptr if the master is not FROZEN.
29542954 // / If dbmodule is non null the dbInst is added to that module.
@@ -3202,7 +3202,7 @@ class dbITerm : public dbObject
32023202 // / Disconnect just the mod net
32033203 // /
32043204
3205- void disconnectModNet ();
3205+ void disconnectDbModNet ();
32063206
32073207 // /
32083208 // / Get the average of the centers for the iterm shapes
@@ -8293,6 +8293,7 @@ class dbModNet : public dbObject
82938293 unsigned connectionCount ();
82948294 const char * getName () const ;
82958295 void rename (const char * new_name);
8296+ void disconnectAllTerms ();
82968297
82978298 static dbModNet* getModNet (dbBlock* block, uint id);
82988299 static dbModNet* create (dbModule* parentModule, const char * base_name);
@@ -8343,6 +8344,7 @@ class dbModule : public dbObject
83438344
83448345 const dbModBTerm* getHeadDbModBTerm () const ;
83458346 bool canSwapWith (dbModule* new_module) const ;
8347+ bool isTop () const ;
83468348
83478349 static dbModule* create (dbBlock* block, const char * name);
83488350
0 commit comments