mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			211 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			211 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
// Like pack1.v, but results in a simpler network.
 | 
						|
module top(...);
 | 
						|
	input a,b,c,d,e,f,g,h;
 | 
						|
	wire x = c|d;
 | 
						|
	wire y = e&f;
 | 
						|
	wire u = a&b;
 | 
						|
	wire v = x|y;
 | 
						|
	wire w = g&h;
 | 
						|
	output s = u|v;
 | 
						|
	output t = v|w;
 | 
						|
endmodule
 |