From 650c636d3955a00b783541a6f030e1cc9155f379 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 18 Feb 2026 01:12:35 -0800 Subject: [PATCH] Fixups --- tests/memlib/generate.py | 8 +- tests/silimate/mux_andnot.ys | 222 ----------------------------------- tests/silimate/mux_ornot.ys | 222 ----------------------------------- tests/unit/Makefile | 3 +- 4 files changed, 6 insertions(+), 449 deletions(-) delete mode 100644 tests/silimate/mux_andnot.ys delete mode 100644 tests/silimate/mux_ornot.ys diff --git a/tests/memlib/generate.py b/tests/memlib/generate.py index c52114aeb..46eff6b43 100644 --- a/tests/memlib/generate.py +++ b/tests/memlib/generate.py @@ -1428,7 +1428,7 @@ endmodule for (testname, reset_gate, rdwr, clk_en, add_logic) in [ ("no_reset", "", "old", False, 0), ("gclken", "rst", "old", False, 0), - ("ungated", "ungated", "old", False, 2), # muxes wren with rst + ("ungated", "ungated", "old", False, 1), # muxes wren with rst ("gclken_ce", "rst", "old", True, 3), # AND to simulate CLK_EN ("grden", "rden && rst", "old", False, 1), # selects _clken, simulates _rden ("grden_ce", "rden && rst", "old", True, 4), # both of the above @@ -1473,9 +1473,9 @@ end""" for (testname, reset_gate, defs, rdwr, add_logic) in [ ("wr_byte", "", ["USE_SRST_BLOCKING"], "old", 0), ("trans_byte", "", ["USE_SRST_BLOCKING"], "new", 0), - ("wr_rst_byte", "rst", ["USE_SRST"], "old", 3), # expected mux to emulate blocking - ("rst_wr_byte", "rst", ["USE_SRST_BLOCKING"], "old", 3), # should use hardware blocking, doesn't - ("rdenrst_wr_byte", "rden && rst", ["USE_SRST"], "old", 4), + ("wr_rst_byte", "rst", ["USE_SRST"], "old", 2), # expected mux to emulate blocking + ("rst_wr_byte", "rst", ["USE_SRST_BLOCKING"], "old", 2), # should use hardware blocking, doesn't + ("rdenrst_wr_byte", "rden && rst", ["USE_SRST"], "old", 3), ]: wordsloop = "for (i=0; i /dev/null 2>&1; then echo "python3-config --embed"; else echo "python3-config"; fi) +EXTRAFLAGS := -lyosys -pthread $(shell $(PYTHON_CONFIG) --ldflags --libs) MAKEFILE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) OBJTEST := $(MAKEFILE_DIR)objtest