Skip to content

Commit f48a304

Browse files
committed
odb: Expose hpwl api as public in WireLengthEvaluator.
1 parent 76065ea commit f48a304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/odb/include/odb/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ class WireLengthEvaluator
5757
WireLengthEvaluator(dbBlock* block) : block_(block) {}
5858
int64_t hpwl() const;
5959
int64_t hpwl(int64_t& hpwl_x, int64_t& hpwl_y) const;
60+
int64_t hpwl(dbNet* net, int64_t& hpwl_x, int64_t& hpwl_y) const;
6061
void reportEachNetHpwl(utl::Logger* logger) const;
6162
void reportHpwl(utl::Logger* logger) const;
6263

6364
private:
64-
int64_t hpwl(dbNet* net, int64_t& hpwl_x, int64_t& hpwl_y) const;
6565

6666
dbBlock* block_;
6767
};

0 commit comments

Comments
 (0)