mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 17:39:02 +02:00
use left_rbl instead of rbl to calculate replica column mirroring (column offset)
This commit is contained in:
@@ -101,7 +101,7 @@ class replica_bitcell_array(bitcell_base_array):
|
||||
# the array.
|
||||
# These go from the top (where the bitcell array starts ) down
|
||||
replica_bit = self.rbl[0] - port - 1
|
||||
column_offset = self.rbl[0]
|
||||
column_offset = len(self.left_rbl)
|
||||
|
||||
elif port in self.right_rbl:
|
||||
|
||||
@@ -109,7 +109,7 @@ class replica_bitcell_array(bitcell_base_array):
|
||||
# the array.
|
||||
# These go from the bottom up
|
||||
replica_bit = self.rbl[0] + self.row_size + port - 1
|
||||
column_offset = self.rbl[0] + self.column_size + 1
|
||||
column_offset = len(self.left_rbl) + self.column_size + 1
|
||||
else:
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user