mirror of https://github.com/YosysHQ/yosys.git
Fix handling of some formal cells in btor back-end
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
parent
ebe2ee431e
commit
d340f302f6
|
@ -678,11 +678,7 @@ struct BtorWorker
|
|||
int sid = get_bv_sid(GetSize(sig_y));
|
||||
int nid = next_nid++;
|
||||
|
||||
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");
|
||||
btorf("%d state %d%s\n", nid, sid, getinfo(cell).c_str());
|
||||
|
||||
if (cell->type == ID($anyconst)) {
|
||||
int nid2 = next_nid++;
|
||||
|
@ -703,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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue