3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 04:28:18 +00:00

Fix check logic in extract_fa

This commit is contained in:
Miodrag Milanovic 2019-07-16 10:35:18 +02:00
parent 87db41a2bb
commit 2b469e82a7

View file

@ -174,7 +174,7 @@ struct ExtractFaWorker
SigSpec sig = root; SigSpec sig = root;
if (ce.eval(sig)) { if (!ce.eval(sig)) {
ce.pop(); ce.pop();
return; return;
} }
@ -216,7 +216,7 @@ struct ExtractFaWorker
SigSpec sig = root; SigSpec sig = root;
if (ce.eval(sig)) { if (!ce.eval(sig)) {
ce.pop(); ce.pop();
return; return;
} }