Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Tech.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ void Tech::readLef(const std::string& file_name)
lib_name.erase(lib_name.begin() + dot_pos, lib_name.end());
}

const char* tech_name = make_tech ? lib_name.c_str() : "";
app_->readLef(
file_name.c_str(), lib_name.c_str(), "", make_tech, make_library);
file_name.c_str(), lib_name.c_str(), tech_name, make_tech, make_library);
}

void Tech::readLiberty(const std::string& file_name)
Expand Down
2 changes: 2 additions & 0 deletions test/timing_report_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
tech.readLef("Nangate45/Nangate45_tech.lef")
tech.readLef("Nangate45/Nangate45_stdcell.lef")

assert tech.getTech().getName() != ""

design = Design(tech)
design.readDef("gcd_nangate45.def")
design.evalTclString("read_sdc timing_api_3.sdc")
Expand Down
Loading