Fixed detection of public wires in opt_rmunused

This commit is contained in:
Clifford Wolf 2013-03-10 14:20:03 +01:00
parent eadf73c823
commit 55f927eecb
1 changed files with 3 additions and 3 deletions

View File

@ -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)