mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-01 18:38:48 +00:00
Improved handling of constant connections in opt_rmports
This commit is contained in:
parent
2877d5e504
commit
1bb150c231
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ struct OptRmportsPass : public Pass {
|
||||||
{
|
{
|
||||||
auto w1 = s1[i].wire;
|
auto w1 = s1[i].wire;
|
||||||
auto w2 = s2[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());
|
//log(" conn %s, %s\n", w1->name.c_str(), w2->name.c_str());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue