From a7a309970242a1de199baad14187e7aaf6937d7f Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Fri, 27 Jul 2018 15:00:00 -0700 Subject: [PATCH] Fix comments in stimulus file to show list and not zip type --- compiler/characterizer/stimuli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/characterizer/stimuli.py b/compiler/characterizer/stimuli.py index 0c939a1f..2cca1384 100644 --- a/compiler/characterizer/stimuli.py +++ b/compiler/characterizer/stimuli.py @@ -144,7 +144,7 @@ class stimuli(): times = np.array(clk_times) - setup*period values = np.array(data_values) * self.voltage half_slew = 0.5 * slew - self.sf.write("* (time, data): {}\n".format(zip(clk_times, data_values))) + self.sf.write("* (time, data): {}\n".format(list(zip(clk_times, data_values)))) self.sf.write("V{0} {0} 0 PWL (0n {1}v ".format(sig_name, values[0])) for i in range(1,len(times)): self.sf.write("{0}n {1}v {2}n {3}v ".format(times[i]-half_slew,