call create() function from sram/__init__

This commit is contained in:
samuelkcrow 2022-03-02 16:38:39 -08:00 committed by Bugra Onal
parent 2bbd293bf2
commit 34ee709c69
4 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,6 @@ c = sram_config(word_size=OPTS.word_size,
# Initialize and create the sram object
from sram import sram
s = sram(name=OPTS.output_name, sram_config=c)
s.create()
# Characterize the design
start_time = datetime.datetime.now()

View File

@ -54,7 +54,6 @@ c = sram_config(word_size=OPTS.word_size,
# Initialize and create the sram object
from sram import sram
s = sram(name=OPTS.output_name, sram_config=c)
s.create()
# Generate stimulus and run functional simulation on the design
start_time = datetime.datetime.now()

View File

@ -60,7 +60,6 @@ OPTS.openram_temp = OPTS.output_path
from sram import sram
s = sram(name=OPTS.output_name, sram_config=c)
s.create()
from characterizer import delay
import tech

View File

@ -39,6 +39,8 @@ class sram():
from base import design
design.name_map=[]
self.create()
def create(self):
debug.info(2, "create sram of size {0} with {1} num of words {2} banks".format(self.word_size,
self.num_words,