mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-04 16:51:40 +02:00
Fixed issues with load capcitance units. Changed freepdk45 r and c wire values to be more in line with cacti.
This commit is contained in:
@@ -428,7 +428,7 @@ class spice():
|
||||
# Get wire values
|
||||
c_wire = self.module_wire_c()
|
||||
r_wire = self.module_wire_r()
|
||||
# Calculate tau with provided output load then calc delay
|
||||
|
||||
tf = rd*(c_intrinsic+c_load+c_wire)+r_wire*(c_load+c_wire/2)
|
||||
this_delay = self.horowitz(inrisetime, tf, 0.5, 0.5, True)
|
||||
inrisetime = this_delay / (1.0 - 0.5)
|
||||
|
||||
@@ -115,10 +115,7 @@ class timing_graph():
|
||||
else:
|
||||
debug.error("Undefined model_name for analytical timing: {}".format(params["model_name"]),
|
||||
return_value=1)
|
||||
#cout+=output_edge_mod.get_cin() # logical effort based CIN
|
||||
#cout+=output_edge_mod.get_input_capacitance() #cacti called from module
|
||||
#func = cacti_params["cin_function"]
|
||||
#cout+=output_edge_mod.func()
|
||||
|
||||
# If at the last output, include the final output load
|
||||
if i == len(path) - 2:
|
||||
cout += load
|
||||
@@ -130,10 +127,6 @@ class timing_graph():
|
||||
else:
|
||||
debug.error("Undefined model_name for analytical timing: {}".format(params["model_name"]),
|
||||
return_value=1)
|
||||
#delays.append(path_edge_mod.analytical_delay(corner, cur_slew, cout))
|
||||
#delays.append(path_edge_mod.cacti_delay(corner, cur_slew, cout, cacti_params))
|
||||
#delays.append(path_edge_mod.cacti_params["delay_function"](corner, cur_slew, cout, cacti_params))
|
||||
cur_slew = delays[-1].slew
|
||||
|
||||
return delays
|
||||
|
||||
|
||||
Reference in New Issue
Block a user