mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-11 08:33:26 +00:00
messy
This commit is contained in:
parent
1acbb5b89b
commit
d9943b3727
12 changed files with 1132 additions and 1108 deletions
|
@ -821,14 +821,19 @@ 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