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 committed by Bugra Onal
parent 3e528a3e75
commit e621890f78
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_rows=OPTS.num_spare_rows,
num_spare_cols=OPTS.num_spare_cols) num_spare_cols=OPTS.num_spare_cols)
OPTS.netlist_only = True
# Initialize and create the sram object # Initialize and create the sram object
from sram import sram from sram import sram
s = sram(name=OPTS.output_name, sram_config=c) s = sram(name=OPTS.output_name, sram_config=c)

View File

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