diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-09-29 09:21:51 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-09-29 09:21:51 -0700 |
commit | f3e150d9a5a71a554a99c619ae5389f687c381ef (patch) | |
tree | 6f5145bfc48768fd858032b8a9a4295804d26a8f /backends/btor/btor.cc | |
parent | 79b6edb6397c530a7304eb4334f95324a4208aba (diff) | |
parent | ce0631c371f69f0132ea9ee4bc8f5ee576dbb1a3 (diff) | |
download | yosys-f3e150d9a5a71a554a99c619ae5389f687c381ef.tar.gz yosys-f3e150d9a5a71a554a99c619ae5389f687c381ef.tar.bz2 yosys-f3e150d9a5a71a554a99c619ae5389f687c381ef.zip |
Merge remote-tracking branch 'origin/master' into xaig_dff
Diffstat (limited to 'backends/btor/btor.cc')
-rw-r--r-- | backends/btor/btor.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc index 4472993d4..f617b7ec2 100644 --- a/backends/btor/btor.cc +++ b/backends/btor/btor.cc @@ -897,9 +897,12 @@ struct BtorWorker int sid = get_bv_sid(GetSize(s)); int nid = next_nid++; - btorf("%d input %d %s\n", nid, sid); + btorf("%d input %d\n", nid, sid); nid_width[nid] = GetSize(s); + for (int j = 0; j < GetSize(s); j++) + nidbits.push_back(make_pair(nid, j)); + i += GetSize(s)-1; continue; } |