added ebreak support

This commit is contained in:
Luxferre
2026-06-18 19:34:05 +03:00
parent 8c8de3bc1c
commit 7368329c16
5 changed files with 15 additions and 4 deletions
+5
View File
@@ -15,6 +15,11 @@ rv32imac_tests.bin: rv32imac_tests.elf
run: rv32imac_tests.bin
$(EMULATOR) rv32imac_tests.bin
@echo "Testing standard ebreak..."
@echo "115 0 16 0" | awk -f amach.awk 2>&1 | grep -q "Fatal: EBREAK"
@echo "Testing compressed c.ebreak..."
@echo "2 144" | awk -f amach.awk 2>&1 | grep -q "Fatal: EBREAK"
@echo "All EBREAK tests PASSED!"
clean:
rm -f rv32imac_tests.elf rv32imac_tests.bin