Due to a problem in Quartus® II software version 13.1, you may receive the following errors if you generate the CSC MegaCore® or Test Pattern Generator MegaCore® or Color Plane Sequencer MegaCore® by using the MegaWizard™.
Error (12002): Port "clock" does not exist in macrofunction "inst"
Error (12002): Port "din_data[0]" does not exist in macrofunction "inst"
Error (12002): Port "din_data[1]" does not exist in macrofunction "inst"
To work around this problem, use Qsys to generate the MegaCore instead of MegaWizard.