mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-09 20:50:51 +00:00
parent
7a9081440c
commit
15232a48af
4 changed files with 40 additions and 9 deletions
11
tests/various/bug1462.ys
Normal file
11
tests/various/bug1462.ys
Normal file
|
@ -0,0 +1,11 @@
|
|||
read_verilog << EOF
|
||||
module top(...);
|
||||
input wire [31:0] A;
|
||||
output wire [31:0] P;
|
||||
|
||||
assign P = A * 32'h12300000;
|
||||
|
||||
endmodule
|
||||
EOF
|
||||
|
||||
synth_xilinx
|
18
tests/various/bug1480.ys
Normal file
18
tests/various/bug1480.ys
Normal file
|
@ -0,0 +1,18 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue