From b84415094c193fbeb2053f0a888689ea1502e7cc Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Thu, 23 Apr 2020 15:58:36 -0700 Subject: [PATCH] tests: add opt_expr tests --- tests/opt/bug1758.ys | 21 +++++++++ tests/opt/opt_expr_and.ys | 85 ++++++++++++++++++++++++++++++++++++ tests/opt/opt_expr_or.ys | 85 ++++++++++++++++++++++++++++++++++++ tests/opt/opt_expr_xnor.ys | 85 ++++++++++++++++++++++++++++++++++++ tests/opt/opt_expr_xor.ys | 89 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 365 insertions(+) create mode 100644 tests/opt/bug1758.ys create mode 100644 tests/opt/opt_expr_and.ys create mode 100644 tests/opt/opt_expr_or.ys create mode 100644 tests/opt/opt_expr_xnor.ys diff --git a/tests/opt/bug1758.ys b/tests/opt/bug1758.ys new file mode 100644 index 000000000..85dfaceb8 --- /dev/null +++ b/tests/opt/bug1758.ys @@ -0,0 +1,21 @@ +read_verilog -noopt <