3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-08 10:25:19 +00:00

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

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());