Add even columns for sky130 to ring test

This commit is contained in:
mrg 2022-03-06 12:21:09 -08:00
parent 67b51ff7f5
commit 4faf97005f
1 changed files with 11 additions and 1 deletions

View File

@ -23,9 +23,19 @@ class sram_1bank_nomux_test(openram_test):
globals.init_openram(config_file)
OPTS.supply_pin_type = "ring"
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=4,
num_words=16,
num_banks=1)
num_banks=1,
num_spare_cols=num_spare_cols,
num_spare_rows=num_spare_rows)
c.words_per_row=1
c.recompute_sizes()