Fix typo on w_en

This commit is contained in:
Bugra Onal 2022-08-04 16:35:09 -07:00
parent fdba1f4d7b
commit 0ca14a3662
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ class port_data(design):
for i in range(self.num_spare_cols):
temp.append("bank_spare_wen{}".format(i))
elif self.num_spare_cols and self.write_size != self.word_size:
elif self.num_spare_cols and self.write_size == self.word_size:
temp.append("w_en")
for i in range(self.num_spare_cols):
temp.append("bank_spare_wen{}".format(i))