From a6ca28276e3786ba3d756f46d7804a6dcf1e5b11 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 2 Mar 2017 16:39:48 +0100 Subject: [PATCH] Add write_aiger $anyseq support --- backends/aiger/aiger.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backends/aiger/aiger.cc b/backends/aiger/aiger.cc index 02871a6fd..5bc268437 100644 --- a/backends/aiger/aiger.cc +++ b/backends/aiger/aiger.cc @@ -188,6 +188,13 @@ struct AigerWriter continue; } + if (cell->type == "$anyseq") + { + for (auto bit : sigmap(cell->getPort("\\Y"))) + input_bits.insert(bit); + continue; + } + log_error("Unsupported cell type: %s (%s)\n", log_id(cell->type), log_id(cell)); } -- 2.30.2