mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			177 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			177 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| read_verilog <<EOT
 | |
| module top(input [31:0] a, input signed [2:0] x, output [2:0] o);
 | |
| 
 | |
| wire [5:0] t = x * 3;
 | |
| assign o = a >> t;
 | |
| 
 | |
| endmodule
 | |
| EOT
 | |
| 
 | |
| wreduce
 | |
| equiv_opt -assert peepopt
 |