From cf4b2168888781633028f9043ceabde050e3ce6d Mon Sep 17 00:00:00 2001 From: Michael Timothy Grimes Date: Thu, 4 Oct 2018 13:55:59 -0700 Subject: [PATCH] Correcting functional inheritance from simulation. --- compiler/characterizer/functional.py | 2 +- compiler/characterizer/stimuli.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/characterizer/functional.py b/compiler/characterizer/functional.py index 8b979394..6cd1e65d 100644 --- a/compiler/characterizer/functional.py +++ b/compiler/characterizer/functional.py @@ -19,7 +19,7 @@ class functional(simulation): """ def __init__(self, sram, spfile, corner): - super().__init__(sram, spfile, corner) + simulation.__init__(self, sram, spfile, corner) self.set_corner(corner) self.set_spice_constants() diff --git a/compiler/characterizer/stimuli.py b/compiler/characterizer/stimuli.py index d07d3c11..9701d088 100644 --- a/compiler/characterizer/stimuli.py +++ b/compiler/characterizer/stimuli.py @@ -64,10 +64,10 @@ class stimuli(): for readwrite_port in range(readwrite_num): self.sf.write("WEB{0} ".format(readwrite_port)) - for port in range(total_port_num): - self.sf.write("CLK{0} ".format(port)) + #for port in range(total_port_num): + # self.sf.write("CLK{0} ".format(port)) - #self.sf.write("{0} ".format(tech.spice["clk"])) + self.sf.write("{0} ".format(tech.spice["clk"])) for read_output in read_ports: for i in range(dbits): self.sf.write("DOUT{0}[{1}] ".format(read_output, i))