From 372a8a728efb4f0a5cf4af636446626305193a16 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 29 Jun 2020 16:47:34 -0700 Subject: [PATCH] Off by one error in channel spacing --- compiler/modules/bank.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/modules/bank.py b/compiler/modules/bank.py index 5716986f..390d17a3 100644 --- a/compiler/modules/bank.py +++ b/compiler/modules/bank.py @@ -900,7 +900,7 @@ class bank(design.design): self.copy_layout_pin(self.column_decoder_inst[port], decoder_name, addr_name) if port % 2: - offset = self.column_decoder_inst[port].ll() - vector(self.num_col_addr_lines * pitch, 0) + offset = self.column_decoder_inst[port].ll() - vector((self.num_col_addr_lines + 1) * pitch, 0) else: offset = self.column_decoder_inst[port].lr() + vector(pitch, 0)