mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +00:00
Smallfix
This commit is contained in:
parent
719bbd7523
commit
c8dff00ca6
1 changed files with 4 additions and 4 deletions
|
@ -83,13 +83,13 @@ struct SccWorker
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
log("Found an SCC:");
|
log("Found an SCC: ");
|
||||||
pool<RTLIL::Cell*> scc;
|
pool<RTLIL::Cell*> scc;
|
||||||
while (cellsOnStack.count(cell) > 0) {
|
while (cellsOnStack.count(cell) > 0) {
|
||||||
RTLIL::Cell *c = cellStack.back();
|
RTLIL::Cell *c = cellStack.back();
|
||||||
cellStack.pop_back();
|
cellStack.pop_back();
|
||||||
cellsOnStack.erase(c);
|
cellsOnStack.erase(c);
|
||||||
log(" %s %s %s %s,", RTLIL::id2cstr(c->name), RTLIL::id2cstr(c->type), RTLIL::id2cstr(module->name), RTLIL::id2cstr(c->get_src_attribute()));
|
log("%s %s %s %s -> ", RTLIL::id2cstr(c->name), RTLIL::id2cstr(c->type), RTLIL::id2cstr(module->name), RTLIL::id2cstr(c->get_src_attribute()));
|
||||||
cell2scc[c] = sccList.size();
|
cell2scc[c] = sccList.size();
|
||||||
scc.insert(c);
|
scc.insert(c);
|
||||||
}
|
}
|
||||||
|
@ -201,9 +201,9 @@ struct SccWorker
|
||||||
sigToNextCells.find(cellToNextSig[cell], cellToNextCell[cell]);
|
sigToNextCells.find(cellToNextSig[cell], cellToNextCell[cell]);
|
||||||
|
|
||||||
if (!nofeedbackMode && cellToNextCell[cell].count(cell)) {
|
if (!nofeedbackMode && cellToNextCell[cell].count(cell)) {
|
||||||
log("Found an SCC:");
|
log("Found an SCC: ");
|
||||||
pool<RTLIL::Cell*> scc;
|
pool<RTLIL::Cell*> scc;
|
||||||
log(" %s %s %s %s,", RTLIL::id2cstr(cell->name), RTLIL::id2cstr(cell->type), RTLIL::id2cstr(module->name), RTLIL::id2cstr(cell->get_src_attribute()));
|
log("%s %s %s %s ->", RTLIL::id2cstr(cell->name), RTLIL::id2cstr(cell->type), RTLIL::id2cstr(module->name), RTLIL::id2cstr(cell->get_src_attribute()));
|
||||||
cell2scc[cell] = sccList.size();
|
cell2scc[cell] = sccList.size();
|
||||||
scc.insert(cell);
|
scc.insert(cell);
|
||||||
sccList.push_back(scc);
|
sccList.push_back(scc);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue