Skip to content

Commit

Permalink
write_btor: don't emit undriven bits multiple times
Browse files Browse the repository at this point in the history
* Fixes YosysHQ#4640
  • Loading branch information
georgerennie committed Oct 8, 2024
1 parent ab378f8 commit e91894c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backends/btor/btor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,7 @@ struct BtorWorker
btorf("%d input %d\n", nid, sid);
ywmap_input(s);
nid_width[nid] = GetSize(s);
add_nid_sig(nid, s);

for (int j = 0; j < GetSize(s); j++)
nidbits.push_back(make_pair(nid, j));
Expand Down

0 comments on commit e91894c

Please sign in to comment.