projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07bfe8b
)
Check for memories in clk2fflogic
author
Clifford Wolf
<clifford@clifford.at>
Wed, 13 Dec 2017 18:14:34 +0000
(19:14 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 13 Dec 2017 18:14:34 +0000
(19:14 +0100)
passes/sat/clk2fflogic.cc
patch
|
blob
|
history
diff --git
a/passes/sat/clk2fflogic.cc
b/passes/sat/clk2fflogic.cc
index ef6d5dd72c76c90e3c6ec31802993c72fd5deff4..fbd71fe58bed67d4c9e8468073a1621312b854e4 100644
(file)
--- a/
passes/sat/clk2fflogic.cc
+++ b/
passes/sat/clk2fflogic.cc
@@
-72,6
+72,11
@@
struct Clk2fflogicPass : public Pass {
for (auto cell : vector<Cell*>(module->selected_cells()))
{
+ if (cell->type.in("$mem"))
+ {
+ log_error("Currently there is no support for memories in clk2fflogic. Run memory_map first to convert memories to logic.\n");
+ }
+
if (cell->type.in("$dlatch"))
{
bool enpol = cell->parameters["\\EN_POLARITY"].as_bool();