mirror of https://github.com/YosysHQ/yosys.git
Fix check logic in extract_fa
This commit is contained in:
parent
87db41a2bb
commit
2b469e82a7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue