Fix sense amp offset index error

This commit is contained in:
mrg 2020-09-11 17:12:29 -07:00
parent 8909ad7165
commit 4482c63d6f
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class single_level_column_mux_array(design.design):
self.offsets = [n * self.mux.width for n in range(self.columns)]
# For every column, add a pass gate
for col_num, xoffset in enumerate(self.offsets):
for col_num, xoffset in enumerate(self.offsets[0:self.columns]):
xoffset = col_num * self.mux.width
if cell_properties.bitcell.mirror.y and (col_num + self.column_offset) % 2:
mirror = "MY"