mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	verilog: ignore ranges too without -specify
This commit is contained in:
		
							parent
							
								
									6b58c1820c
								
							
						
					
					
						commit
						d20c1dac73
					
				
					 2 changed files with 9 additions and 1 deletions
				
			
		|  | @ -1138,7 +1138,8 @@ ignspec_expr: | |||
| 	}; | ||||
| 
 | ||||
| ignspec_id: | ||||
| 	TOK_ID { delete $1; }; | ||||
| 	TOK_ID { delete $1; } | ||||
| 	range_or_multirange { delete $3; }; | ||||
| 
 | ||||
| /**********************************************************************/ | ||||
| 
 | ||||
|  |  | |||
|  | @ -55,3 +55,10 @@ specify | |||
|   $setup(d, posedge clk &&& e, 1:2:3); | ||||
| endspecify | ||||
| endmodule | ||||
| 
 | ||||
| module test6(input clk, d, e, output q); | ||||
| specify | ||||
|   (d[0] *> q[0]) = (3,1); | ||||
|   (posedge clk[0] => (q[0] +: d[0])) = (3,1); | ||||
| endspecify | ||||
| endmodule | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue