mirror of https://github.com/YosysHQ/yosys.git
Improved handling of constant connections in opt_rmports
This commit is contained in:
parent
2877d5e504
commit
1bb150c231
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue