Skip to content

Commit 2c37297

Browse files
committed
odb: remove intermediate functions
Signed-off-by: Eder Monteiro <[email protected]>
1 parent 6e91467 commit 2c37297

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

src/odb/include/odb/util.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ void set_bterm_top_layer_grid(dbBlock* block,
220220
int height,
221221
int keepout);
222222

223-
void destroy_routes(dbBlock* block);
224-
225223
class WireLengthEvaluator
226224
{
227225
public:

src/odb/src/swig/common/odb.i

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ void set_bterm_top_layer_grid(odb::dbBlock* block,
8383
int width,
8484
int height,
8585
int keepout);
86-
void destroy_routes(odb::dbBlock* block);

src/odb/src/swig/tcl/odb.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,8 +1102,8 @@ proc get_block { } {
11021102
return [$chip getBlock]
11031103
}
11041104

1105-
proc destroy_net_routes { } {
1105+
proc destroy_routes { } {
11061106
set block [ord::get_db_block]
1107-
odb::destroy_routes $block
1107+
$block destroyRoutes
11081108
}
11091109
}

src/odb/src/zutil/util.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,6 @@ void set_bterm_top_layer_grid(dbBlock* block,
267267
block->setBTermTopLayerGrid(top_layer_grid);
268268
}
269269

270-
void destroy_routes(dbBlock* block)
271-
{
272-
block->destroyRoutes();
273-
}
274-
275270
bool hasOneSiteMaster(dbDatabase* db)
276271
{
277272
for (dbLib* lib : db->getLibs()) {

0 commit comments

Comments
 (0)