From 2f795f8068bed59970f3a2264627eba145f9b137 Mon Sep 17 00:00:00 2001 From: samuelkcrow Date: Thu, 26 Jan 2023 17:38:24 -0800 Subject: [PATCH] fix height calculation bug for replica array --- compiler/modules/replica_bitcell_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/modules/replica_bitcell_array.py b/compiler/modules/replica_bitcell_array.py index b13310f3..b6eabc3d 100644 --- a/compiler/modules/replica_bitcell_array.py +++ b/compiler/modules/replica_bitcell_array.py @@ -255,7 +255,7 @@ class replica_bitcell_array(bitcell_base_array): self.route_supplies() - self.height = (len(self.rbl) + self.row_size) * self.cell.height + self.height = (sum(self.rbl) + self.row_size) * self.cell.height self.width = (len(self.rbls) + self.column_size) * self.cell.width self.add_boundary()