mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Merge 42e4610e3a into 47ca09a016
				
					
				
			This commit is contained in:
		
						commit
						3048feb281
					
				
					 2 changed files with 28 additions and 1 deletions
				
			
		|  | @ -187,7 +187,11 @@ wire_stmt: | |||
| 
 | ||||
| wire_options: | ||||
| 	wire_options TOK_WIDTH TOK_INT { | ||||
| 		current_wire->width = $3; | ||||
| 		if ($3 > 0x1000000) { | ||||
| 			rtlil_frontend_yyerror("RTLIL error: invalid wire width, must be less than 2^24"); | ||||
| 		} else { | ||||
| 			current_wire->width = $3; | ||||
| 		} | ||||
| 	} | | ||||
| 	wire_options TOK_WIDTH TOK_INVALID { | ||||
| 		rtlil_frontend_yyerror("RTLIL error: invalid wire width"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue