mirror of https://github.com/VLSIDA/OpenRAM.git
call create() function from sram/__init__
This commit is contained in:
parent
910980328c
commit
1acc6be3ce
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -72,13 +72,10 @@ debug.print_raw("Output files are: ")
|
|||
for path in output_files:
|
||||
debug.print_raw(path)
|
||||
|
||||
|
||||
# Initialize the SRAM
|
||||
s = sram(name=OPTS.output_name, sram_config=c)
|
||||
|
||||
# Actually build the SRAM
|
||||
s.create()
|
||||
|
||||
# Output the files for the resulting SRAM
|
||||
# Generate and output the files for the resulting SRAM
|
||||
s.save()
|
||||
|
||||
# Delete temp files etc.
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ class sram():
|
|||
from design 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