projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8856cec
)
Fixed dfflibmap for unused output ports
author
Clifford Wolf
<clifford@clifford.at>
Sat, 21 Dec 2013 19:47:22 +0000
(20:47 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 21 Dec 2013 19:47:22 +0000
(20:47 +0100)
passes/techmap/dfflibmap.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/dfflibmap.cc
b/passes/techmap/dfflibmap.cc
index 6fbd52105f00ee8a5d9c4ff4c93b993625ae3647..40caf780150e493e0cf68ded3966a9df0819c11c 100644
(file)
--- a/
passes/techmap/dfflibmap.cc
+++ b/
passes/techmap/dfflibmap.cc
@@
-419,6
+419,7
@@
static void dfflibmap(RTLIL::Design *design, RTLIL::Module *module)
if (port.second == '0' || port.second == '1') {
sig = RTLIL::SigSpec(port.second == '0' ? 0 : 1, 1);
} else
if (port.second == '0' || port.second == '1') {
sig = RTLIL::SigSpec(port.second == '0' ? 0 : 1, 1);
} else
+ if (port.second != 0)
log_abort();
new_cell->connections["\\" + port.first] = sig;
}
log_abort();
new_cell->connections["\\" + port.first] = sig;
}