mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Add regression test for #2824.
This commit is contained in:
		
							parent
							
								
									6a6d049f1c
								
							
						
					
					
						commit
						438bcc68c0
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								tests/opt/bug2824.ys
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								tests/opt/bug2824.ys
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | ||||||
|  | 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 | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue