Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

share: fix misleading 0 cells log message #4836

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions passes/opt/share.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,6 @@ struct ShareWorker
qcsat.max_cell_count = 100;
}

pool<RTLIL::Cell*> sat_cells;
std::set<RTLIL::SigBit> bits_queue;

std::vector<int> cell_active, other_cell_active;
Expand Down Expand Up @@ -1298,8 +1297,8 @@ struct ShareWorker

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

log(" Size of SAT problem: %d cells, %d variables, %d clauses\n",
GetSize(sat_cells), qcsat.ez->numCnfVariables(), qcsat.ez->numCnfClauses());
log(" Size of SAT problem: %d variables, %d clauses\n",
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");
Expand Down
Loading