mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Designs with unreasonably wide expressions would previously get stuck allocating memory forever.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			293 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			293 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| logger -expect error "Expression width 1073741824 exceeds implementation limit of 16777216!" 1
 | |
| read_verilog <<EOF
 | |
| module top(
 | |
|     input inp,
 | |
|     output out
 | |
| );
 | |
|     assign out =
 | |
|         {1024 {
 | |
|         {1024 {
 | |
|         {1024 {
 | |
|         inp
 | |
|         }}
 | |
|         }}
 | |
|         }}
 | |
|         ;
 | |
| endmodule
 | |
| EOF
 |