aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-08-30 13:56:05 +0200
committerJannis Harder <me@jix.one>2022-10-07 16:04:51 +0200
commit0113f44faaa5778afd0fa3afbdbf12f33f2cea4e (patch)
tree24af24f2dfb61ca607b99b5ffee73a54bf6a0fc2 /tests/opt
parent81906aa627ed4a2d232a27a84e050bf86f2f83a6 (diff)
downloadyosys-0113f44faaa5778afd0fa3afbdbf12f33f2cea4e.tar.gz
yosys-0113f44faaa5778afd0fa3afbdbf12f33f2cea4e.tar.bz2
yosys-0113f44faaa5778afd0fa3afbdbf12f33f2cea4e.zip
Reenable existing equiv_opt tests
Diffstat (limited to 'tests/opt')
-rw-r--r--tests/opt/opt_expr_xor.ys8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/opt/opt_expr_xor.ys b/tests/opt/opt_expr_xor.ys
index a879f3ec9..8874f2775 100644
--- a/tests/opt/opt_expr_xor.ys
+++ b/tests/opt/opt_expr_xor.ys
@@ -10,7 +10,7 @@ design -save read
select -assert-count 2 t:$xor
select -assert-count 2 t:$xnor
-equiv_opt opt_expr
+equiv_opt -assert opt_expr
design -load postopt
select -assert-none t:$xor
select -assert-none t:$xnor
@@ -19,7 +19,7 @@ select -assert-count 2 t:$not
design -load read
simplemap
-equiv_opt opt_expr
+equiv_opt -assert opt_expr
design -load postopt
select -assert-none t:$_XOR_
select -assert-none t:$_XNOR_ # NB: simplemap does $xnor -> $_XOR_+$_NOT_
@@ -34,7 +34,7 @@ $_XNOR_ u1(.A(1'b1), .B(a), .Y(y[1]));
endmodule
EOT
select -assert-count 2 t:$_XNOR_
-equiv_opt opt_expr
+equiv_opt -assert opt_expr
design -load postopt
select -assert-none t:$_XNOR_ # NB: simplemap does $xnor -> $_XOR_+$_NOT_
select -assert-count 1 t:$_NOT_
@@ -49,7 +49,7 @@ assign y = a~^1'b0;
assign z = a~^1'b1;
endmodule
EOT
-equiv_opt opt_expr
+equiv_opt -assert opt_expr
# Single-bit $xor