mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	check: Rephrase comment
This commit is contained in:
		
							parent
							
								
									43c1328fbb
								
							
						
					
					
						commit
						3f71bc469d
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue