mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Fixed typo in frontends/ast/simplify.cc
This commit is contained in:
		
							parent
							
								
									bc541b47ea
								
							
						
					
					
						commit
						a3d94bf888
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1065,7 +1065,7 @@ skip_dynamic_range_lvalue_expansion:;
 | 
			
		|||
			{
 | 
			
		||||
				AstNode *buf = children[0]->clone();
 | 
			
		||||
				while (buf->simplify(true, false, false, stage, width_hint, sign_hint)) { }
 | 
			
		||||
				if (!buf->type == AST_CONSTANT)
 | 
			
		||||
				if (buf->type != AST_CONSTANT)
 | 
			
		||||
					log_error("Failed to evaluate system function `%s' with non-constant value at %s:%d.\n", str.c_str(), filename.c_str(), linenum);
 | 
			
		||||
 | 
			
		||||
				RTLIL::Const arg_value = buf->bitsAsConst();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue