fix width bin typo

This commit is contained in:
jcirimel 2020-04-17 15:27:36 -07:00
parent a158ad1e81
commit 486819ae0d
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ class pgate(design.design):
bins = bins[0:bisect_left(bins, target_width) + 1]
if len(bins) == 1:
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
else: