mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +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);
 | 
			
		||||
endmodule
 | 
			
		||||
 | 
			
		||||
(* constant_expression=1+1?2*2:3/3 *)
 | 
			
		||||
module sub(input i, output o);
 | 
			
		||||
assign o = ~i;
 | 
			
		||||
endmodule
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue