Merge pull request #408 from naichewa/main

wrapperGen creates wrapper dir if nonexistant
This commit is contained in:
Ross Thompson 2023-09-07 17:36:17 -05:00 committed by GitHub
commit 9f4745467e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,7 @@ wrapperPath = f"{os.getenv('WALLY')}/synthDC/wrappers/{moduleName}wrapper.sv"
# clear wrappers directory
os.system(f"rm {os.getenv('WALLY')}/synthDC/wrappers/*")
os.system(f"mkdir {os.getenv('WALLY')}/synthDC/wrappers")
fout = open(wrapperPath, "w")