From d309a25c4c30893c6771ab736a666b145289d985 Mon Sep 17 00:00:00 2001 From: Jesse Cirimelli-Low Date: Thu, 14 May 2026 19:46:42 -0700 Subject: [PATCH] update wmask test to work for sky130 single port --- compiler/tests/19_single_bank_wmask_test.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/compiler/tests/19_single_bank_wmask_test.py b/compiler/tests/19_single_bank_wmask_test.py index e18edc3c..9cc23cd9 100755 --- a/compiler/tests/19_single_bank_wmask_test.py +++ b/compiler/tests/19_single_bank_wmask_test.py @@ -23,10 +23,20 @@ class single_bank_wmask_test(openram_test): openram.init_openram(config_file, is_unit_test=True) from openram import sram_config - c = sram_config(word_size=8, - write_size=4, - num_words=16, - num_banks=1) + if OPTS.tech_name == "sky130": + c = sram_config(word_size=8, + write_size=4, + num_words=16, + num_banks=1, + num_spare_cols=1, + num_spare_rows=1) + else: + c = sram_config(word_size=8, + write_size=4, + num_words=16, + num_banks=1, + num_spare_cols=0, + num_spare_rows=0) c.words_per_row=1 c.recompute_sizes()