mirror of https://github.com/YosysHQ/yosys.git
Fixed detection of public wires in opt_rmunused
This commit is contained in:
parent
eadf73c823
commit
55f927eecb
|
@ -123,10 +123,10 @@ static bool check_public_name(RTLIL::IdString id)
|
|||
if (id[0] == '$')
|
||||
return false;
|
||||
#if 0
|
||||
if (id.find(".$") == std::string::npos)
|
||||
return true;
|
||||
if (id.find(".$") != std::string::npos)
|
||||
return false;
|
||||
#endif
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static void rmunused_module_signals(RTLIL::Module *module)
|
||||
|
|
Loading…
Reference in New Issue