mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 13:07:46 -04:00
Add indication which file is overwriting the config
This commit is contained in:
parent
7ff400071f
commit
6a6e2022b7
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def main():
|
|||
|
||||
|
||||
def overwriteConfig(new_config_path, littleRISCV_path):
|
||||
print("Overwriting current config (include/riscv_config.sv) with new one.")
|
||||
print("Overwriting current config (include/riscv_config.sv) with new one ({})".format(new_config_path))
|
||||
shutil.move(os.path.abspath(littleRISCV_path + "/include/riscv_config.sv"), os.path.abspath(littleRISCV_path + "/include/riscv_config.sv.bak")) # Backup
|
||||
shutil.copy(os.path.abspath(new_config_path), os.path.abspath(littleRISCV_path + "/include/riscv_config.sv")) # Copy new config to littleRISCV
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue