aboutsummaryrefslogtreecommitdiffstats
path: root/backends/edif
diff options
context:
space:
mode:
authorClaire Wolf <clifford@clifford.at>2020-01-21 18:35:15 +0100
committerGitHub <noreply@github.com>2020-01-21 18:35:15 +0100
commit30642e95709b16961849a303080c98c684d5a963 (patch)
treea36c30ed001e385909adc610766e511eee3fddbd /backends/edif
parentf165a748244b022b215631ade2c8a5e0139cec09 (diff)
parent55f86eda36ed9288528c2216972d5b49acfca54f (diff)
downloadyosys-30642e95709b16961849a303080c98c684d5a963.tar.gz
yosys-30642e95709b16961849a303080c98c684d5a963.tar.bz2
yosys-30642e95709b16961849a303080c98c684d5a963.zip
Merge pull request #1629 from YosysHQ/mwk/edif-z
edif: Just ignore connections to 'z
Diffstat (limited to 'backends/edif')
-rw-r--r--backends/edif/edif.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/edif/edif.cc b/backends/edif/edif.cc
index 6735d670f..60a098917 100644
--- a/backends/edif/edif.cc
+++ b/backends/edif/edif.cc
@@ -412,6 +412,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());