|
我在用nios2, 我需要有个系统时钟,应该怎么样才可以有呢? 如果能有的话,我的延迟或者时间统计 设计比较方便。 我查看了nios2 手册,可以用times(), 还有alt_ticks_per_second() 但我用的时候发现需要系统时钟,怎么添加呢? The alt_ticks_per_second() function returns the number of system clock ticks that elapse per second. If there is no system clock available, the return value is zero. |