diff --git a/compiler/characterizer/lib.py b/compiler/characterizer/lib.py index fbe84811..f8d8116d 100644 --- a/compiler/characterizer/lib.py +++ b/compiler/characterizer/lib.py @@ -533,6 +533,17 @@ class lib: git_id )) + # information of checks + from hierarchy_design import total_drc_errors + from hierarchy_design import total_lvs_errors + DRC = 'skipped' + LVS = 'skipped' + if OPTS.check_lvsdrc: + DRC = str(total_drc_errors) + LVS = str(total_lvs_errors) + + datasheet.write("{0},{1},".format(DRC, LVS)) + for port in self.all_ports: #DIN timings if port in self.write_ports: @@ -627,8 +638,11 @@ class lib: min(list(map(round_time,self.times["hold_times_HL"]))), max(list(map(round_time,self.times["hold_times_HL"]))) - )) - + )) + + + + datasheet.write("END\n") datasheet.close() diff --git a/compiler/datasheet/datasheet.py b/compiler/datasheet/datasheet.py index 0ccca339..7536a343 100644 --- a/compiler/datasheet/datasheet.py +++ b/compiler/datasheet/datasheet.py @@ -4,8 +4,6 @@ from characterization_corners import * from deliverables import * from timing_and_current_data import * from in_out import * -from hierarchy_design import total_drc_errors -from hierarchy_design import total_lvs_errors import os import csv import base64 @@ -33,15 +31,6 @@ class datasheet(): #css styling is kept in a seperate file self.html += datasheet_css.read() - if OPTS.check_lvsdrc: - - DRC = str(total_drc_errors) + ' errors' - LVS = str(total_lvs_errors) + ' errors' - PEX = 'n/a' - else: - DRC = 'skipped' - LVS = 'skipped' - PEX = 'skipped' with open(OPTS.openram_temp + "/datasheet.info") as info: self.html += '