mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			203 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			203 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| read_verilog << EOF
 | |
| module top(...);
 | |
| 
 | |
| input signed [17:0] A;
 | |
| input signed [17:0] B;
 | |
| output X;
 | |
| output Y;
 | |
| 
 | |
| wire [35:0] P;
 | |
| assign P = A * B;
 | |
| 
 | |
| assign X = P[0];
 | |
| assign Y = P[35];
 | |
| 
 | |
| endmodule
 | |
| EOF
 | |
| 
 | |
| synth_xilinx
 |