mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-10-06 10:03:36 +02:00
Fix check logic in extract_fa
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user