From d051c8927932fe40b6c0b0a4f4bf5d467b1611be Mon Sep 17 00:00:00 2001 From: Daniel van der Schuur <schuur@astron.nl> Date: Mon, 5 Jan 2015 12:29:47 +0000 Subject: [PATCH] -Added IF statement to disable library subdir creation in case of 'unb2'. --- tools/quartus/run_altera_simlib_comp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/quartus/run_altera_simlib_comp b/tools/quartus/run_altera_simlib_comp index 1f165c48ac..1f7dde5d2b 100755 --- a/tools/quartus/run_altera_simlib_comp +++ b/tools/quartus/run_altera_simlib_comp @@ -123,8 +123,10 @@ mv ../${FAMILY}_vhdl.log . # # file.txt = the file name -sed -i 's/vlib/vlib -type directory/g' ${FAMILY}_verilog.do -sed -i 's/vlib/vlib -type directory/g' ${FAMILY}_vhdl.do +if [ "${TARGET}" = "unb2" ]; then + sed -i 's/vlib/vlib -type directory/g' ${FAMILY}_verilog.do + sed -i 's/vlib/vlib -type directory/g' ${FAMILY}_vhdl.do +fi # 4) Compile the Altera libraries with Modelsim $VSIM_DIR/vsim -c -do ${FAMILY}_verilog.do -- GitLab