mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fixed "check -assert"
This commit is contained in:
		
							parent
							
								
									4b89dd983c
								
							
						
					
					
						commit
						c4f383e452
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -146,7 +146,7 @@ struct CheckPass : public Pass {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		log("found and reported %d problems.\n", counter);
 | 
							log("found and reported %d problems.\n", counter);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (assert_mode)
 | 
							if (assert_mode && counter > 0)
 | 
				
			||||||
			log_error("Found %d problems in 'check -assert'.\n", counter);
 | 
								log_error("Found %d problems in 'check -assert'.\n", counter);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
} CheckPass;
 | 
					} CheckPass;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue