From: Eddie Hung Date: Fri, 9 Aug 2019 17:08:17 +0000 (-0700) Subject: Simplify opt_expr tests using equiv_opt X-Git-Tag: working-ls180~1149^2~10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9c16644626d49b5bb5eb463f2a113e13ad22d69;p=yosys.git Simplify opt_expr tests using equiv_opt --- diff --git a/tests/opt/opt_expr.ys b/tests/opt/opt_expr.ys index 0c61ac881..9f3c0a1cd 100644 --- a/tests/opt/opt_expr.ys +++ b/tests/opt/opt_expr.ys @@ -6,24 +6,16 @@ endmodule EOT hierarchy -auto-top -proc -design -save gold -opt_expr -fine -wreduce +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 -design -stash gate - -design -import gold -as gold -design -import gate -as gate - -miter -equiv -flatten -make_assert -make_outputs gold gate miter -sat -verify -prove-asserts -show-ports miter - ########## +design -reset read_verilog <