I also think it can't work in altara FPGA. Because i debug by Signal Tap of Quartus for twenty days. oh