aboutsummaryrefslogtreecommitdiffstats
path: root/passes/extract
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-12-27 14:20:15 +0100
committerClifford Wolf <clifford@clifford.at>2013-12-27 14:20:15 +0100
commit369bf81a7049c96f62af084bb5007fbf45e36ab4 (patch)
tree92071580c9bd60888ee5861d59457947a8adfde7 /passes/extract
parentecc30255ba70910777a4586f5bd6abc818073293 (diff)
downloadyosys-369bf81a7049c96f62af084bb5007fbf45e36ab4.tar.gz
yosys-369bf81a7049c96f62af084bb5007fbf45e36ab4.tar.bz2
yosys-369bf81a7049c96f62af084bb5007fbf45e36ab4.zip
Added support for non-const === and !== (for miter circuits)
Diffstat (limited to 'passes/extract')
-rw-r--r--passes/extract/extract.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/passes/extract/extract.cc b/passes/extract/extract.cc
index 0c639aeda..aa21e573a 100644
--- a/passes/extract/extract.cc
+++ b/passes/extract/extract.cc
@@ -499,6 +499,8 @@ struct ExtractPass : public Pass {
solver.addSwappablePorts("$xnor", "\\A", "\\B");
solver.addSwappablePorts("$eq", "\\A", "\\B");
solver.addSwappablePorts("$ne", "\\A", "\\B");
+ solver.addSwappablePorts("$eqx", "\\A", "\\B");
+ solver.addSwappablePorts("$nex", "\\A", "\\B");
solver.addSwappablePorts("$add", "\\A", "\\B");
solver.addSwappablePorts("$mul", "\\A", "\\B");
solver.addSwappablePorts("$logic_and", "\\A", "\\B");