mirror of https://github.com/VLSIDA/OpenRAM.git
fix width bin typo
This commit is contained in:
parent
a158ad1e81
commit
486819ae0d
|
|
@ -300,7 +300,7 @@ class pgate(design.design):
|
||||||
bins = bins[0:bisect_left(bins, target_width) + 1]
|
bins = bins[0:bisect_left(bins, target_width) + 1]
|
||||||
if len(bins) == 1:
|
if len(bins) == 1:
|
||||||
selected_bin = bins[0]
|
selected_bin = bins[0]
|
||||||
scaling_factor = math.ceil(target_width / width)
|
scaling_factor = math.ceil(target_width / selected_bin)
|
||||||
scaled_bin = bins[0] * scaling_factor
|
scaled_bin = bins[0] * scaling_factor
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue