mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-23 21:47:20 -04:00
Fix bug bug concerning folder creation
This commit is contained in:
parent
cdf7a20c56
commit
79ea1c2920
1 changed files with 2 additions and 1 deletions
|
@ -234,7 +234,8 @@ def synthesizeAll(littleRISCV_path):
|
|||
if not os.path.exists(os.path.abspath(littleRISCV_path+"/../../../synopsys/start_synopsys_synth.py")):
|
||||
print("littleRISCV repository not contained in Imperio/Pulpino project! Canceling.")
|
||||
|
||||
os.mkdir(os.path.abspath(littleRISCV_path + "/scripts/synthesis_results/"))
|
||||
if not os.path.isdir(os.path.abspath(littleRISCV_path + "/scripts/synthesis_results/")):
|
||||
os.mkdir(os.path.abspath(littleRISCV_path + "/scripts/synthesis_results/"))
|
||||
|
||||
for filename in os.listdir(os.path.abspath(littleRISCV_path + "/scripts/example_configs")):
|
||||
overwriteConfig(os.path.abspath(littleRISCV_path + "/scripts/example_configs/" + filename), littleRISCV_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue