Skip to content

Commit 6312d2d

Browse files
committed
Update error codes for chip-related messages in OpenRoad and dbChip files
Signed-off-by: Osama <[email protected]>
1 parent fa4cdee commit 6312d2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/OpenRoad.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ proc read_def { args } {
7676
if { [info exists keys(-chip)] } {
7777
set chip [[ord::get_db] findChip $keys(-chip)]
7878
if { $chip == "NULL" } {
79-
utl::error ORD 20 "Chip $keys(-chip) not found."
79+
utl::error ORD 21 "Chip $keys(-chip) not found."
8080
}
8181
} else {
8282
if { [[ord::get_db] getChip] == "NULL" } {

src/odb/src/db/dbChip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ dbChip* dbChip::create(dbDatabase* db_, const std::string& name, ChipType type)
550550
{
551551
_dbDatabase* db = (_dbDatabase*) db_;
552552
if (db->chip_hash_.hasMember(name.c_str())) {
553-
db->getLogger()->error(utl::ODB, 273, "Chip {} already exists", name);
553+
db->getLogger()->error(utl::ODB, 385, "Chip {} already exists", name);
554554
}
555555
_dbChip* chip = db->chip_tbl_->create();
556556
chip->_name = safe_strdup(name.c_str());

0 commit comments

Comments
 (0)