mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			187 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			187 B
		
	
	
	
		
			Text
		
	
	
	
	
	
read_verilog -icells << EOT
 | 
						|
module top(input I, output O);
 | 
						|
$pmux #(.WIDTH(1), .S_WIDTH(2)) m (.S({I, 1'b0}), .A(1'b0), .B({I, 1'b0}), .Y(O));
 | 
						|
endmodule
 | 
						|
EOT
 | 
						|
 | 
						|
equiv_opt -assert opt_muxtree
 |