mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	- Simplify synthetic localparams for normal calls to update their width
    - This step was inadvertently removed alongside `added_mod_children`
- Support redeclaration of constant function arguments
    - `eval_const_function` never correctly handled this, but the issue
      was not exposed in the existing tests until the recent change to
      always attempt constant function evaluation when all-const args
      are used
- Check asserts in const_arg_loop and const_func tests
- Add coverage for width mismatch error cases
		
	
			
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			139 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			139 B
		
	
	
	
		
			Text
		
	
	
	
	
	
read_verilog -sv const_func.sv
 | 
						|
hierarchy
 | 
						|
proc
 | 
						|
flatten
 | 
						|
opt -full
 | 
						|
select -module top
 | 
						|
sat -verify -seq 1 -tempinduct -prove-asserts -show-all
 |