You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clock-frequency in node clkc is the frequency of FPGA clock.
clock-frequency-mhz in node clint is the frequency of clint clock, which influences the frequency of the update of time CSR.
clock-frequency-mhz may be deprecated in latest kernel. Please consider use timebase-frequency in node cpus.
In software emulation environment, clint clock is divided from main clock. You'd better to check the source code.
clock-frequency in every cpu node under cpus is the frequency of every processor core, and could be default 0.
timebase-frequency in node cpus is important, which influences the accuracy of Operating System time count. For older kernel, modification of clock-frequency-mhz in node clint is also required.
Before start
Describe you problem
nanhuv2官网 https://docs.xiangshan.cc/zh-cn/latest/integration/fpga/fpga/ 生成的工程给的实际CPU时钟是50M,然后对应nanhuv2 https://docs.xiangshan.cc/zh-cn/latest/integration/docker/ 给的image里的dts设置的时钟如下图,给的是25M。这两者之间有没有什么联系?如果我想修改实际时钟,假如实际时钟修改为10M,那么dts里需要做相应的修改么?
The actual CPU clock of the project generated by the nanhuv2 official website https://docs.xiangshan.cc/zh-cn/latest/integration/fpga/fpga/ is 50M, and the clock set in the dts of the image given by nanhuv2 https://docs.xiangshan.cc/zh-cn/latest/integration/docker/ is 25M as shown below. Is there any connection between the two? If I want to modify the actual clock, if the actual clock is changed to 10M, do I need to make corresponding changes in the dts?
What did you do before
如上
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: