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:
parent
87db41a2bb
commit
2b469e82a7
|
@ -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 a new issue