mirror of https://github.com/VLSIDA/OpenRAM.git
Specify two stage wl_en driver to prevent race condition
This commit is contained in:
parent
3e9cce0400
commit
3f031a90db
|
|
@ -121,8 +121,10 @@ class control_logic(design.design):
|
|||
# max_fanout = max(self.num_rows, self.num_cols)
|
||||
|
||||
# wl_en drives every row in the bank
|
||||
# MRG 9/3/2021: Ensure that this is two stages to prevent race conditions with the write driver
|
||||
size_list = [max(int(self.num_rows / 9), 1), max(int(self.num_rows / 3), 1)]
|
||||
self.wl_en_driver = factory.create(module_type="pdriver",
|
||||
fanout=self.num_rows,
|
||||
size_list=size_list,
|
||||
height=dff_height)
|
||||
self.add_mod(self.wl_en_driver)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue