mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +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) {
 | 
			
		||||
				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
 | 
			
		||||
				// which we have done the edges fallback. The cell and its ports that led to an edge is
 | 
			
		||||
				// an information we need to recover now. For that we need to have the previous wire bit
 | 
			
		||||
				// of the loop at hand.
 | 
			
		||||
				// `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 are
 | 
			
		||||
				// a piece of information we need to recover now. For that we need to have the previous
 | 
			
		||||
				// wire bit of the loop at hand.
 | 
			
		||||
				SigBit prev;
 | 
			
		||||
				for (auto it = loop.rbegin(); it != loop.rend(); it++)
 | 
			
		||||
				if (it->second != -1) { // skip the fallback helper nodes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue