Changed the standalone characterizer interface

This commit is contained in:
Bugra Onal 2023-01-23 17:48:30 -08:00
parent 149abe1dbd
commit 8de3be8529
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from openram.modules import sram_config from openram import sram_config
from math import ceil from math import ceil
import re import re

View File

@ -62,8 +62,8 @@ s = fake_sram(name=OPTS.output_name,
num_spare_rows=OPTS.num_spare_rows, num_spare_rows=OPTS.num_spare_rows,
num_spare_cols=OPTS.num_spare_cols) num_spare_cols=OPTS.num_spare_cols)
debug.check(os.path.exists(args[1], "Spice netlist file {} not found.".format(args[1]))) debug.check(os.path.exists(args[1]), "Spice netlist file {} not found.".format(args[1]))
debug.check(os.path.exists(args[2], "HTML report file {} not found.".format(args[2]))) debug.check(os.path.exists(args[2]), "HTML report file {} not found.".format(args[2]))
sp_file = args[1] sp_file = args[1]
html_file = args[2] html_file = args[2]
s.parse_html(html_file) s.parse_html(html_file)