-
Notifications
You must be signed in to change notification settings - Fork 60
Description
I have successfully ported the Demo System to the Basys3 board (the branch in my forked repo is here) and have found a bug when changing the value of the MEM_SIZE parameter. If the value of MEM_SIZE is not a power of two, the core crashes due to some failure. It always happens when one of the jump instructions is executed. For every non power of two value of MEM_SIZE, there is one specific jump instruction that causes the failure after executing it. After executing the specific jump instruction, halting of the hart is not successfull and any communication with the board via openocd is not possible, so the bitstream has to be loaded again (this behaviour is similar to the one mentioned in issue #122 , but it was invoked differently).
Although I have been only testing it on the Basys3 board, I think that this issue will also be present on the Arty-A7 board.