mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 16:33:19 +00:00
Reinstate #4768
Revert the reversion so that we can fix the bugs that the PR missed.
This commit is contained in:
parent
bf386feba7
commit
cd3b914132
38 changed files with 700 additions and 263 deletions
|
@ -102,7 +102,7 @@ static void add_wire(RTLIL::Design *design, RTLIL::Module *module, std::string n
|
|||
RTLIL::Module *mod = design->module(cell->type);
|
||||
if (mod == nullptr)
|
||||
continue;
|
||||
if (!design->selected_whole_module(mod->name))
|
||||
if (!mod->is_selected_whole())
|
||||
continue;
|
||||
if (mod->get_blackbox_attribute())
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue