mirror of https://github.com/VLSIDA/OpenRAM.git
added compile time to datasheet
This commit is contained in:
parent
cc27736a45
commit
c69e5fdb18
|
|
@ -1,6 +1,7 @@
|
|||
import os,sys,re
|
||||
import debug
|
||||
import math
|
||||
import datetime
|
||||
from .setup_hold import *
|
||||
from .delay import *
|
||||
from .charutils import *
|
||||
|
|
@ -515,7 +516,8 @@ class lib:
|
|||
|
||||
datasheet = open(OPTS.openram_temp +'/datasheet.info', 'a+')
|
||||
|
||||
datasheet.write("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12},{13},{14},".format(
|
||||
current_time = datetime.datetime.now()
|
||||
datasheet.write("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12},{13},{14},{15},".format(
|
||||
"sram_{0}_{1}_{2}".format(OPTS.word_size, OPTS.num_words, OPTS.tech_name),
|
||||
OPTS.num_words,
|
||||
OPTS.num_banks,
|
||||
|
|
@ -530,7 +532,8 @@ class lib:
|
|||
self.out_dir,
|
||||
lib_name,
|
||||
OPTS.word_size,
|
||||
git_id
|
||||
git_id,
|
||||
current_time
|
||||
))
|
||||
|
||||
# information of checks
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ class datasheet():
|
|||
|
||||
|
||||
self.html +='<p style="font-size: 18px;font-family: Trebuchet MS, Arial, Helvetica, sans-serif;">'+ self.name + '.html' + '</p>'
|
||||
self.html +='<p style="font-size: 18px;font-family: Trebuchet MS, Arial, Helvetica, sans-serif;">Compiled at: '+ self.time + '</p>'
|
||||
self.html +='<p style="font-size: 18px;font-family: Trebuchet MS, Arial, Helvetica, sans-serif;">'+ 'DRC: ' + str(self.DRC) + '</p>'
|
||||
self.html +='<p style="font-size: 18px;font-family: Trebuchet MS, Arial, Helvetica, sans-serif;">'+ 'LVS: ' + str(self.LVS) + '</p>'
|
||||
self.html += '<p style="font-size: 18px;font-family: Trebuchet MS, Arial, Helvetica, sans-serif;">'+ 'Git commit id: ' + str(self.git_id) + '</p>'
|
||||
|
|
|
|||
|
|
@ -102,6 +102,9 @@ def parse_characterizer_csv(sram,f,pages):
|
|||
ORIGIN_ID = row[col]
|
||||
col += 1
|
||||
|
||||
DATETIME = row[col]
|
||||
col+= 1
|
||||
|
||||
DRC = row[col]
|
||||
col += 1
|
||||
|
||||
|
|
@ -358,7 +361,8 @@ def parse_characterizer_csv(sram,f,pages):
|
|||
new_sheet = datasheet(NAME)
|
||||
pages.append(new_sheet)
|
||||
|
||||
new_sheet.git_id = ORIGIN_ID
|
||||
new_sheet.git_id = ORIGIN_ID
|
||||
new_sheet.time = DATETIME
|
||||
new_sheet.DRC = DRC
|
||||
new_sheet.LVS = LVS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue