diff options
author | Claire Wolf <clifford@clifford.at> | 2020-05-03 11:56:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 11:56:29 +0200 |
commit | 5c82c19b4b58dfa6a1e03195a81d4e9a23cd7848 (patch) | |
tree | e26afad216e24b1a0d1b240c2e4798eb2ab459f5 /tests | |
parent | 73601554591da7d0034bff916400c5fca5445d13 (diff) | |
parent | db13852ed657294d9919e668201abe85bc3fba44 (diff) | |
download | yosys-5c82c19b4b58dfa6a1e03195a81d4e9a23cd7848.tar.gz yosys-5c82c19b4b58dfa6a1e03195a81d4e9a23cd7848.tar.bz2 yosys-5c82c19b4b58dfa6a1e03195a81d4e9a23cd7848.zip |
Merge pull request #2014 from YosysHQ/claire/fixoptalu
Fix the other "opt_expr -fine" bug introduced in 213a89558
Diffstat (limited to 'tests')
-rw-r--r-- | tests/various/bug2014.ys | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/various/bug2014.ys b/tests/various/bug2014.ys new file mode 100644 index 000000000..10131fc43 --- /dev/null +++ b/tests/various/bug2014.ys @@ -0,0 +1,12 @@ +read_verilog <<EOT +module test ( + input signed [1:0] n, + output [3:0] dout +); + assign dout = n + 4'sd 4; +endmodule +EOT + +alumacc +select -assert-count 1 t:$alu +equiv_opt -assert opt -fine |