Improved handling of constant connections in opt_rmports

This commit is contained in:
Andrew Zonenberg 2017-08-11 16:47:07 -07:00
parent 2877d5e504
commit 1bb150c231
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ struct OptRmportsPass : public Pass {
{
auto w1 = s1[i].wire;
auto w2 = s2[i].wire;
if( (w1 == NULL) || (w2 == NULL) )
continue;
//log(" conn %s, %s\n", w1->name.c_str(), w2->name.c_str());