Convert bitline index to integer in trim_spice

This commit is contained in:
Matt Guthaus 2018-07-26 14:29:44 -07:00
parent f098b995f0
commit a00e160274
1 changed files with 1 additions and 1 deletions

View File

@ -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)