Skip to content
Snippets Groups Projects
Commit 7bdaa4fa authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Added run_script=0 condition to effectively not run the script because the generated IP is in SVN.

parent 8b9fdd4e
Branches
No related tags found
No related merge requests found
...@@ -32,17 +32,24 @@ ...@@ -32,17 +32,24 @@
# ./generate_ip.sh # ./generate_ip.sh
# #
# The generated files for Quartus v11.1 that are needed for simulation and synthesis have been committed in SVN, so it is not necessary to run this # The generated files for Quartus v11.1 that are needed for simulation and synthesis have been committed in SVN, so it is not necessary to run this
# generate_ip.sh script again. Files that are not needed have not been committed in SVN. # generate_ip.sh script again and therefore run_script=0. Files that are not needed have not been committed in SVN.
# #
# Remarks: # Remarks:
# . This dedicated script is Derived from the generic script $UNB/Firmware/software/build/unb_mgw # . This dedicated script is derived from the generic script $UNB/Firmware/software/build/unb_mgw
# #
if ! [ -d "generated" ]; then
mkdir generated
fi
cd generated
cp ../ip_stratixiv_mac_10g.vhd .
qmegawiz -silent ip_stratixiv_mac_10g.vhd run_script=0
if [ $run_script -gt 0 ]; then
# Tool settings for selected target "unb1" with stratixiv
. ${RADIOHDL}/tools/quartus/set_quartus unb1
if ! [ -d "generated" ]; then
mkdir generated
fi
cd generated
cp ../ip_stratixiv_mac_10g.vhd .
#rm ip_stratixiv_mac_10g.vhd qmegawiz -silent ip_stratixiv_mac_10g.vhd
#rm ip_stratixiv_mac_10g.vhd
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment