Fixed issue with wire resistance in total resistance equations for cacti. Fixed issue with sense amp resistance values.

This commit is contained in:
Hunter Nichols 2021-08-04 16:10:27 -07:00
parent 134bf573ec
commit b3500982ca
2 changed files with 3 additions and 3 deletions

View File

@ -429,7 +429,7 @@ class spice():
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_load/2)
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)
return delay_data(this_delay, inrisetime)

View File

@ -82,9 +82,9 @@ class sense_amp(design.design):
def get_on_resistance(self):
"""On resistance of pinv, defined by single nmos"""
is_nchannel = False
is_nchannel = True
stack = 1
is_cell = False
is_cell = False
return self.tr_r_on(parameter["sa_inv_nmos_size"], is_nchannel, stack, is_cell)
def get_input_capacitance(self):