Skip to content

Commit

Permalink
Reverse modinst and children to reduce noise in regressions when hier…
Browse files Browse the repository at this point in the history
…archy on. Signed-off-by:Andy Fox [email protected]

Signed-off-by: andyfox-rushc <[email protected]>
  • Loading branch information
andyfox-rushc committed Aug 10, 2024
1 parent cb6f91e commit 4ff93cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/odb/src/defin/definReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4ff93cd

Please sign in to comment.