mirror of https://github.com/VLSIDA/OpenRAM.git
call create() function from sram/__init__
This commit is contained in:
parent
2bbd293bf2
commit
34ee709c69
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue