mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			336 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			336 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
| // Exact reproduction of Figure 5(a) (bottom) from 10.1109/92.285741.
 | |
| module top(...);
 | |
| 	input a,b,c,d,e,f,g,h,i,j;
 | |
| 	wire x = !(a&b);
 | |
| 	wire y = !(c|d);
 | |
| 	wire z = !(e|f);
 | |
| 	wire n0 = !(g&h);
 | |
| 	wire n1 = !(i|j);
 | |
| 	wire w = !(x&y);
 | |
| 	wire n2 = !(z&n0);
 | |
| 	wire n3 = !(n0|n1);
 | |
| 	wire n4 = !(n2|n3);
 | |
| 	wire v = !(w|n5);
 | |
| 	output u = !(w&v);
 | |
| endmodule
 |