Skip to content

Commit 0a78bb1

Browse files
committed
ord: fix a crash when link_design is called twice.
Signed-off-by: Mike Inouye <mikeinouye@google.com>
1 parent f2b35d2 commit 0a78bb1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/OpenRoad.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ void OpenRoad::linkDesign(const char* design_name,
624624
if (success) {
625625
delete verilog_reader_;
626626
verilog_reader_ = nullptr;
627+
verilog_network_->setLinkFunc(nullptr);
627628
}
628629

629630
if (hierarchy) {

0 commit comments

Comments
 (0)