wrapperGen creates wrapper dir if nonexistant

This commit is contained in:
naichewa 2023-09-07 13:46:04 -07:00
parent 22c519f2df
commit 96ff3b1e2f

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")