Skip to content

Commit

Permalink
make all updates for modularity
Browse files Browse the repository at this point in the history
  • Loading branch information
chetanyagoyal authored Nov 11, 2023
1 parent ba5674c commit 2e9b5ad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion openfasoc/generators/temp-sense-gen/tools/parse_rpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..'))
from common.check_gen_files import check_gen_files

_generator_is = {
'sky130hvl_ldo': 0,
'sky130hd_temp': 1,
'sky130XX_cryo': 0
}

drc_filename = "work/6_final_drc.rpt"
num_lines = sum(1 for line in open(drc_filename))

Expand All @@ -24,7 +30,7 @@

json_filename = "test.json"

if check_gen_files(json_filename, (len(sys.argv) == 1)):
if check_gen_files(json_filename, _generator_is, " "):
print("Flow check is clean!")
else:
print("Flow check failed!")

0 comments on commit 2e9b5ad

Please sign in to comment.