aboutsummaryrefslogtreecommitdiffstats
path: root/backends/smt2/smt2.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-06 14:50:00 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-06 14:50:00 -0700
commit26cb3e7afc603b5aa703434c2cdfad444a4d4db0 (patch)
treecb346623885c4bc1e98affc623084f58b0a87ce2 /backends/smt2/smt2.cc
parent09beeee38a5af767f70d24e86c976e43b1b27547 (diff)
parent8110fb9266e685aaea48359a5aebc4e5ac865240 (diff)
downloadyosys-26cb3e7afc603b5aa703434c2cdfad444a4d4db0.tar.gz
yosys-26cb3e7afc603b5aa703434c2cdfad444a4d4db0.tar.bz2
yosys-26cb3e7afc603b5aa703434c2cdfad444a4d4db0.zip
Merge remote-tracking branch 'origin/master' into eddie/wreduce_add
Diffstat (limited to 'backends/smt2/smt2.cc')
-rw-r--r--backends/smt2/smt2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc
index e318a4051..ddd680782 100644
--- a/backends/smt2/smt2.cc
+++ b/backends/smt2/smt2.cc
@@ -510,6 +510,7 @@ struct Smt2Worker
if (cell->type == "$_ANDNOT_") return export_gate(cell, "(and A (not B))");
if (cell->type == "$_ORNOT_") return export_gate(cell, "(or A (not B))");
if (cell->type == "$_MUX_") return export_gate(cell, "(ite S B A)");
+ if (cell->type == "$_NMUX_") return export_gate(cell, "(not (ite S B A))");
if (cell->type == "$_AOI3_") return export_gate(cell, "(not (or (and A B) C))");
if (cell->type == "$_OAI3_") return export_gate(cell, "(not (and (or A B) C))");
if (cell->type == "$_AOI4_") return export_gate(cell, "(not (or (and A B) (and C D)))");