force netlist only mode in memchar memfunc, rename char and func scripts, add description for func script

This commit is contained in:
samuelkcrow 2022-04-14 10:04:07 -07:00
parent 4514927a7b
commit 06cd2620f5
2 changed files with 8 additions and 4 deletions

View File

@ -46,6 +46,8 @@ c = sram_config(word_size=OPTS.word_size,
num_spare_rows=OPTS.num_spare_rows,
num_spare_cols=OPTS.num_spare_cols)
OPTS.netlist_only = True
# Initialize and create the sram object
from sram import sram
s = sram(name=OPTS.output_name, sram_config=c)

View File

@ -7,10 +7,10 @@
# All rights reserved.
#
"""
This script will characterize an SRAM previously generated by OpenRAM given a
configuration file. Configuration option "use_pex" determines whether extracted
or generated spice is used and option "analytical_delay" determines whether
an analytical model or spice simulation is used for characterization.
This script will functionally simulate an SRAM previously generated by OpenRAM
given a configuration file. Configuration option "use_pex" determines whether
extracted or generated spice is used. Command line arguments dictate the
number of cycles and period to be simulated.
"""
import sys
@ -51,6 +51,8 @@ c = sram_config(word_size=OPTS.word_size,
num_spare_rows=OPTS.num_spare_rows,
num_spare_cols=OPTS.num_spare_cols)
OPTS.netlist_only = True
# Initialize and create the sram object
from sram import sram
s = sram(name=OPTS.output_name, sram_config=c)