aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/anlogic/anlogic_eqn.cc
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2019-02-26 10:28:42 -0800
committerClifford Wolf <clifford@clifford.at>2019-02-28 14:58:11 -0800
commite2fc18f27b5e9f506724a486787c2106b9f7fb4f (patch)
treeefab7457784570035c54d67045292f6cda2f1447 /techlibs/anlogic/anlogic_eqn.cc
parent68a693717347cefc057cbf1a1c8d0f66500dec4f (diff)
downloadyosys-e2fc18f27b5e9f506724a486787c2106b9f7fb4f.tar.gz
yosys-e2fc18f27b5e9f506724a486787c2106b9f7fb4f.tar.bz2
yosys-e2fc18f27b5e9f506724a486787c2106b9f7fb4f.zip
Reduce amount of trailing whitespace in code base
Diffstat (limited to 'techlibs/anlogic/anlogic_eqn.cc')
-rw-r--r--techlibs/anlogic/anlogic_eqn.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/anlogic/anlogic_eqn.cc b/techlibs/anlogic/anlogic_eqn.cc
index c025c65c4..741bf04cc 100644
--- a/techlibs/anlogic/anlogic_eqn.cc
+++ b/techlibs/anlogic/anlogic_eqn.cc
@@ -52,13 +52,13 @@ struct AnlogicEqnPass : public Pass {
eqn += names[j];
else
eqn += std::string("~") + names[j];
-
+
if (j!=(inputs-1)) eqn += "*";
}
eqn += ")+";
}
}
- if (eqn.empty()) return Const("0");
+ if (eqn.empty()) return Const("0");
eqn = eqn.substr(0, eqn.length()-1);
return Const(eqn);
}