Skip to content

certain MEM_SIZE values cause failures #123

@medexs

Description

@medexs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions