Update port data test for sky130 single port

This commit is contained in:
mrg 2022-06-08 17:18:53 -07:00
parent 00ca2d45b6
commit 9e3a28237f
1 changed files with 10 additions and 1 deletions

View File

@ -22,9 +22,18 @@ class port_data_wmask_test(openram_test):
globals.init_openram(config_file)
from sram_config import sram_config
if OPTS.tech_name == "sky130":
num_spare_rows = 1
num_spare_cols = 1
else:
num_spare_rows = 0
num_spare_cols = 0
c = sram_config(word_size=16,
write_size=4,
num_words=16)
num_words=16,
num_spare_cols=num_spare_cols,
num_spare_rows=num_spare_rows)
c.words_per_row = 1
factory.reset()