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] == '$')
|
if (id[0] == '$')
|
||||||
return false;
|
return false;
|
||||||
#if 0
|
#if 0
|
||||||
if (id.find(".$") == std::string::npos)
|
if (id.find(".$") != std::string::npos)
|
||||||
return true;
|
|
||||||
#endif
|
|
||||||
return false;
|
return false;
|
||||||
|
#endif
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rmunused_module_signals(RTLIL::Module *module)
|
static void rmunused_module_signals(RTLIL::Module *module)
|
||||||
|
|
Loading…
Reference in New Issue