# Purpose: Generate ip_stratixiv_mac_10g IP with MegaWizard
# Description:
# Generate the phy_xaui IP in a separate generated/ subdirectory. Therefore first copy the MegaWizard variation file in the 'generated' output dir, because:
# 1) setting the output dir is not an option in the MegaWizard
# 2) The MegaWizard overwrites the variation file sometimes - we don't want that as it could be hand-modified with e.g. added generics
#
# Usage:
#
# ./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
# generate_ip.sh script again. Files that are not needed have not been committed in SVN.
#
# Remarks:
# . This dedicated script is Derived from the generic script $UNB/Firmware/software/build/unb_mgw