Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rtl] Fix counter reset value on FPGA
If the counter width is >= 49, we do not use a DSP on the FPGA. Then, we should use an asynchronous reset to initialize the counter. This bug was detected when enabling the lockstep for the CW340. A lockstep mismatch happend as the mcycle counters of the main and shadow core did not match due to this bug. Signed-off-by: Pascal Nasahl <nasahlpa@lowrisc.org>
- Loading branch information