aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-07-16 10:35:18 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-07-16 10:35:18 +0200
commit2b469e82a78aa6bb46dbdc2ea8460e3209d5432b (patch)
treedfc294a9e94d8bce2cfae0b7c0e32a32cfb21b7f /passes/techmap
parent87db41a2bbff1d68ec70056081d5c8a066569b1a (diff)
downloadyosys-2b469e82a78aa6bb46dbdc2ea8460e3209d5432b.tar.gz
yosys-2b469e82a78aa6bb46dbdc2ea8460e3209d5432b.tar.bz2
yosys-2b469e82a78aa6bb46dbdc2ea8460e3209d5432b.zip
Fix check logic in extract_fa
Diffstat (limited to 'passes/techmap')
-rw-r--r--passes/techmap/extract_fa.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/techmap/extract_fa.cc b/passes/techmap/extract_fa.cc
index 8de57e769..591bc43dd 100644
--- a/passes/techmap/extract_fa.cc
+++ b/passes/techmap/extract_fa.cc
@@ -174,7 +174,7 @@ struct ExtractFaWorker
SigSpec sig = root;
- if (ce.eval(sig)) {
+ if (!ce.eval(sig)) {
ce.pop();
return;
}
@@ -216,7 +216,7 @@ struct ExtractFaWorker
SigSpec sig = root;
- if (ce.eval(sig)) {
+ if (!ce.eval(sig)) {
ce.pop();
return;
}