aboutsummaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2022-03-11 15:29:34 +0100
committerGitHub <noreply@github.com>2022-03-11 15:29:34 +0100
commit2f44683f4f32c2066eadc3caf83b2d5b5cbdbb27 (patch)
tree519d3654760d4a03f780959f4e617de528561dd1 /backends
parenteb8c61f033fca5c0148d7ede41b8e36fe751a234 (diff)
parent5204694123e6ac10b931ac45dbe7f4cd0b11b93b (diff)
downloadyosys-2f44683f4f32c2066eadc3caf83b2d5b5cbdbb27.tar.gz
yosys-2f44683f4f32c2066eadc3caf83b2d5b5cbdbb27.tar.bz2
yosys-2f44683f4f32c2066eadc3caf83b2d5b5cbdbb27.zip
Merge pull request #3226 from YosysHQ/micko/btor2witness
Sim support for btor2 witness files
Diffstat (limited to 'backends')
-rw-r--r--backends/btor/btor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc
index d62cc4c3d..73e88c049 100644
--- a/backends/btor/btor.cc
+++ b/backends/btor/btor.cc
@@ -678,7 +678,7 @@ struct BtorWorker
int sid = get_bv_sid(GetSize(sig_y));
int nid = next_nid++;
- btorf("%d state %d\n", nid, sid);
+ btorf("%d state %d%s\n", nid, sid, getinfo(cell).c_str());
if (cell->type == ID($anyconst)) {
int nid2 = next_nid++;
@@ -699,7 +699,7 @@ struct BtorWorker
int one_nid = get_sig_nid(State::S1);
int zero_nid = get_sig_nid(State::S0);
initstate_nid = next_nid++;
- btorf("%d state %d\n", initstate_nid, sid);
+ btorf("%d state %d%s\n", initstate_nid, sid, getinfo(cell).c_str());
btorf("%d init %d %d %d\n", next_nid++, sid, initstate_nid, one_nid);
btorf("%d next %d %d %d\n", next_nid++, sid, initstate_nid, zero_nid);
}