mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Add constant expression attribute to test
This commit is contained in:
		
							parent
							
								
									83ffec26cb
								
							
						
					
					
						commit
						67587bad7f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -7,6 +7,7 @@ module top(input i, output o);
 | 
				
			||||||
sub s0(i, o);
 | 
					sub s0(i, o);
 | 
				
			||||||
endmodule
 | 
					endmodule
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(* constant_expression=1+1?2*2:3/3 *)
 | 
				
			||||||
module sub(input i, output o);
 | 
					module sub(input i, output o);
 | 
				
			||||||
assign o = ~i;
 | 
					assign o = ~i;
 | 
				
			||||||
endmodule
 | 
					endmodule
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue