3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-11 11:43:38 +00:00
yosys/tests/various/bug1480.ys
Marcin Kościelnicki 15232a48af Fix #1462, #1480.
2019-11-19 08:57:39 +01:00

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