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.
|
results.
|
||||||
We can later add visualizer and other high-level functions as needed.
|
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.name = name
|
||||||
self.config = sram_config
|
self.config = sram_config
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@ g.report_status()
|
||||||
|
|
||||||
from modules import sram_config
|
from modules import sram_config
|
||||||
|
|
||||||
|
|
||||||
# Configure the SRAM organization
|
# Configure the SRAM organization
|
||||||
c = sram_config(word_size=OPTS.word_size,
|
c = sram_config(word_size=OPTS.word_size,
|
||||||
num_words=OPTS.num_words,
|
num_words=OPTS.num_words,
|
||||||
|
|
@ -72,7 +71,6 @@ debug.print_raw("Output files are: ")
|
||||||
for path in output_files:
|
for path in output_files:
|
||||||
debug.print_raw(path)
|
debug.print_raw(path)
|
||||||
|
|
||||||
|
|
||||||
from modules import sram
|
from modules import sram
|
||||||
s = sram(name=OPTS.output_name,
|
s = sram(name=OPTS.output_name,
|
||||||
sram_config=c)
|
sram_config=c)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue