projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a717ae
)
Added $anyconst support to AIGER back-end
author
Clifford Wolf
<clifford@clifford.at>
Sun, 11 Dec 2016 12:48:18 +0000
(13:48 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 11 Dec 2016 12:48:18 +0000
(13:48 +0100)
backends/aiger/aiger.cc
patch
|
blob
|
history
diff --git
a/backends/aiger/aiger.cc
b/backends/aiger/aiger.cc
index aefe5cf435e6ea215b91740fba2ed82f4d7387ab..ab1fba6f13ceaff0cb7e4cc173831044491637a2 100644
(file)
--- 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));
}