From 8de3be8529b4a55e9d7213e59aaf3bd674916431 Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Mon, 23 Jan 2023 17:48:30 -0800 Subject: [PATCH] Changed the standalone characterizer interface --- compiler/characterizer/fake_sram.py | 2 +- compiler/sram_char.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/characterizer/fake_sram.py b/compiler/characterizer/fake_sram.py index 928f4903..709fec8f 100644 --- a/compiler/characterizer/fake_sram.py +++ b/compiler/characterizer/fake_sram.py @@ -1,4 +1,4 @@ -from openram.modules import sram_config +from openram import sram_config from math import ceil import re diff --git a/compiler/sram_char.py b/compiler/sram_char.py index c602e59b..897bc154 100755 --- a/compiler/sram_char.py +++ b/compiler/sram_char.py @@ -62,8 +62,8 @@ s = fake_sram(name=OPTS.output_name, num_spare_rows=OPTS.num_spare_rows, 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[2], "HTML report file {} not found.".format(args[2]))) +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])) sp_file = args[1] html_file = args[2] s.parse_html(html_file)