diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-07-16 10:35:18 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-07-16 10:35:18 +0200 |
commit | 2b469e82a78aa6bb46dbdc2ea8460e3209d5432b (patch) | |
tree | dfc294a9e94d8bce2cfae0b7c0e32a32cfb21b7f /passes/techmap | |
parent | 87db41a2bbff1d68ec70056081d5c8a066569b1a (diff) | |
download | yosys-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.cc | 4 |
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; } |