mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
rtlil.cc: Fix box checks in selected_modules
This commit is contained in:
parent
7d7ee5d9bf
commit
1ef9908a85
1 changed files with 2 additions and 2 deletions
|
@ -1193,8 +1193,8 @@ 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 ignore_wb = (partials & RTLIL::SB_INCL_WB) != 0;
|
||||
bool exclude_boxes = (boxes & RTLIL::SB_UNBOXED_ONLY) != 0;
|
||||
bool ignore_wb = (boxes & RTLIL::SB_INCL_WB) != 0;
|
||||
std::vector<RTLIL::Module*> result;
|
||||
result.reserve(modules_.size());
|
||||
for (auto &it : modules_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue