3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 01:54:10 +00:00

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

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