mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
wrapperGen creates wrapper dir if nonexistant
This commit is contained in:
parent
f00df8d121
commit
4bcb27593a
@ -64,6 +64,7 @@ wrapperPath = f"{os.getenv('WALLY')}/synthDC/wrappers/{moduleName}wrapper.sv"
|
|||||||
|
|
||||||
# clear wrappers directory
|
# clear wrappers directory
|
||||||
os.system(f"rm {os.getenv('WALLY')}/synthDC/wrappers/*")
|
os.system(f"rm {os.getenv('WALLY')}/synthDC/wrappers/*")
|
||||||
|
os.system(f"mkdir {os.getenv('WALLY')}/synthDC/wrappers")
|
||||||
|
|
||||||
fout = open(wrapperPath, "w")
|
fout = open(wrapperPath, "w")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user