3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 01:24:10 +00:00

write_btor: don't emit undriven bits multiple times

* Fixes #4640
This commit is contained in:
George Rennie 2024-10-08 14:34:17 +02:00
parent 535b3304cc
commit 268926cb5b

View file

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