Forum Discussion
KennyJoosen
New Contributor
1 year agoNios V - BSP generation produces incorrect ALT_CPU_MTIME_OFFSET value in system.h
I'm in the process of migrating a Nios II/f processor to a Nios V/g processor. Quartus Pro 23.3 is being used. In our setup we use an external timer block for the sys_clk_timer. For the timestamp_ti...
- 1 year ago
Hi KennyJoosen,
I have file an internal request regarding the issue last week. Estimated that the changes will take some time for the next release.
Thanks.
Regards,
Aik Eu
KennyJoosen
New Contributor
1 year agoThe define is part of the generated Intel BSP sources. So with every generation, all changes done in these sources are gone. Since the entire functionality happens in these BSP sources, it is not possible to undefine MTIME_SW_AGENT_CONNECTED...
Current workaround is to replace below define with 64-bit value (0xffffffffffffffff) in system.h after every BSP generation...
#define ALT_CPU_MTIME_OFFSET 0xffffffff
There is no option to be set so the BSP generation defines it differently?