From: Eddie Hung Date: Fri, 9 Aug 2019 17:22:06 +0000 (-0700) Subject: Add new $alu test, remove wreduce X-Git-Tag: working-ls180~1149^2~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93001116011d46e50c0a24b0bd21c2f07746dc42;p=yosys.git Add new $alu test, remove wreduce --- diff --git a/tests/opt/opt_expr.ys b/tests/opt/opt_expr.ys index 28d57f530..96ab2f31a 100644 --- a/tests/opt/opt_expr.ys +++ b/tests/opt/opt_expr.ys @@ -8,8 +8,22 @@ EOT equiv_opt -assert opt_expr -fine design -load postopt -wreduce -select -assert-count 1 t:$add r:A_WIDTH=4 r:B_WIDTH=4 r:Y_WIDTH=5 %i %i %i +select -assert-count 1 t:$add r:A_WIDTH=5 r:B_WIDTH=4 r:Y_WIDTH=5 %i %i %i + +########## + +design -reset +read_verilog <