From cc4c9c4eba97e8727e5236d012c516c8fc3a3b24 Mon Sep 17 00:00:00 2001 From: William Zhu Date: Thu, 27 Mar 2025 12:31:37 -0700 Subject: [PATCH] first tests for opt_expand --- Makefile | 1 + tests/silimate/opt_expand.ys | 225 +++++++++++++++++++++++++++++++++++ tests/silimate/run-test.sh | 6 + 3 files changed, 232 insertions(+) create mode 100644 tests/silimate/opt_expand.ys create mode 100755 tests/silimate/run-test.sh diff --git a/Makefile b/Makefile index ec01e3394..132a872e2 100644 --- a/Makefile +++ b/Makefile @@ -946,6 +946,7 @@ SH_TEST_DIRS += tests/blif SH_TEST_DIRS += tests/memfile SH_TEST_DIRS += tests/fmt # SH_TEST_DIRS += tests/cxxrtl +SH_TEST_DIRS += tests/silimate ifeq ($(ENABLE_FUNCTIONAL_TESTS),1) SH_TEST_DIRS += tests/functional endif diff --git a/tests/silimate/opt_expand.ys b/tests/silimate/opt_expand.ys new file mode 100644 index 000000000..d56078f1e --- /dev/null +++ b/tests/silimate/opt_expand.ys @@ -0,0 +1,225 @@ +log -header "Simple positive case" +log -push +design -reset +read_verilog <