diff --git a/src/odb/src/defin/definReader.cpp b/src/odb/src/defin/definReader.cpp index 4941b98c0d3..b0d41cc0944 100644 --- a/src/odb/src/defin/definReader.cpp +++ b/src/odb/src/defin/definReader.cpp @@ -2138,6 +2138,9 @@ bool definReader::createBlock(const char* file) } defrClear(); + dbModule* top_module = _block->getTopModule(); + top_module->getChildren().reverse(); + top_module->getInsts().reverse(); return true; // 1220 return errors() == 0;