mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +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
 |