mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			181 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			181 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
| module test(x, y, z);
 | |
| 	localparam OFF = 0;
 | |
| 	generate
 | |
| 		if (OFF) ;
 | |
| 		else input x;
 | |
| 		if (!OFF) input y;
 | |
| 		else ;
 | |
| 		if (OFF) ;
 | |
| 		else ;
 | |
| 		if (OFF) ;
 | |
| 		input z;
 | |
| 	endgenerate
 | |
| endmodule
 |