From 39c39848a21dc4f4a2c3b17842d854047ba6c16f Mon Sep 17 00:00:00 2001 From: Kamil Rakoczy Date: Thu, 25 Jun 2020 14:20:47 +0200 Subject: [PATCH] Add sub-assign and and-assign tests Signed-off-by: Kamil Rakoczy --- tests/opt/opt_expr_combined_assign.ys | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/tests/opt/opt_expr_combined_assign.ys b/tests/opt/opt_expr_combined_assign.ys index 56fbac9de..b18923c7b 100644 --- a/tests/opt/opt_expr_combined_assign.ys +++ b/tests/opt/opt_expr_combined_assign.ys @@ -47,3 +47,37 @@ equiv_opt -assert opt_expr -fine design -load postopt select -assert-count 1 t:$xor r:A_WIDTH=4 r:B_WIDTH=4 r:Y_WIDTH=4 %i %i %i + +design -reset +read_verilog -sv <