mirror of https://github.com/VLSIDA/OpenRAM.git
Get rid of write_size error when write_size==word_size
This commit is contained in:
parent
77f221d859
commit
d6d0df97f8
|
|
@ -607,7 +607,7 @@ def report_status():
|
|||
|
||||
# If a write mask is specified by the user, the mask write size should be the same as
|
||||
# the word size so that an entire word is written at once.
|
||||
if OPTS.write_size is not None:
|
||||
if OPTS.write_size is not None and OPTS.write_size != OPTS.word_size:
|
||||
if (OPTS.word_size % OPTS.write_size != 0):
|
||||
debug.error("Write size needs to be an integer multiple of word size.")
|
||||
# If write size is more than half of the word size,
|
||||
|
|
|
|||
Loading…
Reference in New Issue