mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
check: Rephrase comment
This commit is contained in:
parent
43c1328fbb
commit
3f71bc469d
|
@ -284,10 +284,10 @@ struct CheckPass : public Pass {
|
||||||
for (auto &loop : topo.loops) {
|
for (auto &loop : topo.loops) {
|
||||||
string message = stringf("found logic loop in module %s:\n", log_id(module));
|
string message = stringf("found logic loop in module %s:\n", log_id(module));
|
||||||
|
|
||||||
// `loop` only contains wire bits, or an occassional special helper node for cells for
|
// `loop` only contains wire bits, or an occasional special helper node for cells for
|
||||||
// which we have done the edges fallback. The cell and its ports that led to an edge is
|
// which we have done the edges fallback. The cell and its ports that led to an edge are
|
||||||
// an information we need to recover now. For that we need to have the previous wire bit
|
// a piece of information we need to recover now. For that we need to have the previous
|
||||||
// of the loop at hand.
|
// wire bit of the loop at hand.
|
||||||
SigBit prev;
|
SigBit prev;
|
||||||
for (auto it = loop.rbegin(); it != loop.rend(); it++)
|
for (auto it = loop.rbegin(); it != loop.rend(); it++)
|
||||||
if (it->second != -1) { // skip the fallback helper nodes
|
if (it->second != -1) { // skip the fallback helper nodes
|
||||||
|
|
Loading…
Reference in a new issue