mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-03 16:31:08 +02:00
Sized inverter for number of driven write drivers.
This commit is contained in:
@@ -64,7 +64,9 @@ class write_mask_and_array(design.design):
|
||||
self.add_pin("gnd","GROUND")
|
||||
|
||||
def add_modules(self):
|
||||
self.and2 = factory.create(module_type="pand2")
|
||||
# Size the AND gate for the number of write drivers it drives, which is equal to the write size.
|
||||
self.and2 = factory.create(module_type="pand2",
|
||||
size=self.write_size)
|
||||
self.add_mod(self.and2)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user