projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3573363
)
handle state names of $anyconst and $anyseq
author
Miodrag Milanovic
<mmicko@gmail.com>
Fri, 11 Mar 2022 13:04:02 +0000
(14:04 +0100)
committer
Miodrag Milanovic
<mmicko@gmail.com>
Fri, 11 Mar 2022 13:04:02 +0000
(14:04 +0100)
backends/btor/btor.cc
patch
|
blob
|
history
diff --git
a/backends/btor/btor.cc
b/backends/btor/btor.cc
index d62cc4c3dfb5956f21ddc39d292a57f3456d32e6..e0283da8aea318842e712951d66296494dd3974b 100644
(file)
--- a/
backends/btor/btor.cc
+++ b/
backends/btor/btor.cc
@@
-678,7
+678,11
@@
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", nid, sid);
+ if (sig_y.is_wire() && sig_y.as_wire()->name.c_str()[0]!='$')
+ btorf(" %s\n", log_id(sig_y.as_wire()));
+ else
+ btorf("\n");
if (cell->type == ID($anyconst)) {
int nid2 = next_nid++;