Expand RV32E demo support, prevent 'ebreak' looping (#883)

* Expand RV32E demo support, prevent 'ebreak' looping

The RegTest tests are modified in the Qemu and HiFive demos
to support RV32E and its limited set of registers.

'ebreak' call looping is removed in RegTest. This produces
a lot of noise when debugging.

* Correct whitespace

* Remove 'ebreak' instruction calls

The ebreak instruction sets and exception
which leads to jumping around the binary. This
can make debugging difficult.

* Fix whitespace formatting
This commit is contained in:
Kody Stribrny 2023-02-06 21:00:09 -08:00 committed by GitHub
parent fe9322ca23
commit 2f3e5235aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 931 additions and 938 deletions

View file

@ -142,9 +142,7 @@ reg1_loop:
jal reg1_loop
reg1_error_loop:
/* Jump here if a register contains an uxpected value. This stops the loop
* counter being incremented so the check task knows an error was found. */
ebreak
/* Busy loop which holds the task. */
jal reg1_error_loop
.align( 4 )
@ -254,9 +252,7 @@ Reg2_loop:
jal Reg2_loop
reg2_error_loop:
/* Jump here if a register contains an uxpected value. This stops the loop
* counter being incremented so the check task knows an error was found. */
ebreak
/* Busy loop which holds the task. */
jal reg2_error_loop
.align( 4 )