Skip to content

Commit

Permalink
booth: Extend test to catch bug from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Oct 4, 2023
1 parent 0434f9d commit 4506e11
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tests/techmap/booth.ys
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
test_cell -s 1694091355 -n 100 -script booth_map_script.ys_ $mul
read_verilog <<EOF
module test(clk, a, b, y);
input wire clk;
input wire [9:0] a;
input wire [6:0] b;
output wire [20:0] y;

assign y = a * b;
endmodule
EOF
booth
sat -verify -set a 0 -set b 0 -prove y 0
design -reset

test_cell -s 1694091355 -n 100 -script booth_map_script.ys_ $mul

0 comments on commit 4506e11

Please sign in to comment.