added ebreak support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user