mirror of https://github.com/YosysHQ/yosys.git
19 lines
203 B
Plaintext
19 lines
203 B
Plaintext
|
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
|