From 2adab1ea1a33ca55ccf2f8167bdb8a454f5ff065 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 16 Feb 2022 10:54:39 -0800 Subject: [PATCH] Initial work on separate delay and func simulation --- compiler/modules/sram.py | 2 +- compiler/openram.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/modules/sram.py b/compiler/modules/sram.py index ed2760a1..c6f73295 100644 --- a/compiler/modules/sram.py +++ b/compiler/modules/sram.py @@ -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 diff --git a/compiler/openram.py b/compiler/openram.py index 2e460668..5c4f4df7 100755 --- a/compiler/openram.py +++ b/compiler/openram.py @@ -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)