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)