add support for col offset to rbc; fix rba mirroring

This commit is contained in:
Jesse Cirimelli-Low
2023-09-12 12:12:21 -07:00
parent 0034798787
commit 2faa067ea6
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class replica_bitcell_array(bitcell_base_array):
if port in self.left_rbl:
# These go top down starting from the bottom of the bitcell array.
replica_bit = self.rbl[0] - port - 1
column_offset = len(self.left_rbl)
column_offset = 0
elif port in self.right_rbl:
# These go bottom up starting from the top of the bitcell array.
replica_bit = self.rbl[0] + self.row_size + port - 1