1
0
mirror of synced 2026-04-26 04:08:28 +00:00

Fixing selections

This commit is contained in:
Krystine Sherwin
2025-03-14 14:08:14 +13:00
parent 091e9488fe
commit d09ae42951
2 changed files with 5 additions and 5 deletions

View File

@@ -1185,7 +1185,7 @@ void RTLIL::Design::pop_selection()
std::vector<RTLIL::Module*> RTLIL::Design::selected_modules(RTLIL::SelectPartials partials, RTLIL::SelectBoxes boxes) const
{
bool include_partials = partials == RTLIL::SELECT_ALL;
bool exclude_boxes = (partials & RTLIL::SB_UNBOXED_ONLY) == 0;
bool exclude_boxes = (partials & RTLIL::SB_UNBOXED_ONLY) != 0;
bool ignore_wb = (partials & RTLIL::SB_INCL_WB) != 0;
std::vector<RTLIL::Module*> result;
result.reserve(modules_.size());