From 4604d9e6f543f3ae17e7e37f47762305bec7bfea Mon Sep 17 00:00:00 2001 From: donker <donker@astron.nl> Date: Tue, 18 Apr 2023 06:46:55 +0200 Subject: [PATCH] L~RTSD-56, backup --- init_hdl.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init_hdl.sh b/init_hdl.sh index 6c72df6cdd..ab43b537eb 100644 --- a/init_hdl.sh +++ b/init_hdl.sh @@ -54,6 +54,16 @@ if [[ ! -d "${HDL_BUILD_DIR}" ]]; then echo "${HDL_BUILD_DIR}" mkdir "${HDL_BUILD_DIR}" fi + +# set modelsim_altera_libs dir +export MODELSIM_ALTERA_LIBS_DIR=${HDL_BUILD_DIR}/quartus +if [[ ! -d "${MODELSIM_ALTERA_LIBS_DIR}" ]]; then + echo "make modelsim_altera_libs dir" + echo "${MODELSIM_ALTERA_LIBS_DIR}" + mkdir "${MODELSIM_ALTERA_LIBS_DIR}" + echo "This dir is also used as modelsim_altera_libs dir" > ${MODELSIM_ALTERA_LIBS_DIR}/readme.txt +fi + # modelsim uses this sim dir for testing export HDL_IOFILE_SIM_DIR=${HDL_BUILD_DIR}/sim if [[ ! -d "${HDL_IOFILE_SIM_DIR}" ]]; then -- GitLab