mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-11 08:33:26 +00:00
semi cleanup
This commit is contained in:
parent
91503e07dc
commit
125797bbb3
5 changed files with 3 additions and 17 deletions
|
@ -821,19 +821,14 @@ bool RTLIL::Selection::selected_module(const RTLIL::IdString &mod_name) const
|
|||
|
||||
bool RTLIL::Selection::selected_whole_module(const RTLIL::IdString &mod_name) const
|
||||
{
|
||||
log("one\n");
|
||||
if (complete_selection)
|
||||
return true;
|
||||
log("two\n");
|
||||
if (!selects_boxes && boxed_module(mod_name))
|
||||
return false;
|
||||
log("three\n");
|
||||
if (full_selection)
|
||||
return true;
|
||||
log("four\n");
|
||||
if (selected_modules.count(mod_name) > 0)
|
||||
return true;
|
||||
log("five\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue