mirror of https://github.com/VLSIDA/OpenRAM.git
Added a condiitonal to only route wmask dff when there's a write size.
This commit is contained in:
parent
858fbb062d
commit
f0f811bad9
|
|
@ -259,7 +259,8 @@ class sram_1bank(sram_base):
|
||||||
self.route_col_addr_dff()
|
self.route_col_addr_dff()
|
||||||
|
|
||||||
self.route_data_dff()
|
self.route_data_dff()
|
||||||
self.route_wmask_dff()
|
if self.write_size is not None:
|
||||||
|
self.route_wmask_dff()
|
||||||
|
|
||||||
def route_clk(self):
|
def route_clk(self):
|
||||||
""" Route the clock network """
|
""" Route the clock network """
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ import debug
|
||||||
class write_driver_test(openram_test):
|
class write_driver_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
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
|
# check write driver array for single port
|
||||||
debug.info(2, "Testing write_driver_array for columns=8, word_size=8, write_size=4")
|
debug.info(2, "Testing write_driver_array for columns=8, word_size=8, write_size=4")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue