mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-22 06:07:31 +02:00
removed tabs and fixed bug in which datasheets generated without the characterizer running
This commit is contained in:
@@ -64,6 +64,7 @@ s = sram(sram_config=c,
|
||||
s.save()
|
||||
|
||||
# generate datasheet from characterization of created SRAM
|
||||
if not OPTS.analytical_delay:
|
||||
p = parser.parse(OPTS.openram_temp,os.environ.get('OPENRAM_HOME')+"/datasheets")
|
||||
|
||||
# Delete temp files etc.
|
||||
|
||||
@@ -221,16 +221,3 @@ class parse():
|
||||
with open(out_dir + "/" + sheets.name + ".html", 'w+') as f:
|
||||
with contextlib.redirect_stdout(f):
|
||||
sheets.print()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,8 +63,9 @@ class openram_test(openram_test):
|
||||
files = glob.glob('{0}/*.lib'.format(out_path))
|
||||
self.assertTrue(len(files)>0)
|
||||
|
||||
# Make sure there is any .html file
|
||||
datasheets = glob.glob('{0}/{1}/*html'.format(OPENRAM_HOME,datasheets))
|
||||
# Make sure there is any .html file if characterizer was ran
|
||||
if not OPTS.analytical_delay:
|
||||
datasheets = glob.glob('{0}/{1}/*html'.format(OPENRAM_HOME,'datasheets'))
|
||||
self.assertTrue(len(datasheets)>0)
|
||||
|
||||
# grep any errors from the output
|
||||
|
||||
Reference in New Issue
Block a user