mirror of https://github.com/VLSIDA/OpenRAM.git
Add total size in warning for output size.
This commit is contained in:
parent
a18071a4ff
commit
a4b5368302
|
|
@ -419,8 +419,9 @@ def report_status():
|
|||
debug.print_raw("Technology: {0}".format(OPTS.tech_name))
|
||||
total_size = OPTS.word_size*OPTS.num_words*OPTS.num_banks
|
||||
debug.print_raw("Total size: {} bits".format(total_size))
|
||||
if total_size>=2**15:
|
||||
debug.warning("Requesting such a large memory size ({0}) will have a large run-time. Consider using multiple smaller banks.")
|
||||
if total_size>=2**14:
|
||||
debug.warning("Requesting such a large memory size ({0}) will have a large run-time. ".format(total_size) +
|
||||
"Consider using multiple smaller banks.")
|
||||
debug.print_raw("Word size: {0}\nWords: {1}\nBanks: {2}".format(OPTS.word_size,
|
||||
OPTS.num_words,
|
||||
OPTS.num_banks))
|
||||
|
|
|
|||
Loading…
Reference in New Issue