Skip to content

Commit

Permalink
btor: Support $anyinit cells
Browse files Browse the repository at this point in the history
  • Loading branch information
jix committed Aug 16, 2022
1 parent 5893cae commit 96a1173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/btor/btor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ struct BtorWorker
goto okay;
}

if (cell->type.in(ID($dff), ID($ff), ID($_DFF_P_), ID($_DFF_N), ID($_FF_)))
if (cell->type.in(ID($dff), ID($ff), ID($anyinit), ID($_DFF_P_), ID($_DFF_N), ID($_FF_)))
{
SigSpec sig_d = sigmap(cell->getPort(ID::D));
SigSpec sig_q = sigmap(cell->getPort(ID::Q));
Expand Down

0 comments on commit 96a1173

Please sign in to comment.