From ac8a15acc01f166e47ec23b4a94c7f4213debb6b Mon Sep 17 00:00:00 2001 From: samuelkcrow Date: Mon, 21 Nov 2022 17:42:50 -0800 Subject: [PATCH] fix get_replica_top and get_replica_left return values --- compiler/modules/replica_bitcell_array.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/modules/replica_bitcell_array.py b/compiler/modules/replica_bitcell_array.py index 612155ce..d9b28fcd 100644 --- a/compiler/modules/replica_bitcell_array.py +++ b/compiler/modules/replica_bitcell_array.py @@ -285,7 +285,7 @@ class replica_bitcell_array(bitcell_base_array): def get_replica_top(self): """ Return the top of all replica columns. """ - return self.dummy_row_insts[0].by() + return self.dummy_row_insts[1].by() def get_replica_bottom(self): """ Return the bottom of all replica columns. """ @@ -293,7 +293,7 @@ class replica_bitcell_array(bitcell_base_array): def get_replica_left(self): """ Return the left of all replica columns. """ - return self.dummy_col_insts[0].rx() + return self.dummy_col_insts[0].lx() def get_replica_right(self): """ Return the right of all replica columns. """