Skip to content
Snippets Groups Projects
Commit 3df4032a authored by Pieter Donker's avatar Pieter Donker
Browse files

Merge branch 'RTSD-56' into 'master'

L~RTSD-56, backup

Closes RTSD-56

See merge request desp/hdl!325
parents 20fe6def feca4945
No related branches found
No related tags found
1 merge request!325L~RTSD-56, backup
Pipeline #50073 passed
......@@ -54,7 +54,6 @@ The ta2 project folder contains 4 sub-folders:
# Altera, Mentor and modelsim_altera_libs dir
export ALTERA_DIR=/home/software/Altera
export MENTOR_DIR=/home/software/Mentor
export MODELSIM_ALTERA_LIBS_DIR=/home/software/modelsim_altera_libs
. ${GIT}/radiohdl/init_radiohdl.sh
......
......@@ -43,7 +43,6 @@
* bashrc defines root directories that contain one or more versions of tool installations
- define MENTOR_DIR : modelsim installations
- define ALTERA_DIR : altera installations
- define MODELSIM_ALTERA_LIBS_DIR : compiled modelsim simulation libraries for altera components
- LM_LICENSE_FILE=<our_license@our_compagny>
......@@ -87,7 +86,6 @@ source also radiohdl tools
> compile_altera_simlibs unb1 # creates build/unb1/hdl_libraries_ip_stratixiv.txt
# creates build/quartus/<tool version> simulation models that need to be moved
# manually to $MODELSIM_ALTERA_LIBS_DIR/<tool version>
> generate_ip_libs unb1 # creates build/unb1/qmegawiz/
# creates build/unb1/quartus_sh --> empty dir, why is it there?
......
......@@ -54,6 +54,25 @@ if [[ ! -d "${HDL_BUILD_DIR}" ]]; then
echo "${HDL_BUILD_DIR}"
mkdir "${HDL_BUILD_DIR}"
fi
# set hdl_build_quartus dir
export HDL_BUILD_QUARTUS_DIR=${HDL_BUILD_DIR}/quartus
if [[ ! -d "${HDL_BUILD_QUARTUS_DIR}" ]]; then
echo "make hdl/build/quartus dir"
echo "${HDL_BUILD_QUARTUS_DIR}"
mkdir "${HDL_BUILD_QUARTUS_DIR}"
echo "Do not remove this dir, it is used by modelsim_altera_libs symlink" > ${HDL_BUILD_QUARTUS_DIR}/readme.txt
fi
export MODELSIM_ALTERA_LIBS_DIR=${HDL_BUILD_DIR}/modelsim_altera_libs
if [[ -L "${MODELSIM_ALTERA_LIBS_DIR}" ]] && [[ -e "${MODELSIM_ALTERA_LIBS_DIR}" ]]; then
echo "${MODELSIM_ALTERA_LIBS_DIR} is a valid symlink"
else
echo "make a symlink for modelsim_altera_libs dir"
echo "${MODELSIM_ALTERA_LIBS_DIR}"
ln -s "${HDL_BUILD_QUARTUS_DIR}" "${MODELSIM_ALTERA_LIBS_DIR}"
fi
# modelsim uses this sim dir for testing
export HDL_IOFILE_SIM_DIR=${HDL_BUILD_DIR}/sim
if [[ ! -d "${HDL_IOFILE_SIM_DIR}" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment