Added a condiitonal to only route wmask dff when there's a write size.

This commit is contained in:
jsowash 2019-08-14 12:40:14 -07:00
parent 858fbb062d
commit f0f811bad9
2 changed files with 3 additions and 2 deletions

View File

@ -259,7 +259,8 @@ class sram_1bank(sram_base):
self.route_col_addr_dff()
self.route_data_dff()
self.route_wmask_dff()
if self.write_size is not None:
self.route_wmask_dff()
def route_clk(self):
""" Route the clock network """

View File

@ -20,7 +20,7 @@ import debug
class write_driver_test(openram_test):
def runTest(self):
globals.init("config_{0}".format(OPTS.tech_name))
globals.init_openram("config_{0}".format(OPTS.tech_name))
# check write driver array for single port
debug.info(2, "Testing write_driver_array for columns=8, word_size=8, write_size=4")