Due to a problem in the Quartus® II software version 12.1sp1 and before, when instantiating a DDR3 SDRAM controller with UniPHY, you may get a hold timing violation for altera_reserved_tck. The reason for this violation is that the Quartus II software doesn't recognize the JTAG output as a clock.
To work around this violation, assign the clock to a clock network using the following Quartus settings file (.qsf) assignment:
set_instance_assignment -name GLOBAL_SIGNAL "GLOBAL CLOCK" -to "altera_internal_jtag~TCKUTAP".
This issue has been fixed beginning with the Quartus II software version 13.0.