From a00e1602748b458ee1c09da38d5428bf49a379ae Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Thu, 26 Jul 2018 14:29:44 -0700 Subject: [PATCH] Convert bitline index to integer in trim_spice --- compiler/characterizer/trim_spice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/characterizer/trim_spice.py b/compiler/characterizer/trim_spice.py index d3be0dc8..c3a6ee69 100644 --- a/compiler/characterizer/trim_spice.py +++ b/compiler/characterizer/trim_spice.py @@ -55,7 +55,7 @@ class trim_spice(): col_address = 0 # 1. Keep cells in the bitcell array based on WL and BL wl_name = "wl[{}]".format(wl_address) - bl_name = "bl[{}]".format(self.words_per_row*data_bit + col_address) + bl_name = "bl[{}]".format(int(self.words_per_row*data_bit + col_address)) # Prepend info about the trimming addr_msg = "Keeping {} address".format(address)