mirror of https://github.com/VLSIDA/OpenRAM.git
Make mirror optional argument
This commit is contained in:
parent
a189b325ed
commit
d72691f6c2
|
|
@ -15,7 +15,7 @@ class dummy_array(design.design):
|
||||||
"""
|
"""
|
||||||
Generate a dummy row/column for the replica array.
|
Generate a dummy row/column for the replica array.
|
||||||
"""
|
"""
|
||||||
def __init__(self, cols, rows, mirror, name):
|
def __init__(self, cols, rows, mirror=0, name=""):
|
||||||
design.design.__init__(self, name)
|
design.design.__init__(self, name)
|
||||||
debug.info(1, "Creating {0} {1} x {2}".format(self.name, rows, cols))
|
debug.info(1, "Creating {0} {1} x {2}".format(self.name, rows, cols))
|
||||||
self.add_comment("rows: {0} cols: {1}".format(rows, cols))
|
self.add_comment("rows: {0} cols: {1}".format(rows, cols))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue