1 # See LICENSE for license details.
3 #*****************************************************************************
5 #-----------------------------------------------------------------------------
7 # Test timer interrupt.
10 #include "riscv_test.h"
11 #include "test_macros.h"
24 csrs status, t1 # turn on timer IRQ 7
25 csrsi status, 4 # enable interrupts
33 j fail # assumption is that you can't divide in one cycle
39 li t1, 0x80000000|IRQ_TIMER