-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3982 from povik/booth-fix
booth: Fix vacancy check when summing down result
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |