mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 20:21:25 +00:00
Added RTLIL::Cell::has(portname)
This commit is contained in:
parent
a84cb04935
commit
97a59851a6
12 changed files with 33 additions and 27 deletions
|
@ -75,7 +75,7 @@ static void add_wire(RTLIL::Design *design, RTLIL::Module *module, std::string n
|
|||
continue;
|
||||
if (mod->get_bool_attribute("\\blackbox"))
|
||||
continue;
|
||||
if (it.second->connections().count(name) > 0)
|
||||
if (it.second->has(name))
|
||||
continue;
|
||||
|
||||
it.second->set(name, wire);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue