Skip to content

Commit 1fb0ea1

Browse files
committed
Changed the warning to error.
The nullptr clone_output_iterm is very unlikely to occur. Signed-off-by: Jaehyun Kim <[email protected]>
1 parent 62c2f56 commit 1fb0ea1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/rsz/src/CloneMove.cc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,13 @@ bool CloneMove::doMove(const Path* drvr_path,
249249

250250
odb::dbITerm* clone_output_iterm = db_network_->flatPin(clone_output_pin);
251251
if (clone_output_iterm == nullptr) {
252-
logger_->warn(
252+
logger_->error(
253253
RSZ,
254254
100,
255-
"Cloning dbITerm failed. Driver pin: {}, Clone "
256-
"output pin: {}",
255+
"Cannot find output pin of the clone instance. Driver pin: {}, "
256+
"Clone output pin: {}",
257257
(drvr_pin) ? network_->pathName(drvr_pin) : "Null",
258258
(clone_output_pin) ? network_->pathName(clone_output_pin) : "Null");
259-
return false;
260259
}
261260

262261
// Divide the list of pins in half and connect them to the new net we

0 commit comments

Comments
 (0)