3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-04 16:44:08 +00:00

Merge pull request #4948 from YosysHQ/emil/share-fix-log-again

share: re-add SAT solver cell count to log message
This commit is contained in:
Emil J 2025-03-19 13:54:17 +01:00 committed by GitHub
commit b33787edcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1325,8 +1325,8 @@ struct ShareWorker
qcsat.ez->assume(qcsat.ez->AND(sub1, sub2));
log(" Size of SAT problem: %d variables, %d clauses\n",
qcsat.ez->numCnfVariables(), qcsat.ez->numCnfClauses());
log(" Size of SAT problem: %zu cells, %d variables, %d clauses\n",
qcsat.imported_cells.size(), qcsat.ez->numCnfVariables(), qcsat.ez->numCnfClauses());
if (qcsat.ez->solve(sat_model, sat_model_values)) {
log(" According to the SAT solver this pair of cells can not be shared.\n");