From: Marcin Koƛcielnicki Date: Mon, 13 Jan 2020 13:49:31 +0000 (+0100) Subject: edif: Just ignore connections to 'z X-Git-Tag: working-ls180~859^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55f86eda36ed9288528c2216972d5b49acfca54f;p=yosys.git 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. --- 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());