1
0
mirror of https://github.com/olofk/serv.git synced 2026-02-27 00:39:48 +00:00

Addapt compliance_test printing to new signature format

This commit is contained in:
Olof Kindgren
2018-11-22 13:00:27 +01:00
parent 47b2db20c3
commit 94c7dab38d
2 changed files with 6 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ Build the verilator model (if not already done)
Download the tests repo
`cd $SERV && git clone https://github.com/olofk/riscv-compliance`
`cd $SERV && git clone https://github.com/riscv/riscv-compliance`
Run the compliance tests
@@ -59,7 +59,9 @@ Run the compliance tests
Run on hardware
---------------
Only supported so far is a LED blink hack for TinyFPGA BX
Only supported so far is a single threaded hello world on TinyFPGA BX
Pin B3 is used for UART output with 57600 baud rate.
cd $SERV/workspace
fusesoc run --target=tinyfpga_bx serv

View File

@@ -17,7 +17,7 @@ la a0, data_begin; \
li a2, 0x80000000; \
complience_halt_loop: \
beq a0, a1, complience_halt_break; \
addi a3, a0, 16; \
addi a3, a0, 4; \
complience_halt_loop2: \
addi a3, a3, -1; \
\
@@ -40,7 +40,7 @@ notLetter2: \
addi a5, a5, 0x30; \
sw a5, 0 (a2); \
bne a0, a3,complience_halt_loop2; \
addi a0, a0, 16; \
addi a0, a0, 4; \
\
li a4, '\n'; \
sw a4, 0 (a2); \