From: Eddie Hung Date: Thu, 19 Mar 2020 23:59:11 +0000 (-0700) Subject: opt_expr: add $xor/$xnor/$_XOR_/$_XNOR_ tests X-Git-Tag: working-ls180~708^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81ca776ea44e126b3946fcdd076c2d2e4d2ab34d;p=yosys.git opt_expr: add $xor/$xnor/$_XOR_/$_XNOR_ tests --- diff --git a/tests/opt/opt_expr_xor.ys b/tests/opt/opt_expr_xor.ys new file mode 100644 index 000000000..a458c9a27 --- /dev/null +++ b/tests/opt/opt_expr_xor.ys @@ -0,0 +1,40 @@ +read_verilog < $_XOR_+$_NOT_ +select -assert-count 3 t:$_NOT_ + + +design -reset +read_verilog -icells < $_XOR_+$_NOT_ +select -assert-count 1 t:$_NOT_