File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -251,8 +251,26 @@ class dbNetwork : public ConcreteNetwork
251251 Instance* instance (const Pin* pin) const override ;
252252 Net* net (const Pin* pin) const override ;
253253 void net (const Pin* pin, dbNet*& db_net, dbModNet*& db_modnet) const ;
254+
255+ // /
256+ // / Get a dbNet connected to the input pin.
257+ // / - If both dbNet and dbModNet are connected to the input pin,
258+ // / this function returns the dbNet.
259+ // / - NOTE: If only dbModNet is connected to the input pin, this
260+ // / function returns nullptr. If you need to get the dbNet corresponding to
261+ // / the dbModNet, use findFlatDbNet() instead.
262+ // /
254263 dbNet* flatNet (const Pin* pin) const ;
264+
265+ // /
266+ // / Get a dbModNet connected to the input pin.
267+ // / - If both dbNet and dbModNet are connected to the input pin,
268+ // / this function returns the dbModNet.
269+ // / - If only dbNet is connected to the input pin, this function returns
270+ // / nullptr.
271+ // /
255272 dbModNet* hierNet (const Pin* pin) const ;
273+
256274 dbITerm* flatPin (const Pin* pin) const ;
257275 dbModITerm* hierPin (const Pin* pin) const ;
258276 dbBlock* getBlockOf (const Pin* pin) const ;
You can’t perform that action at this time.
0 commit comments