编译后有报错吗?比如时序不过关等等另外,如果是xilinx的fpga,你可以用chipscope,如果是altera的fpga,用signaltap。观察在板子里的各种信号,可以定位你的问题,估计还是你的程序设计有bug