In Quartus® II 12.0 if instantiating the DDR XAUI mode in XAUI PHY Megacore, the QII will generate the simulation directory such as \xxx_sim\... , in mentor directory running "msim_setup.tcl" and then executing command "ld" there will be error message as following. the source file is encrypted one.
# Model Technology ModelSim ALTERA vlog 10.0d Compiler 2012.01 Jan 18 2012
# ** Error: ./..//altera_xcvr_xaui/alt_pma_tgx_dxaui.sv(1): syntax error, unexpected non-printable character 0x8b
# ** Error: ./..//altera_xcvr_xaui/alt_pma_tgx_dxaui.sv(1): syntax error, unexpected , expecting class
# D:/altera/12.0/modelsim_ae/win32aloem/vlog failed.
The msim_setup.tcl script is auto generated, and includes both the plain-text and vendor encrypted files for compilation. However, in the case of the DXAUI IP core, we do not provide plain-text files for customer use. This causes the script to pull in the Quartus-encrypted synthesis files, which are not readable by the simulator, resulting in error messages.
This will be fixed in future Quartus II version.