diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-04-04 17:28:07 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-04-04 17:28:07 +0200 |
commit | 25a864fc7344756e1b2de7bcc3f446ab84e410a3 (patch) | |
tree | fda131a11d50a318552841bcb2dbd15904dfe530 /backends | |
parent | 2b00c1dbd6b916aae6f97191d34b786a316c706e (diff) | |
download | yosys-25a864fc7344756e1b2de7bcc3f446ab84e410a3.tar.gz yosys-25a864fc7344756e1b2de7bcc3f446ab84e410a3.tar.bz2 yosys-25a864fc7344756e1b2de7bcc3f446ab84e410a3.zip |
Fixed -stbv handling in SMT2 back-end
Diffstat (limited to 'backends')
-rw-r--r-- | backends/smt2/smt2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc index 2fb6d4da9..ca1ceacc7 100644 --- a/backends/smt2/smt2.cc +++ b/backends/smt2/smt2.cc @@ -766,7 +766,7 @@ struct Smt2Worker if (statebv) makebits(stringf("%s_h %s", get_id(module), get_id(cell->name)), mod_stbv_width.at(cell->type)); - if (statedt) + else if (statedt) dtmembers.push_back(stringf(" (|%s_h %s| |%s_s|)\n", get_id(module), get_id(cell->name), get_id(cell->type))); else |