From: Clifford Wolf Date: Sun, 11 Dec 2016 12:48:18 +0000 (+0100) Subject: Added $anyconst support to AIGER back-end X-Git-Tag: yosys-0.8~561 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a61c88f12215eb8bfa1db62aec7c2c95bb3cc702;p=yosys.git Added $anyconst support to AIGER back-end --- 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)); }