update wmask test to work for sky130 single port

This commit is contained in:
Jesse Cirimelli-Low 2026-05-14 19:46:42 -07:00
parent 8c4f4ef27f
commit d309a25c4c
1 changed files with 14 additions and 4 deletions

View File

@ -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()