Skip to content

Commit b33787e

Browse files
authored
Merge pull request #4948 from YosysHQ/emil/share-fix-log-again
share: re-add SAT solver cell count to log message
2 parents 0c68909 + 061cf5c commit b33787e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

passes/opt/share.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,8 +1325,8 @@ struct ShareWorker
13251325

13261326
qcsat.ez->assume(qcsat.ez->AND(sub1, sub2));
13271327

1328-
log(" Size of SAT problem: %d variables, %d clauses\n",
1329-
qcsat.ez->numCnfVariables(), qcsat.ez->numCnfClauses());
1328+
log(" Size of SAT problem: %zu cells, %d variables, %d clauses\n",
1329+
qcsat.imported_cells.size(), qcsat.ez->numCnfVariables(), qcsat.ez->numCnfClauses());
13301330

13311331
if (qcsat.ez->solve(sat_model, sat_model_values)) {
13321332
log(" According to the SAT solver this pair of cells can not be shared.\n");

0 commit comments

Comments
 (0)