From a61c88f12215eb8bfa1db62aec7c2c95bb3cc702 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 11 Dec 2016 13:48:18 +0100 Subject: [PATCH] Added $anyconst support to AIGER back-end --- backends/aiger/aiger.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backends/aiger/aiger.cc b/backends/aiger/aiger.cc index aefe5cf43..ab1fba6f1 100644 --- a/backends/aiger/aiger.cc +++ b/backends/aiger/aiger.cc @@ -163,6 +163,13 @@ struct AigerWriter continue; } + if (cell->type == "$anyconst") + { + for (auto bit : sigmap(cell->getPort("\\Y"))) + ff_map[bit] = bit; + continue; + } + log_error("Unsupported cell type: %s (%s)\n", log_id(cell->type), log_id(cell)); } -- 2.30.2