mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #1199 from mmicko/extract_fa_fix
Fix check logic in extract_fa
This commit is contained in:
commit
928f0a4438
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue