Zjog the WL enable. Min driver is 1.

This commit is contained in:
mrg
2020-09-28 12:24:55 -07:00
parent 6f06bb9dd5
commit d65eb16513
3 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -45,11 +45,11 @@ class wordline_driver(design.design):
try:
local_array_size = OPTS.local_array_size
driver_size = int(self.cols / local_array_size)
driver_size = max(int(self.cols / local_array_size), 1)
except AttributeError:
local_array_size = 0
# Defautl to FO4
driver_size = int(self.cols / 4)
driver_size = max(int(self.cols / 4), 1)
# The polarity must be switched if we have a hierarchical wordline
# to compensate for the local array inverters