Skip to content

Commit 7bd5dcb

Browse files
committed
odb: allow lib free techlef in 3dblox
Signed-off-by: osamahammad21 <osama21@aucegypt.edu>
1 parent 3cc9aff commit 7bd5dcb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/odb/src/3dblox/3dblox.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ void ThreeDBlox::createChiplet(const ChipletDef& chiplet)
134134
odb::lefin lef_reader(db_, logger_, false);
135135
tech = db_->findTech(tech_name.c_str());
136136
if (tech == nullptr) {
137-
auto lib = lef_reader.createTechAndLib(
137+
lef_reader.createTechAndLib(
138138
tech_name.c_str(), tech_name.c_str(), tech_file.c_str());
139-
tech = lib->getTech();
139+
tech = db_->findTech(tech_name.c_str());
140140
}
141141
}
142142
// Read LEF files

0 commit comments

Comments
 (0)