Skip to content

Commit

Permalink
moved extension list file to tools folders for each generator
Browse files Browse the repository at this point in the history
  • Loading branch information
chetanyagoyal committed Nov 8, 2023
1 parent f305756 commit b7ffbf8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfasoc/generators/common/check_gen_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def check_gen_files():
raise ValueError("work directory does not exist!")
else:
filename = work_dir + module_name
extension_file_path = "../common/check_gen_extensions"
extension_file_path = "./tools/check_gen_extensions"

if os.path.exists(extension_file_path):
with open(extension_file_path) as f:
Expand All @@ -39,4 +39,4 @@ def check_gen_files():
raise ValueError(file + " does not exist!")

#print("Found generated .csv files!")
return 1
return 1
8 changes: 8 additions & 0 deletions openfasoc/generators/cryo-gen/tools/check_gen_extensions
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.gds
.spice
.v
.cdl
_sim.spice
_pex.spice
.sdc
.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.gds
.spice
.v
_pex.spice
.sdc
.def

0 comments on commit b7ffbf8

Please sign in to comment.