Initial work on separate delay and func simulation

This commit is contained in:
mrg
2022-08-10 12:14:47 -07:00
committed by Bugra Onal
parent ebe4393d66
commit 2adab1ea1a
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -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
-2
View File
@@ -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)