mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 11:20:27 +00:00
Import more std:: stuff into Yosys namespace
This commit is contained in:
parent
da923c198e
commit
207736b4ee
39 changed files with 168 additions and 161 deletions
|
@ -69,10 +69,10 @@ struct SccWorker
|
|||
for (auto nextCell : cellToNextCell[cell])
|
||||
if (cellLabels.count(nextCell) == 0) {
|
||||
run(nextCell, depth+1, maxDepth);
|
||||
cellLabels[cell].second = std::min(cellLabels[cell].second, cellLabels[nextCell].second);
|
||||
cellLabels[cell].second = min(cellLabels[cell].second, cellLabels[nextCell].second);
|
||||
} else
|
||||
if (cellsOnStack.count(nextCell) > 0 && (maxDepth < 0 || cellDepth[nextCell] + maxDepth > depth)) {
|
||||
cellLabels[cell].second = std::min(cellLabels[cell].second, cellLabels[nextCell].second);
|
||||
cellLabels[cell].second = min(cellLabels[cell].second, cellLabels[nextCell].second);
|
||||
}
|
||||
|
||||
if (cellLabels[cell].first == cellLabels[cell].second)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue