projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ab9f6
)
edif: Just ignore connections to 'z
author
Marcin Kościelnicki
<mwk@0x04.net>
Mon, 13 Jan 2020 13:49:31 +0000
(14:49 +0100)
committer
Marcin Kościelnicki
<mwk@0x04.net>
Mon, 13 Jan 2020 13:49:31 +0000
(14:49 +0100)
Connecting a const 'z to a net should be equivalent to not connecting it
at all, so let's just ignore such connections on output.
backends/edif/edif.cc
patch
|
blob
|
history
diff --git
a/backends/edif/edif.cc
b/backends/edif/edif.cc
index 6d9469538eba648522d775a5eb38ac91b02f829d..e9beace838c507a2b03ce31867ead1822a1efd25 100644
(file)
--- a/
backends/edif/edif.cc
+++ b/
backends/edif/edif.cc
@@
-404,6
+404,8
@@
struct EdifBackend : public Backend {
for (auto &ref : it.second)
log_warning("Exporting x-bit on %s as zero bit.\n", ref.c_str());
sig = RTLIL::State::S0;
+ } else if (sig == RTLIL::State::Sz) {
+ continue;
} else {
for (auto &ref : it.second)
log_error("Don't know how to handle %s on %s.\n", log_signal(sig), ref.c_str());