mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Since muxcover uses MUX4s, blast them back to gates here
This commit is contained in:
		
							parent
							
								
									dd22edcd28
								
							
						
					
					
						commit
						c6b4653ebe
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -84,3 +84,10 @@ module \$shiftx (A, B, Y);
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
  endgenerate
 | 
					  endgenerate
 | 
				
			||||||
endmodule
 | 
					endmodule
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					module \$_MUX4_ (A, B, C, D, S, T, Y);
 | 
				
			||||||
 | 
					input A, B, C, D, S, T;
 | 
				
			||||||
 | 
					output Y;
 | 
				
			||||||
 | 
					assign Y = T ? (S ? D : C) :
 | 
				
			||||||
 | 
					               (S ? B : A);
 | 
				
			||||||
 | 
					endmodule
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue