added compile time to datasheet

This commit is contained in:
Jesse Cirimelli-Low
2019-01-02 10:30:03 -08:00
parent cc27736a45
commit c69e5fdb18
3 changed files with 11 additions and 3 deletions
+1
View File
@@ -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>'
+5 -1
View File
@@ -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