diff options
author | Marcin KoĆcielnicki <mwk@0x04.net> | 2020-01-13 14:49:31 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <mwk@0x04.net> | 2020-01-13 14:49:31 +0100 |
commit | 55f86eda36ed9288528c2216972d5b49acfca54f (patch) | |
tree | f91940fd1274ace80394649191ed6a821f3ae692 /backends/edif/edif.cc | |
parent | 58ab9f6021bc5b90956d97759ef0f3bc8c7e209e (diff) | |
download | yosys-55f86eda36ed9288528c2216972d5b49acfca54f.tar.gz yosys-55f86eda36ed9288528c2216972d5b49acfca54f.tar.bz2 yosys-55f86eda36ed9288528c2216972d5b49acfca54f.zip |
edif: Just ignore connections to 'z
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.
Diffstat (limited to 'backends/edif/edif.cc')
-rw-r--r-- | backends/edif/edif.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/edif/edif.cc b/backends/edif/edif.cc index 6d9469538..e9beace83 100644 --- 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()); |