From 486c3715fb5b39b18c1cac0a06939273317f4072 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 11 Mar 2026 08:02:11 +0100 Subject: [PATCH] Enabled realmath that was disabled for some reason --- tests/Makefile | 2 +- tests/realmath/run-test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index d34db2100..6742b6076 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -37,7 +37,7 @@ SH_TEST_DIRS += ./simple SH_TEST_DIRS += ./simple_abc9 SH_TEST_DIRS += ./hana SH_TEST_DIRS += ./asicworld -# SH_TEST_DIRS += ./realmath +SH_TEST_DIRS += ./realmath SH_TEST_DIRS += ./share SH_TEST_DIRS += ./opt_share SH_TEST_DIRS += ./fsm diff --git a/tests/realmath/run-test.sh b/tests/realmath/run-test.sh index 833e8c3f4..918c93a9f 100755 --- a/tests/realmath/run-test.sh +++ b/tests/realmath/run-test.sh @@ -23,8 +23,8 @@ echo "running tests.." for ((i = 0; i < $count; i++)); do echo -n "[$i]" idx=$( printf "%05d" $i ) - ../../../yosys -qq uut_${idx}.ys - iverilog -o uut_${idx}_tb uut_${idx}_tb.v uut_${idx}.v uut_${idx}_syn.v + ../../../yosys -qq uut_${idx}.ys >/dev/null 2>&1 + iverilog -o uut_${idx}_tb uut_${idx}_tb.v uut_${idx}.v uut_${idx}_syn.v >/dev/null 2>&1 ./uut_${idx}_tb | tee uut_${idx}.err if test -s uut_${idx}.err; then echo "Note: Make sure that 'iverilog' is an up-to-date git checkout of Icarus Verilog."