mirror of https://github.com/VLSIDA/OpenRAM.git
Initial work on separate delay and func simulation
This commit is contained in:
parent
ebe4393d66
commit
2adab1ea1a
|
|
@ -20,7 +20,7 @@ class sram():
|
|||
results.
|
||||
We can later add visualizer and other high-level functions as needed.
|
||||
"""
|
||||
def __init__(self, sram_config, name):
|
||||
def __init__(self, name, sram_config):
|
||||
|
||||
self.name = name
|
||||
self.config = sram_config
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ g.report_status()
|
|||
|
||||
from modules import sram_config
|
||||
|
||||
|
||||
# Configure the SRAM organization
|
||||
c = sram_config(word_size=OPTS.word_size,
|
||||
num_words=OPTS.num_words,
|
||||
|
|
@ -72,7 +71,6 @@ debug.print_raw("Output files are: ")
|
|||
for path in output_files:
|
||||
debug.print_raw(path)
|
||||
|
||||
|
||||
from modules import sram
|
||||
s = sram(name=OPTS.output_name,
|
||||
sram_config=c)
|
||||
|
|
|
|||
Loading…
Reference in New Issue