mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 13:53:40 +00:00
Fixed detection of public wires in opt_rmunused
This commit is contained in:
parent
eadf73c823
commit
55f927eecb
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue