mirror of https://github.com/VLSIDA/OpenRAM.git
force netlist only mode in memchar memfunc, rename char and func scripts, add description for func script
This commit is contained in:
parent
4514927a7b
commit
06cd2620f5
|
|
@ -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)
|
||||||
|
|
@ -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)
|
||||||
Loading…
Reference in New Issue