Skip to content

Commit

Permalink
[CTG] Add cli param env_dir
Browse files Browse the repository at this point in the history
Signed-off-by: MingZhu Yan <yanmingzhu@iscas.ac.cn>
  • Loading branch information
trdthg committed Nov 13, 2024
1 parent 37dc852 commit b8e1646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-ctg/riscv_ctg/ctg.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def ctg(verbose, out, random ,xlen_arg,flen_arg, cgf_file,num_procs,base_isa, ma
logger.info('Copyright (c) 2020, InCore Semiconductors Pvt. Ltd.')
logger.info('All Rights Reserved.')
logger.info("Copying env folder to Output directory.")
env_dir = os.path.expanduser("~/riscv-arch-test/riscv-test-suite/env")
env_dir = "../riscv-arch-test/riscv-test-suite/env"
if not os.path.exists(env_dir):
shutil.copytree(const.env,env_dir)
xlen = int(xlen_arg)
Expand Down

0 comments on commit b8e1646

Please sign in to comment.