Remove line ending whitespace

This commit is contained in:
Eren Dogan 2022-07-22 19:52:38 +03:00
parent 2a778dca82
commit e3fe8c3229
80 changed files with 431 additions and 479 deletions

View File

@ -220,4 +220,3 @@ class lef:
round(item[1], round(item[1],
self.round_grid))) self.round_grid)))
self.lef.write(" ;\n") self.lef.write(" ;\n")

View File

@ -153,4 +153,3 @@ class timing_graph():
""" override print function output """ """ override print function output """
return str(self) return str(self)

View File

@ -118,5 +118,3 @@ class cacti(simulation):
debug.info(1, "Dynamic Power: {0} mW".format(power.dynamic)) debug.info(1, "Dynamic Power: {0} mW".format(power.dynamic))
debug.info(1, "Leakage Power: {0} mW".format(power.leakage)) debug.info(1, "Leakage Power: {0} mW".format(power.leakage))
return power return power

View File

@ -40,4 +40,3 @@ class linear_regression(regression_model):
pred = model.predict(features) pred = model.predict(features)
return pred return pred

View File

@ -211,4 +211,3 @@ class voltage_at_measure(spice_measurement):
meas_name = self.name meas_name = self.name
targ_name = self.targ_name_no_port targ_name = self.targ_name_no_port
return (meas_name, targ_name, time_at) return (meas_name, targ_name, time_at)

View File

@ -448,6 +448,3 @@ class model_check(delay):
name_dict[self.sae_model_name] = name_dict["sae_measures"] name_dict[self.sae_model_name] = name_dict["sae_measures"]
return name_dict return name_dict

View File

@ -41,4 +41,3 @@ class neural_network(regression_model):
pred = model.predict(features) pred = model.predict(features)
reshape_pred = np.reshape(pred, (len(pred),1)) reshape_pred = np.reshape(pred, (len(pred),1))
return reshape_pred return reshape_pred

View File

@ -205,4 +205,3 @@ class regression_model(simulation):
OPTS.model_dict[model_name+"_coef"] = list(model.coef_[0]) OPTS.model_dict[model_name+"_coef"] = list(model.coef_[0])
debug.info(1,"Coefs of {}:{}".format(model_name,OPTS.model_dict[model_name+"_coef"])) debug.info(1,"Coefs of {}:{}".format(model_name,OPTS.model_dict[model_name+"_coef"]))
OPTS.model_dict[model_name+"_intercept"] = float(model.intercept_) OPTS.model_dict[model_name+"_intercept"] = float(model.intercept_)

View File

@ -134,4 +134,3 @@ def bp():
and whenever you encounter the debug.bp() they won't be "reset". and whenever you encounter the debug.bp() they won't be "reset".
""" """
pass pass

View File

@ -290,4 +290,3 @@ class cell_properties():
@property @property
def row_cap_2port(self): def row_cap_2port(self):
return self._row_cap_2port return self._row_cap_2port

View File

@ -267,27 +267,3 @@ if __name__ == "__main__":
input_dir_path = sys.argv[1] input_dir_path = sys.argv[1]
out_path = sys.argv[2] out_path = sys.argv[2]
gen_model_csv(input_dir_path, out_path) gen_model_csv(input_dir_path, out_path)

View File

@ -213,8 +213,3 @@ class grid:
""" """
path.set_path(False) path.set_path(False)
path.set_blocked(True) path.set_blocked(True)

View File

@ -49,4 +49,3 @@ class grid_cell:
type_string += "P" type_string += "P"
return type_string return type_string

View File

@ -102,5 +102,3 @@ class signal_escape_router(router):
# breakpoint() # breakpoint()
self.write_debug_gds("debug_route.gds", True) self.write_debug_gds("debug_route.gds", True)

View File

@ -77,5 +77,3 @@ class supply_grid(signal_grid):
wave = wave_path.neighbor(direct) wave = wave_path.neighbor(direct)
return wave_path return wave_path

View File

@ -392,4 +392,3 @@ class supply_grid_router(router):
debug.info(4, "Blocking supply rail") debug.info(4, "Blocking supply rail")
for rail_name in self.supply_rail_tracks: for rail_name in self.supply_rail_tracks:
self.rg.set_blocked(self.supply_rail_tracks[rail_name]) self.rg.set_blocked(self.supply_rail_tracks[rail_name])