From 01d80c74038dfb727e2ee19af53b813c4de364ef Mon Sep 17 00:00:00 2001 From: clemens Date: Sat, 19 Apr 2025 20:41:10 +0200 Subject: [PATCH] add testcase --- tests/various/stat.ys | 49 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/tests/various/stat.ys b/tests/various/stat.ys index ad96fe8d4..7c8700494 100644 --- a/tests/various/stat.ys +++ b/tests/various/stat.ys @@ -1,4 +1,4 @@ -read_rtlil << EOF +read_rtlil << EOT module \top wire input 1 \A wire output 2 \Y @@ -8,7 +8,52 @@ module \top connect \Y \Y end end -EOF +EOT logger -expect log "Chip area for module '\\top': 9.072000" 1 logger -expect-no-warnings stat -liberty ../../tests/liberty/foundry_data/sg13g2_stdcell_typ_1p20V_25C.lib.filtered.gz + + +design -reset +read_rtlil <