handle state names of $anyconst and $anyseq

This commit is contained in:
Miodrag Milanovic 2022-03-11 14:04:02 +01:00
parent 357336339a
commit ebe2ee431e
1 changed files with 5 additions and 1 deletions

View File

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