From 725c4423cf1b5c0e18843fbc582f8a082bed29cb Mon Sep 17 00:00:00 2001 From: FriedrichWu Date: Tue, 30 Jul 2024 16:11:40 +0200 Subject: [PATCH] fix --- compiler/sram_new_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/sram_new_test.py b/compiler/sram_new_test.py index 01a0b814..ec2b1a4e 100644 --- a/compiler/sram_new_test.py +++ b/compiler/sram_new_test.py @@ -63,7 +63,7 @@ class sram(): self.s.create_layout_recrusive(position_add=i) except AssertionError as e: supply_route_not_found = True - if i == 99:# failed in rounting + if i == (99 + OPTS.word_size):# failed in rounting debug.error("Failed in rounting", -1) break